Mock Version: 0.9.14 Mock Version: 0.9.14 ENTER do(['bash', '--login', '-c', 'rpmbuild -bs --target x86_64 --nodeps builddir/build/SPECS/rlwrap.spec'], False, '/var/lib/mock/centos6-rutgers-staging-build-2671-4763/root/', None, 86400, True, 0, 486, 495, None, logger=) Executing command: ['bash', '--login', '-c', 'rpmbuild -bs --target x86_64 --nodeps builddir/build/SPECS/rlwrap.spec'] warning: Could not canonicalize hostname: opus5.rutgers.edu Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/rlwrap-0.37-1.ru6.src.rpm Child returncode was: 0 LEAVE do --> ENTER do(['bash', '--login', '-c', 'rpmbuild -bb --target x86_64 --nodeps builddir/build/SPECS/rlwrap.spec'], False, '/var/lib/mock/centos6-rutgers-staging-build-2671-4763/root/', None, 86400, True, 0, 486, 495, None, logger=) Executing command: ['bash', '--login', '-c', 'rpmbuild -bb --target x86_64 --nodeps builddir/build/SPECS/rlwrap.spec'] Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.sJ0KhN + umask 022 + cd /builddir/build/BUILD + LANG=C + export LANG + unset DISPLAY + cd /builddir/build/BUILD + rm -rf rlwrap-0.37 + /usr/bin/gzip -dc /builddir/build/SOURCES/rlwrap-0.37.tar.gz + /bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd rlwrap-0.37 + /bin/chmod -Rf a+rX,u+w,g-w,o-w . Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.VJNovG + exit 0 + umask 022 + cd /builddir/build/BUILD + cd rlwrap-0.37 + 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-koji-linux-gnu --host=x86_64-koji-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 checking build system type... x86_64-koji-linux-gnu checking host system type... x86_64-koji-linux-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... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make sets $(MAKE)... (cached) yes checking whether build environment is sane... yes checking for style of include used by make... GNU checking for x86_64-koji-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 dependency style of gcc... gcc3 checking how to run the C preprocessor... gcc -E 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 minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking for x86_64-koji-linux-gnu-gcc... gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking how to run the C preprocessor... gcc -E checking for perl... /usr/bin/perl checking for strip... strip checking for ANSI C header files... (cached) yes checking for sys/wait.h that is POSIX.1 compatible... yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking libutil.h usability... no checking libutil.h presence... no checking for libutil.h... no checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking sched.h usability... yes checking sched.h presence... yes checking for sched.h... yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking for sys/wait.h... (cached) yes checking sys/resource.h usability... yes checking sys/resource.h presence... yes checking for sys/resource.h... yes checking stddef.h usability... yes checking stddef.h presence... yes checking for stddef.h... yes checking termios.h usability... yes checking termios.h presence... yes checking for termios.h... yes checking for unistd.h... (cached) yes checking for stdint.h... (cached) yes checking time.h usability... yes checking time.h presence... yes checking for time.h... yes checking getopt.h usability... yes checking getopt.h presence... yes checking for getopt.h... yes checking regex.h usability... yes checking regex.h presence... yes checking for regex.h... yes checking curses.h usability... yes checking curses.h presence... yes checking for curses.h... yes checking termcap.h usability... yes checking termcap.h presence... yes checking for termcap.h... yes checking for term.h... yes checking for ncurses/term.h... yes checking argument type of tputs putc function... int checking whether your getopt() correctly understands double colons in option string... yes checking for an ANSI C-conforming const... yes checking for pid_t... yes checking whether time.h and sys/time.h may both be included... yes checking whether gcc needs -traditional... no checking return type of signal handlers... void checking for getopt_long... yes checking for getopt_long... (cached) yes checking for isastream... yes checking for mkstemp... yes checking for pselect... yes checking for putenv... yes checking for readlink... yes checking for sched_yield... yes checking for setenv... yes checking for setitimer... yes checking for setsid... yes checking for setrlimit... yes checking for sigaction... yes checking for snprintf... yes checking for strlcpy... no checking for strlcat... no checking for strnlen... yes checking for system... yes checking for openpty in -lutil... yes checking for openpty... yes checking for getpty... no checking for grantpt... yes checking for unlockpt... yes checking for getpt... yes checking for pty/tty type... checking pty.h usability... yes checking pty.h presence... yes checking for pty.h... yes OPENPTY configure: checking for pty ranges... checking for tgetent... no checking for tgetent in -lcurses... yes checking for readline in -lreadline... yes checking whether your readline headers know about rl_set_screen_size... yes checking whether your readline library knows about rl_set_screen_size... checking for rl_set_screen_size... yes checking whether your readline knows about rl_variable_value... yes checking whether your readline knows about rl_readline_version... yes Will rlwrap find command's working directory under /proc//cwd? let's see... checking for /proc/16387/cwd/configure.ac... yes configure: creating ./config.status config.status: creating Makefile config.status: creating filters/Makefile config.status: creating doc/Makefile config.status: creating src/Makefile config.status: creating doc/rlwrap.man config.status: creating config.h config.status: executing depfiles commands Now do: make (or gmake) to build rlwrap make check for instructions how to test it make install to install it + make -j2 make all-recursive make[1]: Entering directory `/builddir/build/BUILD/rlwrap-0.37' Making all in doc make[2]: Entering directory `/builddir/build/BUILD/rlwrap-0.37/doc' sed -e 's#@DATADIR@#/usr/share#' rlwrap.man > rlwrap.1 make[2]: Leaving directory `/builddir/build/BUILD/rlwrap-0.37/doc' Making all in src make[2]: Entering directory `/builddir/build/BUILD/rlwrap-0.37/src' gcc -DHAVE_CONFIG_H -I. -I.. -DDATADIR=\"/usr/share\" -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -MT main.o -MD -MP -MF .deps/main.Tpo -c -o main.o main.c gcc -DHAVE_CONFIG_H -I. -I.. -DDATADIR=\"/usr/share\" -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -MT signals.o -MD -MP -MF .deps/signals.Tpo -c -o signals.o signals.c main.c: In function 'main_loop': main.c:226: warning: 'old_raw_prompt' may be used uninitialized in this function mv -f .deps/signals.Tpo .deps/signals.Po gcc -DHAVE_CONFIG_H -I. -I.. -DDATADIR=\"/usr/share\" -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -MT readline.o -MD -MP -MF .deps/readline.Tpo -c -o readline.o readline.c mv -f .deps/main.Tpo .deps/main.Po gcc -DHAVE_CONFIG_H -I. -I.. -DDATADIR=\"/usr/share\" -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -MT pty.o -MD -MP -MF .deps/pty.Tpo -c -o pty.o pty.c readline.c: In function 'move_cursor_to_start_of_prompt': readline.c:641: warning: unused variable 'cooked' mv -f .deps/pty.Tpo .deps/pty.Po gcc -DHAVE_CONFIG_H -I. -I.. -DDATADIR=\"/usr/share\" -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -MT completion.o -MD -MP -MF .deps/completion.Tpo -c -o completion.o completion.c mv -f .deps/readline.Tpo .deps/readline.Po gcc -DHAVE_CONFIG_H -I. -I.. -DDATADIR=\"/usr/share\" -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -MT term.o -MD -MP -MF .deps/term.Tpo -c -o term.o term.c completion.c:378: warning: 'rbfind' defined but not used completion.c:423: warning: 'rbwalk' defined but not used completion.rb:96: warning: 'print_list' defined but not used mv -f .deps/term.Tpo .deps/term.Po gcc -DHAVE_CONFIG_H -I. -I.. -DDATADIR=\"/usr/share\" -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -MT ptytty.o -MD -MP -MF .deps/ptytty.Tpo -c -o ptytty.o ptytty.c ptytty.c: In function 'ptytty_control_tty': ptytty.c:220: warning: unused variable 'ret' ptytty.c:239: warning: unused variable 'ret' mv -f .deps/completion.Tpo .deps/completion.Po gcc -DHAVE_CONFIG_H -I. -I.. -DDATADIR=\"/usr/share\" -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -MT utils.o -MD -MP -MF .deps/utils.Tpo -c -o utils.o utils.c mv -f .deps/ptytty.Tpo .deps/ptytty.Po gcc -DHAVE_CONFIG_H -I. -I.. -DDATADIR=\"/usr/share\" -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -MT string_utils.o -MD -MP -MF .deps/string_utils.Tpo -c -o string_utils.o string_utils.c utils.c: In function 'mysetsid': utils.c:667: warning: unused variable 'ret' utils.c: At top level: utils.c:566: warning: 'print_debug_flag' defined but not used string_utils.c: In function 'mangle_buffer_for_debug_log': string_utils.c:361: warning: unused variable 'debug_saved' string_utils.c: In function 'colourless_strlen': string_utils.c:626: warning: assignment discards qualifiers from pointer target type string_utils.c:643: warning: suggest parentheses around comparison in operand of '&' string_utils.c: In function 'match_regexp': string_utils.c:768: warning: 'result' may be used uninitialized in this function mv -f .deps/utils.Tpo .deps/utils.Po gcc -DHAVE_CONFIG_H -I. -I.. -DDATADIR=\"/usr/share\" -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -MT malloc_debug.o -MD -MP -MF .deps/malloc_debug.Tpo -c -o malloc_debug.o malloc_debug.c mv -f .deps/malloc_debug.Tpo .deps/malloc_debug.Po gcc -DHAVE_CONFIG_H -I. -I.. -DDATADIR=\"/usr/share\" -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -MT filter.o -MD -MP -MF .deps/filter.Tpo -c -o filter.o filter.c mv -f .deps/string_utils.Tpo .deps/string_utils.Po mv -f .deps/filter.Tpo .deps/filter.Po gcc -DDATADIR=\"/usr/share\" -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -o rlwrap main.o signals.o readline.o pty.o completion.o term.o ptytty.o utils.o string_utils.o malloc_debug.o filter.o -lutil -lreadline -lcurses make[2]: Leaving directory `/builddir/build/BUILD/rlwrap-0.37/src' Making all in filters make[2]: Entering directory `/builddir/build/BUILD/rlwrap-0.37/filters' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/builddir/build/BUILD/rlwrap-0.37/filters' make[2]: Entering directory `/builddir/build/BUILD/rlwrap-0.37' make[2]: Nothing to be done for `all-am'. make[2]: Leaving directory `/builddir/build/BUILD/rlwrap-0.37' make[1]: Leaving directory `/builddir/build/BUILD/rlwrap-0.37' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.KBDnV0 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rlwrap-0.37-1.ru6.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rlwrap-0.37-1.ru6.x86_64 ++ dirname /builddir/build/BUILDROOT/rlwrap-0.37-1.ru6.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rlwrap-0.37-1.ru6.x86_64 + cd rlwrap-0.37 + LANG=C + export LANG + unset DISPLAY + rm -rf /builddir/build/BUILDROOT/rlwrap-0.37-1.ru6.x86_64 + make install DESTDIR=/builddir/build/BUILDROOT/rlwrap-0.37-1.ru6.x86_64 'INSTALL=install -p' Making install in doc make[1]: Entering directory `/builddir/build/BUILD/rlwrap-0.37/doc' make[2]: Entering directory `/builddir/build/BUILD/rlwrap-0.37/doc' make[2]: Nothing to be done for `install-exec-am'. test -z "/usr/share/man/man1" || /bin/mkdir -p "/builddir/build/BUILDROOT/rlwrap-0.37-1.ru6.x86_64/usr/share/man/man1" install -p -m 644 rlwrap.1 '/builddir/build/BUILDROOT/rlwrap-0.37-1.ru6.x86_64/usr/share/man/man1' make[2]: Leaving directory `/builddir/build/BUILD/rlwrap-0.37/doc' make[1]: Leaving directory `/builddir/build/BUILD/rlwrap-0.37/doc' Making install in src make[1]: Entering directory `/builddir/build/BUILD/rlwrap-0.37/src' make[2]: Entering directory `/builddir/build/BUILD/rlwrap-0.37/src' test -z "/usr/bin" || /bin/mkdir -p "/builddir/build/BUILDROOT/rlwrap-0.37-1.ru6.x86_64/usr/bin" install -p rlwrap '/builddir/build/BUILDROOT/rlwrap-0.37-1.ru6.x86_64/usr/bin' make[2]: Nothing to be done for `install-data-am'. make[2]: Leaving directory `/builddir/build/BUILD/rlwrap-0.37/src' make[1]: Leaving directory `/builddir/build/BUILD/rlwrap-0.37/src' Making install in filters make[1]: Entering directory `/builddir/build/BUILD/rlwrap-0.37/filters' make[2]: Entering directory `/builddir/build/BUILD/rlwrap-0.37/filters' make[2]: Nothing to be done for `install-exec-am'. test -z "/usr/share/man/man3" || /bin/mkdir -p "/builddir/build/BUILDROOT/rlwrap-0.37-1.ru6.x86_64/usr/share/man/man3" install -p -m 644 RlwrapFilter.3pm '/builddir/build/BUILDROOT/rlwrap-0.37-1.ru6.x86_64/usr/share/man/man3' make[2]: Leaving directory `/builddir/build/BUILD/rlwrap-0.37/filters' make[1]: Leaving directory `/builddir/build/BUILD/rlwrap-0.37/filters' make[1]: Entering directory `/builddir/build/BUILD/rlwrap-0.37' make[2]: Entering directory `/builddir/build/BUILD/rlwrap-0.37' make[2]: Nothing to be done for `install-exec-am'. test -z "/usr/share/rlwrap" || /bin/mkdir -p "/builddir/build/BUILDROOT/rlwrap-0.37-1.ru6.x86_64/usr/share/rlwrap" /bin/mkdir -p '/builddir/build/BUILDROOT/rlwrap-0.37-1.ru6.x86_64/usr/share/rlwrap/filters' install -p -m 644 filters/README filters/RlwrapFilter.pm filters/RlwrapFilter.3pm filters/count_in_prompt filters/pipeto filters/logger filters/null filters/unbackspace filters/pipeline filters/ftp_filter filters/history_format filters/simple_macro filters/template filters/scrub_prompt filters/paint_prompt filters/censor_passwords filters/listing '/builddir/build/BUILDROOT/rlwrap-0.37-1.ru6.x86_64/usr/share/rlwrap/filters' /bin/mkdir -p '/builddir/build/BUILDROOT/rlwrap-0.37-1.ru6.x86_64/usr/share/rlwrap/completions' install -p -m 644 completions/testclient completions/coqtop '/builddir/build/BUILDROOT/rlwrap-0.37-1.ru6.x86_64/usr/share/rlwrap/completions' make install-data-hook make[3]: Entering directory `/builddir/build/BUILD/rlwrap-0.37' chmod a+x /builddir/build/BUILDROOT/rlwrap-0.37-1.ru6.x86_64/usr/share/rlwrap/filters/* make[3]: Leaving directory `/builddir/build/BUILD/rlwrap-0.37' make[2]: Leaving directory `/builddir/build/BUILD/rlwrap-0.37' make[1]: Leaving directory `/builddir/build/BUILD/rlwrap-0.37' + cd /builddir/build/BUILDROOT/rlwrap-0.37-1.ru6.x86_64/usr/share/rlwrap/filters + chmod -x README + chmod -x RlwrapFilter.3pm RlwrapFilter.pm + /usr/lib/rpm/find-debuginfo.sh --strict-build-id /builddir/build/BUILD/rlwrap-0.37 extracting debug info from /builddir/build/BUILDROOT/rlwrap-0.37-1.ru6.x86_64/usr/bin/rlwrap 470 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: rlwrap-0.37-1.ru6.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.IYWNEm + umask 022 + cd /builddir/build/BUILD + cd rlwrap-0.37 + DOCDIR=/builddir/build/BUILDROOT/rlwrap-0.37-1.ru6.x86_64/usr/share/doc/rlwrap-0.37 + export DOCDIR + rm -rf /builddir/build/BUILDROOT/rlwrap-0.37-1.ru6.x86_64/usr/share/doc/rlwrap-0.37 + /bin/mkdir -p /builddir/build/BUILDROOT/rlwrap-0.37-1.ru6.x86_64/usr/share/doc/rlwrap-0.37 + cp -pr AUTHORS COPYING NEWS README /builddir/build/BUILDROOT/rlwrap-0.37-1.ru6.x86_64/usr/share/doc/rlwrap-0.37 + exit 0 Provides: perl(RlwrapFilter) = 0.01 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(VersionedDependencies) <= 3.0.3-1 Requires: /usr/bin/env libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) libncurses.so.5()(64bit) libreadline.so.6()(64bit) libtinfo.so.5()(64bit) libutil.so.1()(64bit) libutil.so.1(GLIBC_2.2.5)(64bit) perl(AutoLoader) perl(Carp) perl(Config) perl(Data::Dumper) perl(Exporter) perl(Getopt::Std) perl(POSIX) perl(RlwrapFilter) perl(constant) perl(lib) perl(strict) perl(vars) rtld(GNU_HASH) Processing files: rlwrap-debuginfo-0.37-1.ru6.x86_64 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rlwrap-0.37-1.ru6.x86_64 warning: Could not canonicalize hostname: opus5.rutgers.edu Wrote: /builddir/build/RPMS/rlwrap-0.37-1.ru6.x86_64.rpm Wrote: /builddir/build/RPMS/rlwrap-debuginfo-0.37-1.ru6.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.cE0wms + umask 022 + cd /builddir/build/BUILD + cd rlwrap-0.37 + rm -rf /builddir/build/BUILDROOT/rlwrap-0.37-1.ru6.x86_64 + exit 0 Child returncode was: 0 LEAVE do -->