Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/unibilium.spec'], chrootPath='/var/lib/mock/dist-oc9-build-45391-14591/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=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/unibilium.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: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/unibilium-2.1.1-3.oc9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/unibilium.spec'], chrootPath='/var/lib/mock/dist-oc9-build-45391-14591/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=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/unibilium.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: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.IQ7wur + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf unibilium-2.1.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/unibilium-2.1.1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd unibilium-2.1.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo '#!/bin/sh' + chmod +x ./configure + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.OzNYUU + umask 022 + cd /builddir/build/BUILD + cd unibilium-2.1.1 + CFLAGS='-O2 -g' + export CFLAGS + CXXFLAGS='-O2 -g' + export CXXFLAGS + FFLAGS='-O2 -g ' + export FFLAGS + FCFLAGS='-O2 -g ' + export FCFLAGS + LDFLAGS= + export LDFLAGS + ./configure --host=x86_64-opencloudos-linux-gnu --build=x86_64-opencloudos-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 + /usr/bin/make -O -j32 V=1 VERBOSE=1 PREFIX=/usr LIBDIR=/usr/lib64 pod2man -c "unibilium" -s3 -r "unibilium-2.1.1" doc/unibi_add_ext_bool.pod | gzip > man/unibi_add_ext_bool.3.gz pod2man -c "unibilium" -s3 -r "unibilium-2.1.1" doc/unibi_count_ext_bool.pod | gzip > man/unibi_count_ext_bool.3.gz pod2man -c "unibilium" -s3 -r "unibilium-2.1.1" doc/unibi_add_ext_num.pod | gzip > man/unibi_add_ext_num.3.gz pod2man -c "unibilium" -s3 -r "unibilium-2.1.1" doc/unibi_count_ext_num.pod | gzip > man/unibi_count_ext_num.3.gz pod2man -c "unibilium" -s3 -r "unibilium-2.1.1" doc/unibi_add_ext_str.pod | gzip > man/unibi_add_ext_str.3.gz pod2man -c "unibilium" -s3 -r "unibilium-2.1.1" doc/unibi_count_ext_str.pod | gzip > man/unibi_count_ext_str.3.gz pod2man -c "unibilium" -s3 -r "unibilium-2.1.1" doc/unibi_destroy.pod | gzip > man/unibi_destroy.3.gz pod2man -c "unibilium" -s3 -r "unibilium-2.1.1" doc/unibi_del_ext_bool.pod | gzip > man/unibi_del_ext_bool.3.gz pod2man -c "unibilium" -s3 -r "unibilium-2.1.1" doc/unibi_dump.pod | gzip > man/unibi_dump.3.gz pod2man -c "unibilium" -s3 -r "unibilium-2.1.1" doc/unibi_dummy.pod | gzip > man/unibi_dummy.3.gz pod2man -c "unibilium" -s3 -r "unibilium-2.1.1" doc/unibi_from_fd.pod | gzip > man/unibi_from_fd.3.gz pod2man -c "unibilium" -s3 -r "unibilium-2.1.1" doc/unibi_from_term.pod | gzip > man/unibi_from_term.3.gz pod2man -c "unibilium" -s3 -r "unibilium-2.1.1" doc/unibi_from_file.pod | gzip > man/unibi_from_file.3.gz pod2man -c "unibilium" -s3 -r "unibilium-2.1.1" doc/unibi_format.pod | gzip > man/unibi_format.3.gz pod2man -c "unibilium" -s3 -r "unibilium-2.1.1" doc/unibi_from_env.pod | gzip > man/unibi_from_env.3.gz pod2man -c "unibilium" -s3 -r "unibilium-2.1.1" doc/unibi_from_fp.pod | gzip > man/unibi_from_fp.3.gz pod2man -c "unibilium" -s3 -r "unibilium-2.1.1" doc/unibi_get_ext_bool.pod | gzip > man/unibi_get_ext_bool.3.gz pod2man -c "unibilium" -s3 -r "unibilium-2.1.1" doc/unibi_from_mem.pod | gzip > man/unibi_from_mem.3.gz pod2man -c "unibilium" -s3 -r "unibilium-2.1.1" doc/unibi_get_aliases.pod | gzip > man/unibi_get_aliases.3.gz pod2man -c "unibilium" -s3 -r "unibilium-2.1.1" doc/unibi_get_bool.pod | gzip > man/unibi_get_bool.3.gz pod2man -c "unibilium" -s3 -r "unibilium-2.1.1" doc/unibi_get_ext_bool_name.pod | gzip > man/unibi_get_ext_bool_name.3.gz pod2man -c "unibilium" -s3 -r "unibilium-2.1.1" doc/unibi_get_ext_num.pod | gzip > man/unibi_get_ext_num.3.gz pod2man -c "unibilium" -s3 -r "unibilium-2.1.1" doc/unibi_get_ext_num_name.pod | gzip > man/unibi_get_ext_num_name.3.gz pod2man -c "unibilium" -s3 -r "unibilium-2.1.1" doc/unibi_get_str.pod | gzip > man/unibi_get_str.3.gz pod2man -c "unibilium" -s3 -r "unibilium-2.1.1" doc/unibi_get_num.pod | gzip > man/unibi_get_num.3.gz pod2man -c "unibilium" -s3 -r "unibilium-2.1.1" doc/unibi_get_ext_str.pod | gzip > man/unibi_get_ext_str.3.gz pod2man -c "unibilium" -s3 -r "unibilium-2.1.1" doc/unibi_get_name.pod | gzip > man/unibi_get_name.3.gz pod2man -c "unibilium" -s3 -r "unibilium-2.1.1" doc/unibi_int_from_var.pod | gzip > man/unibi_int_from_var.3.gz pod2man -c "unibilium" -s3 -r "unibilium-2.1.1" doc/unibi_get_ext_str_name.pod | gzip > man/unibi_get_ext_str_name.3.gz pod2man -c "unibilium" -s3 -r "unibilium-2.1.1" doc/unibi_name_str.pod | gzip > man/unibi_name_str.3.gz pod2man -c "unibilium" -s3 -r "unibilium-2.1.1" doc/unibi_run.pod | gzip > man/unibi_run.3.gz pod2man -c "unibilium" -s3 -r "unibilium-2.1.1" doc/unibi_set_ext_bool_name.pod | gzip > man/unibi_set_ext_bool_name.3.gz pod2man -c "unibilium" -s3 -r "unibilium-2.1.1" doc/unibi_name_num.pod | gzip > man/unibi_name_num.3.gz pod2man -c "unibilium" -s3 -r "unibilium-2.1.1" doc/unibi_name_bool.pod | gzip > man/unibi_name_bool.3.gz pod2man -c "unibilium" -s3 -r "unibilium-2.1.1" doc/unibi_num_from_var.pod | gzip > man/unibi_num_from_var.3.gz pod2man -c "unibilium" -s3 -r "unibilium-2.1.1" doc/unibi_set_aliases.pod | gzip > man/unibi_set_aliases.3.gz pod2man -c "unibilium" -s3 -r "unibilium-2.1.1" doc/unibi_set_bool.pod | gzip > man/unibi_set_bool.3.gz pod2man -c "unibilium" -s3 -r "unibilium-2.1.1" doc/unibi_set_ext_bool.pod | gzip > man/unibi_set_ext_bool.3.gz pod2man -c "unibilium" -s3 -r "unibilium-2.1.1" doc/unibi_set_ext_num.pod | gzip > man/unibi_set_ext_num.3.gz pod2man -c "unibilium" -s3 -r "unibilium-2.1.1" doc/unibi_set_name.pod | gzip > man/unibi_set_name.3.gz pod2man -c "unibilium" -s3 -r "unibilium-2.1.1" doc/unibi_set_ext_num_name.pod | gzip > man/unibi_set_ext_num_name.3.gz pod2man -c "unibilium" -s3 -r "unibilium-2.1.1" doc/unibi_set_ext_str.pod | gzip > man/unibi_set_ext_str.3.gz pod2man -c "unibilium" -s3 -r "unibilium-2.1.1" doc/unibi_set_str.pod | gzip > man/unibi_set_str.3.gz pod2man -c "unibilium" -s3 -r "unibilium-2.1.1" doc/unibi_set_ext_str_name.pod | gzip > man/unibi_set_ext_str_name.3.gz pod2man -c "unibilium" -s3 -r "unibilium-2.1.1" doc/unibi_set_num.pod | gzip > man/unibi_set_num.3.gz libtool --mode=compile --tag=CC cc -I. -Wall -std=c99 -O2 -g -o uninames.lo -c uninames.c libtool: compile: cc -I. -Wall -std=c99 -O2 -g -c uninames.c -fPIC -DPIC -o .libs/uninames.o libtool: compile: cc -I. -Wall -std=c99 -O2 -g -c uninames.c -o uninames.o >/dev/null 2>&1 pod2man -c "unibilium" -s3 -r "unibilium-2.1.1" doc/unibi_short_name_str.pod | gzip > man/unibi_short_name_str.3.gz pod2man -c "unibilium" -s3 -r "unibilium-2.1.1" doc/unibi_short_name_num.pod | gzip > man/unibi_short_name_num.3.gz pod2man -c "unibilium" -s3 -r "unibilium-2.1.1" doc/unibi_short_name_bool.pod | gzip > man/unibi_short_name_bool.3.gz pod2man -c "unibilium" -s3 -r "unibilium-2.1.1" doc/unibi_str_from_var.pod | gzip > man/unibi_str_from_var.3.gz pod2man -c "unibilium" -s3 -r "unibilium-2.1.1" doc/unibi_var_from_num.pod | gzip > man/unibi_var_from_num.3.gz pod2man -c "unibilium" -s3 -r "unibilium-2.1.1" doc/unibi_terminfo_dirs.pod | gzip > man/unibi_terminfo_dirs.3.gz pod2man -c "unibilium" -s3 -r "unibilium-2.1.1" doc/unibi_var_from_str.pod | gzip > man/unibi_var_from_str.3.gz libtool --mode=compile --tag=CC cc -I. -DTERMINFO_DIRS='"/etc/terminfo:/lib/terminfo:/usr/share/terminfo:/usr/lib/terminfo:/usr/local/share/terminfo:/usr/local/lib/terminfo"' -Wall -std=c99 -O2 -g -o uniutil.lo -c uniutil.c libtool: compile: cc -I. -DTERMINFO_DIRS=\"/etc/terminfo:/lib/terminfo:/usr/share/terminfo:/usr/lib/terminfo:/usr/local/share/terminfo:/usr/local/lib/terminfo\" -Wall -std=c99 -O2 -g -c uniutil.c -fPIC -DPIC -o .libs/uniutil.o libtool: compile: cc -I. -DTERMINFO_DIRS=\"/etc/terminfo:/lib/terminfo:/usr/share/terminfo:/usr/lib/terminfo:/usr/local/share/terminfo:/usr/local/lib/terminfo\" -Wall -std=c99 -O2 -g -c uniutil.c -o uniutil.o >/dev/null 2>&1 libtool --mode=compile --tag=CC cc -I. -Wall -std=c99 -O2 -g -o t/00_load.lo -c t/00_load.c libtool: compile: cc -I. -Wall -std=c99 -O2 -g -c t/00_load.c -fPIC -DPIC -o t/.libs/00_load.o libtool: compile: cc -I. -Wall -std=c99 -O2 -g -c t/00_load.c -o t/00_load.o >/dev/null 2>&1 pod2man -c "unibilium" -s3 -r "unibilium-2.1.1" doc/unibilium.h.pod | gzip > man/unibilium.h.3.gz libtool --mode=compile --tag=CC cc -I. -Wall -std=c99 -O2 -g -o tools/unibi-put.lo -c tools/unibi-put.c libtool: compile: cc -I. -Wall -std=c99 -O2 -g -c tools/unibi-put.c -fPIC -DPIC -o tools/.libs/unibi-put.o libtool: compile: cc -I. -Wall -std=c99 -O2 -g -c tools/unibi-put.c -o tools/unibi-put.o >/dev/null 2>&1 libtool --mode=compile --tag=CC cc -I. -Wall -std=c99 -O2 -g -o t/if-then-else.lo -c t/if-then-else.c libtool: compile: cc -I. -Wall -std=c99 -O2 -g -c t/if-then-else.c -fPIC -DPIC -o t/.libs/if-then-else.o libtool: compile: cc -I. -Wall -std=c99 -O2 -g -c t/if-then-else.c -o t/if-then-else.o >/dev/null 2>&1 libtool --mode=compile --tag=CC cc -I. -Wall -std=c99 -O2 -g -o t/wide-format.lo -c t/wide-format.c libtool: compile: cc -I. -Wall -std=c99 -O2 -g -c t/wide-format.c -fPIC -DPIC -o t/.libs/wide-format.o libtool: compile: cc -I. -Wall -std=c99 -O2 -g -c t/wide-format.c -o t/wide-format.o >/dev/null 2>&1 libtool --mode=compile --tag=CC cc -I. -Wall -std=c99 -O2 -g -o tools/unibi-dump.lo -c tools/unibi-dump.c libtool: compile: cc -I. -Wall -std=c99 -O2 -g -c tools/unibi-dump.c -fPIC -DPIC -o tools/.libs/unibi-dump.o libtool: compile: cc -I. -Wall -std=c99 -O2 -g -c tools/unibi-dump.c -o tools/unibi-dump.o >/dev/null 2>&1 libtool --mode=compile --tag=CC cc -I. -Wall -std=c99 -O2 -g -o tools/gen-static-test.lo -c tools/gen-static-test.c libtool: compile: cc -I. -Wall -std=c99 -O2 -g -c tools/gen-static-test.c -fPIC -DPIC -o tools/.libs/gen-static-test.o libtool: compile: cc -I. -Wall -std=c99 -O2 -g -c tools/gen-static-test.c -o tools/gen-static-test.o >/dev/null 2>&1 libtool --mode=compile --tag=CC cc -I. -Wall -std=c99 -O2 -g -o t/new-extended-format-static_screen.lo -c t/new-extended-format-static_screen.c libtool: compile: cc -I. -Wall -std=c99 -O2 -g -c t/new-extended-format-static_screen.c -fPIC -DPIC -o t/.libs/new-extended-format-static_screen.o libtool: compile: cc -I. -Wall -std=c99 -O2 -g -c t/new-extended-format-static_screen.c -o t/new-extended-format-static_screen.o >/dev/null 2>&1 libtool --mode=compile --tag=CC cc -I. -Wall -std=c99 -O2 -g -o unibilium.lo -c unibilium.c libtool: compile: cc -I. -Wall -std=c99 -O2 -g -c unibilium.c -fPIC -DPIC -o .libs/unibilium.o libtool: compile: cc -I. -Wall -std=c99 -O2 -g -c unibilium.c -o unibilium.o >/dev/null 2>&1 libtool --mode=link --tag=CC cc -rpath '/usr/lib64' -version-info 4:1:0 -o libunibilium.la unibilium.lo uninames.lo uniutil.lo libtool: link: gcc -shared -fPIC -DPIC .libs/unibilium.o .libs/uninames.o .libs/uniutil.o -Wl,-z,now -specs=/usr/lib/rpm/TencentOS/TencentOS-hardened-ld -Wl,-soname -Wl,libunibilium.so.4 -o .libs/libunibilium.so.4.0.1 gcc: fatal error: cannot read spec file '/usr/lib/rpm/TencentOS/TencentOS-hardened-ld': No such file or directory compilation terminated. make: *** [Makefile:75: libunibilium.la] Error 1 rm tools/unibi-put.lo t/if-then-else.lo tools/unibi-dump.lo t/wide-format.lo t/00_load.lo tools/gen-static-test.lo t/new-extended-format-static_screen.lo error: Bad exit status from /var/tmp/rpm-tmp.OzNYUU (%build) Bad exit status from /var/tmp/rpm-tmp.OzNYUU (%build) RPM build errors: Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/unibilium.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 597, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/unibilium.spec