stefan-langenmaier / jami-overlay

Jami (formerly Ring (formerly SFLphone)) is a SIP compatible softphone for GNU/Linux.
GNU General Public License v3.0
22 stars 9 forks source link

unable to build net-libs/libringclient-20180608.2 : Unknown CMake command "QT5_USE_MODULES". #56

Closed gpasset closed 6 years ago

gpasset commented 6 years ago
emerge net-voip/gnome-ring

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N    ~] net-libs/libringclient-20180608.2::ring-overlay  USE="dbus video -doc -static-libs" 0 KiB
[ebuild  N    ~] net-voip/gnome-ring-20180608.2::ring-overlay  USE="libnotify qrcode -appindicator -networkmanager -static-libs" 0 KiB

Total: 2 packages (2 new), Size of downloads: 0 KiB

>>> Verifying ebuild manifests

>>> Emerging (1 of 2) net-libs/libringclient-20180608.2::ring-overlay
 * Fetching files in the background.
 * To view fetch progress, run in another terminal:
 * tail -f /var/log/emerge-fetch.log
 * ring_20180608.2.2b7ff35.tar.gz BLAKE2B SHA512 size ;-) ...                                                                                                                                                                                                                                                                                                                           [ ok ]
>>> Unpacking source...
>>> Unpacking ring_20180608.2.2b7ff35.tar.gz to /var/tmp/portage/net-libs/libringclient-20180608.2/work
>>> Source unpacked in /var/tmp/portage/net-libs/libringclient-20180608.2/work
>>> Preparing source in /var/tmp/portage/net-libs/libringclient-20180608.2/work/ring-project/lrc ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/net-libs/libringclient-20180608.2/work/ring-project/lrc ...
>>> Working in BUILD_DIR: "/var/tmp/portage/net-libs/libringclient-20180608.2/work/libringclient-20180608.2_build"
cmake -C /var/tmp/portage/net-libs/libringclient-20180608.2/work/libringclient-20180608.2_build/gentoo_common_config.cmake -G Unix Makefiles -DCMAKE_INSTALL_PREFIX=/usr -DENABLE_VIDEO=true -DENABLE_STATIC=false -DENABLE_LIBWRAP=false -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DCMAKE_BUILD_TYPE=Gentoo -DCMAKE_USER_MAKE_RULES_OVERRIDE=/var/tmp/portage/net-libs/libringclient-20180608.2/work/libringclient-20180608.2_build/gentoo_rules.cmake -DCMAKE_TOOLCHAIN_FILE=/var/tmp/portage/net-libs/libringclient-20180608.2/work/libringclient-20180608.2_build/gentoo_toolchain.cmake  /var/tmp/portage/net-libs/libringclient-20180608.2/work/ring-project/lrc/
loading initial cache file /var/tmp/portage/net-libs/libringclient-20180608.2/work/libringclient-20180608.2_build/gentoo_common_config.cmake
-- The C compiler identification is GNU 6.4.0
-- The CXX compiler identification is GNU 6.4.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 GCC version >= 4.8: 6.4.0

-- Ring daemon header is in /usr/include/dring
-- Ring library path is /usr/lib/libring.so
-- VIDEO enabled
-- Using Ring DBus-XML interfaces in /usr/share/dbus-1/interfaces
CMake Error at CMakeLists.txt:710 (QT5_USE_MODULES):
  Unknown CMake command "QT5_USE_MODULES".

-- Configuring incomplete, errors occurred!
See also "/var/tmp/portage/net-libs/libringclient-20180608.2/work/libringclient-20180608.2_build/CMakeFiles/CMakeOutput.log".
 * ERROR: net-libs/libringclient-20180608.2::ring-overlay failed (configure phase):
 *   cmake failed
 * 
 * Call stack:
 *     ebuild.sh, line  124:  Called src_configure
 *   environment, line 2848:  Called cmake-utils_src_configure
 *   environment, line  917:  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 '=net-libs/libringclient-20180608.2::ring-overlay'`,
 * the complete build log and the output of `emerge -pqv '=net-libs/libringclient-20180608.2::ring-overlay'`.
 * The complete build log is located at '/var/log/portage/net-libs:libringclient-20180608.2:20180611-172736.log'.
 * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-libs/libringclient-20180608.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-libs/libringclient-20180608.2/temp/environment'.
 * Working directory: '/var/tmp/portage/net-libs/libringclient-20180608.2/work/libringclient-20180608.2_build'
 * S: '/var/tmp/portage/net-libs/libringclient-20180608.2/work/ring-project/lrc/'

>>> Failed to emerge net-libs/libringclient-20180608.2, Log file:

>>>  '/var/log/portage/net-libs:libringclient-20180608.2:20180611-172736.log'

 * Messages for package net-libs/libringclient-20180608.2:
 * Log file: /var/log/portage/net-libs:libringclient-20180608.2:20180611-172736.log

 * ERROR: net-libs/libringclient-20180608.2::ring-overlay failed (configure phase):
 *   cmake failed
 * 
 * Call stack:
 *     ebuild.sh, line  124:  Called src_configure
 *   environment, line 2848:  Called cmake-utils_src_configure
 *   environment, line  917:  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 '=net-libs/libringclient-20180608.2::ring-overlay'`,
 * the complete build log and the output of `emerge -pqv '=net-libs/libringclient-20180608.2::ring-overlay'`.
 * The complete build log is located at '/var/log/portage/net-libs:libringclient-20180608.2:20180611-172736.log'.
 * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-libs/libringclient-20180608.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-libs/libringclient-20180608.2/temp/environment'.
 * Working directory: '/var/tmp/portage/net-libs/libringclient-20180608.2/work/libringclient-20180608.2_build'
 * S: '/var/tmp/portage/net-libs/libringclient-20180608.2/work/ring-project/lrc/'
gpasset commented 6 years ago

resolved upstream: https://gerrit-ring.savoirfairelinux.com/#/c/9577/

stefan-langenmaier commented 6 years ago

Thanks for the follow up and sorry I didn't have the time to look into this.

On Sat, Jun 16, 2018, 9:54 AM Guido Passet notifications@github.com wrote:

resolved upstream: https://gerrit-ring.savoirfairelinux.com/#/c/9577/

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/stefan-langenmaier/ring-overlay/issues/56#issuecomment-397795317, or mute the thread https://github.com/notifications/unsubscribe-auth/AAxTdJ6izLStinSJ6S1sMfqlPlNHudnwks5t9LmtgaJpZM4UjF3s .

gpasset commented 6 years ago

No problem, i think its great that you are maintaining the overlay :) This is an issue caused by >=Qt 5.11 which I have explicitly unmasked. People running stable Qt should not run into this issue (yet).