Mock Version: 1.4.2 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/rootsh.spec'], chrootPath='/var/lib/mock/580090-epel-6-x86_64/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--private-network']printOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/rootsh.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False warning: Could not canonicalize hostname: copr-builder-64894067.novalocal Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/rootsh-1.5.3-12.el6.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/rootsh.spec'], chrootPath='/var/lib/mock/580090-epel-6-x86_64/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=[]printOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/rootsh.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.LWX6YA + umask 022 + cd /builddir/build/BUILD + LANG=C + export LANG + unset DISPLAY + cd /builddir/build/BUILD + rm -rf rootsh-1.5.3 + /usr/bin/gzip -dc /builddir/build/SOURCES/rootsh-1.5.3.tar.gz + /bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd rootsh-1.5.3 + /bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (rootsh-1.5.3-open-needs-3-args.patch):' Patch #0 (rootsh-1.5.3-open-needs-3-args.patch): + /bin/cat /builddir/build/SOURCES/rootsh-1.5.3-open-needs-3-args.patch + /usr/bin/patch -p1 --fuzz=0 patching file src/rootsh.c + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.FFsMbV + umask 022 + cd /builddir/build/BUILD + cd rootsh-1.5.3 + LANG=C + export LANG + unset DISPLAY + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -I/usr/lib64/gfortran/modules' + export FFLAGS + ./configure --build=x86_64-redhat-linux-gnu --host=x86_64-redhat-linux-gnu --target=x86_64-redhat-linux-gnu --program-prefix= --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 --disable-syslog checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking build system type... x86_64-redhat-linux-gnu checking host system type... x86_64-redhat-linux-gnu checking for syslog... no checking for logfile... enabled checking for logdir... /var/log/rootsh checking for maximum logfile size... 0 checking for defaultshell... /bin/bash checking for x86_64-redhat-linux-gnu-gcc... no checking for x86_64-redhat-linux-gnu-cc... no checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking for /etc/shells... found checking how to run the C preprocessor... gcc -E checking for egrep... grep -E checking for ANSI C header files... yes checking for LIBUTIL=-lutil in -lutil... no checking for ANSI C header files... (cached) 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 for string.h... (cached) yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking sys/file.h usability... yes checking sys/file.h presence... yes checking for sys/file.h... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking stropts.h usability... no checking stropts.h presence... no checking for stropts.h... no checking libgen.h usability... yes checking libgen.h presence... yes checking for libgen.h... yes checking pty.h usability... yes checking pty.h presence... yes checking for pty.h... yes checking for forkpty... no checking for forkpty in -lutil... yes checking getopt.h usability... yes checking getopt.h presence... yes checking for getopt.h... yes checking for getopt_long... yes checking for basename... yes checking for getusershell... yes checking getusershell prototype... yes checking for clearenv... yes checking for sigset... yes checking for sigaction... yes checking whether supplying sigset prototypes is permitted... yes checking return type of signal handlers... void checking select() and fd_set in sys/select.h and sys/bsdtypes.h... not needed checking FD_ZERO and strings.h or bstring.h... not needed checking for master pty... ptmx checking if your system supports the ttcompat streams module... no checking operating system... linux checking for su... /bin/su checking for a BSD-compatible install... /usr/bin/install -c checking whether make sets $(MAKE)... (cached) yes configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating src/config.h config.status: executing depfiles commands + make Making all in src make[1]: Entering directory `/builddir/build/BUILD/rootsh-1.5.3/src' make all-am make[2]: Entering directory `/builddir/build/BUILD/rootsh-1.5.3/src' if gcc -DHAVE_CONFIG_H -I. -I. -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -Wall -Wstrict-prototypes -Wmissing-declarations -Wnested-externs -Wpointer-arith -pedantic -pedantic -Wstrict-prototypes -MT rootsh.o -MD -MP -MF ".deps/rootsh.Tpo" -c -o rootsh.o rootsh.c; \ then mv -f ".deps/rootsh.Tpo" ".deps/rootsh.Po"; else rm -f ".deps/rootsh.Tpo"; exit 1; fi rootsh.c:183: warning: function declaration isn't a prototype rootsh.c:299:2: warning: C++ style comments are not allowed in ISO C90 rootsh.c:299:2: warning: (this will be reported only once per input file) rootsh.c: In function 'main': rootsh.c:345: warning: ISO C90 forbids mixed declarations and code rootsh.c:542: warning: ignoring return value of 'write', declared with attribute warn_unused_result rootsh.c: In function 'beginlogging': rootsh.c:705: warning: ignoring return value of 'write', declared with attribute warn_unused_result rootsh.c: In function 'dologging': rootsh.c:748: warning: ignoring return value of 'write', declared with attribute warn_unused_result rootsh.c: In function 'endlogging': rootsh.c:837: warning: value computed is not used rootsh.c:803: warning: ignoring return value of 'write', declared with attribute warn_unused_result rootsh.c: In function 'main': rootsh.c:245: warning: 'dashShell' may be used uninitialized in this function gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -Wall -Wstrict-prototypes -Wmissing-declarations -Wnested-externs -Wpointer-arith -pedantic -pedantic -Wstrict-prototypes -o rootsh rootsh.o -lutil make[2]: Leaving directory `/builddir/build/BUILD/rootsh-1.5.3/src' make[1]: Leaving directory `/builddir/build/BUILD/rootsh-1.5.3/src' make[1]: Entering directory `/builddir/build/BUILD/rootsh-1.5.3' make[1]: Nothing to be done for `all-am'. make[1]: Leaving directory `/builddir/build/BUILD/rootsh-1.5.3' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.wqwKTm + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rootsh-1.5.3-12.el6.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rootsh-1.5.3-12.el6.x86_64 ++ dirname /builddir/build/BUILDROOT/rootsh-1.5.3-12.el6.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rootsh-1.5.3-12.el6.x86_64 + cd rootsh-1.5.3 + LANG=C + export LANG + unset DISPLAY + rm -rf /builddir/build/BUILDROOT/rootsh-1.5.3-12.el6.x86_64 + make DESTDIR=/builddir/build/BUILDROOT/rootsh-1.5.3-12.el6.x86_64 install Making install in src make[1]: Entering directory `/builddir/build/BUILD/rootsh-1.5.3/src' make[2]: Entering directory `/builddir/build/BUILD/rootsh-1.5.3/src' test -z "/usr/bin" || mkdir -p -- "/builddir/build/BUILDROOT/rootsh-1.5.3-12.el6.x86_64/usr/bin" /usr/bin/install -c 'rootsh' '/builddir/build/BUILDROOT/rootsh-1.5.3-12.el6.x86_64/usr/bin/rootsh' make[2]: Nothing to be done for `install-data-am'. make[2]: Leaving directory `/builddir/build/BUILD/rootsh-1.5.3/src' make[1]: Leaving directory `/builddir/build/BUILD/rootsh-1.5.3/src' make[1]: Entering directory `/builddir/build/BUILD/rootsh-1.5.3' make[2]: Entering directory `/builddir/build/BUILD/rootsh-1.5.3' make[2]: Nothing to be done for `install-exec-am'. test -z "/usr/share/man/man1" || mkdir -p -- "/builddir/build/BUILDROOT/rootsh-1.5.3-12.el6.x86_64/usr/share/man/man1" /usr/bin/install -c -m 644 './rootsh.1' '/builddir/build/BUILDROOT/rootsh-1.5.3-12.el6.x86_64/usr/share/man/man1/rootsh.1' make[2]: Leaving directory `/builddir/build/BUILD/rootsh-1.5.3' make[1]: Leaving directory `/builddir/build/BUILD/rootsh-1.5.3' + mkdir -p /builddir/build/BUILDROOT/rootsh-1.5.3-12.el6.x86_64/var/log/rootsh + /usr/lib/rpm/find-debuginfo.sh --strict-build-id /builddir/build/BUILD/rootsh-1.5.3 extracting debug info from /builddir/build/BUILDROOT/rootsh-1.5.3-12.el6.x86_64/usr/bin/rootsh 80 blocks + /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/bin/python + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Processing files: rootsh-1.5.3-12.el6.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.dKq5XO + umask 022 + cd /builddir/build/BUILD + cd rootsh-1.5.3 + DOCDIR=/builddir/build/BUILDROOT/rootsh-1.5.3-12.el6.x86_64/usr/share/doc/rootsh-1.5.3 + export DOCDIR + rm -rf /builddir/build/BUILDROOT/rootsh-1.5.3-12.el6.x86_64/usr/share/doc/rootsh-1.5.3 + /bin/mkdir -p /builddir/build/BUILDROOT/rootsh-1.5.3-12.el6.x86_64/usr/share/doc/rootsh-1.5.3 + cp -pr README AUTHORS ChangeLog THANKS INSTALL COPYING /builddir/build/BUILDROOT/rootsh-1.5.3-12.el6.x86_64/usr/share/doc/rootsh-1.5.3 + 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) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) libutil.so.1()(64bit) libutil.so.1(GLIBC_2.2.5)(64bit) rtld(GNU_HASH) Processing files: rootsh-debuginfo-1.5.3-12.el6.x86_64 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rootsh-1.5.3-12.el6.x86_64 warning: Could not canonicalize hostname: copr-builder-64894067.novalocal Wrote: /builddir/build/RPMS/rootsh-1.5.3-12.el6.x86_64.rpm Wrote: /builddir/build/RPMS/rootsh-debuginfo-1.5.3-12.el6.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.f1PgBc + umask 022 + cd /builddir/build/BUILD + cd rootsh-1.5.3 + rm -rf /builddir/build/BUILDROOT/rootsh-1.5.3-12.el6.x86_64 + exit 0 Child return code was: 0