-- Using Soup to provide Soup CMake Error at cmake/MultiFind.cmake:20 (find_package): By not providing "FindSoup.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "Soup", but CMake did not find one. Could not find a package configuration file provided by "Soup" with any of the following names: ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1-j5-20230316-190004 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-10 [2] x86_64-pc-linux-gnu-13 * clang/llvm (if any): clang version 16.0.0 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/16/bin Configuration file: /etc/clang/clang.cfg /usr/lib/llvm/16 16.0.0 Python 3.10.10 Available Ruby profiles: [1] ruby27 (with Rubygems) [2] ruby30 (with Rubygems) * Available Rust versions: [1] rust-bin-1.68.0 [2] rust-1.68.0 * The following VMs are available for generation-2: 1) Eclipse Temurin JDK 11.0.18_p10 [openjdk-bin-11] *) Eclipse Temurin JDK 17.0.6_p10 [openjdk-bin-17] 3) Eclipse Temurin JDK 8.362_p09 [openjdk-bin-8] 4) Eclipse Temurin JRE 17.0.6_p10 [openjdk-jre-bin-17] Available Java Virtual Machines: [1] openjdk-bin-8 [2] openjdk-bin-11 [3] openjdk-bin-17 system-vm [4] openjdk-jre-bin-17 The Glorious Glasgow Haskell Compilation System, version 9.0.2 php cli (if any): HEAD of ::gentoo commit 900b2ab1fa98cddb95a0c4882d4c08692d43d64c Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Wed Mar 22 08:31:56 2023 +0000 2023-03-22 08:31:55 UTC emerge -qpvO net-im/dino [ebuild N ] net-im/dino-0.4.1-r1 USE="gpg http notification-sound omemo -test"
Created attachment 858613 [details] emerge-info.txt
Created attachment 858615 [details] emerge-history.txt.bz2
Created attachment 858617 [details] environment
Created attachment 858619 [details] etc.clang.tar.bz2
Created attachment 858621 [details] etc.portage.tar.bz2
Created attachment 858623 [details] net-im:dino-0.4.1-r1:20230322-090025.log
Created attachment 858625 [details] temp.tar.bz2
*** Bug 902849 has been marked as a duplicate of this bug. ***
jubalh, any chance we can make this work with libsoup3? if not, it looks like we have to pass a configure arg (see dupe bug 902849)
(In reply to Sam James from comment #9) > jubalh, any chance we can make this work with libsoup3? if not, it looks > like we have to pass a configure arg (see dupe bug 902849) Should be possible: https://github.com/dino/dino/blob/6e37f3fe3fa0f4ce9a25a91e9d97191c8e4abec1/cmake/SoupVersion.cmake#L26 Unfortunately I don't quite understand the bugreport. Could you explain it to me? To me it looks like it should build with both. And the "By not providing "FindSoup.cmake"" is confusing to me. Not providing it? But it's part of upstream?
I assume I need to make it configurable to either build it with libsoup2 or 3 instead of `http? ( net-libs/libsoup:2.4 )` is that what is meant here?
Created attachment 865245 [details, diff] Patch that fixes build This patch can be applied as-is to elegantly solve this bug. With this patch applied, Dino builds and works on my system. Passing SOUP_VERSION to CMake mitigates the problem. The ebuild already depends on libsoup:2.4, so passing the Soup version for configuration instead of relying on auto-detection is the right thing to do anyway.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bebf26d22680710de88bc21db16799bdc27114f9 commit bebf26d22680710de88bc21db16799bdc27114f9 Author: Michael Vetter <jubalh@iodoru.org> AuthorDate: 2023-07-11 05:06:41 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-07-26 03:00:06 +0000 net-im/dino: Specify soup version Bug: https://bugs.gentoo.org/902753 Signed-off-by: Michael Vetter <jubalh@iodoru.org> Signed-off-by: Sam James <sam@gentoo.org> net-im/dino/dino-0.4.2-r2.ebuild | 1 + 1 file changed, 1 insertion(+)