Mock Version: 1.1.39 ENTER do(['bash', '--login', '-c', 'rpmbuild -bs --target x86_64 --nodeps builddir/build/SPECS/runit.spec'], False, '/var/lib/mock/epel-7-x86_64-mockbuilder-1664/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 ""', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', '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 ""', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'CCACHE_UMASK': '002'} warning: Could not canonicalize hostname: i-0000f3e3 Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/runit-2.1.1-6.el7.centos.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-7-x86_64-mockbuilder-1664/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 ""', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', '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 ""', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'CCACHE_UMASK': '002'} Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.aiNz3q + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf runit-2.1.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/runit-2.1.1.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd runit-2.1.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #1 (runit-remove_stage1.patch): + echo 'Patch #1 (runit-remove_stage1.patch):' + /usr/bin/cat /builddir/build/SOURCES/runit-remove_stage1.patch + /usr/bin/patch -p1 --fuzz=0 patching file package/commands patching file src/Makefile + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.0IdIZ0 + umask 022 + cd /builddir/build/BUILD + cd runit-2.1.1 + cd src + 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:3: warning: passing argument 2 of 'getgroups' from incompatible pointer type [enabled by default] if (getgroups(1,x) == 0) if (setgroups(1,x) == -1) _exit(1); ^ In file included from chkshsgr.c:3:0: /usr/include/unistd.h:711:12: note: expected '__gid_t *' but argument is of type 'short int *' extern int getgroups (int __size, __gid_t __list[]) __THROW __wur; ^ chkshsgr.c:10:3: warning: implicit declaration of function 'setgroups' [-Wimplicit-function-declaration] if (getgroups(1,x) == 0) if (setgroups(1,x) == -1) _exit(1); ^ ./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-0f8bf3ff-:- #!/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:3: warning: implicit declaration of function 'setgroups' [-Wimplicit-function-declaration] if (setgroups(ugid.gids, ugid.gid) == -1) fatal("unable to setgroups"); ^ chpst.c: In function 'main': chpst.c:311:39: warning: operation on 'subgetoptarg' may be undefined [-Wsequence-point] if (optarg[scan_ulong(++optarg, &ul)]) usage(); nicelvl =ul; ^ ./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:5: warning: implicit declaration of function 'execve' [-Wimplicit-function-declaration] execve(file,argv,envp); ^ ./compile prot.c prot.c: In function 'prot_gid': prot.c:13:3: warning: implicit declaration of function 'setgroups' [-Wimplicit-function-declaration] if (setgroups(1,&gid) == -1) return -1; ^ prot.c:15:3: warning: implicit declaration of function 'setgid' [-Wimplicit-function-declaration] return setgid(gid); /* _should_ be redundant, but on some systems it isn't */ ^ prot.c: In function 'prot_uid': prot.c:20:3: warning: implicit declaration of function 'setuid' [-Wimplicit-function-declaration] return setuid(uid); ^ ./compile readclose.c ./compile seek_set.c seek_set.c: In function 'seek_set': seek_set.c:9:1: warning: implicit declaration of function 'lseek' [-Wimplicit-function-declaration] { if (lseek(fd,(off_t) pos,SET) == -1) return -1; return 0; } ^ ./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 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` + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.I5ZWRO + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/runit-2.1.1-6.el7.centos.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/runit-2.1.1-6.el7.centos.x86_64 ++ dirname /builddir/build/BUILDROOT/runit-2.1.1-6.el7.centos.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/runit-2.1.1-6.el7.centos.x86_64 + cd runit-2.1.1 + install -m 755 -d /builddir/build/BUILDROOT/runit-2.1.1-6.el7.centos.x86_64/usr/sbin /builddir/build/BUILDROOT/runit-2.1.1-6.el7.centos.x86_64/usr/bin /builddir/build/BUILDROOT/runit-2.1.1-6.el7.centos.x86_64/usr/share/man/man8 /builddir/build/BUILDROOT/runit-2.1.1-6.el7.centos.x86_64/service /builddir/build/BUILDROOT/runit-2.1.1-6.el7.centos.x86_64/lib/systemd/system + install -m 644 man/chpst.8 man/runsv.8 man/runsvchdir.8 man/runsvdir.8 man/sv.8 man/svlogd.8 /builddir/build/BUILDROOT/runit-2.1.1-6.el7.centos.x86_64/usr/share/man/man8 + install -m 755 src/chpst src/runsv src/runsvchdir src/runsvdir src/sv src/svlogd /builddir/build/BUILDROOT/runit-2.1.1-6.el7.centos.x86_64/usr/bin + install /builddir/build/SOURCES/runit.systemd /builddir/build/BUILDROOT/runit-2.1.1-6.el7.centos.x86_64/lib/systemd/system/runit.service + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 /builddir/build/BUILD/runit-2.1.1 /usr/lib/rpm/sepdebugcrcfix: Updated 0 CRC32s, 0 CRC32s did match. + /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/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Processing files: runit-2.1.1-6.el7.centos.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.Y8KhXC + umask 022 + cd /builddir/build/BUILD + cd runit-2.1.1 + DOCDIR=/builddir/build/BUILDROOT/runit-2.1.1-6.el7.centos.x86_64/usr/share/doc/runit-2.1.1 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/runit-2.1.1-6.el7.centos.x86_64/usr/share/doc/runit-2.1.1 + cp -pr package/README /builddir/build/BUILDROOT/runit-2.1.1-6.el7.centos.x86_64/usr/share/doc/runit-2.1.1 + cp -pr package/COPYING /builddir/build/BUILDROOT/runit-2.1.1-6.el7.centos.x86_64/usr/share/doc/runit-2.1.1 + exit 0 Provides: runit = 2.1.1-6.el7.centos runit(x86-64) = 2.1.1-6.el7.centos Requires(interp): /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh Requires(preun): /bin/sh Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) rtld(GNU_HASH) Obsoletes: runit <= 2.1.1-6.el7.centos Processing files: runit-debuginfo-2.1.1-6.el7.centos.x86_64 Provides: runit-debuginfo = 2.1.1-6.el7.centos runit-debuginfo(x86-64) = 2.1.1-6.el7.centos Requires(rpmlib): rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/runit-2.1.1-6.el7.centos.x86_64 warning: Could not canonicalize hostname: i-0000f3e3 Wrote: /builddir/build/RPMS/runit-2.1.1-6.el7.centos.x86_64.rpm Wrote: /builddir/build/RPMS/runit-debuginfo-2.1.1-6.el7.centos.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.MJnDP4 + umask 022 + cd /builddir/build/BUILD + cd runit-2.1.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/runit-2.1.1-6.el7.centos.x86_64 + exit 0 Child return code was: 0 LEAVE do -->