Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 574498 - sci-astronomy/stellarium-0.14.2 - add dependency on qtnetwork:5
Summary: sci-astronomy/stellarium-0.14.2 - add dependency on qtnetwork:5
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-02-12 06:54 UTC by Ooblick
Modified: 2016-02-12 16:49 UTC (History)
0 users

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


Attachments
Patch the stellarium-0.14.2 ebuild to include a dependency on qtnetwork:5 (stellarium-0.14.2.qt5network.patch,311 bytes, patch)
2016-02-12 06:56 UTC, Ooblick
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ooblick 2016-02-12 06:54:12 UTC
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'
Comment 1 Ooblick 2016-02-12 06:56:08 UTC
Created attachment 425278 [details, diff]
Patch the stellarium-0.14.2 ebuild to include a dependency on qtnetwork:5
Comment 2 Mr. Bones. (RETIRED) gentoo-dev 2016-02-12 16:49:34 UTC
fixed in portage.  thanks for the bug report.