Mock Version: 1.2.10 ENTER do(['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/ralcgm.spec'], chrootPath='/var/lib/mock/epel-6-x86_64-mockbuilder-8599/root'shell=FalseprintOutput=Falseenv={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=0logger=uid=1001) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/ralcgm.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False warning: Could not canonicalize hostname: copr-builder-930936555 Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/ralcgm-3.50-5.src.rpm Child return code was: 0 LEAVE do --> ENTER do(['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/ralcgm.spec '], chrootPath='/var/lib/mock/epel-6-x86_64-mockbuilder-8599/root'shell=FalseprintOutput=Falseenv={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=0logger=uid=1001) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/ralcgm.spec '] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.xgGB0e + umask 022 + cd /builddir/build/BUILD + LANG=C + export LANG + unset DISPLAY + cd /builddir/build/BUILD + rm -rf ralcgm-3.50 + /bin/mkdir -p ralcgm-3.50 + cd ralcgm-3.50 + /usr/bin/gzip -dc /builddir/build/SOURCES/ralcgm-3.50.tar.gz + /bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + /bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #0 (ralcgm-linux.patch): + echo 'Patch #0 (ralcgm-linux.patch):' + /usr/bin/patch -p1 --fuzz=0 + /bin/cat /builddir/build/SOURCES/ralcgm-linux.patch patching file CGMconfig patching file CGMinstall patching file include/cgmmach.h patching file include/mc_linux.h patching file src/cgmobin.c patching file src/cgmrand.c + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.0jDvPk + umask 022 + cd /builddir/build/BUILD + cd ralcgm-3.50 + LANG=C + export LANG + unset DISPLAY + OPT='%{rpmcflags}' + ./CGMconfig linux Please enter the binary directory pathname (defaults to bin in current directory): Do you wish to have a separate callable library? (answer "y" or "n" - defaults to no): Please enter the library directory pathname (defaults to bin in current directory): Please enter pathname for directory in which to install data (defaults to data in current directory): Please enter pathname for directory holding source data (defaults to data in current directory): Do you wish to include PostScript? (answer "y" or "n" - defaults to no): Do you wish to include the extended 35 font set? (answer "y" or "n" - defaults to no ie 13 font set): Do you wish to include X? (answer "y" or "n" - defaults to no): Are the X11 include files kept under /usr/include/X11? (answer "y" or "n" - defaults to yes): Is the X11 library kept under /usr/lib? (answer "y" or "n" - defaults to yes): Enter the correct destination: Error: /usr/X11R6/lib64 does not exist. CGMconfig exits. Do you wish to include HPGL? (answer "y" or "n" - defaults to no): You must now include either the hershey or the bezier font systems. Do you wish to include Tektronix 4200? (answer "y" or "n" - defaults to no): Do you wish to include Bezier fonts? (answer "y" or "n" - defaults to no): Do you wish to include Hershey fonts? (answer "y" or "n" - defaults to no): Your selections are as follows: binary=/builddir/build/BUILD/ralcgm-3.50/bin library=/builddir/build/BUILD/ralcgm-3.50/bin datadir=/builddir/build/BUILD/ralcgm-3.50/data separate_lib=yes postscript=yes xw=yes hpgl=yes tek=no bezier=yes hershey=yes datasrcdir=/builddir/build/BUILD/ralcgm-3.50/data module=/builddir/build/BUILD/ralcgm-3.50/bin/ralcgm lib=/builddir/build/BUILD/ralcgm-3.50/bin/libcgm.a Do you wish to install with these settings? (answer "y" or "n" - defaults to yes): Your desired system will now be configured. The new makefile is src/Makefile. + /usr/bin/make -C src cgmfile.o cgmerr.o genbez genher make: Entering directory `/builddir/build/BUILD/ralcgm-3.50/src' cc -c %{rpmcflags} -DPOSTSCRIPT="" -DXW="" -DHPGL="" -DBEZIER="" -DHERSHEY="" -I/builddir/build/BUILD/ralcgm-3.50/include cgmfile.c cc: %{rpmcflags}: No such file or directory make: *** [cgmfile.o] Error 1 make: Leaving directory `/builddir/build/BUILD/ralcgm-3.50/src' RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.0jDvPk (%build) Bad exit status from /var/tmp/rpm-tmp.0jDvPk (%build) Child return code was: 1 EXCEPTION: Command failed. See logs for output. # bash --login -c /usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/ralcgm.spec Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/mockbuild/trace_decorator.py", line 84, in trace result = func(*args, **kw) File "/usr/lib/python2.7/site-packages/mockbuild/util.py", line 494, in do raise exception.Error("Command failed. See logs for output.\n # %s" % (command,), child.returncode) Error: Command failed. See logs for output. # bash --login -c /usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/ralcgm.spec LEAVE do --> EXCEPTION RAISED