D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/setserial-2.17-23.mga7.src.rpm Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.37recD + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf setserial-2.17 + /usr/bin/bzip2 -dc /home/pterjan/rpmbuild/SOURCES/setserial-2.17.tar.bz2 + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd setserial-2.17 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (setserial-2.17-LDFLAGS.diff):' Patch #0 (setserial-2.17-LDFLAGS.diff): + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=0 patching file Makefile.in + echo 'Patch #1 (setserial-hayesesp.patch):' Patch #1 (setserial-hayesesp.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .hayesesp --fuzz=0 patching file setserial.c + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.ViLCmY + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd setserial-2.17 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + rm -f config.cache + 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 + 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: x86_64-mageia-linux-gnu: invalid host type creating cache ./config.cache Generating configuration file for setserial version 2.17 Release date is January, 2000 checking for gcc... gcc checking whether the C compiler (gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags) works... yes checking whether the C compiler (gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking for a BSD compatible install... /usr/bin/install -c checking host system type... Invalid configuration `x86_64-mageia-linux-gnu': machine `x86_64-mageia' not recognized checking build system type... Invalid configuration `x86_64-mageia-linux-gnu': machine `x86_64-mageia' not recognized checking for x86_64-mageia-linux-gnu-strip... no checking for strip... strip checking how to run the C preprocessor... gcc -E checking for asm/ioctls.h... yes checking for linux/hayesesp.h... no updating cache ./config.cache creating ./config.status creating setserial.8 creating Makefile + echo 'warning: %make is deprecated, try %make_build instead' warning: %make is deprecated, try %make_build instead + /usr/bin/make -O -j4 DEFS=-DHAVE_ASM_IOCTLS_H=1 nroff -man setserial.8 > setserial.cat gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -DHAVE_ASM_IOCTLS_H=1 -I. setserial.c -o setserial setserial.c: In function 'print_multiport': setserial.c:206:6: warning: implicit declaration of function 'ioctl' [-Wimplicit-function-declaration] if (ioctl(fd, TIOCSERGETMULTI, &multi) < 0) ^~~~~ setserial.c: In function 'get_multiport': setserial.c:249:3: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(1); ^~~~ setserial.c:249:3: warning: incompatible implicit declaration of built-in function 'exit' setserial.c:249:3: note: include '' or provide a declaration of 'exit' setserial.c: In function 'set_multiport': setserial.c:271:3: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ setserial.c:271:3: note: include '' or provide a declaration of 'exit' setserial.c:281:4: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ setserial.c:281:4: note: include '' or provide a declaration of 'exit' setserial.c:338:3: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ setserial.c:338:3: note: include '' or provide a declaration of 'exit' setserial.c:342:3: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ setserial.c:342:3: note: include '' or provide a declaration of 'exit' setserial.c: In function 'get_serial': setserial.c:428:3: warning: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration] close(fd); ^~~~~ pclose setserial.c: In function 'set_serial': setserial.c:488:4: warning: incompatible implicit declaration of built-in function 'exit' exit(201); ^~~~ setserial.c:488:4: note: include '' or provide a declaration of 'exit' setserial.c:490:3: warning: incompatible implicit declaration of built-in function 'exit' exit(201); ^~~~ setserial.c:490:3: note: include '' or provide a declaration of 'exit' setserial.c:494:3: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ setserial.c:494:3: note: include '' or provide a declaration of 'exit' setserial.c:512:4: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ setserial.c:512:4: note: include '' or provide a declaration of 'exit' setserial.c:516:4: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ setserial.c:516:4: note: include '' or provide a declaration of 'exit' setserial.c:520:4: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ setserial.c:520:4: note: include '' or provide a declaration of 'exit' setserial.c:541:5: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ setserial.c:541:5: note: include '' or provide a declaration of 'exit' setserial.c:571:5: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ setserial.c:571:5: note: include '' or provide a declaration of 'exit' setserial.c:575:5: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ setserial.c:575:5: note: include '' or provide a declaration of 'exit' setserial.c:579:5: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ setserial.c:579:5: note: include '' or provide a declaration of 'exit' setserial.c:585:5: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ setserial.c:585:5: note: include '' or provide a declaration of 'exit' setserial.c:592:5: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ setserial.c:592:5: note: include '' or provide a declaration of 'exit' setserial.c:608:4: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ setserial.c:608:4: note: include '' or provide a declaration of 'exit' setserial.c:613:3: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ setserial.c:613:3: note: include '' or provide a declaration of 'exit' setserial.c: In function 'do_wild_intr': setserial.c:628:3: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ setserial.c:628:3: note: include '' or provide a declaration of 'exit' setserial.c:632:3: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ setserial.c:632:3: note: include '' or provide a declaration of 'exit' setserial.c:636:3: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ setserial.c:636:3: note: include '' or provide a declaration of 'exit' setserial.c: In function 'usage': setserial.c:714:2: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ setserial.c:714:2: note: include '' or provide a declaration of 'exit' setserial.c: At top level: setserial.c:717:1: warning: return type defaults to 'int' [-Wimplicit-int] main(int argc, char **argv) ^~~~ setserial.c: In function 'main': setserial.c:727:14: warning: implicit declaration of function 'getopt'; did you mean 'getw'? [-Wimplicit-function-declaration] while ((c = getopt(argc, argv, "abgGqvVWz")) != EOF) { ^~~~~~ getw setserial.c:749:4: warning: incompatible implicit declaration of built-in function 'exit' exit(0); ^~~~ setserial.c:749:4: note: include '' or provide a declaration of 'exit' setserial.c:764:3: warning: incompatible implicit declaration of built-in function 'exit' exit(0); ^~~~ setserial.c:764:3: note: include '' or provide a declaration of 'exit' setserial.c:770:3: warning: incompatible implicit declaration of built-in function 'exit' exit(0); ^~~~ setserial.c:770:3: note: include '' or provide a declaration of 'exit' setserial.c:776:2: warning: incompatible implicit declaration of built-in function 'exit' exit(0); ^~~~ setserial.c:776:2: note: include '' or provide a declaration of 'exit' + exit 0 Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.XqgeYl + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILDROOT/setserial-2.17-23.mga7.x86_64 '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILDROOT/setserial-2.17-23.mga7.x86_64 ++ dirname /home/pterjan/rpmbuild/BUILDROOT/setserial-2.17-23.mga7.x86_64 + mkdir -p /home/pterjan/rpmbuild/BUILDROOT + mkdir /home/pterjan/rpmbuild/BUILDROOT/setserial-2.17-23.mga7.x86_64 + cd setserial-2.17 + '[' 1 -eq 1 ']' + install -m755 setserial -D /home/pterjan/rpmbuild/BUILDROOT/setserial-2.17-23.mga7.x86_64/usr/bin/setserial + install -m644 setserial.8 -D /home/pterjan/rpmbuild/BUILDROOT/setserial-2.17-23.mga7.x86_64/usr/share/man/man8/setserial.8 + /usr/lib/rpm/find-debuginfo.sh -j4 -m -i --build-id-seed 2.17-23.mga7 --unique-debug-suffix -2.17-23.mga7.x86_64 --unique-debug-src-base setserial-2.17-23.mga7.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /home/pterjan/rpmbuild/BUILD/setserial-2.17 extracting debug info from /home/pterjan/rpmbuild/BUILDROOT/setserial-2.17-23.mga7.x86_64/usr/bin/setserial /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 51 blocks + '[' -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/translate_menu + '[' -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_elf_files + '[' 1 -eq 1 ']' + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/brp-python-hardlink Processing files: setserial-2.17-23.mga7.x86_64 Executing(%doc): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.f7fvYK + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd setserial-2.17 + DOCDIR=/home/pterjan/rpmbuild/BUILDROOT/setserial-2.17-23.mga7.x86_64/usr/share/doc/setserial + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILDROOT/setserial-2.17-23.mga7.x86_64/usr/share/doc/setserial + cp -pr README /home/pterjan/rpmbuild/BUILDROOT/setserial-2.17-23.mga7.x86_64/usr/share/doc/setserial + cp -pr rc.serial /home/pterjan/rpmbuild/BUILDROOT/setserial-2.17-23.mga7.x86_64/usr/share/doc/setserial + cp -pr setserial.lsm /home/pterjan/rpmbuild/BUILDROOT/setserial-2.17-23.mga7.x86_64/usr/share/doc/setserial + cp -pr serial.conf /home/pterjan/rpmbuild/BUILDROOT/setserial-2.17-23.mga7.x86_64/usr/share/doc/setserial + cp -pr Documentation /home/pterjan/rpmbuild/BUILDROOT/setserial-2.17-23.mga7.x86_64/usr/share/doc/setserial + exit 0 Provides: setserial = 2.17-23.mga7 setserial(x86-64) = 2.17-23.mga7 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.2.5)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) Processing files: setserial-debugsource-2.17-23.mga7.x86_64 Provides: setserial-debugsource = 2.17-23.mga7 setserial-debugsource(x86-64) = 2.17-23.mga7 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: setserial-debuginfo-2.17-23.mga7.x86_64 Provides: debuginfo(build-id) = 794e9196c5e7fc0ba0ccd2bc4bd8539a97df3017 setserial-debuginfo = 2.17-23.mga7 setserial-debuginfo(x86-64) = 2.17-23.mga7 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: setserial-debugsource(x86-64) = 2.17-23.mga7 Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/pterjan/rpmbuild/BUILDROOT/setserial-2.17-23.mga7.x86_64 Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/setserial-2.17-23.mga7.x86_64.rpm Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/setserial-debugsource-2.17-23.mga7.x86_64.rpm Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/setserial-debuginfo-2.17-23.mga7.x86_64.rpm Executing(%clean): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.HFTIxa + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd setserial-2.17 + /usr/bin/rm -rf /home/pterjan/rpmbuild/BUILDROOT/setserial-2.17-23.mga7.x86_64 + exit 0 Executing(--clean): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.TfvZ8z + umask 022 + cd /home/pterjan/rpmbuild/BUILD + rm -rf setserial-2.17 + exit 0 D: [iurt_root_command] Success!