[ZBX-23039] Zabbix 4.0.47 Agent build failed in HP-UX Created: 2023 Jun 29  Updated: 2024 Apr 10  Resolved: 2023 Jul 27

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Agent (G)
Affects Version/s: 4.0.47
Fix Version/s: None

Type: Problem report Priority: Major
Reporter: Yuuki Enomoto Assignee: Artjoms Rimdjonoks
Resolution: Won't fix Votes: 0
Labels: agent, build, compilation, failure, hp-ux
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

HP-UX hpux11i3 B.11.31 U ia64 3932273393 unlimited-user license
gcc (GCC) 4.2.3
aclocal (GNU automake) 1.16.5
libtool 2.4.7


Team: Team C
Sprint: Support backlog

 Description   

Steps to reproduce:

  1. Configure
    # CC=/usr/bin/gcc PATH=/usr/local/bin:/usr/local/sbin:/usr/local/ia64/bin/gcc:$PATH ./configure --enable-agent --with-libpcre=/usr/local/pcre-8.45
  1. Build
    # make
    

Result:

# make
No suffix list.
Making all in src
No suffix list.
Making all in libs
No suffix list.
Making all in zbxcrypto
        cd ../../.. && make  am--refresh
No suffix list.
        CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh '/zabbix-4.0.47/missing' aclocal-1.16 -I m4
configure.ac:1525: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd
m4/libxml2.m4:20: LIBXML2_CHECK_CONFIG is expanded from...
configure.ac:1525: the top level
configure.ac:1731: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd
m4/libopenssl.m4:75: LIBOPENSSL_CHECK_CONFIG is expanded from...
configure.ac:1731: the top level
configure.ac:1828: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd
m4/pcre.m4:29: LIBPCRE_CHECK_CONFIG is expanded from...
configure.ac:1828: the top level
 cd . && /bin/sh /zabbix-4.0.47/missing automake-1.16 --gnu
configure.ac:1525: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd
m4/libxml2.m4:20: LIBXML2_CHECK_CONFIG is expanded from...
configure.ac:1525: the top level
configure.ac:1731: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd
m4/libopenssl.m4:75: LIBOPENSSL_CHECK_CONFIG is expanded from...
configure.ac:1731: the top level
configure.ac:1828: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd
m4/pcre.m4:29: LIBPCRE_CHECK_CONFIG is expanded from...
configure.ac:1828: the top level
        CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh '/zabbix-4.0.47/missing' autoconf
configure.ac:1525: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd
m4/libxml2.m4:20: LIBXML2_CHECK_CONFIG is expanded from...
configure.ac:1525: the top level
configure.ac:1731: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd
m4/libopenssl.m4:75: LIBOPENSSL_CHECK_CONFIG is expanded from...
configure.ac:1731: the top level
configure.ac:1828: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd
m4/pcre.m4:29: LIBPCRE_CHECK_CONFIG is expanded from...
configure.ac:1828: the top level
configure.ac:183: error: possibly undefined macro: AC_MSG_ERROR
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
*** Error exit code 1

 

In addition, build has been succeeded in Zabbix 4.0.47rc1 with same environment and  same configure options.  Is this environment specific issue?
Expected:
Build success.



 Comments   
Comment by Artjoms Rimdjonoks [ 2023 Jun 30 ]

4.0.47rc1 version was released 11 days ago and there were no any changes that could have affected the build.

uki Could you please try again and reconfirm that indeed - stable 4.0.47 fails with the error you mentioned and 4.0.47rc does not ? (make sure to run "make clean" between builds)

Comment by Yuuki Enomoto [ 2023 Jul 03 ]

Yes, I confirmed that there are no changes about agent building between 4.0.47rc1 and 4.0.47 release.

And again, I confirmed that build success in 4.0.47rc1 but failed in 4.0.47 release with same error.

Comment by Artjoms Rimdjonoks [ 2023 Jul 19 ]

I just managed to compile and build latest 4.0.48 release (commit 77557934f2d2d8ad182e7691a8f9bbedafe76f28) just fine.
on

HP-UX zbx51 B.11.23 U ia64 3854566817 unlimited-user license
gcc (GCC) 4.2.3

using:

 ./configure --prefix=/var/badger/zabbix-4.0.48rc1  --enable-agent --with-libpcre --with-libpcre-lib=/usr/local/lib/hpux32 --with-libpcre-include=/usr/local/include
gmake install

So, I propose to close this ticket as no-issue.

Generated at Fri May 16 09:24:02 EEST 2025 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.