Build failures mingw unable to pass sanity checks

adam stokes astokes at fedoraproject.org
Tue Nov 22 14:05:47 UTC 2011


Hi,

I'm attempting to build a package with mingw toolchain and have been
receiving this message. Prior to this builds were working just fine so
and all of our builds go through mock to make sure there are no
conflicts. Any idea why mingw32 is failing to build their sanity check
program?

DEBUG: Running with debug output on.
DEBUG: -- The C compiler identification is GNU
DEBUG:    Called from:
[2]	/usr/share/cmake/Modules/CMakeDetermineCCompiler.cmake
DEBUG:
[1]	/builddir/build/BUILD/matahari-matahari-6899442/CMakeLists.txt
DEBUG: -- The CXX compiler identification is GNU
DEBUG:    Called from:
[2]	/usr/share/cmake/Modules/CMakeDetermineCXXCompiler.cmake
DEBUG:
[1]	/builddir/build/BUILD/matahari-matahari-6899442/CMakeLists.txt
DEBUG: -- Check for working C compiler: /usr/bin/i686-pc-mingw32-gcc
DEBUG:    Called from: [2]	/usr/share/cmake/Modules/CMakeTestCCompiler.cmake
DEBUG:
[1]	/builddir/build/BUILD/matahari-matahari-6899442/CMakeLists.txt
DEBUG: -- Check for working C compiler: /usr/bin/i686-pc-mingw32-gcc -- works
DEBUG:    Called from: [2]	/usr/share/cmake/Modules/CMakeTestCCompiler.cmake
DEBUG:
[1]	/builddir/build/BUILD/matahari-matahari-6899442/CMakeLists.txt
DEBUG: -- Detecting C compiler ABI info
DEBUG:    Called from: [2]	/usr/share/cmake/Modules/CMakeTestCCompiler.cmake
DEBUG:
[1]	/builddir/build/BUILD/matahari-matahari-6899442/CMakeLists.txt
DEBUG: -- Detecting C compiler ABI info - done
DEBUG:    Called from: [2]	/usr/share/cmake/Modules/CMakeTestCCompiler.cmake
DEBUG:
[1]	/builddir/build/BUILD/matahari-matahari-6899442/CMakeLists.txt
DEBUG: -- Check for working CXX compiler: /usr/bin/i686-pc-mingw32-g++
DEBUG:    Called from: [2]	/usr/share/cmake/Modules/CMakeTestCXXCompiler.cmake
DEBUG:
[1]	/builddir/build/BUILD/matahari-matahari-6899442/CMakeLists.txt
DEBUG: -- Check for working CXX compiler: /usr/bin/i686-pc-mingw32-g++ -- broken
DEBUG:    Called from: [2]	/usr/share/cmake/Modules/CMakeTestCXXCompiler.cmake
DEBUG:
[1]	/builddir/build/BUILD/matahari-matahari-6899442/CMakeLists.txt
DEBUG: CMake Error at
/usr/share/cmake/Modules/CMakeTestCXXCompiler.cmake:45 (MESSAGE):
DEBUG:   The C++ compiler "/usr/bin/i686-pc-mingw32-g++" is not able
to compile a
DEBUG:   simple test program.
DEBUG:   It fails with the following output:
DEBUG:    Change Dir:
/builddir/build/BUILD/matahari-matahari-6899442/CMakeFiles/CMakeTmp
DEBUG:
DEBUG:   Run Build Command:/usr/bin/gmake "cmTryCompileExec/fast"
DEBUG:   /usr/bin/gmake -f CMakeFiles/cmTryCompileExec.dir/build.make
DEBUG:   CMakeFiles/cmTryCompileExec.dir/build
DEBUG:   gmake[1]: Entering directory
DEBUG:   `/builddir/build/BUILD/matahari-matahari-6899442/CMakeFiles/CMakeTmp'
DEBUG:   /usr/bin/cmake -E cmake_progress_report
DEBUG:   /builddir/build/BUILD/matahari-matahari-6899442/CMakeFiles/CMakeTmp/CMakeFiles
DEBUG:   1
DEBUG:   Building CXX object
CMakeFiles/cmTryCompileExec.dir/testCXXCompiler.cxx.obj
DEBUG:   /usr/bin/i686-pc-mingw32-g++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2
DEBUG:   -fexceptions --param=ssp-buffer-size=4 -mms-bitfields -o
DEBUG:   CMakeFiles/cmTryCompileExec.dir/testCXXCompiler.cxx.obj -c
DEBUG:   /builddir/build/BUILD/matahari-matahari-6899442/CMakeFiles/CMakeTmp/testCXXCompiler.cxx
DEBUG:   Linking CXX executable cmTryCompileExec.exe
DEBUG:   /usr/bin/cmake -E cmake_link_script
DEBUG:   CMakeFiles/cmTryCompileExec.dir/link.txt --verbose=1
DEBUG:   /usr/bin/cmake -E remove -f CMakeFiles/cmTryCompileExec.dir/objects.a
DEBUG:   "" cr CMakeFiles/cmTryCompileExec.dir/objects.a
DEBUG:   @CMakeFiles/cmTryCompileExec.dir/objects1.rsp
DEBUG:   Error running link command: No such file or directory
DEBUG:   gmake[1]: *** [cmTryCompileExec.exe] Error 2
DEBUG:   gmake[1]: Leaving directory
DEBUG:   `/builddir/build/BUILD/matahari-matahari-6899442/CMakeFiles/CMakeTmp'
DEBUG:   gmake: *** [cmTryCompileExec/fast] Error 2
DEBUG:
DEBUG:
DEBUG:   CMake will not be able to correctly generate this project.
DEBUG: Call Stack (most recent call first):
DEBUG:   CMakeLists.txt:3 (project)
DEBUG:    Called from: [2]	/usr/share/cmake/Modules/CMakeTestCXXCompiler.cmake
DEBUG:
[1]	/builddir/build/BUILD/matahari-matahari-6899442/CMakeLists.txt
DEBUG: -- Configuring incomplete, errors occurred!
DEBUG: RPM build errors:
DEBUG: error: Bad exit status from /var/tmp/rpm-tmp.MZ4BsR (%build)
DEBUG:     Bad exit status from /var/tmp/rpm-tmp.MZ4BsR (%build)
DEBUG: Child returncode was: 1


More information about the mingw mailing list