Created attachment 597418 [details] media-libs:coin-4.0.0a_pre20191109:20191124-124549.log Trying to emerge media-libs/coin-4.0.0a_pre20191109 gave me this error : -- Performing Test HAVE_GLX - Success -- Looking for include file GL/gl.h CMake Error in /mnt/Volume_3/Gentoo/temp/portage/media-libs/coin-4.0.0a_pre20191109/work/coin-4.0.0a_pre20191109_build/CMakeFiles/CMakeTmp/CMakeLists.txt: No known features for CXX compiler "" version . CMake Error at /usr/share/cmake/Modules/CheckIncludeFiles.cmake:136 (try_compile): Failed to generate test project build system. Call Stack (most recent call first): CMakeLists.txt:608 (check_include_files) -- Configuring incomplete, errors occurred! See also "/mnt/Volume_3/Gentoo/temp/portage/media-libs/coin-4.0.0a_pre20191109/work/coin-4.0.0a_pre20191109_build/CMakeFiles/CMakeOutput.log". See also "/mnt/Volume_3/Gentoo/temp/portage/media-libs/coin-4.0.0a_pre20191109/work/coin-4.0.0a_pre20191109_build/CMakeFiles/CMakeError.log". * ERROR: media-libs/coin-4.0.0a_pre20191109::gentoo failed (configure phase): * cmake failed * * Call stack: * ebuild.sh, line 125: Called src_configure * environment, line 2101: Called cmake-utils_src_configure * environment, line 947: Called die * The specific snippet of code: * "${CMAKE_BINARY}" "${cmakeargs[@]}" "${CMAKE_USE_DIR}" || die "cmake failed"; * * If you need support, post the output of `emerge --info '=media-libs/coin-4.0.0a_pre20191109::gentoo'`, * the complete build log and the output of `emerge -pqv '=media-libs/coin-4.0.0a_pre20191109::gentoo'`. * The complete build log is located at '/var/log/portage/media-libs:coin-4.0.0a_pre20191109:20191124-124549.log'. * The ebuild environment file is located at '/mnt/Volume_3/Gentoo/temp/portage/media-libs/coin-4.0.0a_pre20191109/temp/environment'. * Working directory: '/mnt/Volume_3/Gentoo/temp/portage/media-libs/coin-4.0.0a_pre20191109/work/coin-4.0.0a_pre20191109_build' * S: '/mnt/Volume_3/Gentoo/temp/portage/media-libs/coin-4.0.0a_pre20191109/work/Coin3D-coin-a4ce638f43bd'
Created attachment 597420 [details] emerge --info emerge --info
Can you reproduce it with coin-4.0.0 that is in portage? Do you have libglvnd installed? (it providers OpenGL headers nowadays)
(In reply to Maciej Mrozowski from comment #2) > Can you reproduce it with coin-4.0.0 that is in portage? > Do you have libglvnd installed? (it providers OpenGL headers nowadays) Yes I can reproduce it with 4.0.0 and yes and I libglvnd installed with the respective use flag on mesa, xorg and nvidia-drivers.
(In reply to Petross404(Petros S) from comment #3) > (In reply to Maciej Mrozowski from comment #2) > > Can you reproduce it with coin-4.0.0 that is in portage? > > Do you have libglvnd installed? (it providers OpenGL headers nowadays) > > Yes I can reproduce it with 4.0.0 and yes and I libglvnd installed with the > respective use flag on mesa, xorg and nvidia-drivers. If I ran ebuild /path/to/coin-4.0.0.ebuild unpack and cd there to manually configure and build it, everything compiles like a charm. I don't know what goes wrong when portage does the same.