Mock Version: 1.1.35 ENTER do(['bash', '--login', '-c', 'rpmbuild -bs --target x86_64 --nodeps builddir/build/SPECS/libgccjit.spec'], False, '/var/lib/mock/epel-7-x86_64-mockbuilder-1582/root/', None, 0, True, False, 500, 135, None, False, {'LANG': 'C', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n ""', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'}, logger=) Executing command: ['bash', '--login', '-c', 'rpmbuild -bs --target x86_64 --nodeps builddir/build/SPECS/libgccjit.spec'] with env {'LANG': 'C', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n ""', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'} warning: Could not canonicalize hostname: i-000080e0 Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/libgccjit-0.1-1.el7.src.rpm Child return code was: 0 LEAVE do --> ENTER do(['bash', '--login', '-c', 'rpmbuild -bb --target x86_64 --nodeps builddir/build/SPECS/libgccjit.spec'], False, '/var/lib/mock/epel-7-x86_64-mockbuilder-1582/root/', None, 0, True, False, 500, 135, None, False, {'LANG': 'C', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n ""', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'}, logger=) Executing command: ['bash', '--login', '-c', 'rpmbuild -bb --target x86_64 --nodeps builddir/build/SPECS/libgccjit.spec'] with env {'LANG': 'C', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n ""', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'} Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Ko4mDs + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf gcc-d995c94 + /usr/bin/gzip -dc /builddir/build/SOURCES/gcc-d995c94703ed92c542886b6d00a0037b007f2591.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd gcc-d995c94 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #0 (gcc48-hack.patch): + echo 'Patch #0 (gcc48-hack.patch):' + /usr/bin/cat /builddir/build/SOURCES/gcc48-hack.patch + /usr/bin/patch -p0 -b --suffix .hack~ --fuzz=0 patching file libada/Makefile.in Hunk #1 succeeded at 72 (offset 6 lines). Hunk #2 succeeded at 116 (offset 6 lines). patching file gcc/ada/sem_util.adb Hunk #1 succeeded at 6998 (offset 1511 lines). patching file config-ml.in Hunk #1 succeeded at 503 (offset -13 lines). patching file libjava/Makefile.am Hunk #1 succeeded at 752 (offset 42 lines). patching file libjava/Makefile.in Hunk #1 succeeded at 12415 (offset -250 lines). Patch #1 (gcc48-java-nomulti.patch): + echo 'Patch #1 (gcc48-java-nomulti.patch):' + /usr/bin/cat /builddir/build/SOURCES/gcc48-java-nomulti.patch + /usr/bin/patch -p0 -b --suffix .java-nomulti~ --fuzz=0 patching file libjava/configure.ac Hunk #1 succeeded at 141 (offset 59 lines). patching file libjava/configure Hunk #1 succeeded at 1621 (offset 600 lines). Hunk #2 succeeded at 3381 (offset 1406 lines). Patch #2 (gcc48-ppc32-retaddr.patch): + echo 'Patch #2 (gcc48-ppc32-retaddr.patch):' + /usr/bin/cat /builddir/build/SOURCES/gcc48-ppc32-retaddr.patch + /usr/bin/patch -p0 -b --suffix .ppc32-retaddr~ --fuzz=0 patching file gcc/config/rs6000/rs6000.c Hunk #1 succeeded at 20196 (offset 1871 lines). patching file gcc/testsuite/gcc.dg/20051128-1.c Patch #3 (gcc48-rh330771.patch): + echo 'Patch #3 (gcc48-rh330771.patch):' + /usr/bin/cat /builddir/build/SOURCES/gcc48-rh330771.patch + /usr/bin/patch -p0 -b --suffix .rh330771~ --fuzz=0 patching file libjava/Makefile.am patching file libjava/Makefile.in Hunk #1 succeeded at 1116 (offset 6 lines). Patch #4 (gcc48-i386-libgomp.patch): + echo 'Patch #4 (gcc48-i386-libgomp.patch):' + /usr/bin/cat /builddir/build/SOURCES/gcc48-i386-libgomp.patch + /usr/bin/patch -p0 -b --suffix .i386-libgomp~ --fuzz=0 patching file libgomp/configure.tgt Hunk #1 succeeded at 70 (offset 3 lines). Hunk #2 succeeded at 82 (offset 3 lines). Patch #5 (gcc48-sparc-config-detection.patch): + echo 'Patch #5 (gcc48-sparc-config-detection.patch):' + /usr/bin/cat /builddir/build/SOURCES/gcc48-sparc-config-detection.patch + /usr/bin/patch -p0 -b --suffix .sparc-config-detection~ --fuzz=0 patching file gcc/config.gcc Hunk #1 succeeded at 2587 (offset 166 lines). Hunk #2 succeeded at 2641 (offset 167 lines). patching file libgcc/config.host Hunk #1 succeeded at 1043 (offset 41 lines). Hunk #2 succeeded at 1091 (offset 41 lines). Patch #6 (gcc48-libgomp-omp_h-multilib.patch): + echo 'Patch #6 (gcc48-libgomp-omp_h-multilib.patch):' + /usr/bin/cat /builddir/build/SOURCES/gcc48-libgomp-omp_h-multilib.patch + /usr/bin/patch -p0 -b --suffix .libgomp-omp_h-multilib~ --fuzz=0 patching file libgomp/omp.h.in Hunk #1 succeeded at 39 (offset -3 lines). Patch #7 (gcc48-libtool-no-rpath.patch): + echo 'Patch #7 (gcc48-libtool-no-rpath.patch):' + /usr/bin/cat /builddir/build/SOURCES/gcc48-libtool-no-rpath.patch + /usr/bin/patch -p0 -b --suffix .libtool-no-rpath~ --fuzz=0 patching file ltmain.sh Hunk #1 succeeded at 7103 (offset 1709 lines). Hunk #2 succeeded at 7799 (offset 1727 lines). Hunk #3 succeeded at 7851 (offset 1729 lines). Patch #10 (gcc48-pr38757.patch): + echo 'Patch #10 (gcc48-pr38757.patch):' + /usr/bin/cat /builddir/build/SOURCES/gcc48-pr38757.patch + /usr/bin/patch -p0 -b --suffix .pr38757~ --fuzz=0 patching file gcc/langhooks.h Hunk #1 succeeded at 472 (offset 5 lines). patching file gcc/langhooks-def.h Hunk #2 succeeded at 306 (offset 2 lines). patching file gcc/c/c-lang.c Hunk #1 succeeded at 34 (offset -2 lines). Hunk #2 succeeded at 49 (offset -2 lines). patching file gcc/dwarf2out.c Hunk #1 succeeded at 16443 (offset 334 lines). Hunk #2 succeeded at 19271 (offset 347 lines). Patch #11 (gcc48-libstdc++-docs.patch): + echo 'Patch #11 (gcc48-libstdc++-docs.patch):' + /usr/bin/cat /builddir/build/SOURCES/gcc48-libstdc++-docs.patch + /usr/bin/patch -p0 -b --suffix .libstdc++-docs~ --fuzz=0 patching file libstdc++-v3/doc/html/index.html Hunk #1 succeeded at 4 (offset -1 lines). patching file libstdc++-v3/doc/html/api.html Patch #12 (gcc48-no-add-needed.patch): + echo 'Patch #12 (gcc48-no-add-needed.patch):' + /usr/bin/cat /builddir/build/SOURCES/gcc48-no-add-needed.patch + /usr/bin/patch -p0 -b --suffix .no-add-needed~ --fuzz=0 patching file gcc/config/alpha/elf.h Hunk #1 succeeded at 164 (offset -1 lines). patching file gcc/config/ia64/linux.h Hunk #1 succeeded at 74 (offset -3 lines). patching file gcc/config/gnu-user.h Hunk #1 succeeded at 94 (offset 12 lines). patching file gcc/config/rs6000/sysv4.h Hunk #1 succeeded at 793 (offset -27 lines). Patch #14 (gcc48-pr56493.patch): + echo 'Patch #14 (gcc48-pr56493.patch):' + /usr/bin/cat /builddir/build/SOURCES/gcc48-pr56493.patch + /usr/bin/patch -p0 -b --suffix .pr56493~ --fuzz=0 patching file gcc/convert.c Hunk #1 succeeded at 96 (offset 1 line). Hunk #2 succeeded at 377 (offset 2 lines). Hunk #3 succeeded at 874 (offset 2 lines). patching file gcc/testsuite/c-c++-common/pr56493.c + cat + chmod 755 split-debuginfo.sh + rm libjava/testsuite/libjava.lang/PR35020.jar libjava/testsuite/libjava.lang/PR35020.java libjava/testsuite/libjava.lang/PR35020.out + sed -i -e 's/4\.8\.2/4.8.1/' gcc/BASE-VER + echo 'Red Hat 0.1-%{gcc_release}' + sed -i '/UInteger Var(dwarf_version)/s/Init(2)/Init(4)/' gcc/common.opt + sed -i '/flag_debug_types_section/s/Init(1)/Init(0)/' gcc/common.opt + sed -i '/dwarf_record_gcc_switches/s/Init(0)/Init(1)/' gcc/common.opt + sed -i 's/\(may be either 2, 3 or 4; the default version is \)2\./\14./' gcc/doc/invoke.texi + cp -a libstdc++-v3/config/cpu/i486/atomicity.h libstdc++-v3/config/cpu/i386/atomicity.h + perl -pi -e 's/^all: all-redirect/ifeq (\$(MULTISUBDIR),)\nall: all-redirect\nelse\nall:\n\techo Multilib libjava build disabled\nendif/' libjava/Makefile.in + perl -pi -e 's/^install: install-redirect/ifeq (\$(MULTISUBDIR),)\ninstall: install-redirect\nelse\ninstall:\n\techo Multilib libjava install disabled\nendif/' libjava/Makefile.in + perl -pi -e 's/^check: check-redirect/ifeq (\$(MULTISUBDIR),)\ncheck: check-redirect\nelse\ncheck:\n\techo Multilib libjava check disabled\nendif/' libjava/Makefile.in + perl -pi -e 's/^all: all-recursive/ifeq (\$(MULTISUBDIR),)\nall: all-recursive\nelse\nall:\n\techo Multilib libjava build disabled\nendif/' libjava/Makefile.in + perl -pi -e 's/^install: install-recursive/ifeq (\$(MULTISUBDIR),)\ninstall: install-recursive\nelse\ninstall:\n\techo Multilib libjava install disabled\nendif/' libjava/Makefile.in + perl -pi -e 's/^check: check-recursive/ifeq (\$(MULTISUBDIR),)\ncheck: check-recursive\nelse\ncheck:\n\techo Multilib libjava check disabled\nendif/' libjava/Makefile.in + ./contrib/gcc_update --touch Touching libjava/aclocal.m4... + LC_ALL=C + sed -i -e 's/\xa0/ /' gcc/doc/options.texi + rm -f gcc/testsuite/go.test/test/chan/goroutines.go Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.5HsBFx + exit 0 + umask 022 + cd /builddir/build/BUILD + cd gcc-d995c94 + export CONFIG_SITE=NONE + CONFIG_SITE=NONE + rm -fr obj-x86_64-redhat-linux + mkdir obj-x86_64-redhat-linux + cd obj-x86_64-redhat-linux + CC=gcc ++ echo -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic ++ sed -e 's/\(-Wp,\)\?-D_FORTIFY_SOURCE=[12]//g' + OPT_FLAGS='-O2 -g -pipe -Wall -fexceptions -fstack-protector --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' ++ echo -O2 -g -pipe -Wall -fexceptions -fstack-protector --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic ++ sed -e 's/-m64//g;s/-m32//g;s/-m31//g' + OPT_FLAGS='-O2 -g -pipe -Wall -fexceptions -fstack-protector --param=ssp-buffer-size=4 -grecord-gcc-switches -mtune=generic' ++ echo -O2 -g -pipe -Wall -fexceptions -fstack-protector --param=ssp-buffer-size=4 -grecord-gcc-switches -mtune=generic ++ sed -e 's/ -pipe / /g' + OPT_FLAGS='-O2 -g -Wall -fexceptions -fstack-protector --param=ssp-buffer-size=4 -grecord-gcc-switches -mtune=generic' ++ echo '-O2 -g -Wall -fexceptions -fstack-protector --param=ssp-buffer-size=4 -grecord-gcc-switches -mtune=generic' ++ sed -e 's/[[:blank:]]\+/ /g' + OPT_FLAGS='-O2 -g -Wall -fexceptions -fstack-protector --param=ssp-buffer-size=4 -grecord-gcc-switches -mtune=generic' + case "$OPT_FLAGS" in + enablelgo= + enablelada= + CC=gcc + CFLAGS='-O2 -g -Wall -fexceptions -fstack-protector --param=ssp-buffer-size=4 -grecord-gcc-switches -mtune=generic' ++ echo ' -O2 -g -Wall -fexceptions -fstack-protector --param=ssp-buffer-size=4 -grecord-gcc-switches -mtune=generic ' ++ sed 's/ -Wall / /g;s/ -fexceptions / /g' + CXXFLAGS=' -O2 -g -fstack-protector --param=ssp-buffer-size=4 -grecord-gcc-switches -mtune=generic ' + XCFLAGS='-O2 -g -Wall -fexceptions -fstack-protector --param=ssp-buffer-size=4 -grecord-gcc-switches -mtune=generic' + TCFLAGS='-O2 -g -Wall -fexceptions -fstack-protector --param=ssp-buffer-size=4 -grecord-gcc-switches -mtune=generic' + GCJFLAGS='-O2 -g -Wall -fexceptions -fstack-protector --param=ssp-buffer-size=4 -grecord-gcc-switches -mtune=generic' + ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-host-shared --disable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-linker-hash-style=gnu --enable-languages=jit --enable-plugin --enable-initfini-array --disable-libgcj --without-isl --without-cloog --with-tune=generic --with-arch_32=i686 --build=x86_64-redhat-linux checking build system type... x86_64-redhat-linux-gnu checking host system type... x86_64-redhat-linux-gnu checking target system type... x86_64-redhat-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether ln works... yes checking whether ln -s works... yes checking for a sed that does not truncate output... /usr/bin/sed checking for gawk... gawk checking for libatomic support... yes checking for libitm support... yes checking for libsanitizer support... yes checking for libvtv support... yes checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking whether g++ accepts -static-libstdc++ -static-libgcc... no checking for gnatbind... no checking for gnatmake... no checking whether compiler driver understands Ada... no checking how to compare bootstrapped objects... cmp --ignore-initial=16 $$f1 $$f2 checking for objdir... .libs checking for the correct version of gmp.h... yes checking for the correct version of mpfr.h... yes checking for the correct version of mpc.h... no configure: error: Building GCC requires GMP 4.2+, MPFR 2.4.0+ and MPC 0.8.0+. Try the --with-gmp, --with-mpfr and/or --with-mpc options to specify their locations. Source code for these libraries can be found at their respective hosting sites as well as at ftp://gcc.gnu.org/pub/gcc/infrastructure/. See also http://gcc.gnu.org/install/prerequisites.html for additional info. If you obtained GMP, MPFR and/or MPC from a vendor distribution package, make sure that you have installed both the libraries and the header files. They may be located in separate packages. RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.5HsBFx (%build) Bad exit status from /var/tmp/rpm-tmp.5HsBFx (%build) Child return code was: 1 EXCEPTION: Command failed. See logs for output. # ['bash', '--login', '-c', 'rpmbuild -bb --target x86_64 --nodeps builddir/build/SPECS/libgccjit.spec'] Traceback (most recent call last): File "/usr/lib/python2.6/site-packages/mockbuild/trace_decorator.py", line 70, in trace result = func(*args, **kw) File "/usr/lib/python2.6/site-packages/mockbuild/util.py", line 376, in do raise mockbuild.exception.Error, ("Command failed. See logs for output.\n # %s" % (command,), child.returncode) Error: Command failed. See logs for output. # ['bash', '--login', '-c', 'rpmbuild -bb --target x86_64 --nodeps builddir/build/SPECS/libgccjit.spec'] LEAVE do --> EXCEPTION RAISED