D: [iurt_root_command] chroot Installing /home/iurt/rpmbuild/SRPMS/yp-tools-4.2.3-4.mga8.src.rpm Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.D2XzT1 + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD + rm -rf yp-tools-4.2.3 + /usr/bin/gzip -dc /home/iurt/rpmbuild/SOURCES/yp-tools-4.2.3.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd yp-tools-4.2.3 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /home/iurt/rpmbuild/SOURCES/yp-tools-4.2.3-ypwhich.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.Ofg27Y + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd yp-tools-4.2.3 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + NOCONFIGURE=1 + ./autogen.sh + rm -fv ltmain.sh config.sub config.guess config.h.in + aclocal -I m4 + autoheader + libtoolize --automake --copy + automake --add-missing --copy --force configure.ac:54: installing './compile' configure.ac:65: installing './config.guess' configure.ac:65: installing './config.sub' configure.ac:3: installing './missing' lib/Makefile.am: installing './depcomp' + autoreconf configure.ac:5: warning: 'AM_CONFIG_HEADER': this macro is obsolete. configure.ac:5: You should use the 'AC_CONFIG_HEADERS' macro instead. ./lib/autoconf/general.m4:2433: AC_DIAGNOSE is expanded from... aclocal.m4:1137: AM_CONFIG_HEADER is expanded from... configure.ac:5: the top level configure.ac:55: warning: The macro `AC_GNU_SOURCE' is obsolete. configure.ac:55: You should run autoupdate. ./lib/autoconf/specific.m4:312: AC_GNU_SOURCE is expanded from... configure.ac:55: the top level configure.ac:65: warning: The macro `AC_PROG_LIBTOOL' is obsolete. configure.ac:65: You should run autoupdate. m4/libtool.m4:99: AC_PROG_LIBTOOL is expanded from... configure.ac:65: the top level configure.ac:89: warning: The macro `AC_HEADER_STDC' is obsolete. configure.ac:89: You should run autoupdate. ./lib/autoconf/headers.m4:704: AC_HEADER_STDC is expanded from... configure.ac:89: the top level configure.ac:113: warning: AC_OUTPUT should be used without arguments. configure.ac:113: You should run autoupdate. + chmod 755 configure + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -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 -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 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables ' + export FCFLAGS + LDFLAGS=' -Wl,--as-needed -Wl,--no-undefined -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.sub + '[' -f /usr/lib/rpm/mageia/config.sub ']' ++ basename ./config.sub + cp -af /usr/lib/rpm/mageia/config.sub ./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 + /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 Modifying ltmain.sh underlinking for plugins (cf http://wiki.mandriva.com/en/Underlinking) + /usr/lib/rpm/mageia/fix-libtool-ltmain-from-overlinking Fixing libtool's ltmain.sh to prevent overlinking (cf http://wiki.mandriva.com/en/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=aarch64-mageia-linux-gnu --build=aarch64-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 --disable-domainname 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 aarch64-mageia-linux-gnu-gcc... aarch64-mageia-linux-gnu-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 the compiler supports GNU C... yes checking whether aarch64-mageia-linux-gnu-gcc accepts -g... yes checking for aarch64-mageia-linux-gnu-gcc option to enable C11 features... none needed checking whether aarch64-mageia-linux-gnu-gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of aarch64-mageia-linux-gnu-gcc... none checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for wchar.h... yes checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking whether _XOPEN_SOURCE should be defined... no checking how to run the C preprocessor... aarch64-mageia-linux-gnu-gcc -E checking for strerror in -lcposix... no checking whether make sets $(MAKE)... (cached) yes checking for aarch64-mageia-linux-gnu-ranlib... aarch64-mageia-linux-gnu-ranlib checking build system type... aarch64-mageia-linux-gnu checking host system type... aarch64-mageia-linux-gnu checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by aarch64-mageia-linux-gnu-gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/aarch64-mageia-linux-gnu-nm -p checking the name lister (/usr/bin/aarch64-mageia-linux-gnu-nm -p) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert aarch64-mageia-linux-gnu file names to aarch64-mageia-linux-gnu format... func_convert_file_noop checking how to convert aarch64-mageia-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for aarch64-mageia-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for aarch64-mageia-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for aarch64-mageia-linux-gnu-ar... aarch64-mageia-linux-gnu-ar checking for archiver @FILE support... @ checking for aarch64-mageia-linux-gnu-strip... no checking for strip... strip checking for aarch64-mageia-linux-gnu-ranlib... (cached) aarch64-mageia-linux-gnu-ranlib checking command to parse /usr/bin/aarch64-mageia-linux-gnu-nm -p output from aarch64-mageia-linux-gnu-gcc object... ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for aarch64-mageia-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking for dlfcn.h... yes checking for objdir... .libs checking if aarch64-mageia-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no checking for aarch64-mageia-linux-gnu-gcc option to produce PIC... -fPIC -DPIC checking if aarch64-mageia-linux-gnu-gcc PIC flag -fPIC -DPIC works... yes checking if aarch64-mageia-linux-gnu-gcc static flag -static works... no checking if aarch64-mageia-linux-gnu-gcc supports -c -o file.o... yes checking if aarch64-mageia-linux-gnu-gcc supports -c -o file.o... (cached) yes checking whether the aarch64-mageia-linux-gnu-gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for aarch64-mageia-linux-gnu-pkg-config... /usr/bin/aarch64-mageia-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking for TIRPC... no checking for NSL... no checking for yp_match in -lnsl... no checking for ypbind3_binding... no checking for egrep... (cached) /usr/bin/grep -E checking for getopt.h... yes checking for rpc/clnt_soc.h... no checking for crypt in -lcrypt... yes checking for an ANSI C-conforming const... yes 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 aarch64-mageia-linux-gnu-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 CFLocaleCopyPreferredLanguages... no checking for GNU gettext in libc... yes checking whether to use NLS... yes checking where the gettext function comes from... libc 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 etc/Makefile config.status: creating po/Makefile.in config.status: creating man/domainname.8 config.status: creating man/nicknames.5 config.status: creating man/yp_dump_binding.8 config.status: creating man/ypcat.1 config.status: creating man/ypmatch.1 config.status: creating man/yppasswd.1 config.status: creating man/yppoll.8 config.status: creating man/ypset.8 config.status: creating man/yptest.8 config.status: creating man/ypwhich.1 config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands config.status: executing po-directories commands config.status: creating po/POTFILES config.status: creating po/Makefile + /usr/bin/make -O -j8 V=1 VERBOSE=1 /usr/bin/make all-recursive Making all in lib make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/yp-tools-4.2.3/lib' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I. -DLOCALEDIR=\"/usr/share/locale\" -Wall -D_REENTRANT=1 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o host2ypbind3_binding.o host2ypbind3_binding.c make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/yp-tools-4.2.3/lib' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/yp-tools-4.2.3/lib' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I. -DLOCALEDIR=\"/usr/share/locale\" -Wall -D_REENTRANT=1 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o ypbind3_binding_free.o ypbind3_binding_free.c make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/yp-tools-4.2.3/lib' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/yp-tools-4.2.3/lib' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I. -DLOCALEDIR=\"/usr/share/locale\" -Wall -D_REENTRANT=1 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o ypbind3_binding_dup.o ypbind3_binding_dup.c make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/yp-tools-4.2.3/lib' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/yp-tools-4.2.3/lib' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I. -DLOCALEDIR=\"/usr/share/locale\" -Wall -D_REENTRANT=1 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o yp_all_host.o yp_all_host.c yp_all_host.c:28:10: fatal error: rpc/rpc.h: No such file or directory 28 | #include | ^~~~~~~~~~~ compilation terminated. make[2]: *** [Makefile:440: yp_all_host.o] Error 1 make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/yp-tools-4.2.3/lib' make[2]: *** Waiting for unfinished jobs.... make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/yp-tools-4.2.3/lib' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I. -DLOCALEDIR=\"/usr/share/locale\" -Wall -D_REENTRANT=1 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o nicknames.o nicknames.c make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/yp-tools-4.2.3/lib' make[1]: *** [Makefile:445: all-recursive] Error 1 make: *** [Makefile:377: all] Error 2 error: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.Ofg27Y (%build) RPM build errors: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.Ofg27Y (%build) I: [iurt_root_command] ERROR: chroot