Summary: | sci-geosciences/opencpn-5.6.2 - Cannot find wxWidgets | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
Component: | Current packages | Assignee: | Marc Schiffbauer <mschiff> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | sci-geosciences |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
emerge-info.txt
CMakeOutput.log emerge-history.txt environment etc.portage.tar.bz2 logs.tar.bz2 sci-geosciences:opencpn-5.2.4:20211128-195501.log temp.tar.bz2 |
Description
Toralf Förster
2021-11-28 20:41:41 UTC
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*? |