D: [iurt_root_command] chroot Installing /home/iurt/rpmbuild/SRPMS/mod_gearman-1.3.4-12.mga8.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.udBgeT + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD + rm -rf mod_gearman-1.3.4 + /usr/bin/gzip -dc /home/iurt/rpmbuild/SOURCES/mod_gearman-1.3.4.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd mod_gearman-1.3.4 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /home/iurt/rpmbuild/SOURCES/mod_gearman-1.3.4-fhs.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/iurt/rpmbuild/SOURCES/mod_gearman-1.3.4-cflags.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.rLEluU + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd mod_gearman-1.3.4 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + autoreconf -fi configure.ac:10: warning: The macro `AC_CONFIG_HEADER' is obsolete. configure.ac:10: You should run autoupdate. ./lib/autoconf/status.m4:719: AC_CONFIG_HEADER is expanded from... configure.ac:10: the top level configure.ac:10: warning: The macro `AC_CONFIG_HEADER' is obsolete. configure.ac:10: You should run autoupdate. ./lib/autoconf/status.m4:719: AC_CONFIG_HEADER is expanded from... configure.ac:10: the top level configure.ac:10: warning: The macro `AC_CONFIG_HEADER' is obsolete. configure.ac:10: You should run autoupdate. ./lib/autoconf/status.m4:719: AC_CONFIG_HEADER is expanded from... configure.ac:10: the top level configure.ac:31: installing './config.guess' configure.ac:31: installing './config.sub' Makefile.am:11: warning: shell which dos2unix || which fromdos: non-POSIX variable name Makefile.am:11: (probably a GNU make extension) Makefile.am:16: warning: shell uname: non-POSIX variable name Makefile.am:16: (probably a GNU make extension) Makefile.am:48: error: 'mod_gearman.so' is not a standard library name Makefile.am:48: did you mean 'libmod_gearman.a'? /usr/share/automake-1.16/am/library.am: warning: 'mod_gearman.so': linking libraries using a non-POSIX /usr/share/automake-1.16/am/library.am: archiver requires 'AM_PROG_AR' in 'configure.ac' Makefile.am:48: while processing library 'mod_gearman.so' Makefile.am:319: warning: user target '01_utils$(EXEEXT)' defined here ... /usr/share/automake-1.16/am/program.am: ... overrides Automake target '01_utils$(EXEEXT)' defined here Makefile.am:77: while processing program '01_utils' Makefile.am:323: warning: user target '02_full$(EXEEXT)' defined here ... /usr/share/automake-1.16/am/program.am: ... overrides Automake target '02_full$(EXEEXT)' defined here Makefile.am:77: while processing program '02_full' Makefile.am:327: warning: user target '03_exec$(EXEEXT)' defined here ... /usr/share/automake-1.16/am/program.am: ... overrides Automake target '03_exec$(EXEEXT)' defined here Makefile.am:77: while processing program '03_exec' Makefile.am:331: warning: user target '06_exec$(EXEEXT)' defined here ... /usr/share/automake-1.16/am/program.am: ... overrides Automake target '06_exec$(EXEEXT)' defined here Makefile.am:77: while processing program '06_exec' Makefile.am:335: warning: user target '07_epn$(EXEEXT)' defined here ... /usr/share/automake-1.16/am/program.am: ... overrides Automake target '07_epn$(EXEEXT)' defined here Makefile.am:77: while processing program '07_epn' Makefile.am:315: warning: user target 'mod_gearman_worker$(EXEEXT)' defined here ... /usr/share/automake-1.16/am/program.am: ... overrides Automake target 'mod_gearman_worker$(EXEEXT)' defined here Makefile.am:53: while processing program 'mod_gearman_worker' parallel-tests: installing './test-driver' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables ' + export FCFLAGS + LDFLAGS=' -Wl,--as-needed -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags' + export LDFLAGS + CONFIGURE_TOP=. + '[' 1 = 1 ']' ++ find . -name config.guess -o -name config.sub + for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/mageia/config.guess ']' ++ basename ./config.guess + cp -af /usr/lib/rpm/mageia/config.guess ./config.guess + for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/mageia/config.sub ']' ++ basename ./config.sub + cp -af /usr/lib/rpm/mageia/config.sub ./config.sub + /usr/lib/rpm/mageia/force-as-needed-for-shared-lib-in-libtool Forcing -Wl,--as-needed in configure/libtool to workaround libtool bug (cf http://lists.gnu.org/archive/html/libtool-patches/2004-06/msg00002.html) + /usr/lib/rpm/mageia/fix-libtool-ltmain-from-overlinking + /usr/lib/rpm/mageia/fix-libtool-from-moving-options-after-libs . + /usr/lib/rpm/mageia/fix-dlsearch-path-in-libtool-for-multilib . lib64 + ./configure --host=x86_64-mageia-linux-gnu --build=x86_64-mageia-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 --with-init-dir=/etc/rc.d/init.d checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a race-free mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for x86_64-mageia-linux-gnu-g++... x86_64-mageia-linux-gnu-g++ 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 the compiler supports GNU C++... yes checking whether x86_64-mageia-linux-gnu-g++ accepts -g... yes checking for x86_64-mageia-linux-gnu-g++ option to enable C++11 features... none needed checking whether make supports the include directive... yes (GNU style) checking dependency style of x86_64-mageia-linux-gnu-g++... none checking for x86_64-mageia-linux-gnu-gcc... x86_64-mageia-linux-gnu-gcc checking whether the compiler supports GNU C... yes checking whether x86_64-mageia-linux-gnu-gcc accepts -g... yes checking for x86_64-mageia-linux-gnu-gcc option to enable C11 features... none needed checking whether x86_64-mageia-linux-gnu-gcc understands -c and -o together... yes checking dependency style of x86_64-mageia-linux-gnu-gcc... none checking for x86_64-mageia-linux-gnu-ranlib... x86_64-mageia-linux-gnu-ranlib checking for inline... inline checking build system type... x86_64-mageia-linux-gnu checking host system type... x86_64-mageia-linux-gnu checking for GNU libc compatible malloc... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for vfork.h... no checking for pid_t... yes checking for fork... yes checking for vfork... yes checking for working fork... yes checking for working vfork... (cached) yes checking for stdbool.h that conforms to C99... yes checking for _Bool... yes checking for pthread_create in -lpthread... yes checking for stdlib.h... yes checking for string.h... yes checking for unistd.h... (cached) yes checking for pthread.h... yes checking for arpa/inet.h... yes checking for fcntl.h... yes checking for limits.h... yes checking for netdb.h... yes checking for netinet/in.h... yes checking for stddef.h... yes checking for sys/socket.h... yes checking for sys/time.h... yes checking for sys/timeb.h... yes checking for syslog.h... yes checking for ltdl.h... yes checking for curses.h... yes checking for gearman_client_create in -lgearman... yes checking for gettimeofday... yes checking for strsep... yes checking for strtok... yes checking for strdup... yes checking for strchr... yes checking for strstr... yes checking for strtoul... yes checking for alarm... yes checking for gethostname... yes checking for memset... yes checking for strcspn... yes checking for strerror... yes checking for atexit... yes checking for gethostbyname... yes checking for socket... yes checking for dup2... yes checking for localtime_r... yes checking for memmove... yes checking for strpbrk... yes checking whether ln -s works... yes checking for size_t... yes checking for pid_t... (cached) yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: executing depfiles commands + /usr/bin/make -O -j8 V=1 VERBOSE=1 /usr/bin/make all-am make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/mod_gearman-1.3.4' done make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/mod_gearman-1.3.4' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/mod_gearman-1.3.4' x86_64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -Iinclude -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -O -fPIC -D_GNU_SOURCE -D_REENTRANT -D_FILE_OFFSET_BITS=64 -s -c -o common/base64.o common/base64.c make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/mod_gearman-1.3.4' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/mod_gearman-1.3.4' x86_64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -Iinclude -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -O -fPIC -D_GNU_SOURCE -D_REENTRANT -D_FILE_OFFSET_BITS=64 -s -c -o common/gm_crypt.o common/gm_crypt.c make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/mod_gearman-1.3.4' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/mod_gearman-1.3.4' x86_64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -Iinclude -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -O -fPIC -D_GNU_SOURCE -D_REENTRANT -D_FILE_OFFSET_BITS=64 -s -c -o common/popenRWE.o common/popenRWE.c common/popenRWE.c: In function 'pcloseRWE': common/popenRWE.c:86:6: warning: variable 'rc' set but not used [-Wunused-but-set-variable] 86 | int rc, status; | ^~ make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/mod_gearman-1.3.4' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/mod_gearman-1.3.4' x86_64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -Iinclude -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -O -fPIC -D_GNU_SOURCE -D_REENTRANT -D_FILE_OFFSET_BITS=64 -s -c -o common/gearman_utils.o common/gearman_utils.c common/gearman_utils.c: In function 'dummy': common/gearman_utils.c:247:58: warning: parameter 'result_size' set but not used [-Wunused-but-set-parameter] 247 | void *dummy( gearman_job_st *job, void *context, size_t *result_size, gearman_return_t *ret_ptr ) { | ~~~~~~~~^~~~~~~~~~~ make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/mod_gearman-1.3.4' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/mod_gearman-1.3.4' x86_64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -Iinclude -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -O -fPIC -D_GNU_SOURCE -D_REENTRANT -D_FILE_OFFSET_BITS=64 -s -c -o common/check_utils.o common/check_utils.c common/check_utils.c: In function 'send_failed_result': common/check_utils.c:477:12: warning: unused variable 'buf_dup' [-Wunused-variable] 477 | char * buf_dup; | ^~~~~~~ make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/mod_gearman-1.3.4' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/mod_gearman-1.3.4' x86_64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -Iinclude -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -O -fPIC -D_GNU_SOURCE -D_REENTRANT -D_FILE_OFFSET_BITS=64 -s -c -o common/md5.o common/md5.c make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/mod_gearman-1.3.4' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/mod_gearman-1.3.4' x86_64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -Iinclude -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -O -fPIC -D_GNU_SOURCE -D_REENTRANT -D_FILE_OFFSET_BITS=64 -s -c -o common/rijndael.o common/rijndael.c make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/mod_gearman-1.3.4' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/mod_gearman-1.3.4' x86_64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -Iinclude -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -O -fPIC -D_GNU_SOURCE -D_REENTRANT -D_FILE_OFFSET_BITS=64 -s -c -o tools/send_gearman.o tools/send_gearman.c make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/mod_gearman-1.3.4' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/mod_gearman-1.3.4' x86_64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -Iinclude -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -O -fPIC -D_GNU_SOURCE -D_REENTRANT -D_FILE_OFFSET_BITS=64 -s -c -o worker/worker_client.o worker/worker_client.c worker/worker_client.c: In function 'return_status': worker/worker_client.c:555:40: warning: ' has ' directive output may be truncated writing 5 bytes into a region of size between 1 and 98304 [-Wformat-truncation=] 555 | snprintf(result, GM_BUFFERSIZE, "%s has %i worker and is working on %i jobs. Version: %s|worker=%i;;;%i;%i jobs=%ic", hostname, shm[1], shm[2], GM_VERSION, shm[1], mod_gm_opt->min_worker, mod_gm_opt->max_worker, shm[0] ); | ^~~~~ In file included from /usr/include/stdio.h:867, from include/worker.h:28, from worker/worker_client.c:25: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 78 and 98441 bytes into a destination of size 98304 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/mod_gearman-1.3.4' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/mod_gearman-1.3.4' x86_64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -Iinclude -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -O -fPIC -D_GNU_SOURCE -D_REENTRANT -D_FILE_OFFSET_BITS=64 -s -c -o worker/worker.o worker/worker.c make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/mod_gearman-1.3.4' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/mod_gearman-1.3.4' x86_64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -Iinclude -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -O -fPIC -D_GNU_SOURCE -D_REENTRANT -D_FILE_OFFSET_BITS=64 -s -c -o tools/gearman_top.o tools/gearman_top.c make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/mod_gearman-1.3.4' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/mod_gearman-1.3.4' x86_64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -Iinclude -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -O -fPIC -D_GNU_SOURCE -D_REENTRANT -D_FILE_OFFSET_BITS=64 -s -c -o tools/check_gearman.o tools/check_gearman.c make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/mod_gearman-1.3.4' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/mod_gearman-1.3.4' x86_64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -Iinclude -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -O -fPIC -D_GNU_SOURCE -D_REENTRANT -D_FILE_OFFSET_BITS=64 -s -c -o tools/send_multi.o tools/send_multi.c make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/mod_gearman-1.3.4' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/mod_gearman-1.3.4' x86_64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -Iinclude -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -O -fPIC -D_GNU_SOURCE -D_REENTRANT -D_FILE_OFFSET_BITS=64 -s -c -o common/utils.o common/utils.c common/utils.c: In function 'mod_gm_decrypt': common/utils.c:147:20: warning: pointer targets in passing argument 1 of 'strndup' differ in signedness [-Wpointer-sign] 147 | test = strndup(buffer, 5); | ^~~~~~ | | | unsigned char * In file included from include/utils.h:31, from common/utils.c:25: /usr/include/string.h:175:35: note: expected 'const char *' but argument is of type 'unsigned char *' 175 | extern char *strndup (const char *__string, size_t __n) | ~~~~~~~~~~~~^~~~~~~~ make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/mod_gearman-1.3.4' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/mod_gearman-1.3.4' x86_64-mageia-linux-gnu-gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -O -fPIC -D_GNU_SOURCE -D_REENTRANT -D_FILE_OFFSET_BITS=64 -s -Wl,--as-needed -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o send_gearman common/base64.o common/gm_crypt.o common/rijndael.o common/gearman_utils.o common/utils.o common/md5.o tools/send_gearman.o -lgearman -lpthread make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/mod_gearman-1.3.4' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/mod_gearman-1.3.4' x86_64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -Iinclude -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -O -fPIC -D_GNU_SOURCE -D_REENTRANT -D_FILE_OFFSET_BITS=64 -s -c -o neb_module/result_thread.o neb_module/result_thread.c make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/mod_gearman-1.3.4' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/mod_gearman-1.3.4' x86_64-mageia-linux-gnu-gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -O -fPIC -D_GNU_SOURCE -D_REENTRANT -D_FILE_OFFSET_BITS=64 -s -Wl,--as-needed -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o gearman_top common/base64.o common/gm_crypt.o common/rijndael.o common/gearman_utils.o common/utils.o common/md5.o tools/gearman_top.o -lncurses -lgearman -lpthread make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/mod_gearman-1.3.4' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/mod_gearman-1.3.4' x86_64-mageia-linux-gnu-gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -O -fPIC -D_GNU_SOURCE -D_REENTRANT -D_FILE_OFFSET_BITS=64 -s -Wl,--as-needed -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o send_multi common/base64.o common/gm_crypt.o common/rijndael.o common/gearman_utils.o common/utils.o common/md5.o tools/send_multi.o -lgearman -lpthread make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/mod_gearman-1.3.4' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/mod_gearman-1.3.4' x86_64-mageia-linux-gnu-gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -O -fPIC -D_GNU_SOURCE -D_REENTRANT -D_FILE_OFFSET_BITS=64 -s -Wl,--as-needed -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o mod_gearman_worker common/base64.o common/gm_crypt.o common/rijndael.o common/gearman_utils.o common/utils.o common/md5.o common/check_utils.o common/popenRWE.o worker/worker_client.o worker/worker.o -lgearman -lpthread make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/mod_gearman-1.3.4' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/mod_gearman-1.3.4' x86_64-mageia-linux-gnu-gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -O -fPIC -D_GNU_SOURCE -D_REENTRANT -D_FILE_OFFSET_BITS=64 -s -Wl,--as-needed -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o check_gearman common/base64.o common/gm_crypt.o common/rijndael.o common/gearman_utils.o common/utils.o common/md5.o tools/check_gearman.o -lgearman -lpthread make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/mod_gearman-1.3.4' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/mod_gearman-1.3.4' x86_64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -Iinclude -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -O -fPIC -D_GNU_SOURCE -D_REENTRANT -D_FILE_OFFSET_BITS=64 -s -c -o neb_module/mod_gearman.o neb_module/mod_gearman.c neb_module/mod_gearman.c: In function 'handle_svc_check': neb_module/mod_gearman.c:700:109: warning: '%s' directive output may be truncated writing up to 98303 bytes into a region of size 98242 [-Wformat-truncation=] 700 | snprintf( temp_buffer,GM_BUFFERSIZE-1,"(service check orphaned, is the mod-gearman worker on queue '%s' running?)\n", target_queue); | ^~ ~~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from include/utils.h:30, from include/mod_gearman.h:27, from include/result_thread.h:30, from neb_module/mod_gearman.c:25: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 74 and 98377 bytes into a destination of size 98303 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ neb_module/mod_gearman.c: In function 'handle_host_check': neb_module/mod_gearman.c:542:106: warning: '%s' directive output may be truncated writing up to 98303 bytes into a region of size 98245 [-Wformat-truncation=] 542 | snprintf( temp_buffer,GM_BUFFERSIZE-1,"(host check orphaned, is the mod-gearman worker on queue '%s' running?)\n", target_queue); | ^~ ~~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from include/utils.h:30, from include/mod_gearman.h:27, from include/result_thread.h:30, from neb_module/mod_gearman.c:25: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 71 and 98374 bytes into a destination of size 98303 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/mod_gearman-1.3.4' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/mod_gearman-1.3.4' rm -f mod_gearman.so ar cru mod_gearman.so common/base64.o common/gm_crypt.o common/rijndael.o common/gearman_utils.o common/utils.o common/md5.o neb_module/result_thread.o neb_module/mod_gearman.o x86_64-mageia-linux-gnu-ranlib mod_gearman.so make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/mod_gearman-1.3.4' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/mod_gearman-1.3.4' $(CC) common/base64.o make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/mod_gearman-1.3.4' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/mod_gearman-1.3.4' ################################################################ the following files have been created: mod_gearman.o mod_gearman_worker worker/initscript etc/mod_gearman_neb.conf etc/mod_gearman_worker.conf read the README for configuration details for a normal installation continue with make install ################################################################ make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/mod_gearman-1.3.4' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.4HWo7S + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' /home/iurt/rpmbuild/BUILDROOT/mod_gearman-1.3.4-12.mga8.x86_64 '!=' / ']' + rm -rf /home/iurt/rpmbuild/BUILDROOT/mod_gearman-1.3.4-12.mga8.x86_64 ++ dirname /home/iurt/rpmbuild/BUILDROOT/mod_gearman-1.3.4-12.mga8.x86_64 + mkdir -p /home/iurt/rpmbuild/BUILDROOT + mkdir /home/iurt/rpmbuild/BUILDROOT/mod_gearman-1.3.4-12.mga8.x86_64 + cd mod_gearman-1.3.4 + '[' 1 -eq 1 ']' + /usr/bin/make install DESTDIR=/home/iurt/rpmbuild/BUILDROOT/mod_gearman-1.3.4-12.mga8.x86_64 'INSTALL=/usr/bin/install -p' rm -f mod_gearman.so ar cru mod_gearman.so common/base64.o common/gm_crypt.o common/rijndael.o common/gearman_utils.o common/utils.o common/md5.o neb_module/result_thread.o neb_module/mod_gearman.o x86_64-mageia-linux-gnu-ranlib mod_gearman.so done ################################################################ the following files have been created: mod_gearman.o mod_gearman_worker worker/initscript etc/mod_gearman_neb.conf etc/mod_gearman_worker.conf read the README for configuration details for a normal installation continue with make install ################################################################ make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/mod_gearman-1.3.4' /usr/bin/mkdir -p '/home/iurt/rpmbuild/BUILDROOT/mod_gearman-1.3.4-12.mga8.x86_64/usr/bin' /usr/bin/install -p mod_gearman_worker send_gearman send_multi check_gearman gearman_top '/home/iurt/rpmbuild/BUILDROOT/mod_gearman-1.3.4-12.mga8.x86_64/usr/bin' /bin/sh /home/iurt/rpmbuild/BUILD/mod_gearman-1.3.4/install-sh -c -d /home/iurt/rpmbuild/BUILDROOT/mod_gearman-1.3.4-12.mga8.x86_64/var/lib/mod_gearman/ /bin/sh /home/iurt/rpmbuild/BUILD/mod_gearman-1.3.4/install-sh -c mod_gearman.o /home/iurt/rpmbuild/BUILDROOT/mod_gearman-1.3.4-12.mga8.x86_64/usr/lib64/mod_gearman/mod_gearman.o /bin/sh /home/iurt/rpmbuild/BUILD/mod_gearman-1.3.4/install-sh -c -m 755 worker/initscript /home/iurt/rpmbuild/BUILDROOT/mod_gearman-1.3.4-12.mga8.x86_64/etc/rc.d/init.d/mod_gearman_worker /bin/sh /home/iurt/rpmbuild/BUILD/mod_gearman-1.3.4/install-sh -c -m 755 extras/gearmand-init /home/iurt/rpmbuild/BUILDROOT/mod_gearman-1.3.4-12.mga8.x86_64/etc/rc.d/init.d/gearmand /usr/bin/mkdir -p '/home/iurt/rpmbuild/BUILDROOT/mod_gearman-1.3.4-12.mga8.x86_64/usr/lib64/mod_gearman' /usr/bin/install -p -m 644 mod_gearman.so '/home/iurt/rpmbuild/BUILDROOT/mod_gearman-1.3.4-12.mga8.x86_64/usr/lib64/mod_gearman' ( cd '/home/iurt/rpmbuild/BUILDROOT/mod_gearman-1.3.4-12.mga8.x86_64/usr/lib64/mod_gearman' && x86_64-mageia-linux-gnu-ranlib mod_gearman.so ) /bin/sh /home/iurt/rpmbuild/BUILD/mod_gearman-1.3.4/install-sh -c -d /home/iurt/rpmbuild/BUILDROOT/mod_gearman-1.3.4-12.mga8.x86_64/var/log/mod_gearman /bin/sh /home/iurt/rpmbuild/BUILD/mod_gearman-1.3.4/install-sh -c -m 644 extras/shared.conf /home/iurt/rpmbuild/BUILDROOT/mod_gearman-1.3.4-12.mga8.x86_64/usr/share/mod_gearman/shared.conf /bin/sh /home/iurt/rpmbuild/BUILD/mod_gearman-1.3.4/install-sh -c -m 644 extras/standalone_worker.conf /home/iurt/rpmbuild/BUILDROOT/mod_gearman-1.3.4-12.mga8.x86_64/usr/share/mod_gearman/standalone_worker.conf /bin/sh /home/iurt/rpmbuild/BUILD/mod_gearman-1.3.4/install-sh -c -m 644 contrib/gearman_proxy.pl /home/iurt/rpmbuild/BUILDROOT/mod_gearman-1.3.4-12.mga8.x86_64/usr/share/mod_gearman/gearman_proxy.pl ################################################################ Installation completed: neb module: /home/iurt/rpmbuild/BUILDROOT/mod_gearman-1.3.4-12.mga8.x86_64/usr/lib64/mod_gearman/mod_gearman.o worker: /home/iurt/rpmbuild/BUILDROOT/mod_gearman-1.3.4-12.mga8.x86_64/usr/bin/mod_gearman_worker init script: /home/iurt/rpmbuild/BUILDROOT/mod_gearman-1.3.4-12.mga8.x86_64/etc/rc.d/init.d/mod_gearman_worker check bin: /home/iurt/rpmbuild/BUILDROOT/mod_gearman-1.3.4-12.mga8.x86_64/usr/bin/check_gearman send bin: /home/iurt/rpmbuild/BUILDROOT/mod_gearman-1.3.4-12.mga8.x86_64/usr/bin/send_gearman send multi bin: /home/iurt/rpmbuild/BUILDROOT/mod_gearman-1.3.4-12.mga8.x86_64/usr/bin/send_multi just add the broker line to your nagios.cfg: broker_module=/home/iurt/rpmbuild/BUILDROOT/mod_gearman-1.3.4-12.mga8.x86_64/usr/lib64/mod_gearman/mod_gearman.o config=/home/iurt/rpmbuild/BUILDROOT/mod_gearman-1.3.4-12.mga8.x86_64/etc/mod_gearman_neb.conf configuration: neb module: /home/iurt/rpmbuild/BUILDROOT/mod_gearman-1.3.4-12.mga8.x86_64/etc/mod_gearman_neb.conf worker: /home/iurt/rpmbuild/BUILDROOT/mod_gearman-1.3.4-12.mga8.x86_64/etc/mod_gearman_worker.conf ################################################################ rm -f /home/iurt/rpmbuild/BUILDROOT/mod_gearman-1.3.4-12.mga8.x86_64/usr/lib64/mod_gearman/mod_gearman.so make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/mod_gearman-1.3.4' + /usr/lib/rpm/find-debuginfo.sh -j96 --strict-build-id -m -i --build-id-seed 1.3.4-12.mga8 --unique-debug-suffix -1.3.4-12.mga8.x86_64 --unique-debug-src-base mod_gearman-1.3.4-12.mga8.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /home/iurt/rpmbuild/BUILD/mod_gearman-1.3.4 explicitly decompress any DWARF compressed ELF sections in /home/iurt/rpmbuild/BUILDROOT/mod_gearman-1.3.4-12.mga8.x86_64/usr/lib64/mod_gearman/mod_gearman.o extracting debug info from /home/iurt/rpmbuild/BUILDROOT/mod_gearman-1.3.4-12.mga8.x86_64/usr/lib64/mod_gearman/mod_gearman.o original debug info size: 256kB, size after compression: 240kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 696 blocks + /usr/lib/rpm/check-buildroot + '[' -n '' ']' + /usr/share/spec-helper/clean_files + '[' -n '' ']' + /usr/share/spec-helper/compress_files .xz + '[' -n '' ']' + /usr/share/spec-helper/relink_symlinks + '[' -n '' ']' + /usr/share/spec-helper/clean_perl + '[' -n '' ']' + /usr/share/spec-helper/lib_symlinks + '[' -n '' ']' + /usr/share/spec-helper/gprintify + '[' -n '' ']' + /usr/share/spec-helper/fix_mo + '[' -n '' ']' + /usr/share/spec-helper/fix_pamd + '[' -n '' ']' + /usr/share/spec-helper/remove_info_dir + '[' -n '' ']' + /usr/share/spec-helper/fix_eol + '[' -n '' ']' + /usr/share/spec-helper/check_desktop_files + '[' -n '' ']' + /usr/share/spec-helper/check_elf_files + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python3 1 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs mangling shebang in /etc/rc.d/init.d/mod_gearman_worker from /bin/sh to #!/usr/bin/sh mangling shebang in /etc/rc.d/init.d/gearmand from /bin/sh to #!/usr/bin/sh Processing files: mod_gearman-1.3.4-12.mga8.x86_64 Provides: config(mod_gearman) = 1.3.4-12.mga8 mod_gearman = 1.3.4-12.mga8 mod_gearman(x86-64) = 1.3.4-12.mga8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) libgearman.so.8()(64bit) libncurses.so.6()(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.2.5)(64bit) libpthread.so.0(GLIBC_2.3.3)(64bit) libtinfo.so.6()(64bit) Processing files: mod_gearman-debugsource-1.3.4-12.mga8.x86_64 Provides: mod_gearman-debugsource = 1.3.4-12.mga8 mod_gearman-debugsource(x86-64) = 1.3.4-12.mga8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: mod_gearman-debuginfo-1.3.4-12.mga8.x86_64 Provides: debuginfo(build-id) = 4c08706d7ea664bcc5b08177bb7e38bc3e9d24c4 mod_gearman-debuginfo = 1.3.4-12.mga8 mod_gearman-debuginfo(x86-64) = 1.3.4-12.mga8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: mod_gearman-debugsource(x86-64) = 1.3.4-12.mga8 Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/iurt/rpmbuild/BUILDROOT/mod_gearman-1.3.4-12.mga8.x86_64 Wrote: /home/iurt/rpmbuild/RPMS/x86_64/mod_gearman-debuginfo-1.3.4-12.mga8.x86_64.rpm Wrote: /home/iurt/rpmbuild/RPMS/x86_64/mod_gearman-1.3.4-12.mga8.x86_64.rpm Wrote: /home/iurt/rpmbuild/RPMS/x86_64/mod_gearman-debugsource-1.3.4-12.mga8.x86_64.rpm Executing(%clean): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.fPuHxU + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd mod_gearman-1.3.4 + /usr/bin/rm -rf /home/iurt/rpmbuild/BUILDROOT/mod_gearman-1.3.4-12.mga8.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(--clean): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.XJGfpV + umask 022 + cd /home/iurt/rpmbuild/BUILD + rm -rf mod_gearman-1.3.4 + RPM_EC=0 ++ jobs -p + exit 0 D: [iurt_root_command] Success!