ENTER do(['bash', '--login', '-c', 'rpmbuild -bs --target x86_64 --nodeps builddir/build/SPECS/dtach.spec'], False, '/var/lib/mock/dist-f10-build-223663-39834/root/', None, 0, True, 0, 102, 103, None, logger=) Executing command: ['bash', '--login', '-c', 'rpmbuild -bs --target x86_64 --nodeps builddir/build/SPECS/dtach.spec'] /etc/profile: line 38: /bin/hostname: No such file or directory warning: Could not canonicalize hostname: x86-6 Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/dtach-0.7-3.src.rpm LEAVE do --> ENTER do(['bash', '--login', '-c', 'rpmbuild -bb --target x86_64 --nodeps builddir/build/SPECS/dtach.spec'], False, '/var/lib/mock/dist-f10-build-223663-39834/root/', None, 0, True, 0, 102, 103, None, logger=) Executing command: ['bash', '--login', '-c', 'rpmbuild -bb --target x86_64 --nodeps builddir/build/SPECS/dtach.spec'] /etc/profile: line 38: /bin/hostname: No such file or directory Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.k1LcJh + umask 022 + cd /builddir/build/BUILD + LANG=C + export LANG + unset DISPLAY + cd /builddir/build/BUILD + rm -rf dtach-0.7 + /usr/bin/gzip -dc /builddir/build/SOURCES/dtach-0.7.tar.gz + /bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd dtach-0.7 + /bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Jc4HLh + umask 022 + cd /builddir/build/BUILD + cd dtach-0.7 + 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=/usr/com --mandir=/usr/share/man --infodir=/usr/share/info checking for x86_64-redhat-linux-gnu-gcc... 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 how to run the C preprocessor... gcc -E checking for egrep... grep -E checking whether gcc needs -traditional... no checking for openpty in -lutil... yes checking for socket in -lsocket... no checking for ANSI C header files... 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 fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/resource.h usability... yes checking sys/resource.h presence... yes checking for sys/resource.h... yes checking pty.h usability... yes checking pty.h presence... yes checking for pty.h... yes checking termios.h usability... yes checking termios.h presence... yes checking for termios.h... yes checking util.h usability... no checking util.h presence... no checking for util.h... no checking libutil.h usability... no checking libutil.h presence... no checking for libutil.h... no checking stropts.h usability... no checking stropts.h presence... no checking for stropts.h... no checking whether time.h and sys/time.h may both be included... yes checking for an ANSI C-conforming const... yes checking for pid_t... yes checking return type of signal handlers... void checking for atexit... yes checking for dup2... yes checking for memset... yes checking for select... yes checking for socket... yes checking for strerror... yes checking for openpty... yes checking for forkpty... yes checking for ptsname... yes checking for grantpt... yes checking for unlockpt... yes configure: creating ./config.status config.status: creating Makefile config.status: creating config.h + make -j4 gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -W -Wall -I. -c -o attach.o attach.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -W -Wall -I. -c -o master.o master.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -W -Wall -I. -c -o main.o main.c attach.c: In function 'process_kbd': attach.c:100: warning: ignoring return value of 'write', declared with attribute warn_unused_result attach.c:110: warning: ignoring return value of 'write', declared with attribute warn_unused_result attach.c:116: warning: ignoring return value of 'write', declared with attribute warn_unused_result attach.c:130: warning: ignoring return value of 'write', declared with attribute warn_unused_result attach.c: In function 'attach_main': attach.c:181: warning: ignoring return value of 'write', declared with attribute warn_unused_result attach.c:185: warning: ignoring return value of 'write', declared with attribute warn_unused_result attach.c:191: warning: ignoring return value of 'write', declared with attribute warn_unused_result attach.c:225: warning: ignoring return value of 'write', declared with attribute warn_unused_result attach.c:248: warning: ignoring return value of 'write', declared with attribute warn_unused_result master.c: In function 'pty_activity': master.c:177: warning: ignoring return value of 'write', declared with attribute warn_unused_result master.c: In function 'client_activity': master.c:255: warning: ignoring return value of 'write', declared with attribute warn_unused_result master.c:295: warning: ignoring return value of 'write', declared with attribute warn_unused_result gcc -o dtach attach.o master.o main.o -lutil + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.pzrWlp + umask 022 + cd /builddir/build/BUILD + cd dtach-0.7 + LANG=C + export LANG + unset DISPLAY + rm -rf /builddir/rpmbuild/BUILDROOT/dtach-0.7-3.x86_64 + mkdir -p /builddir/rpmbuild/BUILDROOT/dtach-0.7-3.x86_64//usr/bin + mkdir -p /builddir/rpmbuild/BUILDROOT/dtach-0.7-3.x86_64//usr/share/man/man1 + install -m 755 dtach /builddir/rpmbuild/BUILDROOT/dtach-0.7-3.x86_64//usr/bin/dtach + install -m 644 dtach.1 /builddir/rpmbuild/BUILDROOT/dtach-0.7-3.x86_64//usr/share/man/man1/dtach.1 + /usr/lib/rpm/find-debuginfo.sh --strict-build-id /builddir/build/BUILD/dtach-0.7 extracting debug info from /builddir/rpmbuild/BUILDROOT/dtach-0.7-3.x86_64/usr/bin/dtach 50 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/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Processing files: dtach-0.7-3 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.nnaBfx + umask 022 + cd /builddir/build/BUILD + cd dtach-0.7 + DOCDIR=/builddir/rpmbuild/BUILDROOT/dtach-0.7-3.x86_64/usr/share/doc/dtach-0.7 + export DOCDIR + rm -rf /builddir/rpmbuild/BUILDROOT/dtach-0.7-3.x86_64/usr/share/doc/dtach-0.7 + /bin/mkdir -p /builddir/rpmbuild/BUILDROOT/dtach-0.7-3.x86_64/usr/share/doc/dtach-0.7 + cp -pr COPYING README /builddir/rpmbuild/BUILDROOT/dtach-0.7-3.x86_64/usr/share/doc/dtach-0.7 + exit 0 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-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: dtach-debuginfo-0.7-3 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/rpmbuild/BUILDROOT/dtach-0.7-3.x86_64 warning: Could not canonicalize hostname: x86-6 Wrote: /builddir/build/RPMS/dtach-0.7-3.x86_64.rpm Wrote: /builddir/build/RPMS/dtach-debuginfo-0.7-3.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.7CyCjV + umask 022 + cd /builddir/build/BUILD + cd dtach-0.7 + make clean rm -f dtach attach.o master.o main.o dtach-0.7.tar.gz + rm -rf /builddir/rpmbuild/BUILDROOT/dtach-0.7-3.x86_64 + exit 0 LEAVE do -->