Mock Version: 1.1.41 ENTER do(['bash', '--login', '-c', 'rpmbuild -bs --target x86_64 --nodeps builddir/build/SPECS/runit.spec'], False, '/var/lib/mock/epel-6-x86_64-mockbuilder-1661/root/', None, 0, True, False, 500, 135, None, False, {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'CCACHE_DIR': '/tmp/ccache', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n ""', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'CCACHE_UMASK': '002'}, logger=) Executing command: ['bash', '--login', '-c', 'rpmbuild -bs --target x86_64 --nodeps builddir/build/SPECS/runit.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'CCACHE_DIR': '/tmp/ccache', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n ""', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'CCACHE_UMASK': '002'} warning: Could not canonicalize hostname: i-00013ee2 Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/runit-2.1.1-5.el6.src.rpm Child return code was: 0 LEAVE do --> ENTER do(['bash', '--login', '-c', 'rpmbuild -bb --target x86_64 --nodeps builddir/build/SPECS/runit.spec'], False, '/var/lib/mock/epel-6-x86_64-mockbuilder-1661/root/', None, 0, True, False, 500, 135, None, False, {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'CCACHE_DIR': '/tmp/ccache', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n ""', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'CCACHE_UMASK': '002'}, logger=) Executing command: ['bash', '--login', '-c', 'rpmbuild -bb --target x86_64 --nodeps builddir/build/SPECS/runit.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'CCACHE_DIR': '/tmp/ccache', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n ""', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'CCACHE_UMASK': '002'} Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.kwX31Q + umask 022 + cd /builddir/build/BUILD + LANG=C + export LANG + unset DISPLAY + cd /builddir/build/BUILD + rm -rf runit-2.1.1 + /bin/mkdir -p runit-2.1.1 + cd runit-2.1.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/runit-2.1.1.tar.gz + /bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + /bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1 (0001-support-exit-on-halt-for-use-within-containers.patch):' Patch #1 (0001-support-exit-on-halt-for-use-within-containers.patch): + /bin/cat /builddir/build/SOURCES/0001-support-exit-on-halt-for-use-within-containers.patch + /usr/bin/patch -p1 --fuzz=0 patching file admin/runit-2.1.1/src/runit.c + sed -i 's/ -static//' admin/runit-2.1.1/src/Makefile + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.tK9WWt + umask 022 + cd /builddir/build/BUILD + cd runit-2.1.1 + LANG=C + export LANG + unset DISPLAY + cd admin/runit-2.1.1 + ./package/compile Linking ./src/* into ./compile... Compiling everything in ./compile... + cd compile + exec make sh find-systype.sh > systype rm -f compile sh print-cc.sh > compile chmod 555 compile rm -f choose cat warn-auto.sh choose.sh \ > choose chmod 555 choose ./choose c trydrent direntry.h1 direntry.h2 > direntry.h rm -f load sh print-ld.sh > load chmod 555 load ./choose cl tryflock hasflock.h1 hasflock.h2 > hasflock.h ./choose cl trymkffo hasmkffo.h1 hasmkffo.h2 > hasmkffo.h ./choose cl trysgact hassgact.h1 hassgact.h2 > hassgact.h ./choose cl trysgprm hassgprm.h1 hassgprm.h2 > hassgprm.h ./compile chkshsgr.c chkshsgr.c: In function 'main': chkshsgr.c:10: warning: passing argument 2 of 'getgroups' from incompatible pointer type /usr/include/unistd.h:708: note: expected '__gid_t *' but argument is of type 'short int *' chkshsgr.c:10: warning: implicit declaration of function 'setgroups' ./load chkshsgr ./chkshsgr || ( cat warn-shsgr; exit 1 ) ./choose clr tryshsgr hasshsgr.h1 hasshsgr.h2 > hasshsgr.h ./choose cl trywaitp haswaitp.h1 haswaitp.h2 > haswaitp.h ./choose clr trypoll iopause.h1 iopause.h2 > iopause.h ./choose c trysysel select.h1 select.h2 > select.h ./choose clr tryulong64 uint64.h1 uint64.h2 > uint64.h ./choose c tryreboot reboot_system.h1 reboot_system.h2 > \ reboot_system.h ( ./compile tryuwtmpx.c 2>/dev/null && cat uw_tmp.h2 >uw_tmp.h ) || \ ( ./compile tryuwtmp.c 2>/dev/null && cat uw_tmp.h1 >uw_tmp.h ) rm -f tryuwtmp.o tryuwtmpx.o ./compile trysocketlib.c ( ./load trysocketlib >/dev/null 2>&1 || \ ( ./load trysocketlib -lxnet >/dev/null 2>&1 && echo '-lxnet' ) || \ ( ./load trysocketlib -lsocket -lnsl >/dev/null 2>&1 && \ echo '-lsocket -lnsl' ) \ ) >socket.lib rm -f trysocketlib.o trysocketlib rm -f sysdeps cat systype compile load socket.lib >>sysdeps grep sysdep direntry.h >>sysdeps grep sysdep haswaitp.h >>sysdeps grep sysdep hassgact.h >>sysdeps grep sysdep hassgprm.h >>sysdeps grep sysdep select.h >>sysdeps grep sysdep uint64.h >>sysdeps grep sysdep iopause.h >>sysdeps grep sysdep hasmkffo.h >>sysdeps grep sysdep hasflock.h >>sysdeps grep sysdep hasshsgr.h >>sysdeps grep sysdep reboot_system.h >>sysdeps grep sysdep uw_tmp.h >>sysdeps cat sysdeps linux-2.6.32-358.el6.x86_64-:-:-:genuineintel-000206c1-0f8bfbff-:- #!/bin/sh # WARNING: This file was auto-generated. Do not edit! exec gcc -O2 -Wall -c ${1+"$@"} #!/bin/sh # WARNING: This file was auto-generated. Do not edit! main="$1"; shift exec gcc -s -o "$main" "$main".o ${1+"$@"} /* sysdep: +dirent */ /* sysdep: +waitpid */ /* sysdep: +sigaction */ /* sysdep: +sigprocmask */ /* sysdep: +sysselect */ /* sysdep: +ulong64 */ /* sysdep: +poll */ /* sysdep: +mkfifo */ /* sysdep: +flock */ /* sysdep: -shortsetgroups */ /* sysdep: +std reboot */ /* sysdep: -utmpx */ ./compile chpst.c chpst.c: In function 'suidgid': chpst.c:80: warning: implicit declaration of function 'setgroups' chpst.c: In function 'main': chpst.c:311: warning: operation on 'subgetoptarg' may be undefined ./compile uidgid.c ./compile alloc.c ./compile alloc_re.c ./compile buffer.c ./compile buffer_0.c ./compile buffer_1.c ./compile buffer_2.c ./compile buffer_get.c ./compile buffer_put.c ./compile buffer_read.c ./compile buffer_write.c ./compile coe.c ./compile env.c ./compile error.c ./compile error_str.c ./compile fd_copy.c ./compile fd_move.c ./compile fifo.c ./compile lock_ex.c ./compile lock_exnb.c rm -f makelib sh print-ar.sh > makelib chmod 555 makelib ./compile ndelay_off.c ./compile ndelay_on.c ./compile open_append.c ./compile open_read.c ./compile open_trunc.c ./compile open_write.c ./compile openreadclose.c ./compile pathexec_env.c ./compile pathexec_run.c pathexec_run.c: In function 'pathexec_run': pathexec_run.c:18: warning: implicit declaration of function 'execve' ./compile prot.c prot.c: In function 'prot_gid': prot.c:13: warning: implicit declaration of function 'setgroups' prot.c:15: warning: implicit declaration of function 'setgid' prot.c: In function 'prot_uid': prot.c:20: warning: implicit declaration of function 'setuid' ./compile readclose.c ./compile seek_set.c seek_set.c: In function 'seek_set': seek_set.c:9: warning: implicit declaration of function 'lseek' ./compile sgetopt.c ./compile sig.c ./compile sig_block.c ./compile sig_catch.c ./compile sig_pause.c ./compile stralloc_cat.c ./compile stralloc_catb.c ./compile stralloc_cats.c ./compile stralloc_eady.c ./compile stralloc_opyb.c ./compile stralloc_opys.c ./compile stralloc_pend.c ./compile strerr_die.c ./compile strerr_sys.c ./compile subgetopt.c ./compile wait_nohang.c ./compile wait_pid.c ./makelib unix.a alloc.o alloc_re.o buffer.o buffer_0.o buffer_1.o \ buffer_2.o buffer_get.o buffer_put.o buffer_read.o buffer_write.o \ coe.o env.o error.o error_str.o fd_copy.o fd_move.o fifo.o lock_ex.o \ lock_exnb.o ndelay_off.o ndelay_on.o open_append.o open_read.o \ open_trunc.o open_write.o openreadclose.o pathexec_env.o \ pathexec_run.o prot.o readclose.o seek_set.o sgetopt.o sig.o \ sig_block.o sig_catch.o sig_pause.o stralloc_cat.o stralloc_catb.o \ stralloc_cats.o stralloc_eady.o stralloc_opyb.o stralloc_opys.o \ stralloc_pend.o strerr_die.o strerr_sys.o subgetopt.o wait_nohang.o \ wait_pid.o ./compile byte_chr.c ./compile byte_copy.c ./compile byte_cr.c ./compile byte_diff.c ./compile byte_rchr.c ./compile fmt_uint.c ./compile fmt_uint0.c ./compile fmt_ulong.c ./compile scan_ulong.c ./compile str_chr.c ./compile str_diff.c ./compile str_len.c ./compile str_start.c ./makelib byte.a byte_chr.o byte_copy.o byte_cr.o byte_diff.o \ byte_rchr.o fmt_uint.o fmt_uint0.o fmt_ulong.o scan_ulong.o str_chr.o \ str_diff.o str_len.o str_start.o ./load chpst uidgid.o unix.a byte.a ./compile runit.c ./load runit unix.a byte.a ./compile runit-init.c ./load runit-init unix.a byte.a ./compile runsv.c ./compile iopause.c ./compile tai_now.c ./compile tai_pack.c ./compile tai_sub.c ./compile tai_unpack.c ./compile taia_add.c ./compile taia_approx.c ./compile taia_frac.c ./compile taia_less.c ./compile taia_now.c ./compile taia_pack.c ./compile taia_sub.c ./compile taia_uint.c ./makelib time.a iopause.o tai_now.o tai_pack.o tai_sub.o \ tai_unpack.o taia_add.o taia_approx.o taia_frac.o taia_less.o \ taia_now.o taia_pack.o taia_sub.o taia_uint.o ./load runsv unix.a byte.a time.a ./compile runsvchdir.c ./load runsvchdir unix.a byte.a ./compile runsvdir.c ./load runsvdir unix.a byte.a time.a ./compile sv.c ./load sv unix.a byte.a time.a ./compile svlogd.c ./compile pmatch.c ./compile fmt_ptime.c ./load svlogd pmatch.o fmt_ptime.o unix.a byte.a time.a \ `cat socket.lib` ./compile utmpset.c utmpset.c: In function 'utmp_logout': utmpset.c:38: warning: passing argument 1 of 'time' from incompatible pointer type /usr/include/time.h:186: note: expected 'time_t *' but argument is of type 'int32_t *' utmpset.c: In function 'wtmp_logout': utmpset.c:68: warning: passing argument 1 of 'time' from incompatible pointer type /usr/include/time.h:186: note: expected 'time_t *' but argument is of type 'int32_t *' ./load utmpset unix.a byte.a Copying commands into ./command... + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.WJwetj + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/runit-2.1.1-5.el6.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/runit-2.1.1-5.el6.x86_64 ++ dirname /builddir/build/BUILDROOT/runit-2.1.1-5.el6.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/runit-2.1.1-5.el6.x86_64 + cd runit-2.1.1 + LANG=C + export LANG + unset DISPLAY + mkdir -p /builddir/build/BUILDROOT/runit-2.1.1-5.el6.x86_64/usr/sbin + mkdir -p /builddir/build/BUILDROOT/runit-2.1.1-5.el6.x86_64/usr/share/man/man8 + cd admin/runit-2.1.1 + install -m 755 command/chpst command/runit command/runit-init command/runsv command/runsvchdir command/runsvdir command/sv command/svlogd command/utmpset /builddir/build/BUILDROOT/runit-2.1.1-5.el6.x86_64/usr/sbin + install -m 644 man/chpst.8 man/runit-init.8 man/runit.8 man/runsv.8 man/runsvchdir.8 man/runsvdir.8 man/sv.8 man/svlogd.8 man/utmpset.8 /builddir/build/BUILDROOT/runit-2.1.1-5.el6.x86_64/usr/share/man/man8 + /usr/lib/rpm/find-debuginfo.sh --strict-build-id /builddir/build/BUILD/runit-2.1.1 + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-compress + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-python-bytecompile + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Processing files: runit-2.1.1-5.el6.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.Z5Mup9 + umask 022 + cd /builddir/build/BUILD + cd runit-2.1.1 + DOCDIR=/builddir/build/BUILDROOT/runit-2.1.1-5.el6.x86_64/usr/share/doc/runit-2.1.1 + export DOCDIR + rm -rf /builddir/build/BUILDROOT/runit-2.1.1-5.el6.x86_64/usr/share/doc/runit-2.1.1 + /bin/mkdir -p /builddir/build/BUILDROOT/runit-2.1.1-5.el6.x86_64/usr/share/doc/runit-2.1.1 + cp -pr admin/runit-2.1.1/doc/benefits.html admin/runit-2.1.1/doc/chpst.8.html admin/runit-2.1.1/doc/dependencies.html admin/runit-2.1.1/doc/faq.html admin/runit-2.1.1/doc/index.html admin/runit-2.1.1/doc/install.html admin/runit-2.1.1/doc/replaceinit.html admin/runit-2.1.1/doc/runit-init.8.html admin/runit-2.1.1/doc/runit.8.html admin/runit-2.1.1/doc/runlevels.html admin/runit-2.1.1/doc/runscripts.html admin/runit-2.1.1/doc/runsv.8.html admin/runit-2.1.1/doc/runsvchdir.8.html admin/runit-2.1.1/doc/runsvdir.8.html admin/runit-2.1.1/doc/sv.8.html admin/runit-2.1.1/doc/svlogd.8.html admin/runit-2.1.1/doc/upgrade.html admin/runit-2.1.1/doc/usedietlibc.html admin/runit-2.1.1/doc/useinit.html admin/runit-2.1.1/doc/utmpset.8.html /builddir/build/BUILDROOT/runit-2.1.1-5.el6.x86_64/usr/share/doc/runit-2.1.1 + exit 0 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) rtld(GNU_HASH) Processing files: runit-debuginfo-2.1.1-5.el6.x86_64 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/runit-2.1.1-5.el6.x86_64 warning: Could not canonicalize hostname: i-00013ee2 Wrote: /builddir/build/RPMS/runit-2.1.1-5.el6.x86_64.rpm Wrote: /builddir/build/RPMS/runit-debuginfo-2.1.1-5.el6.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.uZy72F + umask 022 + cd /builddir/build/BUILD + cd runit-2.1.1 + /bin/rm -rf /builddir/build/BUILDROOT/runit-2.1.1-5.el6.x86_64 + exit 0 Child return code was: 0 LEAVE do -->