sci-electronics/gspiceui-1.2.87-r1 depends now on wxGTK-3.2 and no longer wxGTK-3.0 If wxGTK-3.0 is not installed, the gspiceui compilation fails straight at the beginning: x86_64-pc-linux-gnu-g++ -c -march=corei7-avx -O2 -fomit-frame-pointer -pipe -I. CmdLinePcr.cpp -o obj/CmdLinePcr.o In file included from CmdLinePcr.hpp:24, from App_gSpiceUI.hpp:23, from App_gSpiceUI.cpp:17: TypeDefs.hpp:30:10: fatal error: wx/wx.h: No such file or directory 30 | #include <wx/wx.h> | ^~~~~~~~~ compilation terminated. Reinstalling wxGTK-3.0 "*fix*" the issue but the linker links against wxGTK-3.0 libraries not wxGTK-3.2 libraries as it should per dependency in gspiceui-1.2.87-r1 package. For wxWidgets, I'm not setting any profile so the system shall use the latest but obviously it's not. When I'm removing wxGTK-3.0 (after re-compiling gspiceui), old wxGTK libraries remains in the system because the system detects gspiceui still need wxGTK-3.0 libraries. Available wxWidgets profiles: [1] gtk3-unicode-3.0-gtk3 (<- only appears if wxGTK-3.0 is installed) [2] gtk3-unicode-3.2-gtk3 *
The issue here is not likely to be in sci-electronics/gspiceui but in wxGTK-3.2 package. It seems something is broken in wxGTK-3.2 package regarding support for wxGTK-3.0 in wxGTK-3.2 This command returns a warning #/usr/lib64/wx/config/gtk3-unicode-3.2-gtk3 --unicode --version=3.0 --cxxflags Warning: No config found to match: /usr/lib64/wx/config/gtk3-unicode-3.2-gtk3 --unicode --version=3.0 --cxxflags whilst this one (w/o --version=3.0), just run fine /usr/lib64/wx/config/gtk3-unicode-3.2-gtk3 --unicode --cxxflags -I/usr/lib64/wx/include/gtk3-unicode-3.2-gtk3 -I/usr/include/wx-3.2-gtk3 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread
*** Bug 920921 has been marked as a duplicate of this bug. ***
I hit the same issue with sci-electronics/gspiceui-1.2.87-r1 and x11-libs/wxGTK-3.2.2.1-r3. Simply patching the gspiceui ebuild to GSPICEUI_WXLIB=3.2 made it build for me (see the attached patch).
Created attachment 883745 [details, diff] ebuild patch
(In reply to Maciej S. Szmigiero from comment #4) > Created attachment 883745 [details, diff] [details, diff] > ebuild patch Effectively compile fine with your patch but gspiceui doesn't like wxGTK-3.2. Textarea box in the main window is too small and you cannot resize it. Graphical glitches are simply too severe to use gspiceui with wxGTK-3.2