Skip to content

Instantly share code, notes, and snippets.

@donbright
Created August 12, 2018 18:45
Show Gist options
  • Save donbright/f2cdd9bc5488bf94eb043d572e082ec4 to your computer and use it in GitHub Desktop.
Save donbright/f2cdd9bc5488bf94eb043d572e082ec4 to your computer and use it in GitHub Desktop.
mxe build fail
make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule.
make[1]: Entering directory '/home/don/openscad_deps/mxe'
uname -a
Linux serebryanya 4.15.0-30-generic #32-Ubuntu SMP Thu Jul 26 17:42:43 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
git log --pretty=tformat:"%H - %s [%ar] [%d]" -1
e89d5d7ee2a059d676cb1d7ce8e7c2a0f28b70af - Install Qt4 translations [10 days ago] [ (HEAD -> master, origin/master, origin/HEAD)]
lsb_release -a 2>/dev/null || sw_vers 2>/dev/null || true
Distributor ID: Ubuntu
Description: Ubuntu 18.04 LTS
Release: 18.04
Codename: bionic
autoconf --version 2>/dev/null | head -1
autoconf (GNU Autoconf) 2.69
automake --version 2>/dev/null | head -1
automake (GNU automake) 1.15.1
gcc --version
gcc (Ubuntu 7.3.0-16ubuntu3) 7.3.0
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
g++ --version
g++ (Ubuntu 7.3.0-16ubuntu3) 7.3.0
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
python --version
Python 3.6.5
perl --version 2>&1 | head -3
This is perl 5, version 26, subversion 1 (v5.26.1) built for x86_64-linux-gnu-thread-multi
(with 63 registered patches, see perl -V for more detail)
rm -rf '/home/don/openscad_deps/mxe/tmp-cgal-x86_64-w64-mingw32.static.posix'
mkdir -p '/home/don/openscad_deps/mxe/tmp-cgal-x86_64-w64-mingw32.static.posix'
mkdir -p '/home/don/openscad_deps/mxe/tmp-cgal-x86_64-w64-mingw32.static.posix/CGAL-4.11'
mkdir -p '/home/don/openscad_deps/mxe/tmp-cgal-x86_64-w64-mingw32.static.posix/CGAL-4.11.build_'
# disable wine with readonly directory
# see https://github.com/mxe/mxe/issues/841
mkdir -p '/home/don/openscad_deps/mxe/tmp-cgal-x86_64-w64-mingw32.static.posix/readonly'
chmod 0555 '/home/don/openscad_deps/mxe/tmp-cgal-x86_64-w64-mingw32.static.posix/readonly'
cd '/home/don/openscad_deps/mxe/tmp-cgal-x86_64-w64-mingw32.static.posix' && xz -dc '/home/don/openscad_deps/mxe/pkg/CGAL-4.11.tar.xz' | tar xf -
Don't use network from MXE build rules!
Don't use network from MXE build rules!
cd '/home/don/openscad_deps/mxe/tmp-cgal-x86_64-w64-mingw32.static.posix/CGAL-4.11'
(cd '/home/don/openscad_deps/mxe/tmp-cgal-x86_64-w64-mingw32.static.posix/CGAL-4.11' && patch -p1 -u) < /home/don/openscad_deps/mxe/src/cgal-1-fixes.patch
patching file src/CGAL/CMakeLists.txt
cd '/home/don/openscad_deps/mxe/tmp-cgal-x86_64-w64-mingw32.static.posix/CGAL-4.11.build_' && 'x86_64-w64-mingw32.static.posix-cmake' '/home/don/openscad_deps/mxe/tmp-cgal-x86_64-w64-mingw32.static.posix/CGAL-4.11' -DCGAL_INSTALL_CMAKE_DIR:STRING="lib/CGAL" -DCGAL_INSTALL_INC_DIR:STRING="include" -DCGAL_INSTALL_DOC_DIR:STRING="share/doc/CGAL-4.11" -DCGAL_INSTALL_BIN_DIR:STRING="bin" -DCGAL_Boost_USE_STATIC_LIBS:BOOL=ON -DWITH_OpenGL:BOOL=ON -DWITH_ZLIB:BOOL=ON -C'/home/don/openscad_deps/mxe/src/cgal-TryRunResults.cmake'
== Using MXE wrapper: /home/don/openscad_deps/mxe/usr/bin/x86_64-w64-mingw32.static.posix-cmake
- cmake version 3.10.0
- warnings for unused CMAKE_POLICY_DEFAULT variables can be ignored
== Using MXE toolchain: /home/don/openscad_deps/mxe/usr/x86_64-w64-mingw32.static.posix/share/cmake/mxe-conf.cmake
== Using MXE runresult: /home/don/openscad_deps/mxe/usr/share/cmake/modules/TryRunResults.cmake
== Adding "-DCMAKE_BUILD_TYPE=Release"
loading initial cache file /home/don/openscad_deps/mxe/usr/share/cmake/modules/TryRunResults.cmake
loading initial cache file /home/don/openscad_deps/mxe/src/cgal-TryRunResults.cmake
-- The CXX compiler identification is GNU 7.3.0
-- The C compiler identification is GNU 7.3.0
-- Check for working CXX compiler: /home/don/openscad_deps/mxe/usr/bin/x86_64-w64-mingw32.static.posix-g++
-- Check for working CXX compiler: /home/don/openscad_deps/mxe/usr/bin/x86_64-w64-mingw32.static.posix-g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Check for working C compiler: /home/don/openscad_deps/mxe/usr/bin/x86_64-w64-mingw32.static.posix-gcc
-- Check for working C compiler: /home/don/openscad_deps/mxe/usr/bin/x86_64-w64-mingw32.static.posix-gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
== Setting paths ==
-- Build CGAL from release in directory CGAL-4.11
-- Packagenames: CGAL-4.11
== Setting paths (DONE) ==
== Generate version files ==
-- CGAL_MAJOR_VERSION=4
-- CGAL_MINOR_VERSION=11
-- CGAL_BUGFIX_VERSION=0
-- CGAL_SONAME_VERSION=13
-- CGAL_SOVERSION =13.0.1
-- CGAL_REFERENCE_CACHE_DIR=
-- Building static libraries
-- Visual Leak Detector (VLD) is not found.
-- Targetting Unix Makefiles
-- Using /home/don/openscad_deps/mxe/usr/bin/x86_64-w64-mingw32.static.posix-g++ compiler.
-- USING CMake version: 3.10.0
-- System: Windows
-- USING GCC_VERSION = '4.9.2'
-- Using gcc version 4 or later. Adding -frounding-math
== Generate version files (DONE) ==
== Set up flags ==
-- Build type: Release
-- USING CXXFLAGS = ' -frounding-math -O3 -DNDEBUG'
-- USING LDFLAGS = ' '
== Set up flags (DONE) ==
== Detect external libraries ==
-- External libraries supported: GMP;MPFR;ZLIB;OpenGL;LEDA;MPFI;RS;RS3;OpenNL;Eigen3;BLAS;LAPACK;QGLViewer;ESBTL;Coin3D;NTL;IPE
-- Preconfiguring library: GMP ...
-- Found GMP: /home/don/openscad_deps/mxe/usr/x86_64-w64-mingw32.static.posix/lib/libgmp.a
-- GMP has been preconfigured:
-- UseGMP-file:
-- GMP include: /home/don/openscad_deps/mxe/usr/x86_64-w64-mingw32.static.posix/include
-- GMP libraries: /home/don/openscad_deps/mxe/usr/x86_64-w64-mingw32.static.posix/lib/libgmp.a
-- GMP definitions:
-- WARNING: GMP found but print_GMP_version.cpp exited with error condition: 1
-- GMP_INCLUDE_DIR=/home/don/openscad_deps/mxe/usr/x86_64-w64-mingw32.static.posix/include
-- GMP_LIBRARIES=/home/don/openscad_deps/mxe/usr/x86_64-w64-mingw32.static.posix/lib/libgmp.a
-- GMP_LIBRARIES_DIR=/home/don/openscad_deps/mxe/usr/x86_64-w64-mingw32.static.posix/lib
-- Change Dir: /home/don/openscad_deps/mxe/tmp-cgal-x86_64-w64-mingw32.static.posix/CGAL-4.11.build_/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_d8f4e/fast"
make[2]: Entering directory '/home/don/openscad_deps/mxe/tmp-cgal-x86_64-w64-mingw32.static.posix/CGAL-4.11.build_/CMakeFiles/CMakeTmp'
/usr/bin/make -f CMakeFiles/cmTC_d8f4e.dir/build.make CMakeFiles/cmTC_d8f4e.dir/build
make[3]: Entering directory '/home/don/openscad_deps/mxe/tmp-cgal-x86_64-w64-mingw32.static.posix/CGAL-4.11.build_/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_d8f4e.dir/print_GMP_version.cpp.obj
/home/don/openscad_deps/mxe/usr/bin/x86_64-w64-mingw32.static.posix-g++ @CMakeFiles/cmTC_d8f4e.dir/includes_CXX.rsp -frounding-math -o CMakeFiles/cmTC_d8f4e.dir/print_GMP_version.cpp.obj -c /home/don/openscad_deps/mxe/tmp-cgal-x86_64-w64-mingw32.static.posix/CGAL-4.11/config/support/print_GMP_version.cpp
Linking CXX executable cmTC_d8f4e.exe
/home/don/openscad_deps/mxe/usr/x86_64-pc-linux-gnu/bin/cmake -E cmake_link_script CMakeFiles/cmTC_d8f4e.dir/link.txt --verbose=1
/home/don/openscad_deps/mxe/usr/x86_64-pc-linux-gnu/bin/cmake -E remove -f CMakeFiles/cmTC_d8f4e.dir/objects.a
/home/don/openscad_deps/mxe/usr/bin/x86_64-w64-mingw32.static.posix-ar cr CMakeFiles/cmTC_d8f4e.dir/objects.a @CMakeFiles/cmTC_d8f4e.dir/objects1.rsp
/home/don/openscad_deps/mxe/usr/bin/x86_64-w64-mingw32.static.posix-g++ -frounding-math -Wl,--whole-archive CMakeFiles/cmTC_d8f4e.dir/objects.a -Wl,--no-whole-archive -o cmTC_d8f4e.exe -Wl,--out-implib,libcmTC_d8f4e.dll.a -Wl,--major-image-version,0,--minor-image-version,0 @CMakeFiles/cmTC_d8f4e.dir/linklibs.rsp
make[3]: Leaving directory '/home/don/openscad_deps/mxe/tmp-cgal-x86_64-w64-mingw32.static.posix/CGAL-4.11.build_/CMakeFiles/CMakeTmp'
make[2]: Leaving directory '/home/don/openscad_deps/mxe/tmp-cgal-x86_64-w64-mingw32.static.posix/CGAL-4.11.build_/CMakeFiles/CMakeTmp'
version=6.0.0
-- USING GMP_VERSION = 'unknown'
-- Preconfiguring library: MPFR ...
-- Found MPFR: /home/don/openscad_deps/mxe/usr/x86_64-w64-mingw32.static.posix/lib/libmpfr.a
-- MPFR has been preconfigured:
-- UseMPFR-file:
-- MPFR include: /home/don/openscad_deps/mxe/usr/x86_64-w64-mingw32.static.posix/include
-- MPFR libraries: /home/don/openscad_deps/mxe/usr/x86_64-w64-mingw32.static.posix/lib/libmpfr.a
-- MPFR definitions:
-- USING MPFR_VERSION = '3.1.2'
-- Preconfiguring library: ZLIB ...
-- Found ZLIB: /home/don/openscad_deps/mxe/usr/x86_64-w64-mingw32.static.posix/lib/libz.a (found version "1.2.11")
-- ZLIB has been preconfigured:
-- UseZLIB-file:
-- ZLIB include: /home/don/openscad_deps/mxe/usr/x86_64-w64-mingw32.static.posix/include
-- ZLIB libraries: /home/don/openscad_deps/mxe/usr/x86_64-w64-mingw32.static.posix/lib/libz.a
-- ZLIB definitions:
-- Preconfiguring library: OpenGL ...
-- Found OpenGL: opengl32
-- OpenGL has been preconfigured:
-- UseOpenGL-file:
-- OpenGL include:
-- OpenGL libraries:
-- OpenGL definitions:
-- __cplusplus is 201103L
-- --> Do not link with Boost.Thread
-- Boost version: 1.60.0
-- Boost include: /home/don/openscad_deps/mxe/usr/x86_64-w64-mingw32.static.posix/include
-- Boost libraries:
-- Boost definitions:
-- USING BOOST_VERSION = '1.60.0'
== Detect external libraries (DONE) ==
== Write compiler_config.h ==
== Write compiler_config.h (DONE) ==
== Generating build files ==
Configuring libCGAL
-- Requested component: MPFR
-- Requested component: GMP
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - found
-- Found Threads: TRUE
-- Boost version: 1.60.0
-- Found the following Boost libraries:
-- thread
-- system
-- chrono
-- date_time
-- atomic
libCGAL is configured
-- Sources for CGAL component library 'CGAL_Core' detected
Configuring libCGAL_Core
-- Requested component: MPFR
-- Requested component: GMP
-- Boost version: 1.60.0
-- Found the following Boost libraries:
-- thread
-- system
-- chrono
-- date_time
-- atomic
libCGAL_Core is configured
-- Sources for CGAL component library 'CGAL_ImageIO' detected
Configuring libCGAL_ImageIO
-- USING ZLIB_VERSION = '1.2.8'
-- Requested component: MPFR
-- Requested component: GMP
libCGAL_ImageIO is configured
-- Sources for CGAL component library 'CGAL_Qt5' detected
Configuring libCGAL_Qt5
-- libCGAL_Qt5 is missing the dependencies: Qt5Svg Qt5 cannot be configured.
-- Sources for CGAL component libraries 'CGAL_Core;CGAL_ImageIO;CGAL_Qt5' detected
== Generating build files (DONE) ==
-- Configuring done
-- Generating done
CMake Warning:
Manually-specified variables were not used by the project:
CMAKE_POLICY_DEFAULT_CMP0017
CMAKE_POLICY_DEFAULT_CMP0020
-- Build files have been written to: /home/don/openscad_deps/mxe/tmp-cgal-x86_64-w64-mingw32.static.posix/CGAL-4.11.build_
make -C '/home/don/openscad_deps/mxe/tmp-cgal-x86_64-w64-mingw32.static.posix/CGAL-4.11.build_' -j 2
make[2]: Entering directory '/home/don/openscad_deps/mxe/tmp-cgal-x86_64-w64-mingw32.static.posix/CGAL-4.11.build_'
make[3]: Entering directory '/home/don/openscad_deps/mxe/tmp-cgal-x86_64-w64-mingw32.static.posix/CGAL-4.11.build_'
make[4]: Entering directory '/home/don/openscad_deps/mxe/tmp-cgal-x86_64-w64-mingw32.static.posix/CGAL-4.11.build_'
Scanning dependencies of target CGAL
make[4]: Leaving directory '/home/don/openscad_deps/mxe/tmp-cgal-x86_64-w64-mingw32.static.posix/CGAL-4.11.build_'
make[4]: Entering directory '/home/don/openscad_deps/mxe/tmp-cgal-x86_64-w64-mingw32.static.posix/CGAL-4.11.build_'
[ 16%] Building CXX object src/CGAL/CMakeFiles/CGAL.dir/all_files.cpp.obj
In file included from /home/don/openscad_deps/mxe/usr/lib/gcc/x86_64-w64-mingw32.static.posix/7.3.0/include/c++/bits/stl_algo.h:59:0,
from /home/don/openscad_deps/mxe/usr/lib/gcc/x86_64-w64-mingw32.static.posix/7.3.0/include/c++/algorithm:62,
from /home/don/openscad_deps/mxe/tmp-cgal-x86_64-w64-mingw32.static.posix/CGAL-4.11/include/CGAL/config.h:399,
from /home/don/openscad_deps/mxe/tmp-cgal-x86_64-w64-mingw32.static.posix/CGAL-4.11/include/CGAL/Bbox_2.h:27,
from /home/don/openscad_deps/mxe/tmp-cgal-x86_64-w64-mingw32.static.posix/CGAL-4.11/include/CGAL/Bbox_2_Line_2_intersection.h:29,
from /home/don/openscad_deps/mxe/tmp-cgal-x86_64-w64-mingw32.static.posix/CGAL-4.11/src/CGAL/Bbox_2_intersections.cpp:27,
from /home/don/openscad_deps/mxe/tmp-cgal-x86_64-w64-mingw32.static.posix/CGAL-4.11.build_/src/CGAL/all_files.cpp:1:
/home/don/openscad_deps/mxe/usr/lib/gcc/x86_64-w64-mingw32.static.posix/7.3.0/include/c++/cstdlib:75:15: fatal error: stdlib.h: No such file or directory
#include_next <stdlib.h>
^~~~~~~~~~
compilation terminated.
src/CGAL/CMakeFiles/CGAL.dir/build.make:63: recipe for target 'src/CGAL/CMakeFiles/CGAL.dir/all_files.cpp.obj' failed
make[4]: *** [src/CGAL/CMakeFiles/CGAL.dir/all_files.cpp.obj] Error 1
make[4]: Leaving directory '/home/don/openscad_deps/mxe/tmp-cgal-x86_64-w64-mingw32.static.posix/CGAL-4.11.build_'
CMakeFiles/Makefile2:208: recipe for target 'src/CGAL/CMakeFiles/CGAL.dir/all' failed
make[3]: *** [src/CGAL/CMakeFiles/CGAL.dir/all] Error 2
make[3]: Leaving directory '/home/don/openscad_deps/mxe/tmp-cgal-x86_64-w64-mingw32.static.posix/CGAL-4.11.build_'
Makefile:129: recipe for target 'all' failed
make[2]: *** [all] Error 2
make[2]: Leaving directory '/home/don/openscad_deps/mxe/tmp-cgal-x86_64-w64-mingw32.static.posix/CGAL-4.11.build_'
Makefile:787: recipe for target 'build-only-cgal_x86_64-w64-mingw32.static.posix' failed
make[1]: *** [build-only-cgal_x86_64-w64-mingw32.static.posix] Error 2
make[1]: Leaving directory '/home/don/openscad_deps/mxe'
real 0m48.635s
user 0m22.515s
sys 0m2.792s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment