zabbix 5.4.5
I've been able to get working rpms for everything except zabbix-web-service and zabbix-agent2 ( go 1.16 not available yet )
time rpmbuild -ba ~/rpmbuild/SPECS/zabbix.spec | tee build_out.txt
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.0fNrIG
+ umask 022
+ cd /root/rpmbuild/BUILD
+ cd /root/rpmbuild/BUILD
+ rm -rf zabbix-5.4.5
+ /usr/bin/gzip -dc /root/rpmbuild/SOURCES/zabbix-5.4.5.tar.gz
+ /usr/bin/tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd zabbix-5.4.5
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ echo 'Patch #3 (conf.patch):'
Patch #3 (conf.patch):
+ /usr/bin/cat /root/rpmbuild/SOURCES/conf.patch
+ /usr/bin/patch -p1 --fuzz=0
patching file conf/zabbix_agentd.conf
patching file conf/zabbix_proxy.conf
patching file conf/zabbix_server.conf
Hunk #6 succeeded at 544 (offset -2 lines).
Hunk #7 succeeded at 553 (offset -2 lines).
patching file src/go/conf/zabbix_agent2.conf
patching file src/go/conf/zabbix_web_service.conf
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.NO3bQq
+ umask 022
+ cd /root/rpmbuild/BUILD
+ cd zabbix-5.4.5
+ build_conf_common='
--enable-dependency-tracking
--sysconfdir=/etc/zabbix
--libdir=/usr/lib64/zabbix
--enable-ipv6
--with-net-snmp
--with-ldap
--with-libcurl
--with-openipmi
--with-unixodbc
--with-ssh2
--with-libxml2
--with-libevent
--with-libpcre
--with-openssl
'
+ build_conf_3='
--enable-webservice
'
+ '[' -n '' ']'
+ '[' -n '' ']'
+ '[' -n '
--enable-webservice
' ']'
+ CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic'
+ export CFLAGS
+ CXXFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic'
+ export CXXFLAGS
+ FFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I/usr/lib64/gfortran/modules'
+ export FFLAGS
+ FCFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I/usr/lib64/gfortran/modules'
+ export FCFLAGS
+ LDFLAGS='-Wl,-z,relro '
+ export LDFLAGS
+ '[' 1 == 1 ']'
+ '[' x86_64 == ppc64le ']'
++ find . -name config.guess -o -name config.sub
+ for i in '$(find . -name config.guess -o -name config.sub)'
++ basename ./config.guess
+ '[' -f /usr/lib/rpm/redhat/config.guess ']'
+ /usr/bin/rm -f ./config.guess
++ basename ./config.guess
+ /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess
'/usr/lib/rpm/redhat/config.guess' -> './config.guess'
+ for i in '$(find . -name config.guess -o -name config.sub)'
++ basename ./config.sub
+ '[' -f /usr/lib/rpm/redhat/config.sub ']'
+ /usr/bin/rm -f ./config.sub
++ basename ./config.sub
+ /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub
'/usr/lib/rpm/redhat/config.sub' -> './config.sub'
+ ./configure --build=x86_64-redhat-linux-gnu --host=x86_64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --enable-dependency-tracking --sysconfdir=/etc/zabbix --libdir=/usr/lib64/zabbix --enable-ipv6 --with-net-snmp --with-ldap --with-libcurl --with-openipmi --with-unixodbc --with-ssh2 --with-libxml2 --with-libevent --with-libpcre --with-openssl --enable-webservice
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
configure: Configuring Zabbix 5.4.5
checking whether make sets $(MAKE)... (cached) yes
checking build system type... x86_64-redhat-linux-gnu
checking host system type... x86_64-redhat-linux-gnu
checking for x86_64-redhat-linux-gnu-cc... no
checking for x86_64-redhat-linux-gnu-c99... no
checking for x86_64-redhat-linux-gnu-gcc... no
checking for x86_64-redhat-linux-gnu-clang... no
checking for cc... cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking whether cc understands -c and -o together... yes
checking whether make supports the include directive... yes (GNU style)
checking dependency style of cc... gcc3
checking how to run the C preprocessor... cc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking stdio.h usability... yes
checking stdio.h presence... yes
checking for stdio.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking for sys/types.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking math.h usability... yes
checking math.h presence... yes
checking for math.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking dirent.h usability... yes
checking dirent.h presence... yes
checking for dirent.h... yes
checking ctype.h usability... yes
checking ctype.h presence... yes
checking for ctype.h... yes
checking mtent.h usability... no
checking mtent.h presence... no
checking for mtent.h... no
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking sys/vfs.h usability... yes
checking sys/vfs.h presence... yes
checking for sys/vfs.h... yes
checking sys/pstat.h usability... no
checking sys/pstat.h presence... no
checking for sys/pstat.h... no
checking sys/sysinfo.h usability... yes
checking sys/sysinfo.h presence... yes
checking for sys/sysinfo.h... yes
checking sys/statvfs.h usability... yes
checking sys/statvfs.h presence... yes
checking for sys/statvfs.h... yes
checking sys/statfs.h usability... yes
checking sys/statfs.h presence... yes
checking for sys/statfs.h... yes
checking for sys/socket.h... (cached) yes
checking sys/loadavg.h usability... no
checking sys/loadavg.h presence... no
checking for sys/loadavg.h... no
checking for arpa/inet.h... (cached) yes
checking sys/vmmeter.h usability... no
checking sys/vmmeter.h presence... no
checking for sys/vmmeter.h... no
checking for strings.h... (cached) yes
checking vm/vm_param.h usability... no
checking vm/vm_param.h presence... no
checking for vm/vm_param.h... no
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking kstat.h usability... no
checking kstat.h presence... no
checking for kstat.h... no
checking sys/syscall.h usability... yes
checking sys/syscall.h presence... yes
checking for sys/syscall.h... yes
checking sys/sysmacros.h usability... yes
checking sys/sysmacros.h presence... yes
checking for sys/sysmacros.h... yes
checking for stdint.h... (cached) yes
checking mach/host_info.h usability... no
checking mach/host_info.h presence... no
checking for mach/host_info.h... no
checking mach/mach_host.h usability... no
checking mach/mach_host.h presence... no
checking for mach/mach_host.h... no
checking knlist.h usability... no
checking knlist.h presence... no
checking for knlist.h... no
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking sys/var.h usability... no
checking sys/var.h presence... no
checking for sys/var.h... no
checking arpa/nameser.h usability... yes
checking arpa/nameser.h presence... yes
checking for arpa/nameser.h... yes
checking assert.h usability... yes
checking assert.h presence... yes
checking for assert.h... yes
checking sys/dkstat.h usability... no
checking sys/dkstat.h presence... no
checking for sys/dkstat.h... no
checking sys/disk.h usability... no
checking sys/disk.h presence... no
checking for sys/disk.h... no
checking sys/sched.h usability... no
checking sys/sched.h presence... no
checking for sys/sched.h... no
checking zone.h usability... no
checking zone.h presence... no
checking for zone.h... no
checking nlist.h usability... yes
checking nlist.h presence... yes
checking for nlist.h... yes
checking kvm.h usability... no
checking kvm.h presence... no
checking for kvm.h... no
checking linux/kernel.h usability... yes
checking linux/kernel.h presence... yes
checking for linux/kernel.h... yes
checking procinfo.h usability... no
checking procinfo.h presence... no
checking for procinfo.h... no
checking sys/dk.h usability... no
checking sys/dk.h presence... no
checking for sys/dk.h... no
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking windows.h usability... no
checking windows.h presence... no
checking for windows.h... no
checking process.h usability... no
checking process.h presence... no
checking for process.h... no
checking conio.h usability... no
checking conio.h presence... no
checking for conio.h... no
checking sys/wait.h usability... yes
checking sys/wait.h presence... yes
checking for sys/wait.h... yes
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking winsock2.h usability... no
checking winsock2.h presence... no
checking for winsock2.h... no
checking pdh.h usability... no
checking pdh.h presence... no
checking for pdh.h... no
checking psapi.h usability... no
checking psapi.h presence... no
checking for psapi.h... no
checking sys/sem.h usability... yes
checking sys/sem.h presence... yes
checking for sys/sem.h... yes
checking sys/ipc.h usability... yes
checking sys/ipc.h presence... yes
checking for sys/ipc.h... yes
checking sys/shm.h usability... yes
checking sys/shm.h presence... yes
checking for sys/shm.h... yes
checking Winldap.h usability... no
checking Winldap.h presence... no
checking for Winldap.h... no
checking Winber.h usability... no
checking Winber.h presence... no
checking for Winber.h... no
checking lber.h usability... yes
checking lber.h presence... yes
checking for lber.h... yes
checking ws2tcpip.h usability... no
checking ws2tcpip.h presence... no
checking for ws2tcpip.h... no
checking for inttypes.h... (cached) yes
checking sys/file.h usability... yes
checking sys/file.h presence... yes
checking for sys/file.h... yes
checking grp.h usability... yes
checking grp.h presence... yes
checking for grp.h... yes
checking execinfo.h usability... yes
checking execinfo.h presence... yes
checking for execinfo.h... yes
checking sys/systemcfg.h usability... no
checking sys/systemcfg.h presence... no
checking for sys/systemcfg.h... no
checking sys/mnttab.h usability... no
checking sys/mnttab.h presence... no
checking for sys/mnttab.h... no
checking mntent.h usability... yes
checking mntent.h presence... yes
checking for mntent.h... yes
checking sys/times.h usability... yes
checking sys/times.h presence... yes
checking for sys/times.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking sys/utsname.h usability... yes
checking sys/utsname.h presence... yes
checking for sys/utsname.h... yes
checking sys/un.h usability... yes
checking sys/un.h presence... yes
checking for sys/un.h... yes
checking sys/protosw.h usability... no
checking sys/protosw.h presence... no
checking for sys/protosw.h... no
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking float.h usability... yes
checking float.h presence... yes
checking for float.h... yes
checking for resolv.h... yes
checking for net/if.h... yes
checking for net/if_mib.h... no
checking whether compiler supports -Werror=cpp... yes
checking for sys/mount.h... yes
checking for sys/proc.h... no
checking for sys/sysctl.h... yes
checking for sys/user.h... yes
checking for sys/swap.h... yes
checking for sys/ucontext.h... yes
checking for devstat.h... no
checking for linux/netlink.h... yes
checking linux/inet_diag.h usability... yes
checking linux/inet_diag.h presence... yes
checking for linux/inet_diag.h... yes
checking for libperfstat.h... no
checking for library containing socket... none required
checking for library containing kstat_open... no
checking for library containing gethostbyname... none required
checking for library containing clock_gettime... none required
checking for library containing dlopen... -ldl
checking for library containing perfstat_memory_total... no
checking for library containing devstat_getdevs... no
checking for library containing getdevs... no
checking for library containing backtrace_symbols... none required
checking for main in -lm... yes
checking for main in -lkvm... no
checking for DNS lookup functions... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for an ANSI C-conforming const... yes
checking for pid_t... yes
checking for socklen_t... yes
checking for actual socklen_t parameter type in socket functions... socklen_t
checking for integer field name in union sigval of struct siginfo_t... sival_int
checking for res_ninit... yes
checking for res_ndestroy... no
checking for _res._u._ext.nsaddrs... yes
checking for _res._u._ext.ext... no
checking for _res._ext.ext.nsaddrs... no
checking for struct sockaddr_in6.sin6_len... no
checking for union semun... no
checking for struct swaptable in sys/swap.h... no
checking for struct sensordev in sys/sensors.h... no
checking for struct statvfs64 in sys/statvfs.h... no
checking for struct statfs64 in sys/statfs.h... no
checking for field ss_family in struct sockaddr_storage... yes
checking for field mem_unit in struct sysinfo... yes
checking for field freeswap in struct sysinfo... yes
checking for field totalswap in struct sysinfo... yes
checking for field totalram in struct sysinfo... yes
checking for field sharedram in struct sysinfo... yes
checking for field bufferram in struct sysinfo... yes
checking for field freeram in struct sysinfo... yes
checking for field uptime in struct sysinfo... yes
checking for field procs in struct sysinfo... yes
checking for field tm_gmtoff in struct tm... yes
checking for linker options --start-group/--end-group... yes
checking for '__thread' compiler support... yes
checking for field updates in struct vminfo_t... no
checking for function sysconf() in unistd.h... yes
checking for function initgroups()... yes
checking for functions seteuid() and setegid()... yes
checking for function setproctitle()... no
checking for function sysctlbyname()... no
checking for function sysctl (KERN_BOOTTIME)... no
checking for function sysctl (HW_NCPU)... no
checking for function sysctl (KERN_MAXFILES)... no
checking for function sysctl (KERN_MAXPROC)... no
checking for function sysctl (KERN_CPTIME,KERN_CPTIME2)... no
checking for function clock_gettime in time.h... yes
checking for macro __va_copy() in stdarg.h... yes
checking for macro __VA_ARGS__... yes
checking return type of signal handlers... void
checking for getloadavg... yes
checking for hstrerror... yes
checking for getenv... yes
checking for putenv... yes
checking for setenv... yes
checking for tzset... yes
checking for unsetenv... yes
checking for sigqueue... yes
checking for round... yes
checking for /proc filesystem... yes
checking for file /proc/stat... yes
checking for file /proc/cpuinfo... yes
checking for file /proc/0/psinfo... no
checking for file /proc/loadavg... yes
checking for file /proc/net/dev... yes
checking for long long format... no
checking for -rdynamic linking option... yes
checking for libperfstat 5.2.0.40 fileset... no
checking for libperfstat 5.3.0.60 fileset... no
checking for architecture... linux (linux-gnu)
checking for the linux kernel version... unknown family (5.10.47-linuxkit)
checking size of void *... 8
checking for OpenSSL support... yes
checking if OpenSSL supports PSK... yes
checking for go... go
checking for LDAP support of ldap.h... yes
checking for gawk... (cached) gawk
checking for curl-config... /usr/bin/curl-config
checking for the version of libcurl... 7.76.1
checking for libcurl >= version 7.13.1... yes
checking for main in -lcurl... yes
checking whether libcurl is usable... yes
checking for curl_free... yes
checking for curl_easy_escape... yes
checking iconv.h usability... yes
checking iconv.h presence... yes
checking for iconv.h... yes
checking for ICONV support... yes
checking for mkdir -p candidate... ok (/usr/bin/mkdir -p)
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating database/Makefile
config.status: creating database/mysql/Makefile
config.status: creating database/oracle/Makefile
config.status: creating database/postgresql/Makefile
config.status: creating database/sqlite3/Makefile
config.status: creating misc/Makefile
config.status: creating src/Makefile
config.status: creating src/go/Makefile
config.status: creating src/libs/Makefile
config.status: creating src/libs/zbxlog/Makefile
config.status: creating src/libs/zbxalgo/Makefile
config.status: creating src/libs/zbxmemory/Makefile
config.status: creating src/libs/zbxcrypto/Makefile
config.status: creating src/libs/zbxconf/Makefile
config.status: creating src/libs/zbxdbcache/Makefile
config.status: creating src/libs/zbxdbhigh/Makefile
config.status: creating src/libs/zbxmedia/Makefile
config.status: creating src/libs/zbxsysinfo/Makefile
config.status: creating src/libs/zbxcommon/Makefile
config.status: creating src/libs/zbxsysinfo/agent/Makefile
config.status: creating src/libs/zbxsysinfo/common/Makefile
config.status: creating src/libs/zbxsysinfo/simple/Makefile
config.status: creating src/libs/zbxsysinfo/linux/Makefile
config.status: creating src/libs/zbxsysinfo/aix/Makefile
config.status: creating src/libs/zbxsysinfo/freebsd/Makefile
config.status: creating src/libs/zbxsysinfo/hpux/Makefile
config.status: creating src/libs/zbxsysinfo/openbsd/Makefile
config.status: creating src/libs/zbxsysinfo/osx/Makefile
config.status: creating src/libs/zbxsysinfo/solaris/Makefile
config.status: creating src/libs/zbxsysinfo/osf/Makefile
config.status: creating src/libs/zbxsysinfo/netbsd/Makefile
config.status: creating src/libs/zbxsysinfo/unknown/Makefile
config.status: creating src/libs/zbxnix/Makefile
config.status: creating src/libs/zbxsys/Makefile
config.status: creating src/libs/zbxcomms/Makefile
config.status: creating src/libs/zbxcommshigh/Makefile
config.status: creating src/libs/zbxdb/Makefile
config.status: creating src/libs/zbxdbupgrade/Makefile
config.status: creating src/libs/zbxjson/Makefile
config.status: creating src/libs/zbxhttp/Makefile
config.status: creating src/libs/zbxserver/Makefile
config.status: creating src/libs/zbxicmpping/Makefile
config.status: creating src/libs/zbxeval/Makefile
config.status: creating src/libs/zbxexec/Makefile
config.status: creating src/libs/zbxself/Makefile
config.status: creating src/libs/zbxmodules/Makefile
config.status: creating src/libs/zbxregexp/Makefile
config.status: creating src/libs/zbxtasks/Makefile
config.status: creating src/libs/zbxipcservice/Makefile
config.status: creating src/libs/zbxhistory/Makefile
config.status: creating src/libs/zbxcompress/Makefile
config.status: creating src/libs/zbxembed/Makefile
config.status: creating src/libs/zbxprometheus/Makefile
config.status: creating src/libs/zbxvault/Makefile
config.status: creating src/libs/zbxdiag/Makefile
config.status: creating src/libs/zbxtrends/Makefile
config.status: creating src/libs/zbxavailability/Makefile
config.status: creating src/libs/zbxxml/Makefile
config.status: creating src/zabbix_agent/Makefile
config.status: creating src/zabbix_agent/logfiles/Makefile
config.status: creating src/zabbix_get/Makefile
config.status: creating src/zabbix_js/Makefile
config.status: creating src/zabbix_sender/Makefile
config.status: creating src/zabbix_server/Makefile
config.status: creating src/zabbix_server/alerter/Makefile
config.status: creating src/zabbix_server/dbsyncer/Makefile
config.status: creating src/zabbix_server/dbconfig/Makefile
config.status: creating src/zabbix_server/discoverer/Makefile
config.status: creating src/zabbix_server/housekeeper/Makefile
config.status: creating src/zabbix_server/httppoller/Makefile
config.status: creating src/zabbix_server/pinger/Makefile
config.status: creating src/zabbix_server/poller/Makefile
config.status: creating src/zabbix_server/snmptrapper/Makefile
config.status: creating src/zabbix_server/timer/Makefile
config.status: creating src/zabbix_server/trapper/Makefile
config.status: creating src/zabbix_server/escalator/Makefile
config.status: creating src/zabbix_server/proxypoller/Makefile
config.status: creating src/zabbix_server/selfmon/Makefile
config.status: creating src/zabbix_server/vmware/Makefile
config.status: creating src/zabbix_server/taskmanager/Makefile
config.status: creating src/zabbix_server/ipmi/Makefile
config.status: creating src/zabbix_server/odbc/Makefile
config.status: creating src/zabbix_server/scripts/Makefile
config.status: creating src/zabbix_server/preprocessor/Makefile
config.status: creating src/zabbix_server/availability/Makefile
config.status: creating src/zabbix_server/lld/Makefile
config.status: creating src/zabbix_server/reporter/Makefile
config.status: creating src/zabbix_proxy/Makefile
config.status: creating src/zabbix_proxy/heart/Makefile
config.status: creating src/zabbix_proxy/housekeeper/Makefile
config.status: creating src/zabbix_proxy/proxyconfig/Makefile
config.status: creating src/zabbix_proxy/datasender/Makefile
config.status: creating src/zabbix_proxy/taskmanager/Makefile
config.status: creating src/zabbix_java/Makefile
config.status: creating man/Makefile
config.status: creating include/config.h
config.status: executing depfiles commands
Configuration:
Detected OS: linux-gnu
Install path: /usr
Compilation arch: linux
Compiler: cc
Compiler flags: -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic
Library-specific flags:
TLS: -I/usr/include
LDAP: -I/usr/include
Enable server: no
Enable proxy: no
Enable agent: no
Enable agent 2: no
Enable web service: yes
Enable Java gateway: no
LDAP support: yes
IPv6 support: yes
************************************************** *********
* Now run 'make install' *
* *
* Thank you for using Zabbix! *
* <http://www.zabbix.com> *
************************************************** *********
+ make
Making all in src
make[1]: Entering directory `/root/rpmbuild/BUILD/zabbix-5.4.5/src'
Making all in go
make[2]: Entering directory `/root/rpmbuild/BUILD/zabbix-5.4.5/src/go'
go build -ldflags="-X 'zabbix.com/pkg/version.compileDate=`date +"%b %_d %Y"`' -X zabbix.com/pkg/version.compileTime=`date +%H:%M:%S` -X zabbix.com/pkg/version.compileOs=`go env GOOS` -X zabbix.com/pkg/version.compileArch=`go env GOARCH` -X main.applicationName=zabbix_web_service" -o bin zabbix.com/cmd/zabbix_web_service
make[2]: Leaving directory `/root/rpmbuild/BUILD/zabbix-5.4.5/src/go'
make[2]: Entering directory `/root/rpmbuild/BUILD/zabbix-5.4.5/src'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory `/root/rpmbuild/BUILD/zabbix-5.4.5/src'
make[1]: Leaving directory `/root/rpmbuild/BUILD/zabbix-5.4.5/src'
Making all in database
make[1]: Entering directory `/root/rpmbuild/BUILD/zabbix-5.4.5/database'
Making all in mysql
make[2]: Entering directory `/root/rpmbuild/BUILD/zabbix-5.4.5/database/mysql'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/root/rpmbuild/BUILD/zabbix-5.4.5/database/mysql'
Making all in oracle
make[2]: Entering directory `/root/rpmbuild/BUILD/zabbix-5.4.5/database/oracle'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/root/rpmbuild/BUILD/zabbix-5.4.5/database/oracle'
Making all in postgresql
make[2]: Entering directory `/root/rpmbuild/BUILD/zabbix-5.4.5/database/postgresql'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/root/rpmbuild/BUILD/zabbix-5.4.5/database/postgresql'
Making all in sqlite3
make[2]: Entering directory `/root/rpmbuild/BUILD/zabbix-5.4.5/database/sqlite3'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/root/rpmbuild/BUILD/zabbix-5.4.5/database/sqlite3'
make[2]: Entering directory `/root/rpmbuild/BUILD/zabbix-5.4.5/database'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory `/root/rpmbuild/BUILD/zabbix-5.4.5/database'
make[1]: Leaving directory `/root/rpmbuild/BUILD/zabbix-5.4.5/database'
Making all in man
make[1]: Entering directory `/root/rpmbuild/BUILD/zabbix-5.4.5/man'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/root/rpmbuild/BUILD/zabbix-5.4.5/man'
Making all in misc
make[1]: Entering directory `/root/rpmbuild/BUILD/zabbix-5.4.5/misc'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/root/rpmbuild/BUILD/zabbix-5.4.5/misc'
make[1]: Entering directory `/root/rpmbuild/BUILD/zabbix-5.4.5'
make[1]: Nothing to be done for `all-am'.
make[1]: Leaving directory `/root/rpmbuild/BUILD/zabbix-5.4.5'
+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.88mYAL
+ umask 022
+ cd /root/rpmbuild/BUILD
+ '[' /root/rpmbuild/BUILDROOT/zabbix-5.4.5-1.amzn2.x86_64 '!=' / ']'
+ rm -rf /root/rpmbuild/BUILDROOT/zabbix-5.4.5-1.amzn2.x86_64
++ dirname /root/rpmbuild/BUILDROOT/zabbix-5.4.5-1.amzn2.x86_64
+ mkdir -p /root/rpmbuild/BUILDROOT
+ mkdir /root/rpmbuild/BUILDROOT/zabbix-5.4.5-1.amzn2.x86_64
+ cd zabbix-5.4.5
+ rm -rf /root/rpmbuild/BUILDROOT/zabbix-5.4.5-1.amzn2.x86_64
+ mkdir -p /root/rpmbuild/BUILDROOT/zabbix-5.4.5-1.amzn2.x86_64/var/log/zabbix
+ mkdir -p /root/rpmbuild/BUILDROOT/zabbix-5.4.5-1.amzn2.x86_64/var/run/zabbix
+ mkdir -p /root/rpmbuild/BUILDROOT/zabbix-5.4.5-1.amzn2.x86_64/etc/logrotate.d
+ mkdir -p /root/rpmbuild/BUILDROOT/zabbix-5.4.5-1.amzn2.x86_64/etc/zabbix
+ mkdir -p /root/rpmbuild/BUILDROOT/zabbix-5.4.5-1.amzn2.x86_64/usr/share
+ mkdir -p /root/rpmbuild/BUILDROOT/zabbix-5.4.5-1.amzn2.x86_64/usr/share/man/man8
+ make DESTDIR=/root/rpmbuild/BUILDROOT/zabbix-5.4.5-1.amzn2.x86_64 install
Making install in src
make[1]: Entering directory `/root/rpmbuild/BUILD/zabbix-5.4.5/src'
Making install in go
make[2]: Entering directory `/root/rpmbuild/BUILD/zabbix-5.4.5/src/go'
make[3]: Entering directory `/root/rpmbuild/BUILD/zabbix-5.4.5/src/go'
/usr/bin/mkdir -p '/root/rpmbuild/BUILDROOT/zabbix-5.4.5-1.amzn2.x86_64/etc/zabbix'
/usr/bin/install -c -m 644 conf/zabbix_web_service.conf '/root/rpmbuild/BUILDROOT/zabbix-5.4.5-1.amzn2.x86_64/etc/zabbix'
GOBIN=/usr/sbin go install -ldflags="-X 'zabbix.com/pkg/version.compileDate=`date +"%b %_d %Y"`' -X zabbix.com/pkg/version.compileTime=`date +%H:%M:%S` -X zabbix.com/pkg/version.compileOs=`go env GOOS` -X zabbix.com/pkg/version.compileArch=`go env GOARCH` -X main.applicationName=zabbix_web_service" zabbix.com/cmd/zabbix_web_service
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/root/rpmbuild/BUILD/zabbix-5.4.5/src/go'
make[2]: Leaving directory `/root/rpmbuild/BUILD/zabbix-5.4.5/src/go'
make[2]: Entering directory `/root/rpmbuild/BUILD/zabbix-5.4.5/src'
make[3]: Entering directory `/root/rpmbuild/BUILD/zabbix-5.4.5/src'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/root/rpmbuild/BUILD/zabbix-5.4.5/src'
make[2]: Leaving directory `/root/rpmbuild/BUILD/zabbix-5.4.5/src'
make[1]: Leaving directory `/root/rpmbuild/BUILD/zabbix-5.4.5/src'
Making install in database
make[1]: Entering directory `/root/rpmbuild/BUILD/zabbix-5.4.5/database'
Making install in mysql
make[2]: Entering directory `/root/rpmbuild/BUILD/zabbix-5.4.5/database/mysql'
make[3]: Entering directory `/root/rpmbuild/BUILD/zabbix-5.4.5/database/mysql'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/root/rpmbuild/BUILD/zabbix-5.4.5/database/mysql'
make[2]: Leaving directory `/root/rpmbuild/BUILD/zabbix-5.4.5/database/mysql'
Making install in oracle
make[2]: Entering directory `/root/rpmbuild/BUILD/zabbix-5.4.5/database/oracle'
make[3]: Entering directory `/root/rpmbuild/BUILD/zabbix-5.4.5/database/oracle'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/root/rpmbuild/BUILD/zabbix-5.4.5/database/oracle'
make[2]: Leaving directory `/root/rpmbuild/BUILD/zabbix-5.4.5/database/oracle'
Making install in postgresql
make[2]: Entering directory `/root/rpmbuild/BUILD/zabbix-5.4.5/database/postgresql'
make[3]: Entering directory `/root/rpmbuild/BUILD/zabbix-5.4.5/database/postgresql'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/root/rpmbuild/BUILD/zabbix-5.4.5/database/postgresql'
make[2]: Leaving directory `/root/rpmbuild/BUILD/zabbix-5.4.5/database/postgresql'
Making install in sqlite3
make[2]: Entering directory `/root/rpmbuild/BUILD/zabbix-5.4.5/database/sqlite3'
make[3]: Entering directory `/root/rpmbuild/BUILD/zabbix-5.4.5/database/sqlite3'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/root/rpmbuild/BUILD/zabbix-5.4.5/database/sqlite3'
make[2]: Leaving directory `/root/rpmbuild/BUILD/zabbix-5.4.5/database/sqlite3'
make[2]: Entering directory `/root/rpmbuild/BUILD/zabbix-5.4.5/database'
make[3]: Entering directory `/root/rpmbuild/BUILD/zabbix-5.4.5/database'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/root/rpmbuild/BUILD/zabbix-5.4.5/database'
make[2]: Leaving directory `/root/rpmbuild/BUILD/zabbix-5.4.5/database'
make[1]: Leaving directory `/root/rpmbuild/BUILD/zabbix-5.4.5/database'
Making install in man
make[1]: Entering directory `/root/rpmbuild/BUILD/zabbix-5.4.5/man'
make[2]: Entering directory `/root/rpmbuild/BUILD/zabbix-5.4.5/man'
make[2]: Nothing to be done for `install-exec-am'.
/usr/bin/mkdir -p '/root/rpmbuild/BUILDROOT/zabbix-5.4.5-1.amzn2.x86_64/usr/share/man/man8'
/usr/bin/install -c -m 644 'zabbix_web_service.man' '/root/rpmbuild/BUILDROOT/zabbix-5.4.5-1.amzn2.x86_64/usr/share/man/man8/zabbix_web_service.8'
make[2]: Leaving directory `/root/rpmbuild/BUILD/zabbix-5.4.5/man'
make[1]: Leaving directory `/root/rpmbuild/BUILD/zabbix-5.4.5/man'
Making install in misc
make[1]: Entering directory `/root/rpmbuild/BUILD/zabbix-5.4.5/misc'
make[2]: Entering directory `/root/rpmbuild/BUILD/zabbix-5.4.5/misc'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/root/rpmbuild/BUILD/zabbix-5.4.5/misc'
make[1]: Leaving directory `/root/rpmbuild/BUILD/zabbix-5.4.5/misc'
make[1]: Entering directory `/root/rpmbuild/BUILD/zabbix-5.4.5'
make[2]: Entering directory `/root/rpmbuild/BUILD/zabbix-5.4.5'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/root/rpmbuild/BUILD/zabbix-5.4.5'
make[1]: Leaving directory `/root/rpmbuild/BUILD/zabbix-5.4.5'
+ cat /root/rpmbuild/SOURCES/zabbix-logrotate.in
+ sed -e 's|COMPONENT|web-service|g'
+ cp man/zabbix_web_service.man /root/rpmbuild/BUILDROOT/zabbix-5.4.5-1.amzn2.x86_64/usr/share/man/man8/zabbix_web_service.8
+ install -Dm 0644 -p /root/rpmbuild/SOURCES/zabbix-web-service.service /root/rpmbuild/BUILDROOT/zabbix-5.4.5-1.amzn2.x86_64/usr/lib/systemd/system/zabbix-web-service.service
+ install -Dm 0644 -p /root/rpmbuild/SOURCES/zabbix-tmpfiles.conf /root/rpmbuild/BUILDROOT/zabbix-5.4.5-1.amzn2.x86_64/usr/lib/tmpfiles.d/zabbix_web_service.conf
+ /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 /root/rpmbuild/BUILD/zabbix-5.4.5
/usr/lib/rpm/sepdebugcrcfix: Updated 0 CRC32s, 0 CRC32s did match.
find: 'debug': No such file or directory
+ /usr/lib/rpm/check-buildroot
+ /usr/lib/rpm/redhat/brp-compress
+ /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip
+ /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1
+ /usr/lib/rpm/redhat/brp-python-hardlink
+ /usr/lib/rpm/redhat/brp-java-repack-jars
Processing files: zabbix-web-service-5.4.5-1.amzn2.x86_64
error: File not found: /root/rpmbuild/BUILDROOT/zabbix-5.4.5-1.amzn2.x86_64/usr/sbin/zabbix_web_service
Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.hWuLO9
+ umask 022
+ cd /root/rpmbuild/BUILD
+ cd zabbix-5.4.5
+ DOCDIR=/root/rpmbuild/BUILDROOT/zabbix-5.4.5-1.amzn2.x86_64/usr/share/doc/zabbix-web-service-5.4.5
+ export DOCDIR
+ /usr/bin/mkdir -p /root/rpmbuild/BUILDROOT/zabbix-5.4.5-1.amzn2.x86_64/usr/share/doc/zabbix-web-service-5.4.5
+ cp -pr AUTHORS /root/rpmbuild/BUILDROOT/zabbix-5.4.5-1.amzn2.x86_64/usr/share/doc/zabbix-web-service-5.4.5
+ cp -pr ChangeLog /root/rpmbuild/BUILDROOT/zabbix-5.4.5-1.amzn2.x86_64/usr/share/doc/zabbix-web-service-5.4.5
+ cp -pr COPYING /root/rpmbuild/BUILDROOT/zabbix-5.4.5-1.amzn2.x86_64/usr/share/doc/zabbix-web-service-5.4.5
+ cp -pr NEWS /root/rpmbuild/BUILDROOT/zabbix-5.4.5-1.amzn2.x86_64/usr/share/doc/zabbix-web-service-5.4.5
+ cp -pr README /root/rpmbuild/BUILDROOT/zabbix-5.4.5-1.amzn2.x86_64/usr/share/doc/zabbix-web-service-5.4.5
+ exit 0
File not found: /root/rpmbuild/BUILDROOT/zabbix-5.4.5-1.amzn2.x86_64/usr/sbin/zabbix_web_service
RPM build errors:
if I go and run the make command in src/go I get an zabbix_web_service executable
bash-4.2# cd BUILD/zabbix-5.4.5/src/go/
bash-4.2# make
go build -ldflags="-X 'zabbix.com/pkg/version.compileDate=`date +"%b %_d %Y"`' -X zabbix.com/pkg/version.compileTime=`date +%H:%M:%S` -X zabbix.com/pkg/version.compileOs=`go env GOOS` -X zabbix.com/pkg/version.compileArch=`go env GOARCH` -X main.applicationName=zabbix_web_service" -o bin zabbix.com/cmd/zabbix_web_service
bash-4.2# pwd
/root/rpmbuild/BUILD/zabbix-5.4.5/src/go
bash-4.2# ls
Makefile Makefile.am Makefile.in bin cmd conf go.mod go.sum internal pkg plugins
bash-4.2# bin/zabbix_web_service
zabbix_web_service [8721]: ERROR: cannot open configuration file: open : no such file or directory
bash-4.2#
I've been able to get working rpms for everything except zabbix-web-service and zabbix-agent2 ( go 1.16 not available yet )
time rpmbuild -ba ~/rpmbuild/SPECS/zabbix.spec | tee build_out.txt
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.0fNrIG
+ umask 022
+ cd /root/rpmbuild/BUILD
+ cd /root/rpmbuild/BUILD
+ rm -rf zabbix-5.4.5
+ /usr/bin/gzip -dc /root/rpmbuild/SOURCES/zabbix-5.4.5.tar.gz
+ /usr/bin/tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd zabbix-5.4.5
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ echo 'Patch #3 (conf.patch):'
Patch #3 (conf.patch):
+ /usr/bin/cat /root/rpmbuild/SOURCES/conf.patch
+ /usr/bin/patch -p1 --fuzz=0
patching file conf/zabbix_agentd.conf
patching file conf/zabbix_proxy.conf
patching file conf/zabbix_server.conf
Hunk #6 succeeded at 544 (offset -2 lines).
Hunk #7 succeeded at 553 (offset -2 lines).
patching file src/go/conf/zabbix_agent2.conf
patching file src/go/conf/zabbix_web_service.conf
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.NO3bQq
+ umask 022
+ cd /root/rpmbuild/BUILD
+ cd zabbix-5.4.5
+ build_conf_common='
--enable-dependency-tracking
--sysconfdir=/etc/zabbix
--libdir=/usr/lib64/zabbix
--enable-ipv6
--with-net-snmp
--with-ldap
--with-libcurl
--with-openipmi
--with-unixodbc
--with-ssh2
--with-libxml2
--with-libevent
--with-libpcre
--with-openssl
'
+ build_conf_3='
--enable-webservice
'
+ '[' -n '' ']'
+ '[' -n '' ']'
+ '[' -n '
--enable-webservice
' ']'
+ CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic'
+ export CFLAGS
+ CXXFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic'
+ export CXXFLAGS
+ FFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I/usr/lib64/gfortran/modules'
+ export FFLAGS
+ FCFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I/usr/lib64/gfortran/modules'
+ export FCFLAGS
+ LDFLAGS='-Wl,-z,relro '
+ export LDFLAGS
+ '[' 1 == 1 ']'
+ '[' x86_64 == ppc64le ']'
++ find . -name config.guess -o -name config.sub
+ for i in '$(find . -name config.guess -o -name config.sub)'
++ basename ./config.guess
+ '[' -f /usr/lib/rpm/redhat/config.guess ']'
+ /usr/bin/rm -f ./config.guess
++ basename ./config.guess
+ /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess
'/usr/lib/rpm/redhat/config.guess' -> './config.guess'
+ for i in '$(find . -name config.guess -o -name config.sub)'
++ basename ./config.sub
+ '[' -f /usr/lib/rpm/redhat/config.sub ']'
+ /usr/bin/rm -f ./config.sub
++ basename ./config.sub
+ /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub
'/usr/lib/rpm/redhat/config.sub' -> './config.sub'
+ ./configure --build=x86_64-redhat-linux-gnu --host=x86_64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --enable-dependency-tracking --sysconfdir=/etc/zabbix --libdir=/usr/lib64/zabbix --enable-ipv6 --with-net-snmp --with-ldap --with-libcurl --with-openipmi --with-unixodbc --with-ssh2 --with-libxml2 --with-libevent --with-libpcre --with-openssl --enable-webservice
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
configure: Configuring Zabbix 5.4.5
checking whether make sets $(MAKE)... (cached) yes
checking build system type... x86_64-redhat-linux-gnu
checking host system type... x86_64-redhat-linux-gnu
checking for x86_64-redhat-linux-gnu-cc... no
checking for x86_64-redhat-linux-gnu-c99... no
checking for x86_64-redhat-linux-gnu-gcc... no
checking for x86_64-redhat-linux-gnu-clang... no
checking for cc... cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking whether cc understands -c and -o together... yes
checking whether make supports the include directive... yes (GNU style)
checking dependency style of cc... gcc3
checking how to run the C preprocessor... cc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking stdio.h usability... yes
checking stdio.h presence... yes
checking for stdio.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking for sys/types.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking math.h usability... yes
checking math.h presence... yes
checking for math.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking dirent.h usability... yes
checking dirent.h presence... yes
checking for dirent.h... yes
checking ctype.h usability... yes
checking ctype.h presence... yes
checking for ctype.h... yes
checking mtent.h usability... no
checking mtent.h presence... no
checking for mtent.h... no
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking sys/vfs.h usability... yes
checking sys/vfs.h presence... yes
checking for sys/vfs.h... yes
checking sys/pstat.h usability... no
checking sys/pstat.h presence... no
checking for sys/pstat.h... no
checking sys/sysinfo.h usability... yes
checking sys/sysinfo.h presence... yes
checking for sys/sysinfo.h... yes
checking sys/statvfs.h usability... yes
checking sys/statvfs.h presence... yes
checking for sys/statvfs.h... yes
checking sys/statfs.h usability... yes
checking sys/statfs.h presence... yes
checking for sys/statfs.h... yes
checking for sys/socket.h... (cached) yes
checking sys/loadavg.h usability... no
checking sys/loadavg.h presence... no
checking for sys/loadavg.h... no
checking for arpa/inet.h... (cached) yes
checking sys/vmmeter.h usability... no
checking sys/vmmeter.h presence... no
checking for sys/vmmeter.h... no
checking for strings.h... (cached) yes
checking vm/vm_param.h usability... no
checking vm/vm_param.h presence... no
checking for vm/vm_param.h... no
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking kstat.h usability... no
checking kstat.h presence... no
checking for kstat.h... no
checking sys/syscall.h usability... yes
checking sys/syscall.h presence... yes
checking for sys/syscall.h... yes
checking sys/sysmacros.h usability... yes
checking sys/sysmacros.h presence... yes
checking for sys/sysmacros.h... yes
checking for stdint.h... (cached) yes
checking mach/host_info.h usability... no
checking mach/host_info.h presence... no
checking for mach/host_info.h... no
checking mach/mach_host.h usability... no
checking mach/mach_host.h presence... no
checking for mach/mach_host.h... no
checking knlist.h usability... no
checking knlist.h presence... no
checking for knlist.h... no
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking sys/var.h usability... no
checking sys/var.h presence... no
checking for sys/var.h... no
checking arpa/nameser.h usability... yes
checking arpa/nameser.h presence... yes
checking for arpa/nameser.h... yes
checking assert.h usability... yes
checking assert.h presence... yes
checking for assert.h... yes
checking sys/dkstat.h usability... no
checking sys/dkstat.h presence... no
checking for sys/dkstat.h... no
checking sys/disk.h usability... no
checking sys/disk.h presence... no
checking for sys/disk.h... no
checking sys/sched.h usability... no
checking sys/sched.h presence... no
checking for sys/sched.h... no
checking zone.h usability... no
checking zone.h presence... no
checking for zone.h... no
checking nlist.h usability... yes
checking nlist.h presence... yes
checking for nlist.h... yes
checking kvm.h usability... no
checking kvm.h presence... no
checking for kvm.h... no
checking linux/kernel.h usability... yes
checking linux/kernel.h presence... yes
checking for linux/kernel.h... yes
checking procinfo.h usability... no
checking procinfo.h presence... no
checking for procinfo.h... no
checking sys/dk.h usability... no
checking sys/dk.h presence... no
checking for sys/dk.h... no
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking windows.h usability... no
checking windows.h presence... no
checking for windows.h... no
checking process.h usability... no
checking process.h presence... no
checking for process.h... no
checking conio.h usability... no
checking conio.h presence... no
checking for conio.h... no
checking sys/wait.h usability... yes
checking sys/wait.h presence... yes
checking for sys/wait.h... yes
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking winsock2.h usability... no
checking winsock2.h presence... no
checking for winsock2.h... no
checking pdh.h usability... no
checking pdh.h presence... no
checking for pdh.h... no
checking psapi.h usability... no
checking psapi.h presence... no
checking for psapi.h... no
checking sys/sem.h usability... yes
checking sys/sem.h presence... yes
checking for sys/sem.h... yes
checking sys/ipc.h usability... yes
checking sys/ipc.h presence... yes
checking for sys/ipc.h... yes
checking sys/shm.h usability... yes
checking sys/shm.h presence... yes
checking for sys/shm.h... yes
checking Winldap.h usability... no
checking Winldap.h presence... no
checking for Winldap.h... no
checking Winber.h usability... no
checking Winber.h presence... no
checking for Winber.h... no
checking lber.h usability... yes
checking lber.h presence... yes
checking for lber.h... yes
checking ws2tcpip.h usability... no
checking ws2tcpip.h presence... no
checking for ws2tcpip.h... no
checking for inttypes.h... (cached) yes
checking sys/file.h usability... yes
checking sys/file.h presence... yes
checking for sys/file.h... yes
checking grp.h usability... yes
checking grp.h presence... yes
checking for grp.h... yes
checking execinfo.h usability... yes
checking execinfo.h presence... yes
checking for execinfo.h... yes
checking sys/systemcfg.h usability... no
checking sys/systemcfg.h presence... no
checking for sys/systemcfg.h... no
checking sys/mnttab.h usability... no
checking sys/mnttab.h presence... no
checking for sys/mnttab.h... no
checking mntent.h usability... yes
checking mntent.h presence... yes
checking for mntent.h... yes
checking sys/times.h usability... yes
checking sys/times.h presence... yes
checking for sys/times.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking sys/utsname.h usability... yes
checking sys/utsname.h presence... yes
checking for sys/utsname.h... yes
checking sys/un.h usability... yes
checking sys/un.h presence... yes
checking for sys/un.h... yes
checking sys/protosw.h usability... no
checking sys/protosw.h presence... no
checking for sys/protosw.h... no
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking float.h usability... yes
checking float.h presence... yes
checking for float.h... yes
checking for resolv.h... yes
checking for net/if.h... yes
checking for net/if_mib.h... no
checking whether compiler supports -Werror=cpp... yes
checking for sys/mount.h... yes
checking for sys/proc.h... no
checking for sys/sysctl.h... yes
checking for sys/user.h... yes
checking for sys/swap.h... yes
checking for sys/ucontext.h... yes
checking for devstat.h... no
checking for linux/netlink.h... yes
checking linux/inet_diag.h usability... yes
checking linux/inet_diag.h presence... yes
checking for linux/inet_diag.h... yes
checking for libperfstat.h... no
checking for library containing socket... none required
checking for library containing kstat_open... no
checking for library containing gethostbyname... none required
checking for library containing clock_gettime... none required
checking for library containing dlopen... -ldl
checking for library containing perfstat_memory_total... no
checking for library containing devstat_getdevs... no
checking for library containing getdevs... no
checking for library containing backtrace_symbols... none required
checking for main in -lm... yes
checking for main in -lkvm... no
checking for DNS lookup functions... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for an ANSI C-conforming const... yes
checking for pid_t... yes
checking for socklen_t... yes
checking for actual socklen_t parameter type in socket functions... socklen_t
checking for integer field name in union sigval of struct siginfo_t... sival_int
checking for res_ninit... yes
checking for res_ndestroy... no
checking for _res._u._ext.nsaddrs... yes
checking for _res._u._ext.ext... no
checking for _res._ext.ext.nsaddrs... no
checking for struct sockaddr_in6.sin6_len... no
checking for union semun... no
checking for struct swaptable in sys/swap.h... no
checking for struct sensordev in sys/sensors.h... no
checking for struct statvfs64 in sys/statvfs.h... no
checking for struct statfs64 in sys/statfs.h... no
checking for field ss_family in struct sockaddr_storage... yes
checking for field mem_unit in struct sysinfo... yes
checking for field freeswap in struct sysinfo... yes
checking for field totalswap in struct sysinfo... yes
checking for field totalram in struct sysinfo... yes
checking for field sharedram in struct sysinfo... yes
checking for field bufferram in struct sysinfo... yes
checking for field freeram in struct sysinfo... yes
checking for field uptime in struct sysinfo... yes
checking for field procs in struct sysinfo... yes
checking for field tm_gmtoff in struct tm... yes
checking for linker options --start-group/--end-group... yes
checking for '__thread' compiler support... yes
checking for field updates in struct vminfo_t... no
checking for function sysconf() in unistd.h... yes
checking for function initgroups()... yes
checking for functions seteuid() and setegid()... yes
checking for function setproctitle()... no
checking for function sysctlbyname()... no
checking for function sysctl (KERN_BOOTTIME)... no
checking for function sysctl (HW_NCPU)... no
checking for function sysctl (KERN_MAXFILES)... no
checking for function sysctl (KERN_MAXPROC)... no
checking for function sysctl (KERN_CPTIME,KERN_CPTIME2)... no
checking for function clock_gettime in time.h... yes
checking for macro __va_copy() in stdarg.h... yes
checking for macro __VA_ARGS__... yes
checking return type of signal handlers... void
checking for getloadavg... yes
checking for hstrerror... yes
checking for getenv... yes
checking for putenv... yes
checking for setenv... yes
checking for tzset... yes
checking for unsetenv... yes
checking for sigqueue... yes
checking for round... yes
checking for /proc filesystem... yes
checking for file /proc/stat... yes
checking for file /proc/cpuinfo... yes
checking for file /proc/0/psinfo... no
checking for file /proc/loadavg... yes
checking for file /proc/net/dev... yes
checking for long long format... no
checking for -rdynamic linking option... yes
checking for libperfstat 5.2.0.40 fileset... no
checking for libperfstat 5.3.0.60 fileset... no
checking for architecture... linux (linux-gnu)
checking for the linux kernel version... unknown family (5.10.47-linuxkit)
checking size of void *... 8
checking for OpenSSL support... yes
checking if OpenSSL supports PSK... yes
checking for go... go
checking for LDAP support of ldap.h... yes
checking for gawk... (cached) gawk
checking for curl-config... /usr/bin/curl-config
checking for the version of libcurl... 7.76.1
checking for libcurl >= version 7.13.1... yes
checking for main in -lcurl... yes
checking whether libcurl is usable... yes
checking for curl_free... yes
checking for curl_easy_escape... yes
checking iconv.h usability... yes
checking iconv.h presence... yes
checking for iconv.h... yes
checking for ICONV support... yes
checking for mkdir -p candidate... ok (/usr/bin/mkdir -p)
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating database/Makefile
config.status: creating database/mysql/Makefile
config.status: creating database/oracle/Makefile
config.status: creating database/postgresql/Makefile
config.status: creating database/sqlite3/Makefile
config.status: creating misc/Makefile
config.status: creating src/Makefile
config.status: creating src/go/Makefile
config.status: creating src/libs/Makefile
config.status: creating src/libs/zbxlog/Makefile
config.status: creating src/libs/zbxalgo/Makefile
config.status: creating src/libs/zbxmemory/Makefile
config.status: creating src/libs/zbxcrypto/Makefile
config.status: creating src/libs/zbxconf/Makefile
config.status: creating src/libs/zbxdbcache/Makefile
config.status: creating src/libs/zbxdbhigh/Makefile
config.status: creating src/libs/zbxmedia/Makefile
config.status: creating src/libs/zbxsysinfo/Makefile
config.status: creating src/libs/zbxcommon/Makefile
config.status: creating src/libs/zbxsysinfo/agent/Makefile
config.status: creating src/libs/zbxsysinfo/common/Makefile
config.status: creating src/libs/zbxsysinfo/simple/Makefile
config.status: creating src/libs/zbxsysinfo/linux/Makefile
config.status: creating src/libs/zbxsysinfo/aix/Makefile
config.status: creating src/libs/zbxsysinfo/freebsd/Makefile
config.status: creating src/libs/zbxsysinfo/hpux/Makefile
config.status: creating src/libs/zbxsysinfo/openbsd/Makefile
config.status: creating src/libs/zbxsysinfo/osx/Makefile
config.status: creating src/libs/zbxsysinfo/solaris/Makefile
config.status: creating src/libs/zbxsysinfo/osf/Makefile
config.status: creating src/libs/zbxsysinfo/netbsd/Makefile
config.status: creating src/libs/zbxsysinfo/unknown/Makefile
config.status: creating src/libs/zbxnix/Makefile
config.status: creating src/libs/zbxsys/Makefile
config.status: creating src/libs/zbxcomms/Makefile
config.status: creating src/libs/zbxcommshigh/Makefile
config.status: creating src/libs/zbxdb/Makefile
config.status: creating src/libs/zbxdbupgrade/Makefile
config.status: creating src/libs/zbxjson/Makefile
config.status: creating src/libs/zbxhttp/Makefile
config.status: creating src/libs/zbxserver/Makefile
config.status: creating src/libs/zbxicmpping/Makefile
config.status: creating src/libs/zbxeval/Makefile
config.status: creating src/libs/zbxexec/Makefile
config.status: creating src/libs/zbxself/Makefile
config.status: creating src/libs/zbxmodules/Makefile
config.status: creating src/libs/zbxregexp/Makefile
config.status: creating src/libs/zbxtasks/Makefile
config.status: creating src/libs/zbxipcservice/Makefile
config.status: creating src/libs/zbxhistory/Makefile
config.status: creating src/libs/zbxcompress/Makefile
config.status: creating src/libs/zbxembed/Makefile
config.status: creating src/libs/zbxprometheus/Makefile
config.status: creating src/libs/zbxvault/Makefile
config.status: creating src/libs/zbxdiag/Makefile
config.status: creating src/libs/zbxtrends/Makefile
config.status: creating src/libs/zbxavailability/Makefile
config.status: creating src/libs/zbxxml/Makefile
config.status: creating src/zabbix_agent/Makefile
config.status: creating src/zabbix_agent/logfiles/Makefile
config.status: creating src/zabbix_get/Makefile
config.status: creating src/zabbix_js/Makefile
config.status: creating src/zabbix_sender/Makefile
config.status: creating src/zabbix_server/Makefile
config.status: creating src/zabbix_server/alerter/Makefile
config.status: creating src/zabbix_server/dbsyncer/Makefile
config.status: creating src/zabbix_server/dbconfig/Makefile
config.status: creating src/zabbix_server/discoverer/Makefile
config.status: creating src/zabbix_server/housekeeper/Makefile
config.status: creating src/zabbix_server/httppoller/Makefile
config.status: creating src/zabbix_server/pinger/Makefile
config.status: creating src/zabbix_server/poller/Makefile
config.status: creating src/zabbix_server/snmptrapper/Makefile
config.status: creating src/zabbix_server/timer/Makefile
config.status: creating src/zabbix_server/trapper/Makefile
config.status: creating src/zabbix_server/escalator/Makefile
config.status: creating src/zabbix_server/proxypoller/Makefile
config.status: creating src/zabbix_server/selfmon/Makefile
config.status: creating src/zabbix_server/vmware/Makefile
config.status: creating src/zabbix_server/taskmanager/Makefile
config.status: creating src/zabbix_server/ipmi/Makefile
config.status: creating src/zabbix_server/odbc/Makefile
config.status: creating src/zabbix_server/scripts/Makefile
config.status: creating src/zabbix_server/preprocessor/Makefile
config.status: creating src/zabbix_server/availability/Makefile
config.status: creating src/zabbix_server/lld/Makefile
config.status: creating src/zabbix_server/reporter/Makefile
config.status: creating src/zabbix_proxy/Makefile
config.status: creating src/zabbix_proxy/heart/Makefile
config.status: creating src/zabbix_proxy/housekeeper/Makefile
config.status: creating src/zabbix_proxy/proxyconfig/Makefile
config.status: creating src/zabbix_proxy/datasender/Makefile
config.status: creating src/zabbix_proxy/taskmanager/Makefile
config.status: creating src/zabbix_java/Makefile
config.status: creating man/Makefile
config.status: creating include/config.h
config.status: executing depfiles commands
Configuration:
Detected OS: linux-gnu
Install path: /usr
Compilation arch: linux
Compiler: cc
Compiler flags: -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic
Library-specific flags:
TLS: -I/usr/include
LDAP: -I/usr/include
Enable server: no
Enable proxy: no
Enable agent: no
Enable agent 2: no
Enable web service: yes
Enable Java gateway: no
LDAP support: yes
IPv6 support: yes
************************************************** *********
* Now run 'make install' *
* *
* Thank you for using Zabbix! *
* <http://www.zabbix.com> *
************************************************** *********
+ make
Making all in src
make[1]: Entering directory `/root/rpmbuild/BUILD/zabbix-5.4.5/src'
Making all in go
make[2]: Entering directory `/root/rpmbuild/BUILD/zabbix-5.4.5/src/go'
go build -ldflags="-X 'zabbix.com/pkg/version.compileDate=`date +"%b %_d %Y"`' -X zabbix.com/pkg/version.compileTime=`date +%H:%M:%S` -X zabbix.com/pkg/version.compileOs=`go env GOOS` -X zabbix.com/pkg/version.compileArch=`go env GOARCH` -X main.applicationName=zabbix_web_service" -o bin zabbix.com/cmd/zabbix_web_service
make[2]: Leaving directory `/root/rpmbuild/BUILD/zabbix-5.4.5/src/go'
make[2]: Entering directory `/root/rpmbuild/BUILD/zabbix-5.4.5/src'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory `/root/rpmbuild/BUILD/zabbix-5.4.5/src'
make[1]: Leaving directory `/root/rpmbuild/BUILD/zabbix-5.4.5/src'
Making all in database
make[1]: Entering directory `/root/rpmbuild/BUILD/zabbix-5.4.5/database'
Making all in mysql
make[2]: Entering directory `/root/rpmbuild/BUILD/zabbix-5.4.5/database/mysql'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/root/rpmbuild/BUILD/zabbix-5.4.5/database/mysql'
Making all in oracle
make[2]: Entering directory `/root/rpmbuild/BUILD/zabbix-5.4.5/database/oracle'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/root/rpmbuild/BUILD/zabbix-5.4.5/database/oracle'
Making all in postgresql
make[2]: Entering directory `/root/rpmbuild/BUILD/zabbix-5.4.5/database/postgresql'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/root/rpmbuild/BUILD/zabbix-5.4.5/database/postgresql'
Making all in sqlite3
make[2]: Entering directory `/root/rpmbuild/BUILD/zabbix-5.4.5/database/sqlite3'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/root/rpmbuild/BUILD/zabbix-5.4.5/database/sqlite3'
make[2]: Entering directory `/root/rpmbuild/BUILD/zabbix-5.4.5/database'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory `/root/rpmbuild/BUILD/zabbix-5.4.5/database'
make[1]: Leaving directory `/root/rpmbuild/BUILD/zabbix-5.4.5/database'
Making all in man
make[1]: Entering directory `/root/rpmbuild/BUILD/zabbix-5.4.5/man'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/root/rpmbuild/BUILD/zabbix-5.4.5/man'
Making all in misc
make[1]: Entering directory `/root/rpmbuild/BUILD/zabbix-5.4.5/misc'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/root/rpmbuild/BUILD/zabbix-5.4.5/misc'
make[1]: Entering directory `/root/rpmbuild/BUILD/zabbix-5.4.5'
make[1]: Nothing to be done for `all-am'.
make[1]: Leaving directory `/root/rpmbuild/BUILD/zabbix-5.4.5'
+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.88mYAL
+ umask 022
+ cd /root/rpmbuild/BUILD
+ '[' /root/rpmbuild/BUILDROOT/zabbix-5.4.5-1.amzn2.x86_64 '!=' / ']'
+ rm -rf /root/rpmbuild/BUILDROOT/zabbix-5.4.5-1.amzn2.x86_64
++ dirname /root/rpmbuild/BUILDROOT/zabbix-5.4.5-1.amzn2.x86_64
+ mkdir -p /root/rpmbuild/BUILDROOT
+ mkdir /root/rpmbuild/BUILDROOT/zabbix-5.4.5-1.amzn2.x86_64
+ cd zabbix-5.4.5
+ rm -rf /root/rpmbuild/BUILDROOT/zabbix-5.4.5-1.amzn2.x86_64
+ mkdir -p /root/rpmbuild/BUILDROOT/zabbix-5.4.5-1.amzn2.x86_64/var/log/zabbix
+ mkdir -p /root/rpmbuild/BUILDROOT/zabbix-5.4.5-1.amzn2.x86_64/var/run/zabbix
+ mkdir -p /root/rpmbuild/BUILDROOT/zabbix-5.4.5-1.amzn2.x86_64/etc/logrotate.d
+ mkdir -p /root/rpmbuild/BUILDROOT/zabbix-5.4.5-1.amzn2.x86_64/etc/zabbix
+ mkdir -p /root/rpmbuild/BUILDROOT/zabbix-5.4.5-1.amzn2.x86_64/usr/share
+ mkdir -p /root/rpmbuild/BUILDROOT/zabbix-5.4.5-1.amzn2.x86_64/usr/share/man/man8
+ make DESTDIR=/root/rpmbuild/BUILDROOT/zabbix-5.4.5-1.amzn2.x86_64 install
Making install in src
make[1]: Entering directory `/root/rpmbuild/BUILD/zabbix-5.4.5/src'
Making install in go
make[2]: Entering directory `/root/rpmbuild/BUILD/zabbix-5.4.5/src/go'
make[3]: Entering directory `/root/rpmbuild/BUILD/zabbix-5.4.5/src/go'
/usr/bin/mkdir -p '/root/rpmbuild/BUILDROOT/zabbix-5.4.5-1.amzn2.x86_64/etc/zabbix'
/usr/bin/install -c -m 644 conf/zabbix_web_service.conf '/root/rpmbuild/BUILDROOT/zabbix-5.4.5-1.amzn2.x86_64/etc/zabbix'
GOBIN=/usr/sbin go install -ldflags="-X 'zabbix.com/pkg/version.compileDate=`date +"%b %_d %Y"`' -X zabbix.com/pkg/version.compileTime=`date +%H:%M:%S` -X zabbix.com/pkg/version.compileOs=`go env GOOS` -X zabbix.com/pkg/version.compileArch=`go env GOARCH` -X main.applicationName=zabbix_web_service" zabbix.com/cmd/zabbix_web_service
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/root/rpmbuild/BUILD/zabbix-5.4.5/src/go'
make[2]: Leaving directory `/root/rpmbuild/BUILD/zabbix-5.4.5/src/go'
make[2]: Entering directory `/root/rpmbuild/BUILD/zabbix-5.4.5/src'
make[3]: Entering directory `/root/rpmbuild/BUILD/zabbix-5.4.5/src'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/root/rpmbuild/BUILD/zabbix-5.4.5/src'
make[2]: Leaving directory `/root/rpmbuild/BUILD/zabbix-5.4.5/src'
make[1]: Leaving directory `/root/rpmbuild/BUILD/zabbix-5.4.5/src'
Making install in database
make[1]: Entering directory `/root/rpmbuild/BUILD/zabbix-5.4.5/database'
Making install in mysql
make[2]: Entering directory `/root/rpmbuild/BUILD/zabbix-5.4.5/database/mysql'
make[3]: Entering directory `/root/rpmbuild/BUILD/zabbix-5.4.5/database/mysql'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/root/rpmbuild/BUILD/zabbix-5.4.5/database/mysql'
make[2]: Leaving directory `/root/rpmbuild/BUILD/zabbix-5.4.5/database/mysql'
Making install in oracle
make[2]: Entering directory `/root/rpmbuild/BUILD/zabbix-5.4.5/database/oracle'
make[3]: Entering directory `/root/rpmbuild/BUILD/zabbix-5.4.5/database/oracle'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/root/rpmbuild/BUILD/zabbix-5.4.5/database/oracle'
make[2]: Leaving directory `/root/rpmbuild/BUILD/zabbix-5.4.5/database/oracle'
Making install in postgresql
make[2]: Entering directory `/root/rpmbuild/BUILD/zabbix-5.4.5/database/postgresql'
make[3]: Entering directory `/root/rpmbuild/BUILD/zabbix-5.4.5/database/postgresql'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/root/rpmbuild/BUILD/zabbix-5.4.5/database/postgresql'
make[2]: Leaving directory `/root/rpmbuild/BUILD/zabbix-5.4.5/database/postgresql'
Making install in sqlite3
make[2]: Entering directory `/root/rpmbuild/BUILD/zabbix-5.4.5/database/sqlite3'
make[3]: Entering directory `/root/rpmbuild/BUILD/zabbix-5.4.5/database/sqlite3'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/root/rpmbuild/BUILD/zabbix-5.4.5/database/sqlite3'
make[2]: Leaving directory `/root/rpmbuild/BUILD/zabbix-5.4.5/database/sqlite3'
make[2]: Entering directory `/root/rpmbuild/BUILD/zabbix-5.4.5/database'
make[3]: Entering directory `/root/rpmbuild/BUILD/zabbix-5.4.5/database'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/root/rpmbuild/BUILD/zabbix-5.4.5/database'
make[2]: Leaving directory `/root/rpmbuild/BUILD/zabbix-5.4.5/database'
make[1]: Leaving directory `/root/rpmbuild/BUILD/zabbix-5.4.5/database'
Making install in man
make[1]: Entering directory `/root/rpmbuild/BUILD/zabbix-5.4.5/man'
make[2]: Entering directory `/root/rpmbuild/BUILD/zabbix-5.4.5/man'
make[2]: Nothing to be done for `install-exec-am'.
/usr/bin/mkdir -p '/root/rpmbuild/BUILDROOT/zabbix-5.4.5-1.amzn2.x86_64/usr/share/man/man8'
/usr/bin/install -c -m 644 'zabbix_web_service.man' '/root/rpmbuild/BUILDROOT/zabbix-5.4.5-1.amzn2.x86_64/usr/share/man/man8/zabbix_web_service.8'
make[2]: Leaving directory `/root/rpmbuild/BUILD/zabbix-5.4.5/man'
make[1]: Leaving directory `/root/rpmbuild/BUILD/zabbix-5.4.5/man'
Making install in misc
make[1]: Entering directory `/root/rpmbuild/BUILD/zabbix-5.4.5/misc'
make[2]: Entering directory `/root/rpmbuild/BUILD/zabbix-5.4.5/misc'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/root/rpmbuild/BUILD/zabbix-5.4.5/misc'
make[1]: Leaving directory `/root/rpmbuild/BUILD/zabbix-5.4.5/misc'
make[1]: Entering directory `/root/rpmbuild/BUILD/zabbix-5.4.5'
make[2]: Entering directory `/root/rpmbuild/BUILD/zabbix-5.4.5'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/root/rpmbuild/BUILD/zabbix-5.4.5'
make[1]: Leaving directory `/root/rpmbuild/BUILD/zabbix-5.4.5'
+ cat /root/rpmbuild/SOURCES/zabbix-logrotate.in
+ sed -e 's|COMPONENT|web-service|g'
+ cp man/zabbix_web_service.man /root/rpmbuild/BUILDROOT/zabbix-5.4.5-1.amzn2.x86_64/usr/share/man/man8/zabbix_web_service.8
+ install -Dm 0644 -p /root/rpmbuild/SOURCES/zabbix-web-service.service /root/rpmbuild/BUILDROOT/zabbix-5.4.5-1.amzn2.x86_64/usr/lib/systemd/system/zabbix-web-service.service
+ install -Dm 0644 -p /root/rpmbuild/SOURCES/zabbix-tmpfiles.conf /root/rpmbuild/BUILDROOT/zabbix-5.4.5-1.amzn2.x86_64/usr/lib/tmpfiles.d/zabbix_web_service.conf
+ /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 /root/rpmbuild/BUILD/zabbix-5.4.5
/usr/lib/rpm/sepdebugcrcfix: Updated 0 CRC32s, 0 CRC32s did match.
find: 'debug': No such file or directory
+ /usr/lib/rpm/check-buildroot
+ /usr/lib/rpm/redhat/brp-compress
+ /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip
+ /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1
+ /usr/lib/rpm/redhat/brp-python-hardlink
+ /usr/lib/rpm/redhat/brp-java-repack-jars
Processing files: zabbix-web-service-5.4.5-1.amzn2.x86_64
error: File not found: /root/rpmbuild/BUILDROOT/zabbix-5.4.5-1.amzn2.x86_64/usr/sbin/zabbix_web_service
Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.hWuLO9
+ umask 022
+ cd /root/rpmbuild/BUILD
+ cd zabbix-5.4.5
+ DOCDIR=/root/rpmbuild/BUILDROOT/zabbix-5.4.5-1.amzn2.x86_64/usr/share/doc/zabbix-web-service-5.4.5
+ export DOCDIR
+ /usr/bin/mkdir -p /root/rpmbuild/BUILDROOT/zabbix-5.4.5-1.amzn2.x86_64/usr/share/doc/zabbix-web-service-5.4.5
+ cp -pr AUTHORS /root/rpmbuild/BUILDROOT/zabbix-5.4.5-1.amzn2.x86_64/usr/share/doc/zabbix-web-service-5.4.5
+ cp -pr ChangeLog /root/rpmbuild/BUILDROOT/zabbix-5.4.5-1.amzn2.x86_64/usr/share/doc/zabbix-web-service-5.4.5
+ cp -pr COPYING /root/rpmbuild/BUILDROOT/zabbix-5.4.5-1.amzn2.x86_64/usr/share/doc/zabbix-web-service-5.4.5
+ cp -pr NEWS /root/rpmbuild/BUILDROOT/zabbix-5.4.5-1.amzn2.x86_64/usr/share/doc/zabbix-web-service-5.4.5
+ cp -pr README /root/rpmbuild/BUILDROOT/zabbix-5.4.5-1.amzn2.x86_64/usr/share/doc/zabbix-web-service-5.4.5
+ exit 0
File not found: /root/rpmbuild/BUILDROOT/zabbix-5.4.5-1.amzn2.x86_64/usr/sbin/zabbix_web_service
RPM build errors:
if I go and run the make command in src/go I get an zabbix_web_service executable
bash-4.2# cd BUILD/zabbix-5.4.5/src/go/
bash-4.2# make
go build -ldflags="-X 'zabbix.com/pkg/version.compileDate=`date +"%b %_d %Y"`' -X zabbix.com/pkg/version.compileTime=`date +%H:%M:%S` -X zabbix.com/pkg/version.compileOs=`go env GOOS` -X zabbix.com/pkg/version.compileArch=`go env GOARCH` -X main.applicationName=zabbix_web_service" -o bin zabbix.com/cmd/zabbix_web_service
bash-4.2# pwd
/root/rpmbuild/BUILD/zabbix-5.4.5/src/go
bash-4.2# ls
Makefile Makefile.am Makefile.in bin cmd conf go.mod go.sum internal pkg plugins
bash-4.2# bin/zabbix_web_service
zabbix_web_service [8721]: ERROR: cannot open configuration file: open : no such file or directory
bash-4.2#
Comment