Mock Version: 1.4.9 Mock Version: 1.4.9 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/lookup.spec'], chrootPath='/var/lib/mock/f29-build-30749-16551/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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}shell=Falselogger=timeout=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/lookup.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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False Building target platforms: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/lookup-2.1-8.fc29.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/lookup.spec'], chrootPath='/var/lib/mock/f29-build-30749-16551/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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}shell=Falselogger=timeout=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/lookup.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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False Building target platforms: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.anthZd + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf lookup-2.1 + /usr/bin/tar -xof - + /usr/bin/gzip -dc /builddir/build/SOURCES/lookup-2.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd lookup-2.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (lookup-1.11.p2-dont-double-install.patch):' Patch #0 (lookup-1.11.p2-dont-double-install.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/src.pro Hunk #1 succeeded at 43 (offset 13 lines). + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.k34bO9 + umask 022 + cd /builddir/build/BUILD + cd lookup-2.1 + /usr/lib64/qt4/bin/qmake 'QMAKE_CFLAGS_DEBUG=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' 'QMAKE_CFLAGS_RELEASE=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' 'QMAKE_CXXFLAGS_DEBUG=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' 'QMAKE_CXXFLAGS_RELEASE=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' 'QMAKE_LFLAGS_DEBUG=-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' 'QMAKE_LFLAGS_RELEASE=-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' QMAKE_STRIP= PREFIX=/usr + make -j4 cd src/ && /usr/lib64/qt4/bin/qmake /builddir/build/BUILD/lookup-2.1/src/src.pro QMAKE_CFLAGS_DEBUG=-O2\ -g\ -pipe\ -Wall\ -Werror=format-security\ -Wp,-D_FORTIFY_SOURCE=2\ -Wp,-D_GLIBCXX_ASSERTIONS\ -fexceptions\ -fstack-protector-strong\ -grecord-gcc-switches\ -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1\ -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1\ -fasynchronous-unwind-tables\ -fstack-clash-protection QMAKE_CFLAGS_RELEASE=-O2\ -g\ -pipe\ -Wall\ -Werror=format-security\ -Wp,-D_FORTIFY_SOURCE=2\ -Wp,-D_GLIBCXX_ASSERTIONS\ -fexceptions\ -fstack-protector-strong\ -grecord-gcc-switches\ -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1\ -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1\ -fasynchronous-unwind-tables\ -fstack-clash-protection QMAKE_CXXFLAGS_DEBUG=-O2\ -g\ -pipe\ -Wall\ -Werror=format-security\ -Wp,-D_FORTIFY_SOURCE=2\ -Wp,-D_GLIBCXX_ASSERTIONS\ -fexceptions\ -fstack-protector-strong\ -grecord-gcc-switches\ -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1\ -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1\ -fasynchronous-unwind-tables\ -fstack-clash-protection QMAKE_CXXFLAGS_RELEASE=-O2\ -g\ -pipe\ -Wall\ -Werror=format-security\ -Wp,-D_FORTIFY_SOURCE=2\ -Wp,-D_GLIBCXX_ASSERTIONS\ -fexceptions\ -fstack-protector-strong\ -grecord-gcc-switches\ -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1\ -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1\ -fasynchronous-unwind-tables\ -fstack-clash-protection QMAKE_LFLAGS_DEBUG=-Wl,-z,relro\ \ \ -Wl,-z,now\ -specs=/usr/lib/rpm/redhat/redhat-hardened-ld QMAKE_LFLAGS_RELEASE=-Wl,-z,relro\ \ \ -Wl,-z,now\ -specs=/usr/lib/rpm/redhat/redhat-hardened-ld QMAKE_STRIP= PREFIX=/usr -o Makefile BUILDSTDERR: WARNING: icon64.path is not defined: install target not created cd src/ && make -f Makefile make[1]: Entering directory '/builddir/build/BUILD/lookup-2.1/src' g++ -c -pipe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -W -D_REENTRANT -DDATADIR=\"/usr/share\" -DPKGDATADIR=\"\" -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/lib64/qt4/mkspecs/linux-g++ -I. -I/usr/include/QtCore -I/usr/include/QtNetwork -I/usr/include/QtGui -I/usr/include -I../../../include -I/home/hardaker/src/dnssec/dnssec-tools.git/dnssec-tools/validator/include -Ibuild -o build/qtmain.o qtmain.cpp g++ -c -pipe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -W -D_REENTRANT -DDATADIR=\"/usr/share\" -DPKGDATADIR=\"\" -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/lib64/qt4/mkspecs/linux-g++ -I. -I/usr/include/QtCore -I/usr/include/QtNetwork -I/usr/include/QtGui -I/usr/include -I../../../include -I/home/hardaker/src/dnssec/dnssec-tools.git/dnssec-tools/validator/include -Ibuild -o build/lookup.o lookup.cpp g++ -c -pipe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -W -D_REENTRANT -DDATADIR=\"/usr/share\" -DPKGDATADIR=\"\" -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/lib64/qt4/mkspecs/linux-g++ -I. -I/usr/include/QtCore -I/usr/include/QtNetwork -I/usr/include/QtGui -I/usr/include -I../../../include -I/home/hardaker/src/dnssec/dnssec-tools.git/dnssec-tools/validator/include -Ibuild -o build/QDNSItemModel.o QDNSItemModel.cpp g++ -c -pipe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -W -D_REENTRANT -DDATADIR=\"/usr/share\" -DPKGDATADIR=\"\" -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/lib64/qt4/mkspecs/linux-g++ -I. -I/usr/include/QtCore -I/usr/include/QtNetwork -I/usr/include/QtGui -I/usr/include -I../../../include -I/home/hardaker/src/dnssec/dnssec-tools.git/dnssec-tools/validator/include -Ibuild -o build/LookupPrefs.o LookupPrefs.cpp /usr/lib64/qt4/bin/moc -DDATADIR=\"/usr/share\" -DPKGDATADIR=\"\" -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/lib64/qt4/mkspecs/linux-g++ -I. -I/usr/include/QtCore -I/usr/include/QtNetwork -I/usr/include/QtGui -I/usr/include -I../../../include -I/home/hardaker/src/dnssec/dnssec-tools.git/dnssec-tools/validator/include -Ibuild lookup.h -o build/moc_lookup.cpp /usr/lib64/qt4/bin/moc -DDATADIR=\"/usr/share\" -DPKGDATADIR=\"\" -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/lib64/qt4/mkspecs/linux-g++ -I. -I/usr/include/QtCore -I/usr/include/QtNetwork -I/usr/include/QtGui -I/usr/include -I../../../include -I/home/hardaker/src/dnssec/dnssec-tools.git/dnssec-tools/validator/include -Ibuild QDNSItemModel.h -o build/moc_QDNSItemModel.cpp /usr/lib64/qt4/bin/moc -DDATADIR=\"/usr/share\" -DPKGDATADIR=\"\" -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/lib64/qt4/mkspecs/linux-g++ -I. -I/usr/include/QtCore -I/usr/include/QtNetwork -I/usr/include/QtGui -I/usr/include -I../../../include -I/home/hardaker/src/dnssec/dnssec-tools.git/dnssec-tools/validator/include -Ibuild LookupPrefs.h -o build/moc_LookupPrefs.cpp /usr/lib64/qt4/bin/rcc -name lookup lookup.qrc -o qrc_lookup.cpp g++ -c -pipe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -W -D_REENTRANT -DDATADIR=\"/usr/share\" -DPKGDATADIR=\"\" -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/lib64/qt4/mkspecs/linux-g++ -I. -I/usr/include/QtCore -I/usr/include/QtNetwork -I/usr/include/QtGui -I/usr/include -I../../../include -I/home/hardaker/src/dnssec/dnssec-tools.git/dnssec-tools/validator/include -Ibuild -o build/moc_lookup.o build/moc_lookup.cpp g++ -c -pipe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -W -D_REENTRANT -DDATADIR=\"/usr/share\" -DPKGDATADIR=\"\" -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/lib64/qt4/mkspecs/linux-g++ -I. -I/usr/include/QtCore -I/usr/include/QtNetwork -I/usr/include/QtGui -I/usr/include -I../../../include -I/home/hardaker/src/dnssec/dnssec-tools.git/dnssec-tools/validator/include -Ibuild -o build/moc_QDNSItemModel.o build/moc_QDNSItemModel.cpp BUILDSTDERR: lookup.cpp: In member function 'void Lookup::createMenus()': BUILDSTDERR: lookup.cpp:234:14: warning: unused variable 'results' [-Wunused-variable] BUILDSTDERR: QAction *results; BUILDSTDERR: ^~~~~~~ BUILDSTDERR: lookup.cpp:235:14: warning: unused variable 'submitResults' [-Wunused-variable] BUILDSTDERR: QAction *submitResults; BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: lookup.cpp: In member function 'void Lookup::dolookup()': BUILDSTDERR: lookup.cpp:327:25: warning: variable 'id' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int id, qdcount, ancount, nscount, arcount; BUILDSTDERR: ^~ BUILDSTDERR: lookup.cpp:327:29: warning: variable 'qdcount' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int id, qdcount, ancount, nscount, arcount; BUILDSTDERR: ^~~~~~~ BUILDSTDERR: lookup.cpp:327:38: warning: variable 'ancount' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int id, qdcount, ancount, nscount, arcount; BUILDSTDERR: ^~~~~~~ BUILDSTDERR: lookup.cpp:327:47: warning: variable 'nscount' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int id, qdcount, ancount, nscount, arcount; BUILDSTDERR: ^~~~~~~ BUILDSTDERR: lookup.cpp:327:56: warning: variable 'arcount' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int id, qdcount, ancount, nscount, arcount; BUILDSTDERR: ^~~~~~~ g++ -c -pipe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -W -D_REENTRANT -DDATADIR=\"/usr/share\" -DPKGDATADIR=\"\" -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/lib64/qt4/mkspecs/linux-g++ -I. -I/usr/include/QtCore -I/usr/include/QtNetwork -I/usr/include/QtGui -I/usr/include -I../../../include -I/home/hardaker/src/dnssec/dnssec-tools.git/dnssec-tools/validator/include -Ibuild -o build/moc_LookupPrefs.o build/moc_LookupPrefs.cpp g++ -c -pipe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -W -D_REENTRANT -DDATADIR=\"/usr/share\" -DPKGDATADIR=\"\" -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/lib64/qt4/mkspecs/linux-g++ -I. -I/usr/include/QtCore -I/usr/include/QtNetwork -I/usr/include/QtGui -I/usr/include -I../../../include -I/home/hardaker/src/dnssec/dnssec-tools.git/dnssec-tools/validator/include -Ibuild -o build/qrc_lookup.o qrc_lookup.cpp g++ -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o build/lookup build/qtmain.o build/lookup.o build/QDNSItemModel.o build/LookupPrefs.o build/moc_lookup.o build/moc_QDNSItemModel.o build/moc_LookupPrefs.o build/qrc_lookup.o -L/usr/lib64 -lval-threads -lsres -lnsl -lssl -lcrypto -lQtGui -lQtNetwork -lQtCore -lpthread BUILDSTDERR: /usr/bin/ld: cannot find -lnsl BUILDSTDERR: collect2: error: ld returned 1 exit status BUILDSTDERR: make[1]: *** [Makefile:115: build/lookup] Error 1 make[1]: Leaving directory '/builddir/build/BUILD/lookup-2.1/src' BUILDSTDERR: make: *** [Makefile:39: sub-src-make_default] Error 2 RPM build errors: BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.k34bO9 (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.k34bO9 (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 96, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 626, in do 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 --target riscv64 --nodeps /builddir/build/SPECS/lookup.spec