On a non-KDE system (one without most of qt built), not all qt packages are installed by default. This leads to the following build error with qtcore-5.5.1-r1 (this is with ACCEPT_KEYWORDS=~amd64): >>> Emerging (1 of 1) sci-astronomy/stellarium-0.14.2::LocalOverlay * stellarium-0.14.2.tar.gz SHA256 SHA512 WHIRLPOOL size ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking stellarium-0.14.2.tar.gz to /tmp/portage/sci-astronomy/stellarium-0.14.2/work >>> Source unpacked in /tmp/portage/sci-astronomy/stellarium-0.14.2/work >>> Preparing source in /tmp/portage/sci-astronomy/stellarium-0.14.2/work/stellarium-0.14.2 ... >>> Source prepared. >>> Configuring source in /tmp/portage/sci-astronomy/stellarium-0.14.2/work/stellarium-0.14.2 ... >>> Working in BUILD_DIR: "/tmp/portage/sci-astronomy/stellarium-0.14.2/work/stellarium-0.14.2" cmake --no-warn-unused-cli -C /tmp/portage/sci-astronomy/stellarium-0.14.2/work/stellarium-0.14.2/gentoo_common_config.cmake -G Unix Makefiles -DCMAKE_INSTALL_PREFIX=/usr -DENABLE_nls=ON -DENABLE_NLS=ON -DENABLE_Nls=ON -DENABLE_sound=OFF -DENABLE_SOUND=OFF -DENABLE_Sound=OFF -DCMAKE_BUILD_TYPE=Gentoo -DCMAKE_INSTALL_DO_STRIP=OFF -DCMAKE_USER_MAKE_RULES_OVERRIDE=/tmp/portage/sci-astronomy/stellarium-0.14.2/work/stellarium-0.14.2/gentoo_rules.cmake -DCMAKE_TOOLCHAIN_FILE=/tmp/portage/sci-astronomy/stellarium-0.14.2/work/stellarium-0.14.2/gentoo_toolchain.cmake /tmp/portage/sci-astronomy/stellarium-0.14.2/work/stellarium-0.14.2 Not searching for unused variables given on the command line. loading initial cache file /tmp/portage/sci-astronomy/stellarium-0.14.2/work/stellarium-0.14.2/gentoo_common_config.cmake -- The C compiler identification is GNU 5.3.0 -- The CXX compiler identification is GNU 5.3.0 -- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc -- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/x86_64-pc-linux-gnu-g++ -- Check for working CXX compiler: /usr/bin/x86_64-pc-linux-gnu-g++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Found Qt5: /usr/lib64/qt5/bin/qmake (found suitable version "5.5.1") CMake Error at CMakeLists.txt:222 (FIND_PACKAGE): By not providing "FindQt5Network.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "Qt5Network", but CMake did not find one. Could not find a package configuration file provided by "Qt5Network" with any of the following names: Qt5NetworkConfig.cmake qt5network-config.cmake Add the installation prefix of "Qt5Network" to CMAKE_PREFIX_PATH or set "Qt5Network_DIR" to a directory containing one of the above files. If "Qt5Network" provides a separate development package or SDK, be sure it has been installed. -- Configuring incomplete, errors occurred! See also "/tmp/portage/sci-astronomy/stellarium-0.14.2/work/stellarium-0.14.2/CMakeFiles/CMakeOutput.log". * ERROR: sci-astronomy/stellarium-0.14.2::LocalOverlay failed (configure phase): * cmake failed * * Call stack: * ebuild.sh, line 133: Called src_configure * environment, line 3169: Called cmake-utils_src_configure * environment, line 769: Called _cmake_execute_optionally 'src_configure' * environment, line 304: Called enable_cmake-utils_src_configure * environment, line 1109: 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 '=sci-astronomy/stellarium-0.14.2::LocalOverlay'`, * the complete build log and the output of `emerge -pqv '=sci-astronomy/stellarium-0.14.2::LocalOverlay'`. * The complete build log is located at '/tmp/portage/sci-astronomy/stellarium-0.14.2/temp/build.log'. * The ebuild environment file is located at '/tmp/portage/sci-astronomy/stellarium-0.14.2/temp/environment'. * Working directory: '/tmp/portage/sci-astronomy/stellarium-0.14.2/work/stellarium-0.14.2' * S: '/tmp/portage/sci-astronomy/stellarium-0.14.2/work/stellarium-0.14.2' >>> Failed to emerge sci-astronomy/stellarium-0.14.2, Log file: >>> '/tmp/portage/sci-astronomy/stellarium-0.14.2/temp/build.log'
Created attachment 425278 [details, diff] Patch the stellarium-0.14.2 ebuild to include a dependency on qtnetwork:5
fixed in portage. thanks for the bug report.