Mock Version: 1.4.11 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target i686 --nodeps /builddir/build/SPECS/rc.spec'], timeout=0nspawn_args=['--bind=/tmp/mock-resolv.7wmE2o:/etc/resolv.conf']shell=Falseuid=1001chrootPath='/var/lib/mock/centos-7-i386/root'gid=135user='mockbuild'env={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '}logger=unshare_net=TrueprintOutput=True) Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'b36202a063b244f186ef0ed6a2e8c1f3', '-D', '/var/lib/mock/centos-7-i386/root', '--bind=/tmp/mock-resolv.7wmE2o:/etc/resolv.conf', '--setenv=LANG=en_US.UTF-8', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOSTNAME=mock', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=HOME=/builddir', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PS1= \\s-\\v\\$ ', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target i686 --nodeps /builddir/build/SPECS/rc.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '} and shell False BUILDSTDERR: Failed to create directory /var/lib/mock/centos-7-i386/root//sys/fs/selinux: Read-only file system BUILDSTDERR: Failed to create directory /var/lib/mock/centos-7-i386/root//sys/fs/selinux: Read-only file system Building target platforms: i686 Building for target i686 Wrote: /builddir/build/SRPMS/rc-1.7.4-1.el7.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target i686 --nodeps /builddir/build/SPECS/rc.spec'], timeout=0nspawn_args=['--bind=/tmp/mock-resolv.7wmE2o:/etc/resolv.conf']shell=Falseuid=1001chrootPath='/var/lib/mock/centos-7-i386/root'gid=135user='mockbuild'env={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '}logger=unshare_net=TrueprintOutput=True) Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '18617811632e4026b89e907ba63b9c86', '-D', '/var/lib/mock/centos-7-i386/root', '--bind=/tmp/mock-resolv.7wmE2o:/etc/resolv.conf', '--setenv=LANG=en_US.UTF-8', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOSTNAME=mock', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=HOME=/builddir', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PS1= \\s-\\v\\$ ', '-u', 'mockbuild', 'bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target i686 --nodeps /builddir/build/SPECS/rc.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '} and shell False BUILDSTDERR: Failed to create directory /var/lib/mock/centos-7-i386/root//sys/fs/selinux: Read-only file system BUILDSTDERR: Failed to create directory /var/lib/mock/centos-7-i386/root//sys/fs/selinux: Read-only file system Building target platforms: i686 Building for target i686 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.g9xmM2 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf rc-1.7.4 + /usr/bin/gzip -dc /builddir/build/SOURCES/rc-1.7.4.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd rc-1.7.4 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.rhiZgf + umask 022 + cd /builddir/build/BUILD + cd rc-1.7.4 + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -I/usr/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -I/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro ' + export LDFLAGS + '[' 1 == 1 ']' + '[' i386 == ppc64le ']' BUILDSTDERR: ++ find . -name config.guess -o -name config.sub + ./configure --build=i386-redhat-linux-gnu --host=i386-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --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 --with-edit=gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for i386-redhat-linux-gnu-gcc... no checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no 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 whether gcc understands -c and -o together... yes checking for style of include used by make... GNU checking dependency style of gcc... none checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... 64 checking how to run the C preprocessor... gcc -E checking for ln... ln checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/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 sys/resource.h usability... yes checking sys/resource.h presence... yes checking for sys/resource.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for sys/types.h... (cached) yes checking for unistd.h... (cached) yes checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for ANSI C header files... (cached) yes checking for sys/wait.h that is POSIX.1 compatible... yes checking for uid_t in sys/types.h... yes checking type of array argument to getgroups... gid_t checking for pid_t... yes checking for size_t... yes checking for uid_t in sys/types.h... (cached) yes checking for ssize_t... yes checking for getgroups... yes checking for lstat... yes checking for setpgrp... yes checking for setrlimit... yes checking for sigaction... yes checking for POSIX getgroups... yes checking for sigsetjmp... yes checking whether setpgrp takes no argument... yes checking for strerror... yes checking if _KERNEL is required for RLIMIT defines... no checking for rlim_t... yes checking for sig_atomic_t... yes checking for SysV SIGCLD semantics... yes checking whether #! works in shell scripts... yes checking for /dev/fd... yes checking extant directories for default path... "/usr/local/bin","/usr/bin","/bin","." checking for tgetent in -ltinfo... yes checking for readline in -lreadline... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: executing depfiles commands + make -j4 gcc -DHAVE_CONFIG_H -I. -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -c -o mksignal.o mksignal.c gcc -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -Wl,-z,relro -o mksignal mksignal.o -lreadline -ltinfo ./mksignal make all-am make[1]: Entering directory `/builddir/build/BUILD/rc-1.7.4' gcc -DHAVE_CONFIG_H -I. -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -c -o builtins.o builtins.c gcc -DHAVE_CONFIG_H -I. -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -c -o except.o except.c gcc -DHAVE_CONFIG_H -I. -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -c -o exec.o exec.c gcc -DHAVE_CONFIG_H -I. -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -c -o fn.o fn.c gcc -DHAVE_CONFIG_H -I. -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -c -o footobar.o footobar.c gcc -DHAVE_CONFIG_H -I. -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -c -o getopt.o getopt.c gcc -DHAVE_CONFIG_H -I. -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -c -o glob.o glob.c gcc -DHAVE_CONFIG_H -I. -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -c -o glom.o glom.c gcc -DHAVE_CONFIG_H -I. -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -c -o hash.o hash.c gcc -DHAVE_CONFIG_H -I. -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -c -o heredoc.o heredoc.c gcc -DHAVE_CONFIG_H -I. -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -c -o input.o input.c gcc -DHAVE_CONFIG_H -I. -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -c -o lex.o lex.c gcc -DHAVE_CONFIG_H -I. -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -c -o list.o list.c gcc -DHAVE_CONFIG_H -I. -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -c -o main.o main.c gcc -DHAVE_CONFIG_H -I. -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -c -o match.o match.c gcc -DHAVE_CONFIG_H -I. -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -c -o nalloc.o nalloc.c gcc -DHAVE_CONFIG_H -I. -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -c -o open.o open.c gcc -DHAVE_CONFIG_H -I. -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -c -o parse.o parse.c gcc -DHAVE_CONFIG_H -I. -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -c -o print.o print.c gcc -DHAVE_CONFIG_H -I. -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -c -o redir.o redir.c gcc -DHAVE_CONFIG_H -I. -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -c -o signal.o signal.c gcc -DHAVE_CONFIG_H -I. -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -c -o mkstatval.o mkstatval.c gcc -DHAVE_CONFIG_H -I. -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -c -o tree.o tree.c gcc -DHAVE_CONFIG_H -I. -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -c -o utils.o utils.c BUILDSTDERR: utils.c: In function 'panic': BUILDSTDERR: utils.c:40:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: write(2, PANICMSG, conststrlen(PANICMSG)); BUILDSTDERR: ^ BUILDSTDERR: utils.c:41:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: write(2, s, strlen(s)); BUILDSTDERR: ^ BUILDSTDERR: utils.c:42:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: write(2, "!\n", 2); BUILDSTDERR: ^ gcc -DHAVE_CONFIG_H -I. -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -c -o var.o var.c gcc -DHAVE_CONFIG_H -I. -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -c -o wait.o wait.c gcc -DHAVE_CONFIG_H -I. -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -c -o walk.o walk.c gcc -DHAVE_CONFIG_H -I. -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -c -o which.o which.c BUILDSTDERR: which.c: In function 'which': BUILDSTDERR: which.c:112:13: warning: ignoring return value of 'getgroups', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: getgroups(ngroups, gidset); BUILDSTDERR: ^ gcc -DHAVE_CONFIG_H -I. -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -c -o sigmsgs.o sigmsgs.c gcc -DHAVE_CONFIG_H -I. -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -c -o edit-readline.o edit-readline.c gcc -DHAVE_CONFIG_H -I. -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -c -o system.o system.c BUILDSTDERR: edit-readline.c: In function 'edit_catcher': BUILDSTDERR: edit-readline.c:36:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: write(2, "\n", 1); BUILDSTDERR: ^ gcc -DHAVE_CONFIG_H -I. -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -c -o tripping.o tripping.c gcc -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -Wl,-z,relro -o mkstatval mkstatval.o -lreadline -ltinfo gcc -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -Wl,-z,relro -o tripping tripping.o -lreadline -ltinfo ./mkstatval > statval.h gcc -DHAVE_CONFIG_H -I. -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -c -o status.o status.c gcc -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -Wl,-z,relro -o rc builtins.o except.o exec.o fn.o footobar.o getopt.o glob.o glom.o hash.o heredoc.o input.o lex.o list.o main.o match.o nalloc.o open.o parse.o print.o redir.o signal.o status.o tree.o utils.o var.o wait.o walk.o which.o sigmsgs.o edit-readline.o system.o -lreadline -ltinfo make[1]: Leaving directory `/builddir/build/BUILD/rc-1.7.4' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.4uIdkM + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rc-1.7.4-1.el7.i386 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rc-1.7.4-1.el7.i386 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/rc-1.7.4-1.el7.i386 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rc-1.7.4-1.el7.i386 + cd rc-1.7.4 + rm -rf /builddir/build/BUILDROOT/rc-1.7.4-1.el7.i386 + make DESTDIR=/builddir/build/BUILDROOT/rc-1.7.4-1.el7.i386 'INSTALL=install -p' install make install-am make[1]: Entering directory `/builddir/build/BUILD/rc-1.7.4' make[2]: Entering directory `/builddir/build/BUILD/rc-1.7.4' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/rc-1.7.4-1.el7.i386/usr/bin' install -p rc '/builddir/build/BUILDROOT/rc-1.7.4-1.el7.i386/usr/bin' make install-exec-hook make[3]: Entering directory `/builddir/build/BUILD/rc-1.7.4' make[3]: Nothing to be done for `install-exec-hook'. make[3]: Leaving directory `/builddir/build/BUILD/rc-1.7.4' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/rc-1.7.4-1.el7.i386/usr/share/man/man1' install -p -m 644 rc.1 '/builddir/build/BUILDROOT/rc-1.7.4-1.el7.i386/usr/share/man/man1' make[2]: Leaving directory `/builddir/build/BUILD/rc-1.7.4' make[1]: Leaving directory `/builddir/build/BUILD/rc-1.7.4' + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 /builddir/build/BUILD/rc-1.7.4 extracting debug info from /builddir/build/BUILDROOT/rc-1.7.4-1.el7.i386/usr/bin/rc BUILDSTDERR: dwz: Too few files for multifile optimization /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. BUILDSTDERR: cpio: rc-1.7.4/y.tab.c: Cannot stat: No such file or directory BUILDSTDERR: 383 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/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.KQei6k + umask 022 + cd /builddir/build/BUILD + cd rc-1.7.4 + make check ./rc -p < ./trip.rc tripping ./rc 1.7.4 $Release: @(#)rc 1.7.4 2018-10-17 $ BUILDSTDERR: expect error from cat, closing stdin: cat: -: Bad file descriptor BUILDSTDERR: cat: closing standard input: Bad file descriptor BUILDSTDERR: expect warning: rc: line 1: warning: null character ignored BUILDSTDERR: expect bad number: rc: `foo' is a bad number BUILDSTDERR: expect arg count: rc: too many arguments to shift BUILDSTDERR: expect shift overflow: cannot shift expect list of signal handlers: fn sighup fn sigint fn sigquit fn sigill fn sigtrap fn sigabrt fn sigbus fn sigfpe fn sigkill fn sigusr1 fn sigsegv fn sigusr2 fn sigpipe fn sigalrm fn sigterm fn sigstkflt fn sigchld fn sigcont fn sigstop fn sigtstp fn sigttin fn sigttou fn sigurg fn sigxcpu fn sigxfsz fn sigvtalrm fn sigprof fn sigwinch fn sigio fn sigpwr fn sigsys fn sigunknown32 {} fn sigunknown33 {} fn sigunknown34 fn sigunknown35 fn sigunknown36 fn sigunknown37 fn sigunknown38 fn sigunknown39 fn sigunknown40 fn sigunknown41 fn sigunknown42 fn sigunknown43 fn sigunknown44 fn sigunknown45 fn sigunknown46 fn sigunknown47 fn sigunknown48 fn sigunknown49 fn sigunknown50 fn sigunknown51 fn sigunknown52 fn sigunknown53 fn sigunknown54 fn sigunknown55 fn sigunknown56 fn sigunknown57 fn sigunknown58 fn sigunknown59 fn sigunknown60 fn sigunknown61 fn sigunknown62 fn sigunknown63 fn sigunknown64 SHELL=/bin/bash result='this is a heredoc this is an heredoc ' MAKEFLAGS='' ifs=(' ' ' ' ' ') PWD=/builddir/build/BUILD/rc-1.7.4 RPM_ARCH=i386 i=2 RPM_BUILD_ROOT=/builddir/build/BUILDROOT/rc-1.7.4-1.el7.i386 container=systemd-nspawn PKG_CONFIG_PATH=:/usr/lib/pkgconfig:/usr/share/pkgconfig y=(-rw-r----- 1 mockbuild mock 0 Oct 17 08:38 /tmp/rc-trip.83ZcJi/tmp) RPM_DOC_DIR=/usr/share/doc prompt=('; ' '') RPM_SOURCE_DIR=/builddir/build/SOURCES PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/builddir/.local/bin:/builddir/bin pid=1281 TERM=vt100 tmpdir=/tmp/rc-trip.83ZcJi HISTSIZE=1000 version=(1.7.4 '$Release: @(#)rc 1.7.4 2018-10-17 $') HOSTNAME='' RPM_LD_FLAGS='-Wl,-z,relro ' RPM_PACKAGE_RELEASE=1.el7 HOME=/builddir tmp=/tmp/rc-trip.83ZcJi/tmp RPM_OS=linux abc=(this is a) USER=mockbuild MAKELEVEL=1 bigfile=/tmp/rc-trip.83ZcJi/big.1281 path=(/usr/bin /bin /usr/sbin /sbin /usr/local/sbin /builddir/.local/bin /builddir/bin) _=./rc MFLAGS='' nl=' ' home=/builddir LOGNAME=mockbuild RPM_PACKAGE_VERSION=1.7.4 RPM_OPT_FLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables' HISTCONTROL=ignoredups rc=./rc bqstatus=0 SHLVL=3 RPM_BUILD_DIR=/builddir/build/BUILD MAIL=/var/spool/mail/mockbuild PROMPT_COMMAND='printf "\033]0;\007"' RPM_PACKAGE_NAME=rc LANG=C fn expect {echo >[1=2] -n expect $^*^': '} fn bar {for(i in (1 2 3 4 5))if(~ $i 3)return} fn bytes {for(i in $*)x=`{wc -c $i} echo $x(1)} fn submatch {if(!~ $#* 3)fail incorrect invocation of submatch;prompt=$nl if(!~ ``$nl{$rc -ic $1 >[2=1]} $2)fail $3} fn sigunknown32 {} fn sigunknown33 {} fn fail {echo >[1=2] trip took a wrong turn: $*;rm -rf $tmpdir;fn sigexit;exit 1} fn sigexit {echo trip complete} expect list of variables and functions: expect 1401: 1401 BUILDSTDERR: expect prompt, echo hi: echo hi expect date: Wed Oct 17 08:38:33 CDT 2018 expect foo bar qux: foo bar qux BUILDSTDERR: expect rc: cannot find `nonesuch': rc: cannot find `nonesuch' trip complete make check-am make[1]: Entering directory `/builddir/build/BUILD/rc-1.7.4' make[1]: Leaving directory `/builddir/build/BUILD/rc-1.7.4' + exit 0 Processing files: rc-1.7.4-1.el7.i686 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.jT5pma + umask 022 + cd /builddir/build/BUILD + cd rc-1.7.4 + DOCDIR=/builddir/build/BUILDROOT/rc-1.7.4-1.el7.i386/usr/share/doc/rc-1.7.4 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rc-1.7.4-1.el7.i386/usr/share/doc/rc-1.7.4 + cp -pr ChangeLog /builddir/build/BUILDROOT/rc-1.7.4-1.el7.i386/usr/share/doc/rc-1.7.4 + cp -pr AUTHORS /builddir/build/BUILDROOT/rc-1.7.4-1.el7.i386/usr/share/doc/rc-1.7.4 + cp -pr EXAMPLES /builddir/build/BUILDROOT/rc-1.7.4-1.el7.i386/usr/share/doc/rc-1.7.4 + cp -pr NEWS /builddir/build/BUILDROOT/rc-1.7.4-1.el7.i386/usr/share/doc/rc-1.7.4 + cp -pr README /builddir/build/BUILDROOT/rc-1.7.4-1.el7.i386/usr/share/doc/rc-1.7.4 + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.Q848GZ + umask 022 + cd /builddir/build/BUILD + cd rc-1.7.4 + LICENSEDIR=/builddir/build/BUILDROOT/rc-1.7.4-1.el7.i386/usr/share/licenses/rc-1.7.4 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rc-1.7.4-1.el7.i386/usr/share/licenses/rc-1.7.4 + cp -pr COPYING /builddir/build/BUILDROOT/rc-1.7.4-1.el7.i386/usr/share/licenses/rc-1.7.4 + exit 0 Provides: /bin/rc rc = 1.7.4-1.el7 rc(x86-32) = 1.7.4-1.el7 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 grep Requires(postun): /bin/sh sed Requires: libc.so.6 libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1) libc.so.6(GLIBC_2.11) libc.so.6(GLIBC_2.2) libc.so.6(GLIBC_2.3) libc.so.6(GLIBC_2.4) libreadline.so.6 libtinfo.so.5 rtld(GNU_HASH) Conflicts: filesystem < 3 Processing files: rc-debuginfo-1.7.4-1.el7.i686 Provides: rc-debuginfo = 1.7.4-1.el7 rc-debuginfo(x86-32) = 1.7.4-1.el7 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/rc-1.7.4-1.el7.i386 Wrote: /builddir/build/RPMS/rc-1.7.4-1.el7.i686.rpm Wrote: /builddir/build/RPMS/rc-debuginfo-1.7.4-1.el7.i686.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.zYJWzv + umask 022 + cd /builddir/build/BUILD + cd rc-1.7.4 + rm -rf /builddir/build/BUILDROOT/rc-1.7.4-1.el7.i386 + exit 0 Child return code was: 0