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/esc.spec'], chrootPath='/var/lib/mock/f29-build-12028-5544/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=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/esc.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 BUILDSTDERR: warning: Macro expanded in comment on line 94: %define __prelink_undo_cmd %{nil} Building target platforms: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/esc-1.1.1-4.fc29.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/esc.spec'], chrootPath='/var/lib/mock/f29-build-12028-5544/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=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/esc.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 BUILDSTDERR: warning: Macro expanded in comment on line 94: %define __prelink_undo_cmd %{nil} Building target platforms: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.yguwic + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf esc-1.1.1 + /usr/bin/mkdir -p esc-1.1.1 + cd esc-1.1.1 + /usr/bin/bzip2 -dc /builddir/build/SOURCES/esc-1.1.1.tar.bz2 + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1 (esc-1.1.1-fix1.patch):' Patch #1 (esc-1.1.1-fix1.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .fix1 --fuzz=0 patching file esc/opensc.esc.conf patching file esc/src/app/daemon/manifest.mn patching file esc/src/app/xpcom/Makefile.sdk patching file esc/src/app/xul/esc/application.ini patching file esc/src/app/xul/esc/chrome/content/esc/advancedinfo.xul patching file esc/src/app/xul/esc/chrome/content/esc/config.xul patching file esc/src/app/xul/esc/chrome/content/esc/ESC.js patching file esc/src/app/xul/esc/chrome/content/esc/esc.xul patching file esc/src/app/xul/esc/chrome/content/esc/hiddenWindow.xul patching file esc/src/app/xul/esc/chrome/content/esc/security.xul patching file esc/src/app/xul/esc/chrome/content/esc/settings.xul patching file esc/src/lib/coolkey/cky_applet.c patching file esc/src/lib/coolkey/cky_applet.h patching file esc/src/lib/coolkey/cky_base.c patching file esc/src/lib/coolkey/cky_base.h patching file esc/src/lib/coolkey/cky_basei.h patching file esc/src/lib/coolkey/cky_card.c patching file esc/src/lib/coolkey/cky_card.h patching file esc/src/lib/coolkey/cky_factory.c patching file esc/src/lib/coolkey/cky_factory.h patching file esc/src/lib/coolkey/cky_list.h patching file esc/src/lib/coolkey/cky_list.i patching file esc/src/lib/coolkey/CoolKey.cpp patching file esc/src/lib/coolkey/CoolKeyHandler.cpp patching file esc/src/lib/coolkey/CoolKeyHandler.h patching file esc/src/lib/coolkey/CoolKey.h patching file esc/src/lib/coolkey/CoolKey_Message.cpp patching file esc/src/lib/coolkey/dynlink.c patching file esc/src/lib/coolkey/dynlink.h patching file esc/src/lib/coolkey/dynlink_mac.c patching file esc/src/lib/coolkey/dynlink_unix.c patching file esc/src/lib/coolkey/dynlink_win.c patching file esc/src/lib/coolkey/manifest.mn patching file esc/src/lib/coolkey/NSSManager.cpp patching file esc/src/lib/coolkey/NSSManager.h patching file esc/src/lib/coolkey/SmartCardMonitoringThread.cpp patching file esc/src/lib/NssHttpClient/manifest.mn + echo 'Patch #2 (esc-1.1.1-fix2.patch):' Patch #2 (esc-1.1.1-fix2.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .fix2 --fuzz=0 patching file esc/src/xulrunner/xulrunner-mozconfig Patch #3 (esc-1.1.1-fix3.patch): + echo 'Patch #3 (esc-1.1.1-fix3.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .fix3 --fuzz=0 patching file esc/src/xulrunner/xulrunner-45.9.0/firefox-45.9.0esr/xpcom/io/nsLocalFileUnix.cpp Patch #4 (esc-1.1.1-fix4.patch): + echo 'Patch #4 (esc-1.1.1-fix4.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .fix4 --fuzz=0 patching file esc/src/xulrunner/xulrunner-45.9.0/firefox-45.9.0esr/config/system-headers patching file esc/src/xulrunner/xulrunner-45.9.0/firefox-45.9.0esr/xpcom/io/nsLocalFileUnix.cpp BUILDSTDERR: ++ uname -r BUILDSTDERR: ++ sed -e 's/\(^[^.]*\.[^.]*\).*/\1/' + r=4.15 + '[' -f esc/coreconf/Linux4.15.mk ']' + ln -s Linux3.5.mk esc/coreconf/Linux4.15.mk + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.kooDTk + umask 022 + cd /builddir/build/BUILD + cd esc-1.1.1 + echo /builddir/build/BUILD /builddir/build/BUILD + GECKO_BASE_PATH=/builddir/build/BUILD/esc-1.1.1/esc/src/xulrunner/xulrunner-45.9.0/firefox-45.9.0esr/objdir + GECKO_SDK_PATH=/builddir/build/BUILD/esc-1.1.1/esc/src/xulrunner/xulrunner-45.9.0/firefox-45.9.0esr/objdir/dist/xulrunner-sdk + GECKO_BIN_PATH=/builddir/build/BUILD/esc-1.1.1/esc/src/xulrunner/xulrunner-45.9.0/firefox-45.9.0esr/objdir/dist/xulrunner-sdk/sdk/bin BUILDSTDERR: ++ grep Version BUILDSTDERR: ++ sed s/Version:// BUILDSTDERR: ++ sed 's/[t ]//g;/^$/d' BUILDSTDERR: ++ rpm -qi xulrunner + GECKO_INCLUDE_PATH=/usr/include/xulrunner- + GECKO_IDL_PATH=/builddir/build/BUILD/esc-1.1.1/esc/src/xulrunner/xulrunner-45.9.0/firefox-45.9.0esr/objdir/dist/xulrunner-sdk/idl + export GECKO_SDK_PATH + export GECKO_BIN_PATH + export GECKO_INCLUDE_PATH + export GECKO_IDL_PATH + cd esc + cp /builddir/build/SOURCES/esc.png src/app/xul/esc/chrome/content/esc + rm -f src/app/xul/esc/chrome/icons/default/esc-window.ico src/app/xul/esc/chrome/icons/default/settings-window.ico + cp src/app/xul/esc/chrome/icons/default/esc-window.xpm src/app/xul/esc/chrome/icons/default/default.xpm + make HAVE_LIB_NOTIFY=1 ESC_VERSION=1.1.1-4.fc29 USE_XUL_SDK=1 cd coreconf; make export make[1]: Entering directory '/builddir/build/BUILD/esc-1.1.1/esc/coreconf' cd nsinstall; make export make[2]: Entering directory '/builddir/build/BUILD/esc-1.1.1/esc/coreconf/nsinstall' make[2]: Nothing to be done for 'export'. make[2]: Leaving directory '/builddir/build/BUILD/esc-1.1.1/esc/coreconf/nsinstall' cd nsinstall; make libs make[2]: Entering directory '/builddir/build/BUILD/esc-1.1.1/esc/coreconf/nsinstall' gcc -o Linux4.15_x86_glibc_PTH_DBG.OBJ/nsinstall.o -c -g -fPIC -DLINUX1_2 -Di386 -D_XOPEN_SOURCE -DLINUX2_1 -ansi -Wall -pipe -DLINUX -Dlinux -D_POSIX_SOURCE -D_BSD_SOURCE -DHAVE_STRERROR -DXP_UNIX -DDEBUG -UNDEBUG -DDEBUG_mockbuild -D_REENTRANT -I../../dist/Linux4.15_x86_glibc_PTH_DBG.OBJ/include -I../../dist/public/coreconf -I../../dist/private/coreconf nsinstall.c BUILDSTDERR: In file included from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdio.h:27, BUILDSTDERR: from nsinstall.c:21: BUILDSTDERR: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] BUILDSTDERR: # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" BUILDSTDERR: ^~~~~~~ gcc -o Linux4.15_x86_glibc_PTH_DBG.OBJ/pathsub.o -c -g -fPIC -DLINUX1_2 -Di386 -D_XOPEN_SOURCE -DLINUX2_1 -ansi -Wall -pipe -DLINUX -Dlinux -D_POSIX_SOURCE -D_BSD_SOURCE -DHAVE_STRERROR -DXP_UNIX -DDEBUG -UNDEBUG -DDEBUG_mockbuild -D_REENTRANT -I../../dist/Linux4.15_x86_glibc_PTH_DBG.OBJ/include -I../../dist/public/coreconf -I../../dist/private/coreconf pathsub.c BUILDSTDERR: In file included from /usr/include/assert.h:35, BUILDSTDERR: from pathsub.c:21: BUILDSTDERR: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] BUILDSTDERR: # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" BUILDSTDERR: ^~~~~~~ BUILDSTDERR: pathsub.c: In function 'reversepath': BUILDSTDERR: pathsub.c:230:6: warning: 'strncpy' output truncated before terminating nul copying 3 bytes from a string of the same length [-Wstringop-truncation] BUILDSTDERR: strncpy(cp, "../", 3); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~ gcc -o Linux4.15_x86_glibc_PTH_DBG.OBJ/nsinstall -g -fPIC -DLINUX1_2 -Di386 -D_XOPEN_SOURCE -DLINUX2_1 -ansi -Wall -pipe -DLINUX -Dlinux -D_POSIX_SOURCE -D_BSD_SOURCE -DHAVE_STRERROR -DXP_UNIX -DDEBUG -UNDEBUG -DDEBUG_mockbuild -D_REENTRANT -I../../dist/Linux4.15_x86_glibc_PTH_DBG.OBJ/include -I../../dist/public/coreconf -I../../dist/private/coreconf Linux4.15_x86_glibc_PTH_DBG.OBJ/nsinstall.o Linux4.15_x86_glibc_PTH_DBG.OBJ/pathsub.o -L/lib -lpthread -ldl -lc ../../coreconf/nsinstall/Linux4.15_x86_glibc_PTH_DBG.OBJ/nsinstall -R -m 775 Linux4.15_x86_glibc_PTH_DBG.OBJ/nsinstall ../../dist/Linux4.15_x86_glibc_PTH_DBG.OBJ/bin make[2]: Leaving directory '/builddir/build/BUILD/esc-1.1.1/esc/coreconf/nsinstall' make[1]: Leaving directory '/builddir/build/BUILD/esc-1.1.1/esc/coreconf' cd src; make export make[1]: Entering directory '/builddir/build/BUILD/esc-1.1.1/esc/src' cd xulrunner; make export make[2]: Entering directory '/builddir/build/BUILD/esc-1.1.1/esc/src/xulrunner' make[2]: Nothing to be done for 'export'. make[2]: Leaving directory '/builddir/build/BUILD/esc-1.1.1/esc/src/xulrunner' cd lib/NssHttpClient; make export make[2]: Entering directory '/builddir/build/BUILD/esc-1.1.1/esc/src/lib/NssHttpClient' Creating ../../../dist/public/httpchunked ../../../coreconf/nsinstall/Linux4.15_x86_glibc_PTH_DBG.OBJ/nsinstall -R -m 444 NssHttpClient.h ../../../dist/public/httpchunked make[2]: Leaving directory '/builddir/build/BUILD/esc-1.1.1/esc/src/lib/NssHttpClient' cd lib/coolkey; make export make[2]: Entering directory '/builddir/build/BUILD/esc-1.1.1/esc/src/lib/coolkey' make -f common.mk export make[3]: Entering directory '/builddir/build/BUILD/esc-1.1.1/esc/src/lib/coolkey' Creating ../../../dist/public/ckymanager ../../../coreconf/nsinstall/Linux4.15_x86_glibc_PTH_DBG.OBJ/nsinstall -R -m 444 CoolKey.h ../../../dist/public/ckymanager make[3]: Leaving directory '/builddir/build/BUILD/esc-1.1.1/esc/src/lib/coolkey' make[2]: Leaving directory '/builddir/build/BUILD/esc-1.1.1/esc/src/lib/coolkey' cd lib/notifytray; make export make[2]: Entering directory '/builddir/build/BUILD/esc-1.1.1/esc/src/lib/notifytray' Creating ../../../dist/public/traynotify ../../../coreconf/nsinstall/Linux4.15_x86_glibc_PTH_DBG.OBJ/nsinstall -R -m 444 notifytray.h ../../../dist/public/traynotify make[2]: Leaving directory '/builddir/build/BUILD/esc-1.1.1/esc/src/lib/notifytray' cd app/daemon; make export make[2]: Entering directory '/builddir/build/BUILD/esc-1.1.1/esc/src/app/daemon' make[2]: Nothing to be done for 'export'. make[2]: Leaving directory '/builddir/build/BUILD/esc-1.1.1/esc/src/app/daemon' cd app/xpcom/tray; make export make[2]: Entering directory '/builddir/build/BUILD/esc-1.1.1/esc/src/app/xpcom/tray' echo "***** Dropping into the Mozilla build environment ***** ../../../../dist/Linux4.15_x86_glibc_PTH_DBG.OBJ/xulrunner_build export" ***** Dropping into the Mozilla build environment ***** ../../../../dist/Linux4.15_x86_glibc_PTH_DBG.OBJ/xulrunner_build export echo ../../../../dist/Linux4.15_x86_glibc_PTH_DBG.OBJ ../../../../dist/Linux4.15_x86_glibc_PTH_DBG.OBJ make -f Makefile.sdk export \ OBJDIR=Linux4.15_x86_glibc_PTH_DBG.OBJ \ CORE_DIST=../../../../dist/Linux4.15_x86_glibc_PTH_DBG.OBJ \ CORE_INC=../../../../dist/public \ MOZ_SRCDIR=../../../../dist/src/mozilla \ MOZ_OBJDIR=../../../../dist/Linux4.15_x86_glibc_PTH_DBG.OBJ/xulrunner_build \ make[3]: Entering directory '/builddir/build/BUILD/esc-1.1.1/esc/src/app/xpcom/tray' echo "Export" Export make[3]: Leaving directory '/builddir/build/BUILD/esc-1.1.1/esc/src/app/xpcom/tray' make[2]: Leaving directory '/builddir/build/BUILD/esc-1.1.1/esc/src/app/xpcom/tray' cd app/xpcom; make export make[2]: Entering directory '/builddir/build/BUILD/esc-1.1.1/esc/src/app/xpcom' echo "***** Dropping into the Mozilla build environment ***** " ***** Dropping into the Mozilla build environment ***** make -f Makefile.sdk export \ OBJDIR=Linux4.15_x86_glibc_PTH_DBG.OBJ \ CORE_DIST=../../../dist/Linux4.15_x86_glibc_PTH_DBG.OBJ \ CORE_INC=../../../dist/public \ MOZ_SRCDIR=/home/jmagne/xulrunner/mozilla \ MOZ_OBJDIR= \ make[3]: Entering directory '/builddir/build/BUILD/esc-1.1.1/esc/src/app/xpcom' touch Makefile.in echo "Export" Export make[3]: Leaving directory '/builddir/build/BUILD/esc-1.1.1/esc/src/app/xpcom' make[2]: Leaving directory '/builddir/build/BUILD/esc-1.1.1/esc/src/app/xpcom' make[1]: Leaving directory '/builddir/build/BUILD/esc-1.1.1/esc/src' cd coreconf; make libs make[1]: Entering directory '/builddir/build/BUILD/esc-1.1.1/esc/coreconf' cd nsinstall; make libs make[2]: Entering directory '/builddir/build/BUILD/esc-1.1.1/esc/coreconf/nsinstall' ../../coreconf/nsinstall/Linux4.15_x86_glibc_PTH_DBG.OBJ/nsinstall -R -m 775 Linux4.15_x86_glibc_PTH_DBG.OBJ/nsinstall ../../dist/Linux4.15_x86_glibc_PTH_DBG.OBJ/bin make[2]: Leaving directory '/builddir/build/BUILD/esc-1.1.1/esc/coreconf/nsinstall' make[1]: Leaving directory '/builddir/build/BUILD/esc-1.1.1/esc/coreconf' cd src; make libs make[1]: Entering directory '/builddir/build/BUILD/esc-1.1.1/esc/src' cd xulrunner; make libs make[2]: Entering directory '/builddir/build/BUILD/esc-1.1.1/esc/src/xulrunner' echo "Build xulrunner, if needed!" Build xulrunner, if needed! echo ./xulrunner/xulrunner-45.9.0/firefox-45.9.0esr/objdir ./xulrunner/xulrunner-45.9.0/firefox-45.9.0esr/objdir cp ./xulrunner-mozconfig ./xulrunner-45.9.0/firefox-45.9.0esr/.mozconfig (cd ./xulrunner-45.9.0/firefox-45.9.0esr ; make -f client.mk build ) make[3]: Entering directory '/builddir/build/BUILD/esc-1.1.1/esc/src/xulrunner/xulrunner-45.9.0/firefox-45.9.0esr' python2.7 /builddir/build/BUILD/esc-1.1.1/esc/src/xulrunner/xulrunner-45.9.0/firefox-45.9.0esr/config/pythonpath.py -I /builddir/build/BUILD/esc-1.1.1/esc/src/xulrunner/xulrunner-45.9.0/firefox-45.9.0esr/testing/mozbase/mozfile \ /builddir/build/BUILD/esc-1.1.1/esc/src/xulrunner/xulrunner-45.9.0/firefox-45.9.0esr/python/mozbuild/mozbuild/controller/clobber.py /builddir/build/BUILD/esc-1.1.1/esc/src/xulrunner/xulrunner-45.9.0/firefox-45.9.0esr Usage: clobber.py topsrcdir topobjdir BUILDSTDERR: client.mk:202: /.mozconfig.mk: No such file or directory BUILDSTDERR: make[3]: *** [client.mk:330: /CLOBBER] Error 1 make[3]: Leaving directory '/builddir/build/BUILD/esc-1.1.1/esc/src/xulrunner/xulrunner-45.9.0/firefox-45.9.0esr' make[2]: Leaving directory '/builddir/build/BUILD/esc-1.1.1/esc/src/xulrunner' BUILDSTDERR: make[2]: *** [Makefile:48: xulrunner-45.9.0/firefox-45.9.0esr/objdir] Error 2 BUILDSTDERR: make[1]: *** [..//coreconf/rules.mk:111: libs] Error 2 make[1]: Leaving directory '/builddir/build/BUILD/esc-1.1.1/esc/src' BUILDSTDERR: make: *** [coreconf/rules.mk:111: libs] Error 2 RPM build errors: BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.kooDTk (%build) BUILDSTDERR: Macro expanded in comment on line 94: %define __prelink_undo_cmd %{nil} BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.kooDTk (%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/esc.spec