D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/wine-gecko-2.47-1.mga7.src.rpm Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.3UUt6V + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf wine-mozilla-2.47 + /usr/bin/mkdir -p wine-mozilla-2.47 + cd wine-mozilla-2.47 + /usr/bin/bzip2 -dc /home/pterjan/rpmbuild/SOURCES/wine-mozilla-2.47-src.tar.bz2 + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cd wine-mozilla-2.47 + echo 'Patch #0 (wine-gecko-mozconfig.patch):' Patch #0 (wine-gecko-mozconfig.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .mozconfig --fuzz=0 patching file wine/mozconfig-common + echo 'Patch #100 (wine-gecko-wine64.patch):' Patch #100 (wine-gecko-wine64.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .wine64 --fuzz=0 patching file wine/make_package + sed -i 's,cross_compiling=.*$,cross_compiling=yes,' nsprpub/configure + rm -f media/libstagefright/ports/win32/include/pthread.h + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.ZvDBih + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd wine-mozilla-2.47 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd wine-mozilla-2.47 + echo 'mk_add_options MOZ_MAKE_FLAGS=-j8' + cp wine/mozconfig-common wine/mozconfig-common.build + echo 'export CFLAGS="-DWINE_GECKO_SRC"' + echo 'export CXXFLAGS="$CFLAGS -fpermissive"' + TOOLCHAIN_PREFIX=i686-w64-mingw32- + ./wine/make_package --msi-package -win32 make_package: Building firefox... 0:00.55 /usr/bin/gmake -f client.mk MOZ_PARALLEL_BUILD=8 -s configure 0:02.00 Clobber not needed. 0:03.34 Generating /home/pterjan/rpmbuild/BUILD/wine-mozilla-2.47/wine-mozilla-2.47/configure using autoconf 0:03.47 Generating /home/pterjan/rpmbuild/BUILD/wine-mozilla-2.47/wine-mozilla-2.47/js/src/configure using autoconf 0:03.59 cd /home/pterjan/rpmbuild/BUILD/wine-mozilla-2.47/wine_gecko-2.47-x86 0:03.59 /home/pterjan/rpmbuild/BUILD/wine-mozilla-2.47/wine-mozilla-2.47/configure 0:03.77 Refreshing /home/pterjan/rpmbuild/BUILD/wine-mozilla-2.47/wine-mozilla-2.47/old-configure with /usr/bin/autoconf-2.13 0:04.56 Adding configure options from /home/pterjan/rpmbuild/BUILD/wine-mozilla-2.47/wine_gecko-2.47-x86/mozconfig 0:04.56 --target=i686-w64-mingw32 0:04.56 --disable-debug 0:04.56 --enable-optimize 0:04.56 --enable-default-toolkit=cairo-windows 0:04.56 --disable-accessibility 0:04.56 --disable-tests 0:04.56 --disable-updater 0:04.56 --disable-necko-wifi 0:04.56 --disable-crashreporter 0:04.56 --disable-webgl 0:04.56 --disable-webrtc 0:04.56 --without-intl-api 0:04.56 --disable-sandbox 0:04.56 --disable-gamepad 0:04.56 --disable-maintenance-service 0:04.56 --disable-parental-controls 0:04.56 --enable-win32-target=WINNT 0:31.43 creating cache ./config.cache 0:32.01 checking host system type... x86_64-unknown-linux-gnu 0:32.12 checking target system type... i686-w64-mingw32 0:32.24 checking build system type... x86_64-unknown-linux-gnu 0:32.25 checking for gawk... gawk 0:32.26 checking for python2.7... /usr/bin/python2.7 0:32.26 Creating Python environment 0:32.45 checking Python environment is Mozilla virtualenv... yes 0:32.56 checking for perl5... /usr/bin/perl5 0:32.57 cross compiling from x86_64-unknown-linux-gnu to i686-w64-mingw32 0:32.57 checking for host c compiler... checking for cc... cc 0:32.57 cc 0:32.57 checking for host c++ compiler... checking for c++... c++ 0:32.57 c++ 0:32.57 checking for ranlib... no 0:32.57 checking for ar... no 0:32.64 checking whether the host c compiler (cc ) works... yes 0:32.74 checking whether the host c++ compiler (c++ ) works... yes 0:32.74 checking for i686-w64-mingw32-gcc... i686-w64-mingw32-gcc 0:32.74 checking for gcc... i686-w64-mingw32-gcc 0:32.86 checking whether the C compiler (i686-w64-mingw32-gcc -DWINE_GECKO_SRC ) works... no 0:32.86 configure: error: installation or configuration problem: C compiler cannot create executables. 0:32.86 ------ config.log ------ 0:32.86 configure:1421: checking for python2.7 0:32.86 configure:1531: checking Python environment is Mozilla virtualenv 0:32.86 configure:1787: checking for perl5 0:32.86 configure:2556: checking for host c compiler 0:32.86 configure:2562: checking for cc 0:32.86 configure:2597: checking for host c++ compiler 0:32.86 configure:2603: checking for c++ 0:32.86 configure:2655: checking for ranlib 0:32.86 configure:2690: checking for ar 0:32.86 configure:2725: checking whether the host c compiler (cc ) works 0:32.86 configure:2734: cc -c conftest.c 1>&5 0:32.86 configure:2748: checking whether the host c++ compiler (c++ ) works 0:32.86 configure:2757: c++ -c conftest.c 1>&5 0:32.86 configure:2777: checking for i686-w64-mingw32-gcc 0:32.86 configure:2811: checking for gcc 0:32.86 configure:2924: checking whether the C compiler (i686-w64-mingw32-gcc -DWINE_GECKO_SRC ) works 0:32.86 configure:2940: i686-w64-mingw32-gcc -o conftest -DWINE_GECKO_SRC conftest.c 1>&5 0:32.86 configure:2937:1: warning: return type defaults to 'int' [-Wimplicit-int] 0:32.86 configure: failed program was: 0:32.86 0:32.86 #line 2935 "configure" 0:32.86 #include "confdefs.h" 0:32.86 0:32.86 main(){return(0);} 0:32.86 configure: error: installation or configuration problem: C compiler cannot create executables. 0:32.86 *** Fix above errors and then restart with\ 0:32.86 "/usr/bin/gmake -f client.mk build" 0:32.86 gmake: *** [client.mk:384: configure] Error 1 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.ZvDBih (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.ZvDBih (%build) I: [iurt_root_command] ERROR: chroot