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/whois.spec'], chrootPath='/var/lib/mock/dist-oc9-build-45517-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/whois.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/whois-5.5.12-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/whois.spec'], chrootPath='/var/lib/mock/dist-oc9-build-45517-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/whois.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.Np9w7Q + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf whois-5.5.12 + /usr/bin/gzip -dc /builddir/build/SOURCES/whois-5.5.12.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd whois-5.5.12 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.djGcY0 + umask 022 + cd /builddir/build/BUILD + cd whois-5.5.12 + /usr/bin/make -O -j32 V=1 VERBOSE=1 CONFIG_FILE=/etc/whois.conf HAVE_ICONV=1 'CFLAGS=-O2 -g' 'LDFLAGS=%{__global_ldflags}' 'INSTALL=install -p' cc -DCONFIG_FILE=\"/etc/whois.conf\" -DHAVE_LIBIDN2 -DHAVE_ICONV -DHAVE_CRYPT_H -DHAVE_LINUX_CRYPT_GENSALT -O2 -g -MM -MG *.c > Makefile.depend perl make_ip_del.pl < ip_del_list > ip_del.h perl make_ip6_del.pl < ip6_del_list > ip6_del.h perl make_as_del.pl < as_del_list > as_del.h perl make_as32_del.pl < as32_del_list > as32_del.h perl make_new_gtlds.pl < new_gtlds_list > new_gtlds.h perl make_tld_serv.pl < tld_serv_list > tld_serv.h perl make_nic_handles.pl < nic_handles_list > nic_handles.h perl make_servers_charset.pl < servers_charset_list > servers_charset.h perl make_version_h.pl debian/changelog > version.h cd po && /usr/bin/make make[1]: Entering directory '/builddir/build/BUILD/whois-5.5.12/po' msgfmt --statistics --check --verbose --output-file=cs.mo cs.po make[1]: Leaving directory '/builddir/build/BUILD/whois-5.5.12/po' cs.po: 39 translated messages, 1 fuzzy translation. make[1]: Entering directory '/builddir/build/BUILD/whois-5.5.12/po' msgfmt --statistics --check --verbose --output-file=da.mo da.po make[1]: Leaving directory '/builddir/build/BUILD/whois-5.5.12/po' da.po: 39 translated messages, 1 fuzzy translation. de.po: 40 translated messages. el.po: 21 translated messages, 18 fuzzy translations, 1 untranslated message. make[1]: Entering directory '/builddir/build/BUILD/whois-5.5.12/po' msgfmt --statistics --check --verbose --output-file=de.mo de.po make[1]: Leaving directory '/builddir/build/BUILD/whois-5.5.12/po' make[1]: Entering directory '/builddir/build/BUILD/whois-5.5.12/po' msgfmt --statistics --check --verbose --output-file=el.mo el.po make[1]: Leaving directory '/builddir/build/BUILD/whois-5.5.12/po' make[1]: Entering directory '/builddir/build/BUILD/whois-5.5.12/po' msgfmt --statistics --check --verbose --output-file=es.mo es.po make[1]: Leaving directory '/builddir/build/BUILD/whois-5.5.12/po' make[1]: Entering directory '/builddir/build/BUILD/whois-5.5.12/po' msgfmt --statistics --check --verbose --output-file=eu.mo eu.po make[1]: Leaving directory '/builddir/build/BUILD/whois-5.5.12/po' es.po: 39 translated messages, 1 fuzzy translation. eu.po: 18 translated messages, 21 fuzzy translations, 1 untranslated message. fi.po: 39 translated messages, 1 fuzzy translation. make[1]: Entering directory '/builddir/build/BUILD/whois-5.5.12/po' msgfmt --statistics --check --verbose --output-file=fi.mo fi.po make[1]: Leaving directory '/builddir/build/BUILD/whois-5.5.12/po' make[1]: Entering directory '/builddir/build/BUILD/whois-5.5.12/po' msgfmt --statistics --check --verbose --output-file=it.mo it.po make[1]: Leaving directory '/builddir/build/BUILD/whois-5.5.12/po' it.po: 40 translated messages. make[1]: Entering directory '/builddir/build/BUILD/whois-5.5.12/po' msgfmt --statistics --check --verbose --output-file=fr.mo fr.po make[1]: Leaving directory '/builddir/build/BUILD/whois-5.5.12/po' fr.po: 39 translated messages, 1 fuzzy translation. ja.po: 21 translated messages, 17 fuzzy translations, 2 untranslated messages. make[1]: Entering directory '/builddir/build/BUILD/whois-5.5.12/po' msgfmt --statistics --check --verbose --output-file=ja.mo ja.po make[1]: Leaving directory '/builddir/build/BUILD/whois-5.5.12/po' make[1]: Entering directory '/builddir/build/BUILD/whois-5.5.12/po' msgfmt --statistics --check --verbose --output-file=pl.mo pl.po make[1]: Leaving directory '/builddir/build/BUILD/whois-5.5.12/po' pl.po: 39 translated messages, 1 fuzzy translation. make[1]: Entering directory '/builddir/build/BUILD/whois-5.5.12/po' msgfmt --statistics --check --verbose --output-file=pt_BR.mo pt_BR.po make[1]: Leaving directory '/builddir/build/BUILD/whois-5.5.12/po' pt_BR.po: 39 translated messages, 1 fuzzy translation. make[1]: Entering directory '/builddir/build/BUILD/whois-5.5.12/po' xgettext --default-domain=whois \ --add-comments --keyword=_ --keyword=N_ ../whois.c ../mkpasswd.c if cmp -s whois.po whois.pot; then \ rm -f whois.po; \ else \ mv whois.po whois.pot; \ fi make[1]: Leaving directory '/builddir/build/BUILD/whois-5.5.12/po' make[1]: Entering directory '/builddir/build/BUILD/whois-5.5.12/po' msgfmt --statistics --check --verbose --output-file=zh_CN.mo zh_CN.po make[1]: Leaving directory '/builddir/build/BUILD/whois-5.5.12/po' make[1]: Entering directory '/builddir/build/BUILD/whois-5.5.12/po' msgfmt --statistics --check --verbose --output-file=ru.mo ru.po make[1]: Leaving directory '/builddir/build/BUILD/whois-5.5.12/po' zh_CN.po: 36 translated messages, 4 fuzzy translations. ru.po: 39 translated messages, 1 fuzzy translation. cc -DCONFIG_FILE=\"/etc/whois.conf\" -DHAVE_LIBIDN2 -DHAVE_ICONV -DHAVE_CRYPT_H -DHAVE_LINUX_CRYPT_GENSALT -O2 -g -c utils.c cc -DCONFIG_FILE=\"/etc/whois.conf\" -DHAVE_LIBIDN2 -DHAVE_ICONV -DHAVE_CRYPT_H -DHAVE_LINUX_CRYPT_GENSALT -O2 -g -c simple_recode.c cc -DCONFIG_FILE=\"/etc/whois.conf\" -DHAVE_LIBIDN2 -DHAVE_ICONV -DHAVE_CRYPT_H -DHAVE_LINUX_CRYPT_GENSALT -O2 -g -c mkpasswd.c cc -O2 -g %{__global_ldflags} -o mkpasswd mkpasswd.o utils.o -lcrypt /usr/bin/ld: cannot find %{__global_ldflags}: No such file or directory collect2: error: ld returned 1 exit status make: *** [Makefile:85: mkpasswd] Error 1 make: *** Waiting for unfinished jobs.... cc -DCONFIG_FILE=\"/etc/whois.conf\" -DHAVE_LIBIDN2 -DHAVE_ICONV -DHAVE_CRYPT_H -DHAVE_LINUX_CRYPT_GENSALT -O2 -g -c whois.c error: Bad exit status from /var/tmp/rpm-tmp.djGcY0 (%build) Bad exit status from /var/tmp/rpm-tmp.djGcY0 (%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/whois.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/whois.spec