Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] libringclient from overlay struggling with qt5
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
guid0
Guru
Guru


Joined: 06 Jul 2003
Posts: 370
Location: The Netherlands / Nederland

PostPosted: Wed Jun 13, 2018 9:09 am    Post subject: [solved] libringclient from overlay struggling with qt5 Reply with quote

Hi,

In what seems to be an endless quest to get rid of skype I am trying to install yet another voip/chat-client. This time its Ring.CX :)

However the overlay, installed using:

Code:
layman -f -a ring-overlay


is throwing an error on build which hints at a Qt5 issue.

Code:
emerge -uvDN libringclient

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

Total: 1 package (1 new), Size of downloads: 0 KiB


>>> Verifying ebuild manifests

>>> Emerging (1 of 1) net-libs/libringclient-20180608.2::ring-overlay
 * 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 2849:  Called cmake-utils_src_configure
 *   environment, line  918:  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:20180613-090431.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:20180613-090431.log'


I have been in trouble with Qt many times before so im not sure if this is a Qt issue or something I should look for in libringclient.

Anyone willing to share his or her thoughts on this?

For what its worth, i have Qt fully on ~amd64.

Cheers,
guid0


Last edited by guid0 on Sat Jun 16, 2018 7:57 am; edited 1 time in total
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 8935

PostPosted: Sat Jun 16, 2018 6:23 am    Post subject: Re: libringclient from overlay struggling with qt5 Reply with quote

guid0 wrote:
For what its worth, i have Qt fully on ~amd64.

No, you must have unmasked Qt 5.11 because this is an issue only caused by Qt 5.11. The package needs to be fixed for the removal of qt5_use_modules macro. Check in the upstream repository if they already fixed it themselves or are aware of the problem, if not, make them so. The fix is trivial and can be seen in many '*qt-5.11b3*' patches around the tree.
Back to top
View user's profile Send private message
guid0
Guru
Guru


Joined: 06 Jul 2003
Posts: 370
Location: The Netherlands / Nederland

PostPosted: Sat Jun 16, 2018 7:57 am    Post subject: Re: libringclient from overlay struggling with qt5 Reply with quote

asturm wrote:
No, you must have unmasked Qt 5.11 because this is an issue only casued by Qt 5.11.


Indeed. Sorry i forgot to mention this.

asturm wrote:
The package needs to be fixed for the removal of qt5_use_modules macro. Check in the upstream repository if they already fixed it themselves or are aware of the problem, if not, make them so. The fix is trivial and can be seen in many '*qt-5.11b3*' patches around the tree.


It seems that it has already been fixed upstream a couple of days ago.

https://gerrit-ring.savoirfairelinux.com/#/c/9577/2/CMakeLists.txt

Thanks for the hints and pointers! I moved to -99999999 for now and all builds fine :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum