D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/dd_rescue-1.46-7.mga7.src.rpm Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.hGvXlM + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf dd_rescue + /usr/bin/gzip -dc /home/pterjan/rpmbuild/SOURCES/dd_rescue-1.46.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd dd_rescue + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.RAzmt5 + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd dd_rescue + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + autoheader + autoconf + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4' + 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 + cd . + '[' '!' -f configure.in -a '!' -f configure.ac ']' + libtoolize --copy --force libtoolize: putting auxiliary files in '.'. libtoolize: copying file './ltmain.sh' libtoolize: You should add the contents of the following files to 'aclocal.m4': libtoolize: '/usr/share/aclocal/libtool.m4' libtoolize: '/usr/share/aclocal/ltoptions.m4' libtoolize: '/usr/share/aclocal/ltsugar.m4' libtoolize: '/usr/share/aclocal/ltversion.m4' libtoolize: '/usr/share/aclocal/lt~obsolete.m4' libtoolize: Remember to add 'LT_INIT' to configure.in. libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.in, libtoolize: and rerunning libtoolize and aclocal. libtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am. + '[' -f ./configure.in -o -f ./configure.ac ']' + CONFIGURE_XPATH='--x-includes=/usr/include --x-libraries=/usr/lib64' + ./configure 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 configure: WARNING: you should use --build, --host, --target checking for x86_64-mageia-linux-gnu-gcc... x86_64-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 we are using the GNU C compiler... yes checking whether x86_64-mageia-linux-gnu-gcc accepts -g... yes checking for x86_64-mageia-linux-gnu-gcc option to accept ISO C89... none needed checking for an ANSI C-conforming const... yes checking for inline... inline checking how to run the C preprocessor... x86_64-mageia-linux-gnu-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 fallocate.h usability... no checking fallocate.h presence... no checking for fallocate.h... no checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking for unistd.h... (cached) yes checking attr/xattr.h usability... no checking attr/xattr.h presence... no checking for attr/xattr.h... no checking sys/acl.h usability... no checking sys/acl.h presence... no checking for sys/acl.h... no checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking endian.h usability... yes checking endian.h presence... yes checking for endian.h... yes checking linux/fs.h usability... yes checking linux/fs.h presence... yes checking for linux/fs.h... yes checking linux/fiemap.h usability... yes checking linux/fiemap.h presence... yes checking for linux/fiemap.h... yes checking for stdint.h... (cached) yes checking lzo/lzo1x.h usability... no checking lzo/lzo1x.h presence... no checking for lzo/lzo1x.h... no checking openssl/evp.h usability... no checking openssl/evp.h presence... no checking for openssl/evp.h... no checking for ffs... yes checking for ffsl... yes checking for basename... yes checking for fallocate64... yes checking for splice... yes checking for getopt_long... yes checking for open64... yes checking for pread... yes checking for pread64... yes checking for lseek64... yes checking for stat64... yes checking for posix_fadvise... yes checking for posix_fadvise64... yes checking for __builtin_prefetch... no checking for htobe64... no checking for feof_unlocked... yes checking for getline... yes checking for dlsym in -ldl... yes checking for linux_fallocate64 in -lfallocate... no checking for lzo1x_1_compress in -llzo2... no checking if x86_64-mageia-linux-gnu-gcc supports -msse4.2... yes checking if x86_64-mageia-linux-gnu-gcc supports -mavx2... yes configure: creating ./config.status config.status: creating config.h + echo 'warning: %make is deprecated, try %make_build instead' warning: %make is deprecated, try %make_build instead + /usr/bin/make -O -j8 gcc -Os -Wall -g -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -O3 -msse4.2 -c ffs_sse42.c gcc -Os -Wall -g -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -c fstrim.c gcc -Os -Wall -g -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -O3 -msse2 -c find_nonzero_sse2.c gcc -Os -Wall -g -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -O3 -c find_nonzero.c gcc -Os -Wall -g -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -O3 -c fmt_no.c gcc -Os -Wall -g -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -O3 -mavx2 -c find_nonzero_avx.c gcc -Os -Wall -g -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -O3 -fPIC -o sha512.po -c sha512.c gcc -Os -Wall -g -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -O3 -c frandom.c gcc -Os -Wall -g -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -O3 -fPIC -o sha256.po -c sha256.c gcc -Os -Wall -g -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -mrdrnd -maes -c rdrand.c gcc -Os -Wall -g -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -O3 -fPIC -o sha1.po -c sha1.c gcc -Os -Wall -g -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -O3 -fPIC -o md5.po -c md5.c gcc -Os -Wall -g -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -fPIC -o libddr_null.po -c libddr_null.c gcc -shared -o libddr_null.so libddr_null.po gcc -Os -Wall -g -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -fPIC -o libddr_MD5.po -c libddr_MD5.c gcc -shared -o libddr_hash.so libddr_MD5.po md5.po sha256.po sha512.po sha1.po ln -sf libddr_hash.so libddr_MD5.so gcc -Os -Wall -g -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -DVERSION=\"1.46\" -D__COMPILER__="\"gcc (Mageia 7.2.1-20170831.1.mga7) 7.2.1 20170831\"" dd_rescue.c -o dd_rescue frandom.o fmt_no.o find_nonzero.o fstrim.o find_nonzero_sse2.o ffs_sse42.o find_nonzero_avx.o rdrand.o -ldl dd_rescue.c:164:3: warning: #warning No support for copying extended attributes / ACLs [-Wcpp] # warning No support for copying extended attributes / ACLs ^~~~~~~ dd_rescue.c:312:9: warning: 'fmt_int' is static but used in inline function 'fmt_kiB' which is not static return fmt_int(0, 1, 1024, no, (col? BOLD: ""), (col? NORM: ""), 1); ^~~~~~~ /tmp/ccAlaK48.o: In function `do_fallocate': /home/pterjan/rpmbuild/BUILD/dd_rescue/dd_rescue.c:882: undefined reference to `fmt_kiB' /home/pterjan/rpmbuild/BUILD/dd_rescue/dd_rescue.c:882: undefined reference to `fmt_kiB' /tmp/ccAlaK48.o: In function `input_length': /home/pterjan/rpmbuild/BUILD/dd_rescue/dd_rescue.c:742: undefined reference to `fmt_kiB' /tmp/ccAlaK48.o: In function `printstatus': /home/pterjan/rpmbuild/BUILD/dd_rescue/dd_rescue.c:954: undefined reference to `fmt_kiB' /home/pterjan/rpmbuild/BUILD/dd_rescue/dd_rescue.c:962: undefined reference to `difftimetv' /home/pterjan/rpmbuild/BUILD/dd_rescue/dd_rescue.c:963: undefined reference to `difftimetv' /tmp/ccAlaK48.o: In function `printreport': /home/pterjan/rpmbuild/BUILD/dd_rescue/dd_rescue.c:1017: undefined reference to `fmt_kiB' /home/pterjan/rpmbuild/BUILD/dd_rescue/dd_rescue.c:1017: undefined reference to `fmt_kiB' /tmp/ccAlaK48.o: In function `sync_close': /home/pterjan/rpmbuild/BUILD/dd_rescue/dd_rescue.c:1165: undefined reference to `fmt_kiB' /home/pterjan/rpmbuild/BUILD/dd_rescue/dd_rescue.c:1172: undefined reference to `fmt_kiB' /home/pterjan/rpmbuild/BUILD/dd_rescue/dd_rescue.c:1178: undefined reference to `fmt_kiB' /tmp/ccAlaK48.o:/home/pterjan/rpmbuild/BUILD/dd_rescue/dd_rescue.c:1429: more undefined references to `fmt_kiB' follow collect2: error: ld returned 1 exit status make: *** [Makefile:204: dd_rescue] Error 1 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.RAzmt5 (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.RAzmt5 (%build) I: [iurt_root_command] ERROR: chroot