Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-23644

Zabbix 6.0.23 agent build failed in AIX 7.2/7.3

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Fixed
    • Icon: Trivial Trivial
    • 6.0.24rc1, 6.4.9rc1, 7.0 (plan)
    • 6.0.23, 6.4.8
    • Agent (G)
    • AIX soaix426 2 7 00F9D80F4C00 and AIX soaix428 3 7 00F9D80F4C00
      gcc (GCC) 10.3.0
    • Sprint 106 (Nov 2023)
    • 1

      Steps to reproduce:

      1. Build Zabbix 6.0.23 agent in AIX 7.2 or 7.3

      Result:

      	ar cru libzbxagent.a libzbxagent_a-active.o  libzbxagent_a-cpustat.o  libzbxagent_a-diskdevices.o  libzbxagent_a-listener.o  libzbxagent_a-procstat.o libzbxagent_a-stats.o  libzbxagent_a-vmstats.o  libzbxagent_a-zbxconf.o  libzbxagent_a-zbxkstat.o 
      	ranlib libzbxagent.a
      make: Cannot find a rule to create target ../../src/libs/zbxsysinfo/aix/libfunclistsysinfo.a from dependencies.
      Stop. 

      Expected:
      Pass build

      Causes:

      src/libs/zbxsysinfo/<PLATFORM>/Makefile.am has changed in 6.0.23. For example:

      diff --git a/src/libs/zbxsysinfo/hpux/Makefile.am b/src/libs/zbxsysinfo/hpux/Makefile.am
      index d25fb54e380..6918a1979aa 100644
      --- a/src/libs/zbxsysinfo/hpux/Makefile.am
      +++ b/src/libs/zbxsysinfo/hpux/Makefile.am
      @@ -1,6 +1,9 @@
       ## Process this file with automake to produce Makefile.in-noinst_LIBRARIES = libspecsysinfo.a libspechostnamesysinfo.a
      +noinst_LIBRARIES = libfunclistsysinfo.a libspecsysinfo.a libspechostnamesysinfo.a
      +
      +libfunclistsysinfo_a_SOURCES = \
      +       hpux.c libspecsysinfo_a_CFLAGS = -I$(top_srcdir)/src/zabbix_agent@@ -8,7 +11,6 @@ libspecsysinfo_a_SOURCES = \
              cpu.c \
              diskio.c \
              diskspace.c \
      -       hpux.c \
              inodes.c inodes.h \
              memory.c \
              net.c \
       

      This change has not added in src/libs/zbxsysinfo/aix/Makefile.am.

            andris Andris Mednis
            uki Yuuki Enomoto
            Team C
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: