D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/ypbind-1.38-3.mga8.src.rpm Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.CRBY0P + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf ypbind-mt-1.38 + /usr/bin/bzip2 -dc /home/pterjan/rpmbuild/SOURCES/ypbind-mt-1.38.tar.bz2 + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd ypbind-mt-1.38 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /home/pterjan/rpmbuild/SOURCES/ypbind-1.11-gettextdomain.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/pterjan/rpmbuild/SOURCES/ypbind-helpman.patch + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.gqqhzN + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd ypbind-mt-1.38 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + export 'CFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables' + export 'CXXFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables' + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables' + export 'RPM_OPT_FLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables' + RPM_OPT_FLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables' + export FFLAGS + LDFLAGS=' -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags' + export LDFLAGS + CONFIGURE_TOP=. + /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/drop-ld-no-undefined-for-shared-lib-modules-in-libtool + /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 + '[' -f ./configure.in -o -f ./configure.ac ']' + CONFIGURE_XPATH='--x-includes=/usr/include --x-libraries=/usr/lib64' + ./configure --build=x86_64-mageia-linux-gnu --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 --x-includes=/usr/include --x-libraries=/usr/lib64 --sbindir=/sbin --disable-dbus-nm 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 checking build system type... x86_64-mageia-linux-gnu checking host system type... x86_64-mageia-linux-gnu checking for gcc... gcc 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 gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking for strerror in -lcposix... no checking whether make sets $(MAKE)... (cached) yes checking for ranlib... ranlib checking if malloc debugging is wanted... no checking if malloc debugging with efence is wanted... no checking how to run the C preprocessor... gcc -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 slp.h usability... no checking slp.h presence... no checking for slp.h... no checking for SLPReg in -lslp... no checking for yp_get_default_domain in -lnsl... yes checking for bind in -lsocket... no checking for pthread_create in -lpthread... yes checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for SYSTEMD... yes checking for __nss_configure_lookup... yes checking for an ANSI C-conforming const... yes checking wether defiens socklen_t... yes checking paths.h usability... yes checking paths.h presence... yes checking for paths.h... yes checking sys/filio.h usability... no checking sys/filio.h presence... no checking for sys/filio.h... no checking rpc/svc_soc.h usability... no checking rpc/svc_soc.h presence... no checking for rpc/svc_soc.h... no checking rpc/clnt_soc.h usability... no checking rpc/clnt_soc.h presence... no checking for rpc/clnt_soc.h... no checking nss.h usability... yes checking nss.h presence... yes checking for nss.h... yes checking for getline... yes checking for getdelim... yes checking for vsyslog... yes checking for res_gethostbyname... no checking for _dns_gethostbyname... no checking for xsltproc... no checking for xmllint... /bin/true checking for XML catalog (/etc/xml/catalog)... not found checking for xmlcatalog... no checking for DocBook XML DTD V4.3 in XML catalog... not found checking for DocBook XSL Stylesheets in XML catalog... not found checking for a sed that does not truncate output... /usr/bin/sed checking whether NLS is requested... yes checking for msgfmt... /usr/bin/msgfmt checking for gmsgfmt... /usr/bin/msgfmt checking for xgettext... /usr/bin/xgettext checking for msgmerge... /usr/bin/msgmerge checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for shared library run path origin... done checking for CFPreferencesCopyAppValue... no checking for CFLocaleCopyCurrent... no checking for GNU gettext in libc... yes checking whether to use NLS... yes checking where the gettext function comes from... libc checking wether we have glibc 2.1 or later... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating lib/Makefile config.status: creating src/Makefile config.status: creating man/Makefile config.status: creating po/Makefile.in config.status: creating config.h config.status: executing depfiles commands config.status: executing po-directories commands config.status: creating po/POTFILES config.status: creating po/Makefile + /usr/bin/make -O -j8 /usr/bin/make all-recursive Making all in lib make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/ypbind-mt-1.38/lib' gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -D_REENTRANT=1 -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -MT dns_hosts.o -MD -MP -MF .deps/dns_hosts.Tpo -c -o dns_hosts.o dns_hosts.c mv -f .deps/dns_hosts.Tpo .deps/dns_hosts.Po make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/ypbind-mt-1.38/lib' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/ypbind-mt-1.38/lib' rm -f libcompat.a ar cru libcompat.a dns_hosts.o ranlib libcompat.a make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/ypbind-mt-1.38/lib' Making all in src make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/ypbind-mt-1.38/src' gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT=1 -Wall -DUSE_BROADCAST=1 -DLOCALEDIR=\"/usr/share/locale\" -DUSE_SD_NOTIFY=1 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -MT log_msg.o -MD -MP -MF .deps/log_msg.Tpo -c -o log_msg.o log_msg.c log_msg.c:35:1: error: static declaration of 'gettid' follows non-static declaration gettid (void) ^~~~~~ In file included from /usr/include/unistd.h:1170, from log_msg.c:29: /usr/include/bits/unistd_ext.h:34:16: note: previous declaration of 'gettid' was here extern __pid_t gettid (void) __THROW; ^~~~~~ make[2]: *** [Makefile:428: log_msg.o] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/ypbind-mt-1.38/src' make[2]: *** Waiting for unfinished jobs.... make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/ypbind-mt-1.38/src' gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT=1 -Wall -DUSE_BROADCAST=1 -DLOCALEDIR=\"/usr/share/locale\" -DUSE_SD_NOTIFY=1 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -MT ypbind_slp.o -MD -MP -MF .deps/ypbind_slp.Tpo -c -o ypbind_slp.o ypbind_slp.c mv -f .deps/ypbind_slp.Tpo .deps/ypbind_slp.Po make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/ypbind-mt-1.38/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/ypbind-mt-1.38/src' gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT=1 -Wall -DUSE_BROADCAST=1 -DLOCALEDIR=\"/usr/share/locale\" -DUSE_SD_NOTIFY=1 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -MT pthread_np.o -MD -MP -MF .deps/pthread_np.Tpo -c -o pthread_np.o pthread_np.c mv -f .deps/pthread_np.Tpo .deps/pthread_np.Po make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/ypbind-mt-1.38/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/ypbind-mt-1.38/src' gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT=1 -Wall -DUSE_BROADCAST=1 -DLOCALEDIR=\"/usr/share/locale\" -DUSE_SD_NOTIFY=1 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -MT ypbind_xdr.o -MD -MP -MF .deps/ypbind_xdr.Tpo -c -o ypbind_xdr.o ypbind_xdr.c mv -f .deps/ypbind_xdr.Tpo .deps/ypbind_xdr.Po make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/ypbind-mt-1.38/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/ypbind-mt-1.38/src' gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT=1 -Wall -DUSE_BROADCAST=1 -DLOCALEDIR=\"/usr/share/locale\" -DUSE_SD_NOTIFY=1 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -MT ypbind_svc.o -MD -MP -MF .deps/ypbind_svc.Tpo -c -o ypbind_svc.o ypbind_svc.c mv -f .deps/ypbind_svc.Tpo .deps/ypbind_svc.Po make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/ypbind-mt-1.38/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/ypbind-mt-1.38/src' gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT=1 -Wall -DUSE_BROADCAST=1 -DLOCALEDIR=\"/usr/share/locale\" -DUSE_SD_NOTIFY=1 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -MT ypbind_server.o -MD -MP -MF .deps/ypbind_server.Tpo -c -o ypbind_server.o ypbind_server.c mv -f .deps/ypbind_server.Tpo .deps/ypbind_server.Po make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/ypbind-mt-1.38/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/ypbind-mt-1.38/src' gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT=1 -Wall -DUSE_BROADCAST=1 -DLOCALEDIR=\"/usr/share/locale\" -DUSE_SD_NOTIFY=1 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -MT ypbind-mt.o -MD -MP -MF .deps/ypbind-mt.Tpo -c -o ypbind-mt.o ypbind-mt.c ypbind-mt.c: In function 'main': ypbind-mt.c:985:14: warning: implicit declaration of function 'sd_notifyf' [-Wimplicit-function-declaration] result = sd_notifyf(0, "READY=1\n" ^~~~~~~~~~ ypbind-mt.c: In function 'sig_handler': ypbind-mt.c:395:19: warning: '%ld' directive writing between 1 and 11 bytes into a region of size 10 [-Wformat-overflow=] sprintf (pbuf, "%ld\n", (long) getpid ()); ^~~ ypbind-mt.c:395:18: note: directive argument in the range [-2147483648, 2147483647] sprintf (pbuf, "%ld\n", (long) getpid ()); ^~~~~~~ In file included from /usr/include/stdio.h:867, from ypbind-mt.c:31: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 3 and 13 bytes into a destination of size 10 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mv -f .deps/ypbind-mt.Tpo .deps/ypbind-mt.Po make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/ypbind-mt-1.38/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/ypbind-mt-1.38/src' gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT=1 -Wall -DUSE_BROADCAST=1 -DLOCALEDIR=\"/usr/share/locale\" -DUSE_SD_NOTIFY=1 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -MT serv_list.o -MD -MP -MF .deps/serv_list.Tpo -c -o serv_list.o serv_list.c mv -f .deps/serv_list.Tpo .deps/serv_list.Po make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/ypbind-mt-1.38/src' make[1]: *** [Makefile:409: all-recursive] Error 1 make: *** [Makefile:349: all] Error 2 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.gqqhzN (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.gqqhzN (%build) I: [iurt_root_command] ERROR: chroot