-- Revised GL Lib: /usr/lib64/libGL.so -- Could NOT find wxWidgets (missing: wxWidgets_LIBRARIES) -- Could not find wxWidgets webview add-on -- Could NOT find wxWidgets (missing: wxWidgets_LIBRARIES) CMake Error at CMakeLists.txt:747 (message): Cannot find wxWidgets, giving up. On linux you might want to try using -DOCPN_FORCE_GTK3. ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_hardened-j4-20211127-222420 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-11.2.1 * clang version 13.0.0 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/13/bin /usr/lib/llvm/13 13.0.0 Python 3.9.9 Available Ruby profiles: [1] ruby26 (with Rubygems) [2] ruby27 (with Rubygems) [3] ruby30 (with Rubygems) * Available Rust versions: [1] rust-1.56.1 * The following VMs are available for generation-2: 1) IcedTea JDK 3.16.0 (amd64) [icedtea-bin-8] *) AdoptOpenJDK 8.312_p07 [openjdk-bin-8] Available Java Virtual Machines: [1] icedtea-bin-8 [2] openjdk-bin-8 system-vm The Glorious Glasgow Haskell Compilation System, version 8.10.4 php cli: HEAD of ::gentoo commit ad58f699c1afa10d8c02ef7ece33a1a8d7ced973 Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Sun Nov 28 19:36:45 2021 +0000 2021-11-28 19:36:43 UTC emerge -qpvO sci-geosciences/opencpn [ebuild N ] sci-geosciences/opencpn-5.2.4 USE="-doc -lzma -opengl"
Created attachment 756958 [details] emerge-info.txt
Created attachment 756960 [details] CMakeOutput.log
Created attachment 756962 [details] emerge-history.txt
Created attachment 756964 [details] environment
Created attachment 756966 [details] etc.portage.tar.bz2
Created attachment 756968 [details] logs.tar.bz2
Created attachment 756970 [details] sci-geosciences:opencpn-5.2.4:20211128-195501.log
Created attachment 756972 [details] temp.tar.bz2
Will this work when adding "-DOCPN_FORCE_GTK3" as suggested?
ci has reproduced this issue with version 5.6.2 - Updating summary.
I was having the same issue of wxwidgets not found. Adding DOCPN_FORCE_GTK3=ON does not work. But looking at the configuration file, if GTK version is >3.0 it seems to only be looking for the 3.0 versions of wxGTK. For some reason my version of wxGTK-3.0 was compiled without opengl support even though opengl is enable for most everything else. Reemerging =x11-libs/wxGTK-3.0.5.1-r1 with opengl use flag fixed the build.
(In reply to Mark from comment #11) > I was having the same issue of wxwidgets not found. Adding > DOCPN_FORCE_GTK3=ON does not work. But looking at the configuration file, if > GTK version is >3.0 it seems to only be looking for the 3.0 versions of > wxGTK. For some reason my version of wxGTK-3.0 was compiled without opengl > support even though opengl is enable for most everything else. Reemerging > =x11-libs/wxGTK-3.0.5.1-r1 with opengl use flag fixed the build. Thanks! I will add wxGTK[opengl] as dependency
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9f9f7af8a0718c3810b47905b12ad4f45eede4cc commit 9f9f7af8a0718c3810b47905b12ad4f45eede4cc Author: Marc Schiffbauer <mschiff@gentoo.org> AuthorDate: 2023-05-28 20:59:37 +0000 Commit: Marc Schiffbauer <mschiff@gentoo.org> CommitDate: 2023-05-28 21:01:17 +0000 sci-geosciences/opencpn: fix wxGTK dep Closes: https://bugs.gentoo.org/827806 Signed-off-by: Marc Schiffbauer <mschiff@gentoo.org> .../opencpn/{opencpn-5.6.2.ebuild => opencpn-5.6.2-r1.ebuild} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
(In reply to Larry the Git Cow from comment #13) > The bug has been closed via the following commit(s): > > https://gitweb.gentoo.org/repo/gentoo.git/commit/ > ?id=9f9f7af8a0718c3810b47905b12ad4f45eede4cc > > commit 9f9f7af8a0718c3810b47905b12ad4f45eede4cc > Author: Marc Schiffbauer <mschiff@gentoo.org> > AuthorDate: 2023-05-28 20:59:37 +0000 > Commit: Marc Schiffbauer <mschiff@gentoo.org> > CommitDate: 2023-05-28 21:01:17 +0000 > > sci-geosciences/opencpn: fix wxGTK dep > > Closes: https://bugs.gentoo.org/827806 > Signed-off-by: Marc Schiffbauer <mschiff@gentoo.org> > > .../opencpn/{opencpn-5.6.2.ebuild => opencpn-5.6.2-r1.ebuild} | 4 > ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) I'm not sure this will close the bug. It needs to find a 3.0 version of wxGTK, I had x11-libs/wxGTK-3.2.2.1-r2 installed with opengl enabled and it would not find it. reemerging x11-libs/wxGTK-3.0.5.1-r1 with opengl and it was fine.
(In reply to Mark from comment #14) > (In reply to Larry the Git Cow from comment #13) > > The bug has been closed via the following commit(s): > > > > https://gitweb.gentoo.org/repo/gentoo.git/commit/ > > ?id=9f9f7af8a0718c3810b47905b12ad4f45eede4cc > > > > commit 9f9f7af8a0718c3810b47905b12ad4f45eede4cc > > Author: Marc Schiffbauer <mschiff@gentoo.org> > > AuthorDate: 2023-05-28 20:59:37 +0000 > > Commit: Marc Schiffbauer <mschiff@gentoo.org> > > CommitDate: 2023-05-28 21:01:17 +0000 > > > > sci-geosciences/opencpn: fix wxGTK dep > > > > Closes: https://bugs.gentoo.org/827806 > > Signed-off-by: Marc Schiffbauer <mschiff@gentoo.org> > > > > .../opencpn/{opencpn-5.6.2.ebuild => opencpn-5.6.2-r1.ebuild} | 4 > > ++-- > > 1 file changed, 2 insertions(+), 2 deletions(-) > > I'm not sure this will close the bug. It needs to find a 3.0 version of > wxGTK, I had x11-libs/wxGTK-3.2.2.1-r2 installed with opengl enabled and it > would not find it. reemerging x11-libs/wxGTK-3.0.5.1-r1 with opengl and it > was fine. Thanks for pointing this out. I moved wxGTK dependency now from RDEPEND to BDEPEND, that should fix it.
Having it in BDEPEND sounds pretty suspicious. Are you really saying it doesn't link against or use wxGTK headers *at all*?