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/freenx-server.spec'], chrootPath='/var/lib/mock/f29-build-25378-13224/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=995gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/freenx-server.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/freenx-server-0.7.3-44.fc29.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/freenx-server.spec'], chrootPath='/var/lib/mock/f29-build-25378-13224/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=995gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/freenx-server.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.QfO1Hk + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf freenx-server-0.7.3 + /usr/bin/gzip -dc /builddir/build/SOURCES/freenx-server-0.7.3.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd freenx-server-0.7.3 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (freenx-server-0.7.3-lp-fixes.patch):' Patch #0 (freenx-server-0.7.3-lp-fixes.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .lp --fuzz=0 patching file ChangeLog patching file init.d/freenx-server patching file Makefile patching file node.conf.sample patching file nxdesktop_helper patching file nxdialog patching file nxkeygen patching file nxloadconfig patching file nxnode patching file nxnode-login patching file nxredir/Makefile patching file nxserver patching file nx-session-launcher/nx-session-launcher patching file nx-session-launcher/nx-session-launcher-suid.c patching file nx-session-launcher/README + echo 'Patch #1 (freenx-server-r104-fixes.patch):' Patch #1 (freenx-server-r104-fixes.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .fixes --fuzz=0 patching file init.d/freenx-server patching file nxloadconfig patching file nxnode patching file nxprint patching file nxredir/Makefile patching file nxredir/nxsmb patching file nxserver + echo 'Patch #2 (restorecon.patch):' Patch #2 (restorecon.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 -b --suffix .restorecon --fuzz=0 patching file init.d/freenx-server + echo 'Patch #3 (freenx-server-0.7.3-nxpath-616993.patch):' Patch #3 (freenx-server-0.7.3-nxpath-616993.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .nxpath --fuzz=0 patching file nxkeygen patching file nxsetup + echo 'Patch #4 (freenx-server-0.7.3-nxdialog-627010.patch):' Patch #4 (freenx-server-0.7.3-nxdialog-627010.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .nxdialog --fuzz=0 patching file nxdialog + echo 'Patch #5 (freenx-server-0.7.3-optflags.patch):' Patch #5 (freenx-server-0.7.3-optflags.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .optflags --fuzz=0 patching file nxredir/Makefile patching file nx-session-launcher/Makefile + echo 'Patch #6 (freenx-server-0.7.3-init.patch):' Patch #6 (freenx-server-0.7.3-init.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .init --fuzz=0 patching file init.d/freenx-server + echo 'Patch #7 (freenx-server-0.7.3-nxipp.patch):' Patch #7 (freenx-server-0.7.3-nxipp.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .nxipp --fuzz=0 patching file nxsetup + echo 'Patch #8 (freenx-server-0.7.3-nxagent-version-827176.patch):' Patch #8 (freenx-server-0.7.3-nxagent-version-827176.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .nxagent-version --fuzz=0 patching file nxloadconfig + echo 'Patch #9 (freenx-server-0.7.3-authkeys2-830838.patch):' Patch #9 (freenx-server-0.7.3-authkeys2-830838.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .authkeys2 --fuzz=0 patching file nxkeygen patching file nxloadconfig + echo 'Patch #10 (freenx-server-0.7.3-ncat-891109-903186.patch):' Patch #10 (freenx-server-0.7.3-ncat-891109-903186.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .ncat --fuzz=0 patching file node.conf.sample patching file nxloadconfig patching file nxserver + sed -i '-es,\$NX_DIR/bin,/usr/libexec/nx,g' '-es,\$NX_DIR/lib,/usr/lib64/nx,g' nxloadconfig nxserver + sed -i '-es,NX_LOGFILE=/.*,NX_LOGFILE=/var/log/nx/nxserver.log,' -es,/etc/cups,/usr/share/cups/mime, nxloadconfig node.conf.sample + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.I3JEuO + umask 022 + cd /builddir/build/BUILD + cd freenx-server-0.7.3 + export 'CFLAGS=-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' 'MODULE_CFLAGS=-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' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' 'LOCAL_LDFLAGS=-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + CFLAGS='-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' + MODULE_CFLAGS='-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' + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + LOCAL_LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + make cd nxviewer-passwd && xmkmf && make Makefiles && make depend imake -DUseInstalled -I/usr/share/X11/config make[1]: Entering directory '/builddir/build/BUILD/freenx-server-0.7.3/nxviewer-passwd' making Makefiles in libvncauth... make[2]: Entering directory '/builddir/build/BUILD/freenx-server-0.7.3/nxviewer-passwd' make[2]: Leaving directory '/builddir/build/BUILD/freenx-server-0.7.3/nxviewer-passwd' make[2]: Entering directory '/builddir/build/BUILD/freenx-server-0.7.3/nxviewer-passwd/libvncauth' make[2]: Nothing to be done for 'Makefiles'. make[2]: Leaving directory '/builddir/build/BUILD/freenx-server-0.7.3/nxviewer-passwd/libvncauth' making Makefiles in nxpasswd... make[2]: Entering directory '/builddir/build/BUILD/freenx-server-0.7.3/nxviewer-passwd' make[2]: Leaving directory '/builddir/build/BUILD/freenx-server-0.7.3/nxviewer-passwd' make[2]: Entering directory '/builddir/build/BUILD/freenx-server-0.7.3/nxviewer-passwd/nxpasswd' make[2]: Nothing to be done for 'Makefiles'. make[2]: Leaving directory '/builddir/build/BUILD/freenx-server-0.7.3/nxviewer-passwd/nxpasswd' make[1]: Leaving directory '/builddir/build/BUILD/freenx-server-0.7.3/nxviewer-passwd' make[1]: Entering directory '/builddir/build/BUILD/freenx-server-0.7.3/nxviewer-passwd' depending in ./libvncauth... make[2]: Entering directory '/builddir/build/BUILD/freenx-server-0.7.3/nxviewer-passwd/libvncauth' gccmakedep -- -I. -I../include -I/usr/include -Dlinux LinuxMachineDefines -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -- vncauth.c d3des.c make[2]: Leaving directory '/builddir/build/BUILD/freenx-server-0.7.3/nxviewer-passwd/libvncauth' depending in ./nxpasswd... make[2]: Entering directory '/builddir/build/BUILD/freenx-server-0.7.3/nxviewer-passwd/nxpasswd' gccmakedep -- -I../include -I/usr/include -Dlinux LinuxMachineDefines -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -- vncpasswd.c make[2]: Leaving directory '/builddir/build/BUILD/freenx-server-0.7.3/nxviewer-passwd/nxpasswd' make[1]: Leaving directory '/builddir/build/BUILD/freenx-server-0.7.3/nxviewer-passwd' source nxloadconfig &&\ export PATH_BIN PATH_LIB CUPS_BACKEND NX_VERSION NX_ETC_DIR &&\ for i in nxredir nxviewer-passwd nxserver-helper nxserver-suid nx-session-launcher ; \ do\ echo "making" all "in $i..."; \ make -C $i all || exit 1;\ done BUILDSTDERR: nxloadconfig: line 87: hostname: command not found making all in nxredir... make[1]: Entering directory '/builddir/build/BUILD/freenx-server-0.7.3/nxredir' gcc -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 -fPIC -c -o nxredir.o nxredir.c gcc -fPIC -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -nostdlib -shared -Wl,-soname,libnxredir.so.0 -o libnxredir.so.0 nxredir.o -ldl -lc make[1]: Leaving directory '/builddir/build/BUILD/freenx-server-0.7.3/nxredir' making all in nxviewer-passwd... make[1]: Entering directory '/builddir/build/BUILD/freenx-server-0.7.3/nxviewer-passwd' making all in ./libvncauth... make[2]: Entering directory '/builddir/build/BUILD/freenx-server-0.7.3/nxviewer-passwd/libvncauth' gcc -O -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 -I. -I../include -I/usr/include -Dlinux LinuxMachineDefines -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -c -o vncauth.o vncauth.c BUILDSTDERR: gcc: error: LinuxMachineDefines: No such file or directory BUILDSTDERR: make[2]: *** [: vncauth.o] Error 1 make[2]: Leaving directory '/builddir/build/BUILD/freenx-server-0.7.3/nxviewer-passwd/libvncauth' make[1]: Leaving directory '/builddir/build/BUILD/freenx-server-0.7.3/nxviewer-passwd' BUILDSTDERR: make[1]: *** [Makefile:1044: all] Error 2 BUILDSTDERR: make: *** [Makefile:10: all] Error 1 RPM build errors: BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.I3JEuO (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.I3JEuO (%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/freenx-server.spec