+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/uml_utilities.spec --define "debug_package %{nil}" --undefine _annotated_build --define "_missing_doc_files_terminate_build %{nil}" --define "_emacs_sitestartdir /usr/share/emacs/site-lisp/site-start.d" --define "_emacs_sitelispdir /usr/share/emacs/site-lisp" --nocheck ' mockbuild warning: Macro expanded in comment on line 51: %{_libdir}/uml/functions warning: Macro expanded in comment on line 52: %{_bindir}/mkrootfs Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.xXmnb1 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf tools-20070815 + /usr/bin/bzip2 -dc /builddir/build/SOURCES/uml_utilities_20070815.tar.bz2 + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd tools-20070815 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (uml_utilities_20070815-install.patch):' Patch #0 (uml_utilities_20070815-install.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .install --fuzz=0 patching file humfsify/Makefile + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.gTZQGv + umask 022 + cd /builddir/build/BUILD + cd tools-20070815 + /usr/bin/make 'CFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -D_FILE_OFFSET_BITS=64' -j4 set -e ; for dir in lib jail jailtest humfsify mconsole moo port-helper tunctl uml_net uml_switch watchdog umlfs; do /usr/bin/make -C $dir all; done make[1]: Entering directory '/builddir/build/BUILD/tools-20070815/lib' cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -D_FILE_OFFSET_BITS=64 -c -o rights.o rights.c ar r libuml.a rights.o ar: creating libuml.a make[1]: Leaving directory '/builddir/build/BUILD/tools-20070815/lib' make[1]: Entering directory '/builddir/build/BUILD/tools-20070815/jail' cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -D_FILE_OFFSET_BITS=64 -c -o jail_uml.o jail_uml.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -D_FILE_OFFSET_BITS=64 -o jail_uml jail_uml.o make[1]: Leaving directory '/builddir/build/BUILD/tools-20070815/jail' make[1]: Entering directory '/builddir/build/BUILD/tools-20070815/jailtest' cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -D_FILE_OFFSET_BITS=64 -c -o jailtest.o jailtest.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -D_FILE_OFFSET_BITS=64 -o jailtest jailtest.o make[1]: Leaving directory '/builddir/build/BUILD/tools-20070815/jailtest' make[1]: Entering directory '/builddir/build/BUILD/tools-20070815/humfsify' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/builddir/build/BUILD/tools-20070815/humfsify' make[1]: Entering directory '/builddir/build/BUILD/tools-20070815/mconsole' cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -D_FILE_OFFSET_BITS=64 -c -o uml_mconsole.o uml_mconsole.c uml_mconsole.c: In function 'do_switch': uml_mconsole.c:72:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&pid[++x], sizeof(char), 1, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ uml_mconsole.c: In function 'absolutize': uml_mconsole.c:176:3: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] chdir(save_cwd); ^~~~~~~~~~~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -D_FILE_OFFSET_BITS=64 -o uml_mconsole uml_mconsole.o ../lib/libuml.a -lreadline -lncurses make[1]: Leaving directory '/builddir/build/BUILD/tools-20070815/mconsole' make[1]: Entering directory '/builddir/build/BUILD/tools-20070815/moo' cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -D_FILE_OFFSET_BITS=64 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_GNU_SOURCE -c -o uml_moo.o uml_moo.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -D_FILE_OFFSET_BITS=64 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_GNU_SOURCE -c -o cow.o cow.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -D_FILE_OFFSET_BITS=64 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_GNU_SOURCE -c -o uml_mkcow.o uml_mkcow.c uml_moo.c: In function 'create_backing_file': uml_moo.c:68:22: warning: pointer targets in passing argument 7 of 'read_cow_header' differ in signedness [-Wpointer-sign] &mtime, &size, §orsize, &alignment, ^ In file included from uml_moo.c:19:0: cow.h:21:12: note: expected 'int *' but argument is of type 'unsigned int *' extern int read_cow_header(int (*reader)(__u64, char *, int, void *), ^~~~~~~~~~~~~~~ cow.c: In function 'absolutize': cow.c:182:2: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] chdir(save_cwd); ^~~~~~~~~~~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -D_FILE_OFFSET_BITS=64 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_GNU_SOURCE -o uml_moo uml_moo.o cow.o cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -D_FILE_OFFSET_BITS=64 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_GNU_SOURCE -o uml_mkcow uml_mkcow.o cow.o make[1]: Leaving directory '/builddir/build/BUILD/tools-20070815/moo' make[1]: Entering directory '/builddir/build/BUILD/tools-20070815/port-helper' cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -D_FILE_OFFSET_BITS=64 -c -o port-helper.o port-helper.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -D_FILE_OFFSET_BITS=64 -o port-helper port-helper.o ../lib/libuml.a make[1]: Leaving directory '/builddir/build/BUILD/tools-20070815/port-helper' make[1]: Entering directory '/builddir/build/BUILD/tools-20070815/tunctl' cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -D_FILE_OFFSET_BITS=64 -c -o tunctl.o tunctl.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -D_FILE_OFFSET_BITS=64 -o tunctl tunctl.o make[1]: Leaving directory '/builddir/build/BUILD/tools-20070815/tunctl' make[1]: Entering directory '/builddir/build/BUILD/tools-20070815/uml_net' cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -D_FILE_OFFSET_BITS=64 -DTUNTAP -c -o ethertap.o ethertap.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -D_FILE_OFFSET_BITS=64 -DTUNTAP -c -o host.o host.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -D_FILE_OFFSET_BITS=64 -DTUNTAP -c -o output.o output.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -D_FILE_OFFSET_BITS=64 -DTUNTAP -c -o slip.o slip.c host.c: In function 'mk_node': host.c:215:51: warning: implicit declaration of function 'makedev' [-Wimplicit-function-declaration] return(mknod(devname, S_IFCHR|S_IREAD|S_IWRITE, makedev(major, minor))); ^~~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -D_FILE_OFFSET_BITS=64 -DTUNTAP -c -o uml_net.o uml_net.c host.c: In function 'route_and_arp': host.c:130:53: warning: '__builtin___snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] "echo 1 > /proc/sys/net/ipv4/conf/%.9s/proxy_arp", dev); ^ In file included from /usr/include/stdio.h:861:0, from host.c:5: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 44 and 53 bytes into a destination of size 52 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -D_FILE_OFFSET_BITS=64 -DTUNTAP -c -o tuntap.o tuntap.c host.c: In function 'no_route_and_arp': host.c:152:53: warning: '__builtin___snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] "echo 0 > /proc/sys/net/ipv4/conf/%.9s/proxy_arp", dev); ^ In file included from /usr/include/stdio.h:861:0, from host.c:5: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 44 and 53 bytes into a destination of size 52 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -D_FILE_OFFSET_BITS=64 -DTUNTAP -o uml_net ethertap.o host.o output.o slip.o uml_net.o tuntap.o host.o: In function `address_change': /builddir/build/BUILD/tools-20070815/uml_net/host.c:168: undefined reference to `makedev' collect2: error: ld returned 1 exit status make[1]: *** [Makefile:18: uml_net] Error 1 make[1]: Leaving directory '/builddir/build/BUILD/tools-20070815/uml_net' make: *** [Makefile:21: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.gTZQGv (%build) RPM build errors: Macro expanded in comment on line 51: %{_libdir}/uml/functions Macro expanded in comment on line 52: %{_bindir}/mkrootfs Bad exit status from /var/tmp/rpm-tmp.gTZQGv (%build) ++ cleanup ++ set +e ++ sync ++ sleep 5 ++ sync ++ poweroff Terminated +++ cleanup +++ set +e +++ sync Terminated ++++ cleanup ++++ set +e ++++ sync ++++ sleep 5 ++++ sync ++++ poweroff