Closed kzdixon closed 1 year ago
You do not have to change the selected wxwidgets to get this to merge. I do not know if it will be detrimental to keep on 3.2 so I leave it to 3.0. Only Cemu needs 3.2 but eselect does not help to make it find it.
Does the file /usr/lib64/wx/config/gtk3-unicode-3.2-gtk3
exist on your machine? Is it executable?
Also, please attach the full log.
What it should look like:
$ ls -la /usr/lib64/wx/config/gtk3-unicode-3.2-gtk3
-rwxr-xr-x 1 root root 49106 Feb 11 22:46 /usr/lib64/wx/config/gtk3-unicode-3.2-gtk3
$ ls -la /usr/lib64/wx/config/gtk3-unicode-3.2-gtk3
-rwxr-xr-x 1 root root 48823 Feb 16 23:39 /usr/lib64/wx/config/gtk3-unicode-3.2-gtk3
Try the following commands and attach the logs:
cmake --debug-find-pkg=wxWidgets --find-package -DNAME=wxWidgets 3.2 -DCOMPILER_ID=GNU -DLANGUAGE=CXX -DMODE=EXIST > cmake-debug.log
cmake --debug-find-pkg=wxWidgets --find-package -DNAME=wxWidgets -DCOMPILER_ID=GNU -DLANGUAGE=CXX -DMODE=EXIST > cmake-debug-no-version.log
Try the following commands and attach the logs:
cmake --debug-find-pkg=wxWidgets --find-package -DNAME=wxWidgets 3.2 -DCOMPILER_ID=GNU -DLANGUAGE=CXX -DMODE=EXIST > cmake-debug.log cmake --debug-find-pkg=wxWidgets --find-package -DNAME=wxWidgets -DCOMPILER_ID=GNU -DLANGUAGE=CXX -DMODE=EXIST > cmake-debug-no-version.log
Are you using wxGTK from Gentoo or stefan? If the latter, switch to the Gentoo one as the overlay is no longer needed.
I get the same behavior on both; had originally tried the gentoo
one and then tried the other one when it was initially suggested.
gentoo
's wxGTK is installed currently.
Need to re-run those commands and attach output, this time saving stderr.
cmake --debug-find-pkg=wxWidgets --find-package -DNAME=wxWidgets 3.2 -DCOMPILER_ID=GNU -DLANGUAGE=CXX -DMODE=EXIST > cmake-debug.log 2>&1
cmake --debug-find-pkg=wxWidgets --find-package -DNAME=wxWidgets -DCOMPILER_ID=GNU -DLANGUAGE=CXX -DMODE=EXIST > cmake-debug-no-version.log 2>&1
Need to re-run those commands and attach output, this time saving stderr.
cmake --debug-find-pkg=wxWidgets --find-package -DNAME=wxWidgets 3.2 -DCOMPILER_ID=GNU -DLANGUAGE=CXX -DMODE=EXIST > cmake-debug.log 2>&1 cmake --debug-find-pkg=wxWidgets --find-package -DNAME=wxWidgets -DCOMPILER_ID=GNU -DLANGUAGE=CXX -DMODE=EXIST > cmake-debug-no-version.log 2>&1
Need you to do something a little more complicated:
cd /var/db/repos/tatsh/games-emulation/cemu
(or where it is)diff --git a/games-emulation/cemu/cemu-2.0_p20230218.ebuild b/games-emulation/cemu/cemu-2.0_p20230218.ebuild
index 352573e..92c5701 100644
--- a/games-emulation/cemu/cemu-2.0_p20230218.ebuild
+++ b/games-emulation/cemu/cemu-2.0_p20230218.ebuild
@@ -66,6 +66,7 @@ src_configure() {
-DPORTABLE=OFF
-DwxWidgets_CONFIG_EXECUTABLE=/usr/$(get_libdir)/wx/config/gtk3-unicode-3.2-gtk3
-Wno-dev
+ --debug-find-pkg=wxWidgets
)
cmake_src_configure
}
ebuild cemu-2.0_p20230218.ebuild manifest clean configure
git checkout .
to reset the repository.Sorry for the delay, nearly forgot to do this when I had time. build.log
Run eselect wxwidgets set gtk3-unicode-3.2-gtk3
and post the log again.
Run
eselect wxwidgets set gtk3-unicode-3.2-gtk3
and post the log again.
I do not know what to do next here. You have a fairly customised setup and I think something in the environment is incorrect but it would be pointless to take more stabs at it I think. I cannot reproduce this issue and I have 2 systems detecting wxWidgets 3.2 (Gentoo's ebuild) without an issue.
You should grab the Cemu source and try building without Portage and see what the results are.
I'm not sure if this is the same issue as his one, but it seems at least similar : https://gist.github.com/520fa64ffb4f13afd097c9f860a7c904 My wxGTK version is : x11-libs/wxGTK-3.2.2.1-r300:3.2-gtk3/3.2.2::stefantalpalaru
I'm not sure why I'm using this wxGTK version instead of the one in ::gentoo. It seems to me it is also causing issue with other packages.
I finally replaced x11-libs/wxGTK-3.2.2.1-r300::stefantalpalaru by x11-libs/wxGTK-3.2.2.1::gentoo. It fixed sci-eletronics/kicad-7.0.0-r1::gentoo but not games-emulator/cemu::tatsh-overlay.
Here's my current build failure logs : https://gist.github.com/fbd60cf13cea3b1760c692c48c537709
I finally replaced x11-libs/wxGTK-3.2.2.1-r300::stefantalpalaru by x11-libs/wxGTK-3.2.2.1::gentoo. It fixed sci-eletronics/kicad-7.0.0-r1::gentoo but not games-emulator/cemu::tatsh-overlay.
Here's my current build failure logs : https://gist.github.com/fbd60cf13cea3b1760c692c48c537709
No this is not the same problem. Your wxWidgets 3.2 is getting found and you are getting past the configure phase. The issue you have is being resolved shortly.
@kzdixon I think I may have found the issue. Please update and try building again. Make sure you see the line x11-libs/wxGTK:3.2-gtk3[opengl]
in the ebuild.
You can check with qgrep 'x11-libs/wxGTK:3.2-gtk3[opengl]' cemu
.
@Tatsh ok I see. Thanks a lot.
@kzdixon I think I may have found the issue. Please update and try building again. Make sure you see the line
x11-libs/wxGTK:3.2-gtk3[opengl]
in the ebuild.You can check with
qgrep 'x11-libs/wxGTK:3.2-gtk3[opengl]' cemu
.
Yep, that did it.
Thanks for the report.
Original post: https://github.com/cemu-project/Cemu/issues/107#issuecomment-1433715494 Moving here for relevancy as requested. Attempting to emerge
cemu
:results in:
Neither the suggested overlay's wxGTK nor 3.2.1 in the gentoo repository seem to satisfy the ebuild's search.