Mock Version: 1.4.6 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/cligen.spec'], chrootPath='/var/lib/mock/625106-epel-7-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: ['/usr/bin/systemd-nspawn', '-q', '-M', '5283574c399e490e80215fe273379792', '-D', '/var/lib/mock/625106-epel-7-x86_64/root', '-a', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=en_US.UTF-8', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/cligen.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: 5283574c399e490e80215fe273379792 Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/cligen-3.5.0-1.el7.centos.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/cligen.spec'], chrootPath='/var/lib/mock/625106-epel-7-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: ['/usr/bin/systemd-nspawn', '-q', '-M', '500f18d0ed684f47bb0866bb15eeb35a', '-D', '/var/lib/mock/625106-epel-7-x86_64/root', '-a', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=en_US.UTF-8', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/cligen.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.hOZFRf + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf cligen-a4c706214191f1231adde21a84fe03c045bd02d5 + /usr/bin/gzip -dc /builddir/build/SOURCES/cligen-a4c7062.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd cligen-a4c706214191f1231adde21a84fe03c045bd02d5 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.fTPbrP + umask 022 + cd /builddir/build/BUILD + cd cligen-a4c706214191f1231adde21a84fe03c045bd02d5 + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I/usr/lib64/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 -m64 -mtune=generic -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro ' + export LDFLAGS + '[' 1 == 1 ']' + '[' x86_64 == ppc64le ']' ++ find . -name config.guess -o -name config.sub + for i in '$(find . -name config.guess -o -name config.sub)' ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + for i in '$(find . -name config.guess -o -name config.sub)' ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + ./configure --build=x86_64-redhat-linux-gnu --host=x86_64-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/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info configure: WARNING: unrecognized options: --disable-dependency-tracking CLIGEN version is 3.5.0 checking build system type... x86_64-redhat-linux-gnu checking host system type... x86_64-redhat-linux-gnu checking for x86_64-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 how to run the C preprocessor... gcc -E checking for bison... bison -y checking for flex... flex checking lex output file root... lex.yy checking lex library... none needed checking whether yytext is a pointer... no x86_64 redhat linux-gnu Compiler is gcc checking for main in -lm... yes CFLAGS is -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wall CPPFLAGS is -DHAVE_CONFIG_H checking for socket in -lsocket... no checking for strsep... yes checking for strverscmp... yes 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 regex.h usability... yes checking regex.h presence... yes checking for regex.h... yes checking termios.h usability... yes checking termios.h presence... yes checking for termios.h... yes configure: creating ./config.status config.status: creating Makefile config.status: creating cligen_config.h configure: WARNING: unrecognized options: --disable-dependency-tracking + make ln -sf . cligen gcc -I. -I. -fPIC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wall -c cligen_gen.c gcc -I. -I. -fPIC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wall -c cligen_handle.c gcc -I. -I. -fPIC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wall -c cligen_var.c gcc -I. -I. -fPIC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wall -c cligen_match.c gcc -I. -I. -fPIC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wall -c cligen_read.c gcc -I. -I. -fPIC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wall -c cligen_io.c gcc -I. -I. -fPIC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wall -c cligen_expand.c gcc -I. -I. -fPIC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wall -c cligen_syntax.c gcc -I. -I. -fPIC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wall -c cligen_print.c gcc -I. -I. -fPIC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wall -c cligen_cvec.c gcc -I. -I. -fPIC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wall -c cligen_buf.c gcc -I. -I. -fPIC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wall -c cligen_util.c gcc -I. -I. -fPIC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wall -c getline.c echo "/* This file is generated from the CLIgen Makefile */" > build.c; date +"const char CLIGEN_BUILDSTR[64]=\"%Y.%m.%d %H:%M by `whoami` on `hostname`"\"\; >> build.c; /bin/sh: hostname: command not found echo "const char CLIGEN_VERSION[64]=\"3.5.0\""\; >> build.c; gcc -I. -I. -fPIC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wall -c build.c bison -y -l -d -p cligen_parse cligen_parse.y # -t is debug mv y.tab.c cligen_parse.tab.c mv y.tab.h cligen_parse.tab.h flex -Pcligen_parse cligen_parse.l # -d is debug gcc -I. -I. -DYY_NO_INPUT -fPIC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wall -c lex.cligen_parse.c gcc -I. -I. -fPIC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wall -c cligen_parse.tab.c gcc -shared -o libcligen.so.3.5 cligen_gen.o cligen_handle.o cligen_var.o cligen_match.o cligen_read.o cligen_io.o cligen_expand.o cligen_syntax.o cligen_print.o cligen_cvec.o cligen_buf.o cligen_util.o getline.o build.o lex.cligen_parse.o cligen_parse.tab.o -Wl,-soname=libcligen.so.3.5 -lm -L. gcc -fPIC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wall -I. -I. cligen_hello.c -lm -L. -o cligen_hello -l:libcligen.so.3.5 gcc -fPIC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wall -I. -I. cligen_file.c -lm -L. -o cligen_file -l:libcligen.so.3.5 gcc -fPIC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wall -I. -I. cligen_tutorial.c -lm -L. -o cligen_tutorial -l:libcligen.so.3.5 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.DHQiFI + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/cligen-3.5.0-1.el7.centos.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/cligen-3.5.0-1.el7.centos.x86_64 ++ dirname /builddir/build/BUILDROOT/cligen-3.5.0-1.el7.centos.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/cligen-3.5.0-1.el7.centos.x86_64 + cd cligen-a4c706214191f1231adde21a84fe03c045bd02d5 + make install DESTDIR=/builddir/build/BUILDROOT/cligen-3.5.0-1.el7.centos.x86_64 echo "/* This file is generated from the CLIgen Makefile */" > build.c; date +"const char CLIGEN_BUILDSTR[64]=\"%Y.%m.%d %H:%M by `whoami` on `hostname`"\"\; >> build.c; /bin/sh: hostname: command not found echo "const char CLIGEN_VERSION[64]=\"3.5.0\""\; >> build.c; gcc -I. -I. -fPIC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wall -c build.c gcc -shared -o libcligen.so.3.5 cligen_gen.o cligen_handle.o cligen_var.o cligen_match.o cligen_read.o cligen_io.o cligen_expand.o cligen_syntax.o cligen_print.o cligen_cvec.o cligen_buf.o cligen_util.o getline.o build.o lex.cligen_parse.o cligen_parse.tab.o -Wl,-soname=libcligen.so.3.5 -lm -L. install -m 755 -d /builddir/build/BUILDROOT/cligen-3.5.0-1.el7.centos.x86_64/usr/lib64 install -m 755 libcligen.so.3.5 /builddir/build/BUILDROOT/cligen-3.5.0-1.el7.centos.x86_64/usr/lib64 ln -sf libcligen.so.3.5 /builddir/build/BUILDROOT/cligen-3.5.0-1.el7.centos.x86_64/usr/lib64/libcligen.so.3 # -l:libcligen.so.3 ln -sf libcligen.so.3 /builddir/build/BUILDROOT/cligen-3.5.0-1.el7.centos.x86_64/usr/lib64/libcligen.so # -l:libcligen.so install -d /builddir/build/BUILDROOT/cligen-3.5.0-1.el7.centos.x86_64/usr/include/cligen install -m 644 cligen_var.h cligen_cvec.h cligen_gen.h cligen_handle.h cligen_print.h cligen_read.h cligen_io.h cligen_expand.h cligen_syntax.h cligen_buf.h cligen_util.h cligen.h /builddir/build/BUILDROOT/cligen-3.5.0-1.el7.centos.x86_64/usr/include/cligen + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 /builddir/build/BUILD/cligen-a4c706214191f1231adde21a84fe03c045bd02d5 extracting debug info from /builddir/build/BUILDROOT/cligen-3.5.0-1.el7.centos.x86_64/usr/lib64/libcligen.so.3.5 dwz: Too few files for multifile optimization /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. symlinked /usr/lib/debug/usr/lib64/libcligen.so.3.5.debug to /usr/lib/debug/usr/lib64/libcligen.so.debug symlinked /usr/lib/debug/usr/lib64/libcligen.so.3.5.debug to /usr/lib/debug/usr/lib64/libcligen.so.3.debug 871 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 Processing files: cligen-3.5.0-1.el7.centos.x86_64 Provides: cligen = 3.5.0-1.el7.centos cligen(x86-64) = 3.5.0-1.el7.centos libcligen.so.3.5()(64bit) 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 Requires(postun): /bin/sh Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.15)(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) libc.so.6(GLIBC_2.7)(64bit) libcligen.so.3.5()(64bit) libm.so.6()(64bit) rtld(GNU_HASH) Processing files: cligen-debuginfo-3.5.0-1.el7.centos.x86_64 Provides: cligen-debuginfo = 3.5.0-1.el7.centos cligen-debuginfo(x86-64) = 3.5.0-1.el7.centos 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/cligen-3.5.0-1.el7.centos.x86_64 warning: Could not canonicalize hostname: 500f18d0ed684f47bb0866bb15eeb35a Wrote: /builddir/build/RPMS/cligen-3.5.0-1.el7.centos.x86_64.rpm Wrote: /builddir/build/RPMS/cligen-debuginfo-3.5.0-1.el7.centos.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.rFXQew + umask 022 + cd /builddir/build/BUILD + cd cligen-a4c706214191f1231adde21a84fe03c045bd02d5 + /usr/bin/rm -rf /builddir/build/BUILDROOT/cligen-3.5.0-1.el7.centos.x86_64 + exit 0 Child return code was: 0