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

Catch dependency missing in net-libs/restbed #62

Closed vrusinov closed 4 years ago

vrusinov commented 5 years ago
>>> Emerging (20 of 22) net-libs/restbed-4.6::ring-overlay
 * restbed-4.6.tar.gz BLAKE2B SHA512 size ;-) ...                                                                                                                                                           [ ok ]
>>> Unpacking source...
>>> Unpacking restbed-4.6.tar.gz to /tmp/portage/net-libs/restbed-4.6/work
>>> Source unpacked in /tmp/portage/net-libs/restbed-4.6/work
>>> Preparing source in /tmp/portage/net-libs/restbed-4.6/work/restbed-4.6 ...
>>> Source prepared.
>>> Configuring source in /tmp/portage/net-libs/restbed-4.6/work/restbed-4.6 ...
>>> Working in BUILD_DIR: "/tmp/portage/net-libs/restbed-4.6/work/restbed-4.6_build"
cmake -C /tmp/portage/net-libs/restbed-4.6/work/restbed-4.6_build/gentoo_common_config.cmake -G Unix Makefiles -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_SHARED=OFF -DBUILD_TESTS=ON -DBUILD_EXAMPLES=OFF -DBUILD_SSL=ON -DCMAKE_BUILD_TYPE=Gentoo -DCMAKE_TOOLCHAIN_FILE=/tmp/portage/net-libs/restbed-4.6/work/restbed-4.6_build/gentoo_toolchain.cmake  /tmp/portage/net-libs/restbed-4.6/work/restbed-4.6
loading initial cache file /tmp/portage/net-libs/restbed-4.6/work/restbed-4.6_build/gentoo_common_config.cmake
-- The CXX compiler identification is GNU 8.3.0
-- Check for working CXX compiler: /usr/lib64/ccache/bin/x86_64-pc-linux-gnu-g++
-- Check for working CXX compiler: /usr/lib64/ccache/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
   Copyright 2013-2017, Corvusoft Ltd, All Rights Reserved.
-- Found ASIO include at: /usr/include
-- Found Kashmir include at: /usr/include
-- Found OpenSSL library at: /usr/lib/libssl.so
-- Found OpenSSL include at: /usr/include
-- Found Crypto library at: /usr/lib/libcrypto.so
CMake Error at cmake/modules/Findcatch.cmake:10 (message):
  Failed to locate Catch dependency.
vrusinov commented 5 years ago

Some more information:

$ sudo emerge -av1 restbed

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

Calculating dependencies... done!
[ebuild  N    ~] net-libs/restbed-4.6::ring-overlay  USE="ssl static-libs test -doc -examples -libressl" 0 KiB

Now, I see there is

DEPEND="${RDEPEND}
    test? ( dev-cpp/catch )"

And I have [ebuild R ] dev-cpp/catch-2.5.0::gentoo USE="test" 0 KiB installed.

Not quite sure what is going on yet.

vrusinov commented 5 years ago

Might be an upstream issue: https://github.com/Corvusoft/restbed/issues/300

I think cmake/Findcatch.cmake may not be looking at the right places.

stefan-langenmaier commented 4 years ago

First of all thanks for all your feedback and sorry for the silence. I just around to look into the build again. There is now an updated restbed ebuild. For me it's working with the test USE-flag. Let me know if you have any more issues.