Mock Version: 2.6 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target i686 --nodeps /builddir/build/SPECS/portshare.spec'], chrootPath='/var/lib/mock/epel-6-i386-1605310925.638548/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': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target i686 --nodeps /builddir/build/SPECS/portshare.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': 'C.UTF-8'} and shell False warning: Could not canonicalize hostname: ip-172-30-5-140.ec2.internal Building target platforms: i686 Building for target i686 Wrote: /builddir/build/SRPMS/portshare-2.0.10u2-1.el6.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target i686 --nodeps /builddir/build/SPECS/portshare.spec'], chrootPath='/var/lib/mock/epel-6-i386-1605310925.638548/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': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target i686 --nodeps /builddir/build/SPECS/portshare.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': 'C.UTF-8'} and shell False Building target platforms: i686 Building for target i686 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.AuAMpr + umask 022 + cd /builddir/build/BUILD + LANG=C + export LANG + unset DISPLAY + cd /builddir/build/BUILD + rm -rf portshare-2.0.10u2 + /bin/tar -xf - + /usr/bin/gzip -dc /builddir/build/SOURCES/portshare-2.0.10u2.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd portshare-2.0.10u2 + /bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (portshare-Makefile-debuginfo.patch):' Patch #0 (portshare-Makefile-debuginfo.patch): + /bin/cat /builddir/build/SOURCES/portshare-Makefile-debuginfo.patch + /usr/bin/patch -p0 --fuzz=0 patching file Makefile.in + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.VGjcx1 + umask 022 + cd /builddir/build/BUILD + cd portshare-2.0.10u2 + LANG=C + export LANG + unset DISPLAY + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -fPIC -pie -Wl,-z,relro -Wl,-z,now' + CXXFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -fPIC -pie -Wl,-z,relro -Wl,-z,now' + export CFLAGS + export CXXFLAGS + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -fPIC -pie -Wl,-z,relro -Wl,-z,now' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -fPIC -pie -Wl,-z,relro -Wl,-z,now' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -I/usr/lib/gfortran/modules' + export FFLAGS + ./configure --build=i686-redhat-linux-gnu --host=i686-redhat-linux-gnu --target=i686-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/lib --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info checking build system type... i686-redhat-linux-gnu checking host system type... i686-redhat-linux-gnu checking target system type... i686-redhat-linux-gnu checking for i686-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 ISO C89... none needed checking how to run the C preprocessor... gcc -E checking for a BSD-compatible install... /usr/bin/install -c checking for an ANSI C-conforming const... yes checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E 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 for size_t... yes checking for library containing daemon... none required configure: creating ./config.status config.status: creating Makefile config.status: creating libcsc/Makefile config.status: creating inc/misc.h config.status: creating portshare-serial-client.spec config.status: creating sun/pkginfo config.status: creating inc/conf.h + make -j2 gcc -DUSE_TERMIO -DUSE_TERMIOS -DUSE_POSIX_NONBLOCK -O2 -Wall -W -Wshadow -Wpointer-arith -Wwrite-strings -pedantic -c portshare-ser-cli.c gcc -DUSE_TERMIO -DUSE_TERMIOS -DUSE_POSIX_NONBLOCK -O2 -Wall -W -Wshadow -Wpointer-arith -Wwrite-strings -pedantic -c tsrio.c tsrio.c: In function 'tsr_states': tsrio.c:1547: warning: unused parameter 'unused' gcc -DUSE_TERMIO -DUSE_TERMIOS -DUSE_POSIX_NONBLOCK -O2 -Wall -W -Wshadow -Wpointer-arith -Wwrite-strings -pedantic -c telnet.c telnet.c: In function 'tel_getdata': telnet.c:156: warning: null argument where non-null required (argument 2) telnet.c:156: warning: null argument where non-null required (argument 2) telnet.c:252: warning: null argument where non-null required (argument 2) telnet.c:252: warning: null argument where non-null required (argument 2) telnet.c: In function 'send_option': telnet.c:444: warning: null argument where non-null required (argument 2) telnet.c:444: warning: null argument where non-null required (argument 2) telnet.c: In function 'comport_command': telnet.c:549: warning: null argument where non-null required (argument 2) telnet.c:549: warning: null argument where non-null required (argument 2) telnet.c:583: warning: null argument where non-null required (argument 2) telnet.c:583: warning: null argument where non-null required (argument 2) telnet.c: In function 'handle_com_port_command': telnet.c:659: warning: the address of 'notify' will always evaluate as 'true' telnet.c:663: warning: the address of 'notify' will always evaluate as 'true' telnet.c:678: warning: the address of 'notify' will always evaluate as 'true' telnet.c:682: warning: the address of 'notify' will always evaluate as 'true' telnet.c:708: warning: null argument where non-null required (argument 2) telnet.c:708: warning: null argument where non-null required (argument 2) gcc -DUSE_TERMIO -DUSE_TERMIOS -DUSE_POSIX_NONBLOCK -O2 -Wall -W -Wshadow -Wpointer-arith -Wwrite-strings -pedantic -c sock.c sock.c:67:5: warning: C++ style comments are not allowed in ISO C90 sock.c:67:5: warning: (this will be reported only once per input file) gcc -DUSE_TERMIO -DUSE_TERMIOS -DUSE_POSIX_NONBLOCK -O2 -Wall -W -Wshadow -Wpointer-arith -Wwrite-strings -pedantic -c linux-dev.c gcc -DUSE_TERMIO -DUSE_TERMIOS -DUSE_POSIX_NONBLOCK -O2 -Wall -W -Wshadow -Wpointer-arith -Wwrite-strings -pedantic -c misc.c In file included from misc.c:39: inc/control.h:10: warning: comma at end of enumerator list misc.c: In function 'external_poll': misc.c:146: warning: null argument where non-null required (argument 2) misc.c:146: warning: null argument where non-null required (argument 2) misc.c:156: warning: null argument where non-null required (argument 2)linux-dev.c: In function 'parse_message': linux-dev.c:471: warning: null argument where non-null required (argument 2) linux-dev.c:471: warning: null argument where non-null required (argument 2) linux-dev.c:476: warning: null argument where non-null required (argument 2) linux-dev.c:476: warning: null argument where non-null required (argument 2) linux-dev.c:486: warning: null argument where non-null required (argument 2) linux-dev.c:486: warning: null argument where non-null required (argument 2) linux-dev.c:493: warning: null argument where non-null required (argument 2) linux-dev.c:493: warning: null argument where non-null required (argument 2) misc.c:156: warning: null argument where non-null required (argument 2) linux-dev.c: In function 'parse_packet': linux-dev.c:574: warning: the address of 'flushmode' will always evaluate as 'true' gcc -DUSE_TERMIO -DUSE_TERMIOS -DUSE_POSIX_NONBLOCK -O2 -Wall -W -Wshadow -Wpointer-arith -Wwrite-strings -pedantic -c system.c gcc -DUSE_TERMIO -DUSE_TERMIOS -DUSE_POSIX_NONBLOCK -O2 -Wall -W -Wshadow -Wpointer-arith -Wwrite-strings -pedantic -c measure.c if [ ! -z "libcsc/libportshare-ser-cli.so" ]; then cd libcsc ; make; fi make[1]: Entering directory `/builddir/build/BUILD/portshare-2.0.10u2/libcsc' gcc -c -O2 -Wall -W -Wshadow -Wpointer-arith -Wwrite-strings -pedantic -shared -fpic -DUSE_TERMIO -DUSE_TERMIOS -DUSE_POSIX_NONBLOCK -o libportshare-ser-cli.o libportshare-ser-cli.c gcc -o portshare-ser-cli portshare-ser-cli.o tsrio.o telnet.o sock.o linux-dev.o misc.o system.o measure.o -lutil In file included from libportshare-ser-cli.c:17: ../inc/control.h:10: warning: comma at end of enumerator list libportshare-ser-cli.c: In function 'libcsc_init': libportshare-ser-cli.c:61: warning: ISO C forbids conversion of object pointer to function pointer type libportshare-ser-cli.c:62: warning: ISO C forbids conversion of object pointer to function pointer type libportshare-ser-cli.c:63: warning: ISO C forbids conversion of object pointer to function pointer type libportshare-ser-cli.c: In function 'do_xon_xoff': libportshare-ser-cli.c:293: warning: value computed is not used libportshare-ser-cli.c:296: warning: value computed is not used libportshare-ser-cli.c:308: warning: value computed is not used libportshare-ser-cli.c:311: warning: value computed is not used libportshare-ser-cli.c: At top level: ../inc/port_speed.h:63: warning: 'int_to_baud_index' defined but not used libportshare-ser-cli.c:216: warning: 'get_data' defined but not used gcc -shared -fpic -ldl -lutil -o libportshare-ser-cli.so libportshare-ser-cli.o # NOTE: Calling `ld' directly is bad. However some platforms may # not implement -shared -fpic -ldl in configure.in properly for the # C compiler to be able to link a shared library # ld libportshare-ser-cli.o -shared -fpic -ldl -lutil -o libportshare-ser-cli.so make[1]: Leaving directory `/builddir/build/BUILD/portshare-2.0.10u2/libcsc' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.66gKdG + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/portshare-2.0.10u2-1.el6.i386 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/portshare-2.0.10u2-1.el6.i386 ++ dirname /builddir/build/BUILDROOT/portshare-2.0.10u2-1.el6.i386 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/portshare-2.0.10u2-1.el6.i386 + cd portshare-2.0.10u2 + LANG=C + export LANG + unset DISPLAY + rm -rf /builddir/build/BUILDROOT/portshare-2.0.10u2-1.el6.i386 + mkdir -p /builddir/build/BUILDROOT/portshare-2.0.10u2-1.el6.i386/usr/sbin + mkdir -p /builddir/build/BUILDROOT/portshare-2.0.10u2-1.el6.i386/usr/share/man/man5 /builddir/build/BUILDROOT/portshare-2.0.10u2-1.el6.i386/usr/share/man/man8 + mkdir -p /builddir/build/BUILDROOT/portshare-2.0.10u2-1.el6.i386/etc + install -c -m 644 portshare-devices /builddir/build/BUILDROOT/portshare-2.0.10u2-1.el6.i386/etc + install -c -m 755 portshare-ser-cli portshare-serial-client /builddir/build/BUILDROOT/portshare-2.0.10u2-1.el6.i386/usr/sbin + install -c -m 644 man/portshare-ser-cli.8 man/portshare-serial-client.8 /builddir/build/BUILDROOT/portshare-2.0.10u2-1.el6.i386/usr/share/man/man8 + install -c -m 644 man/portshare-devices.5 /builddir/build/BUILDROOT/portshare-2.0.10u2-1.el6.i386/usr/share/man/man5 + /usr/lib/rpm/find-debuginfo.sh --strict-build-id /builddir/build/BUILD/portshare-2.0.10u2 extracting debug info from /builddir/build/BUILDROOT/portshare-2.0.10u2-1.el6.i386/usr/sbin/portshare-ser-cli + /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: portshare-2.0.10u2-1.el6.i686 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.FiHldl + umask 022 + cd /builddir/build/BUILD + cd portshare-2.0.10u2 + DOCDIR=/builddir/build/BUILDROOT/portshare-2.0.10u2-1.el6.i386/usr/share/doc/portshare-2.0.10u2 + export DOCDIR + rm -rf /builddir/build/BUILDROOT/portshare-2.0.10u2-1.el6.i386/usr/share/doc/portshare-2.0.10u2 + /bin/mkdir -p /builddir/build/BUILDROOT/portshare-2.0.10u2-1.el6.i386/usr/share/doc/portshare-2.0.10u2 + cp -pr BUGS COPYING CREDITS README /builddir/build/BUILDROOT/portshare-2.0.10u2-1.el6.i386/usr/share/doc/portshare-2.0.10u2 + exit 0 Provides: config(portshare) = 2.0.10u2-1.el6 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /bin/sh libc.so.6 libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1) libc.so.6(GLIBC_2.7) libutil.so.1 libutil.so.1(GLIBC_2.0) rtld(GNU_HASH) Processing files: portshare-debuginfo-2.0.10u2-1.el6.i686 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/portshare-2.0.10u2-1.el6.i386 warning: Could not canonicalize hostname: ip-172-30-5-140.ec2.internal Wrote: /builddir/build/RPMS/portshare-2.0.10u2-1.el6.i686.rpm Wrote: /builddir/build/RPMS/portshare-debuginfo-2.0.10u2-1.el6.i686.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.IdDpuk + umask 022 + cd /builddir/build/BUILD + cd portshare-2.0.10u2 + /bin/rm -rf /builddir/build/BUILDROOT/portshare-2.0.10u2-1.el6.i386 + exit 0 Child return code was: 0