Summary: | x11-libs/wxGTK reverse dependencies may fail to build with undefined references (was: media-gfx/hugin: build error "ninja -v -j32 -l32 failed") | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Vitaly Zdanevich <zdanevich.vitaly> |
Component: | Current packages | Assignee: | Gentoo wxWidgets project <wxwidgets> |
Status: | RESOLVED CANTFIX | ||
Severity: | normal | CC: | eschwartz, floppym, zdanevich.vitaly |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=955974 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | Build log |
Description
Vitaly Zdanevich
2025-05-14 06:21:23 UTC
``` [31mFAILED: [0msrc/hugin1/ptbatcher/PTBatcherGUI : && /usr/bin/x86_64-pc-linux-gnu-g++ -O2 -march=native -pipe -frecord-gcc-switches -pthread -Wl,-O3 -Wl,--as-needed -Wl,--gc-sections -Wl,--defsym=__gentoo_check_ldflags__=0 -fopenmp -Wl,--dependency-file=src/hugin1/ptbatcher/CMakeFiles/PTBatcherGUI.dir/link.d src/hugin1/ptbatcher/CMakeFiles/PTBatcherGUI.dir/PTBatcherGUI.cpp.o src/hugin1/ptbatcher/CMakeFiles/PTBatcherGUI.dir/Batch.cpp.o src/hugin1/ptbatcher/CMakeFiles/PTBatcherGUI.dir/RunStitchFrame.cpp.o src/hugin1/ptbatcher/CMakeFiles/PTBatcherGUI.dir/ProjectArray.cpp.o src/hugin1/ptbatcher/CMakeFiles/PTBatcherGUI.dir/ProjectListBox.cpp.o src/hugin1/ptbatcher/CMakeFiles/PTBatcherGUI.dir/BatchFrame.cpp.o src/hugin1/ptbatcher/CMakeFiles/PTBatcherGUI.dir/FindPanoDialog.cpp.o src/hugin1/ptbatcher/CMakeFiles/PTBatcherGUI.dir/FailedProjectsDialog.cpp.o src/hugin1/ptbatcher/CMakeFiles/PTBatcherGUI.dir/BatchTrayIcon.cpp.o src/hugin1/ptbatcher/CMakeFiles/PTBatcherGUI.dir/ProgressStatusBar.cpp.o src/hugin1/ptbatcher/CMakeFiles/PTBatcherGUI.dir/ChangeUserDefinedDialog.cpp.o src/hugin1/ptbatcher/CMakeFiles/PTBatcherGUI.dir/GenerateSequenceDialog.cpp.o -o src/hugin1/ptbatcher/PTBatcherGUI -Wl,-rpath,/var/tmp/portage/media-gfx/hugin-2024.0.1/work/hugin-2024.0.1_build/src/hugin1/base_wx:/var/tmp/portage/media-gfx/hugin-2024.0.1/work/hugin-2024.0.1_build/src/hugin_base: src/hugin1/base_wx/libhuginbasewx.so.0.0 src/hugin_base/libhuginbase.so.0.0 /usr/lib64/libpano13.so src/foreign/levmar/libhuginlevmar.a /usr/lib64/libGLEW.so /usr/lib64/libboost_filesystem.so.1.85.0 /usr/lib64/libboost_system.so.1.85.0 /usr/lib64/libfftw3.so /usr/lib64/libvigraimpex.so /usr/lib64/libOpenEXR.so /usr/lib64/libImath-3_1.so /usr/lib64/libIex.so /usr/lib64/libIlmThread.so /usr/lib64/libz.so /usr/lib64/libjpeg.so /usr/lib64/libtiff.so /usr/lib64/libpng.so /usr/lib64/libz.so /usr/lib64/libz.so /usr/lib64/libexiv2.so /usr/lib64/liblcms2.so /usr/lib64/libvigraimpex.so /usr/lib64/libOpenEXR.so /usr/lib64/libImath-3_1.so /usr/lib64/libIex.so /usr/lib64/libIlmThread.so /usr/lib64/libz.so /usr/lib64/libjpeg.so /usr/lib64/libtiff.so /usr/lib64/libpng.so /usr/lib64/libz.so /usr/lib64/libz.so /usr/lib64/libexiv2.so -L/usr/lib64 -pthread -lwx_baseu-3.2-gtk3 -lwx_gtk3u_core-3.2-gtk3 -lwx_gtk3u_aui-3.2-gtk3 -lwx_gtk3u_xrc-3.2-gtk3 -lwx_gtk3u_html-3.2-gtk3 -lwx_baseu_xml-3.2-gtk3 -lwx_gtk3u_gl-3.2-gtk3 -lwx_baseu_net-3.2-gtk3 -lwx_gtk3u_qa-3.2-gtk3 -lwx_gtk3u_propgrid-3.2-gtk3 /usr/lib64/libX11.so /usr/lib64/libOpenGL.so /usr/lib64/libGLX.so /usr/lib64/libGLU.so /usr/lib64/libsqlite3.so /usr/lib64/libpano13.so /usr/lib64/libGLEW.so /usr/lib64/libboost_atomic.so.1.85.0 /usr/lib64/libvigraimpex.so /usr/lib64/libjpeg.so /usr/lib64/libpng.so /usr/lib64/libtiff.so /usr/lib64/libexiv2.so /usr/lib64/liblcms2.so && : /usr/lib/gcc/x86_64-pc-linux-gnu/14/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib64/libwx_gtk3u_core-3.2-gtk3.so: undefined reference to `gdk_wayland_display_prefers_ssd' /usr/lib/gcc/x86_64-pc-linux-gnu/14/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib64/libwx_gtk3u_core-3.2-gtk3.so: undefined reference to `gdk_wayland_display_get_wl_display' collect2: error: ld returned 1 exit status ``` Please share `emerge -pvO x11-libs/wxGTK` output. $ emerge -pvO x11-libs/wxGTK These are the packages that would be merged, in order: [ebuild U ] x11-libs/wxGTK-3.2.7-r1:3.2-gtk3::gentoo [3.2.6:3.2-gtk3::gentoo] USE="X lzma opengl spell tiff -curl -debug -doc -gstreamer -keyring -libnotify (-pch) -sdl -test -wayland -webkit" 26846 KiB Total: 1 package (1 upgrade), Size of downloads: 26846 KiB Did you recently disable the "wayland" USE flag? You'll need to rebuild stuff after doing so. Wxgtk which fixes the automagic is stable already, nothing we can do here about the bad luck, I think. Worst case scenario, I think you can just do two world updates in a row, including --keep-going. The first one will fail because portage thought wxGTK worked, and tried to build software against it. But due to --keep-going it will still update anything it can, including rebuilding a working wxGTK. Second world update will try to rebuild the packages that failed the first time, and succeed now that wxGTK is no longer broken. I don't think we can have a general solution to the case of packages that are broken (beyond trying to make sure we never make a mistake and publish any broken packages, which is a nice bit of idealism). SOLVED, thanks, after updating of x11-libs/wxGTK |