+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/nx-libs.spec --define "debug_package %{nil}" --undefine _annotated_build --define "_missing_doc_files_terminate_build %{nil}" --define "_emacs_sitestartdir /usr/share/emacs/site-lisp/site-start.d" --define "_emacs_sitelispdir /usr/share/emacs/site-lisp" --nocheck ' mockbuild Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.21IPkh + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf nx-libs-3.5.0.32 + /usr/bin/tar -xof - + /usr/bin/gzip -dc /builddir/build/SOURCES/nx-libs-3.5.0.32-full.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd nx-libs-3.5.0.32 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + sed -i -e s,/usr/local,/usr, nx-X11/config/cf/site.def + sed -i -e 's#-O3#-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 #' nx-X11/config/cf/host.def + sed -i -e 's#-O3#-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 #' nx-X11/config/cf/linux.cf + echo '#define DefaultGcc2Ppc64Opt -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 ' + sed -i -e s,/lib/nx,/lib64/nx, Makefile nx-X11/config/cf/X11.tmpl + sed -i -e s,/lib/x2go,/lib64/x2go, Makefile + sed -i -e s,/usr/lib/,/usr/lib64/, bin/nxagent bin/nxauth bin/nxproxy bin/x2goagent + find -name LICENSE + xargs sed -i -e 's/59 Temple Place/51 Franklin Street/' -e 's/Suite 330/Fifth Floor/' -e 's/MA 02111-1307/MA 02110-1301/' + find -type f -name '*.[hc]' + xargs chmod -x + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.NxLqBJ + umask 022 + cd /builddir/build/BUILD + cd nx-libs-3.5.0.32 + cat + chmod a+x my_configure + export 'SHLIBGLOBALSFLAGS=-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + SHLIBGLOBALSFLAGS='-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + make -j4 CONFIGURE=/builddir/build/BUILD/nx-libs-3.5.0.32/my_configure USRLIBDIR=/usr/lib64/nx SHLIBDIR=/usr/lib64/nx if ! test -d nx-X11; then \ make build-lite; \ else \ make build-full; \ fi make[1]: Entering directory '/builddir/build/BUILD/nx-libs-3.5.0.32' cd nxcomp && autoconf cd nxcompext && autoconf cd nxcompshad && autoconf cd nx-X11 && make World make[2]: Entering directory '/builddir/build/BUILD/nx-libs-3.5.0.32/nx-X11' ./config/util/printver.c:13:10: fatal error: xf86Date.h: No such file or directory #include "xf86Date.h" ^~~~~~~~~~~~ compilation terminated. make[2]: [Makefile:47: World] Error 1 (ignored) Building Release 6.9. I hope you checked the configuration parameters in ./config/cf to see if you need to pass BOOTSTRAPCFLAGS. Wed Mar 14 17:47:54 UTC 2018 cd ./config/imake && make -w -j4 --jobserver-auth=3,4 -f Makefile.ini BOOTSTRAPCFLAGS="" CC="cc" clean make[3]: Entering directory '/builddir/build/BUILD/nx-libs-3.5.0.32/nx-X11/config/imake' make[3]: warning: -jN forced in submake: disabling jobserver mode. rm -f ccimake imake.o imake rm -f *.CKP *.ln *.BAK *.bak *.o core errs ,* *~ *.a tags TAGS make.log \#* rm -f -r Makefile.proto Makefile Makefile.dep bootstrap rm -f imakemdep_cpp.h make[3]: Leaving directory '/builddir/build/BUILD/nx-libs-3.5.0.32/nx-X11/config/imake' make -w -j4 --jobserver-auth=3,4 Makefile.boot make[3]: Entering directory '/builddir/build/BUILD/nx-libs-3.5.0.32/nx-X11' make[3]: warning: -jN forced in submake: disabling jobserver mode. cd ./config/imake && make -w -j4 --jobserver-auth=5,6 -f Makefile.ini BOOTSTRAPCFLAGS="" CC="cc" make[4]: Entering directory '/builddir/build/BUILD/nx-libs-3.5.0.32/nx-X11/config/imake' make[4]: warning: -jN forced in submake: disabling jobserver mode. making imake with BOOTSTRAPCFLAGS= and CROSSCOMPILEFLAGS=-DCROSSCOMPILEDIR="" in config/imake cc -o ccimake -DCROSSCOMPILEDIR=\"\" -O -I../../include -I../../imports/x11/include/X11 -DMONOLITH ccimake.c ccimake.c: In function 'main': ccimake.c:53:6: warning: implicit declaration of function 'write' [-Wimplicit-function-declaration] write(1, crosscompiledir_str, sizeof(crosscompiledir_str) - 1); ^~~~~ if [ -n "" ] ; then \ /cc -E `./ccimake` \ -DCROSSCOMPILE_CPP imakemdep.h > imakemdep_cpp.h; \ else touch imakemdep_cpp.h; fi cc -c -O -I../../include -I../../imports/x11/include/X11 -DMONOLITH `./ccimake` imake.c imake.c: In function 'AddCppArg': imake.c:559:29: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] cpp_argv[ cpp_argindex++ ] = arg; ^ imake.c: In function 'SetOpts': imake.c:654:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] cpp_argv[0] = cpp; ^ imake.c: In function 'doit': imake.c:803:15: warning: passing argument 2 of 'execvp' from incompatible pointer type [-Wincompatible-pointer-types] execvp(cmd, argv); ^~~~ In file included from imake.c:169:0: /usr/include/unistd.h:578:12: note: expected 'char * const*' but argument is of type 'const char **' extern int execvp (const char *__file, char *const __argv[]) ^~~~~~ imake.c: In function 'cppit': imake.c:1718:19: warning: passing argument 3 of 'doit' from incompatible pointer type [-Wincompatible-pointer-types] doit(outfd, cpp, cpp_argv); ^~~~~~~~ imake.c:769:1: note: expected 'const char **' but argument is of type 'char **' doit(FILE *outfd, const char *cmd, const char **argv) ^~~~ cc -o imake -O -I../../include -I../../imports/x11/include/X11 -DMONOLITH imake.o imake.o: In function `.L325': imake.c:(.text+0x1dcc): warning: the use of `mktemp' is dangerous, better use `mkstemp' or `mkdtemp' make[4]: Leaving directory '/builddir/build/BUILD/nx-libs-3.5.0.32/nx-X11/config/imake' rm -f ./config/makedepend/Makefile.proto ./config/imake/imake -I./config/cf -s ./config/makedepend/Makefile.proto -f ./config/makedepend/Imakefile -DTOPDIR=../.. -DCURDIR=./config/makedepend cd ./config/makedepend && rm -f -r Makefile Makefile.dep makedepend *.o bootstrap cd ./config/makedepend && make -f Makefile.proto bootstrap make[4]: Entering directory '/builddir/build/BUILD/nx-libs-3.5.0.32/nx-X11/config/makedepend' make[4]: Nothing to be done for 'bootstrap'. make[4]: Leaving directory '/builddir/build/BUILD/nx-libs-3.5.0.32/nx-X11/config/makedepend' ./config/imake/imake -I./config/cf -s ./config/imake/Makefile.proto -f ./config/imake/Imakefile -DTOPDIR=../.. -DCURDIR=./config/imake -DBootStrap cd ./config/imake && make -f Makefile.proto bootstrapdepend make[4]: Entering directory '/builddir/build/BUILD/nx-libs-3.5.0.32/nx-X11/config/imake' make[4]: Nothing to be done for 'bootstrapdepend'. make[4]: Leaving directory '/builddir/build/BUILD/nx-libs-3.5.0.32/nx-X11/config/imake' cd ./config/imake && make -w -j4 --jobserver-auth=5,6 -f Makefile.ini BOOTSTRAPCFLAGS="" CC="cc" bootstrap make[4]: Entering directory '/builddir/build/BUILD/nx-libs-3.5.0.32/nx-X11/config/imake' make[4]: warning: -jN forced in submake: disabling jobserver mode. + mkdir bootstrap mv *.o bootstrap + mv imake bootstrap make[4]: Leaving directory '/builddir/build/BUILD/nx-libs-3.5.0.32/nx-X11/config/imake' cd ./config/imake && make -f Makefile.proto imakeonly make[4]: Entering directory '/builddir/build/BUILD/nx-libs-3.5.0.32/nx-X11/config/imake' gcc -O -ansi -Wall -Wpointer-arith -Wundef -I../../include -I../../exports/include/X11 -I../.. -I../../exports/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 -D_GNU_SOURCE -DFUNCPROTO=15 -DNARROWPROTO -DCPP_PROGRAM="\"cpp\"" -DHAS_MERGE_CONSTANTS=`if gcc -fmerge-constants -xc /dev/null -S -o /dev/null 2> /dev/null 1> /dev/null; then echo 1; else echo 0; fi` -DMONOLITH -c -o imake.o imake.c gcc: error: LinuxMachineDefines: No such file or directory make[4]: *** [: imake.o] Error 1 make[4]: Leaving directory '/builddir/build/BUILD/nx-libs-3.5.0.32/nx-X11/config/imake' make[3]: *** [Makefile:130: imake.bootstrap] Error 2 make[3]: Leaving directory '/builddir/build/BUILD/nx-libs-3.5.0.32/nx-X11' make[2]: *** [Makefile:59: World] Error 2 make[2]: Leaving directory '/builddir/build/BUILD/nx-libs-3.5.0.32/nx-X11' make[1]: *** [Makefile:47: build-full] Error 2 make[1]: Leaving directory '/builddir/build/BUILD/nx-libs-3.5.0.32' make: *** [Makefile:51: build] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.NxLqBJ (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.NxLqBJ (%build) ++ cleanup ++ set +e ++ sync ++ sleep 5 ++ sync ++ poweroff Terminated +++ cleanup +++ set +e +++ sync Terminated ++++ cleanup ++++ set +e ++++ sync ++++ sleep 5 ++++ sync ++++ poweroff