Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 701076 - =media-libs/coin-4.0.0a_pre20191109 CMake Error:No known features for CXX compiler "" version
Summary: =media-libs/coin-4.0.0a_pre20191109 CMake Error:No known features for CXX com...
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Maciej Mrozowski
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-11-24 12:54 UTC by Petross404(Petros S)
Modified: 2021-06-22 17:47 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
media-libs:coin-4.0.0a_pre20191109:20191124-124549.log (media-libs:coin-4.0.0a_pre20191109:20191124-124549.log,8.78 KB, text/x-log)
2019-11-24 12:54 UTC, Petross404(Petros S)
Details
emerge --info (emerge.info.txt,25.25 KB, text/plain)
2019-11-24 12:57 UTC, Petross404(Petros S)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Petross404(Petros S) 2019-11-24 12:54:57 UTC
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'
Comment 1 Petross404(Petros S) 2019-11-24 12:57:36 UTC
Created attachment 597420 [details]
emerge --info

emerge --info
Comment 2 Maciej Mrozowski gentoo-dev 2020-09-27 00:34:40 UTC
Can you reproduce it with coin-4.0.0 that is in portage?
Do you have libglvnd installed? (it providers OpenGL headers nowadays)
Comment 3 Petross404(Petros S) 2020-10-07 12:53:45 UTC
(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.
Comment 4 Petross404(Petros S) 2021-06-22 17:39:35 UTC
(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.