Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 955942 - x11-libs/wxGTK reverse dependencies may fail to build with undefined references (was: media-gfx/hugin: build error "ninja -v -j32 -l32 failed")
Summary: x11-libs/wxGTK reverse dependencies may fail to build with undefined referenc...
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo wxWidgets project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-05-14 06:21 UTC by Vitaly Zdanevich
Modified: 2025-05-15 05:55 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Build log (build.log,339.50 KB, text/x-log)
2025-05-14 06:21 UTC, Vitaly Zdanevich
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vitaly Zdanevich 2025-05-14 06:21:23 UTC
Created attachment 928788 [details]
Build log

$ emerge --info
Portage 3.0.67 (python 3.12.10-final-0, default/linux/amd64/23.0/split-usr/no-multilib, gcc-14, glibc-2.41-r1, 6.12.21-gentoo+ x86_64)
=================================================================
System uname: Linux-6.12.21-gentoo+-x86_64-AMD_Ryzen_9_7950X_16-Core_Processor-with-glibc2.41
KiB Mem:    64996804 total,  21801832 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Tue, 13 May 2025 04:15:00 +0000
Head commit of repository gentoo: da5322f9a2980cf6aca812a8738313ebcc23cbae
Head commit of repository deepin: 7cf5eb8a683836b4e37d3b8b1ba50116de530d26

Timestamp of repository edgets: Sat, 10 May 2025 20:25:06 +0000
Head commit of repository edgets: adc1710c5f3d6afbe23a564e078cac607a87f7f7

Head commit of repository flash-games: 4a8718bd953b9e06ffc01d4882ec31483aae419f

Timestamp of repository gentoo-zh: Tue, 13 May 2025 01:23:43 +0000
Head commit of repository gentoo-zh: 5eaa05fe10514ad78c88002f04f62809ae0ffda0

Head commit of repository guru: bfce42c504f03fd3b5825566ba9589ea3d9e6f95

Timestamp of repository pentoo: Tue, 13 May 2025 02:08:50 +0000
Head commit of repository pentoo: 29a72a9830505c22e1bc4095aa8792604e619f74

Timestamp of repository pg_overlay: Sun, 11 May 2025 09:54:07 +0000
Head commit of repository pg_overlay: 984d9289fd82bc2ded2d8d1ca5a0607df4702efc

sh bash 5.2_p37
ld GNU ld (Gentoo 2.44 p1) 2.44.0
app-misc/pax-utils:        1.3.8::gentoo
app-shells/bash:           5.2_p37::gentoo
dev-build/autoconf:        2.72-r1::gentoo
dev-build/automake:        1.17-r1::gentoo
dev-build/cmake:           3.31.5::gentoo
dev-build/libtool:         2.5.4::gentoo
dev-build/make:            4.4.1-r100::gentoo
dev-build/meson:           1.7.0::gentoo
dev-java/java-config:      2.3.4::gentoo
dev-lang/perl:             5.40.2::gentoo
dev-lang/python:           3.9.22::gentoo, 3.11.12::gentoo, 3.12.10::gentoo, 3.13.3::gentoo
dev-lang/rust:             1.85.1::gentoo
llvm-core/clang:           19.1.7::gentoo
llvm-core/lld:             19.1.7::gentoo
llvm-core/llvm:            19.1.7::gentoo
sys-apps/baselayout:       2.17::gentoo
sys-apps/openrc:           0.56::gentoo
sys-apps/sandbox:          2.39::gentoo
sys-devel/binutils:        2.44::gentoo
sys-devel/binutils-config: 5.5.2::gentoo
sys-devel/gcc:             14.2.1_p20241221::gentoo
sys-devel/gcc-config:      2.12.1::gentoo
sys-kernel/linux-headers:  6.12::gentoo (virtual/os-headers)
sys-libs/glibc:            2.41-r1::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync2.ru.gentoo.org/gentoo-portage/
    priority: -1000
    volatile: False
    sync-rsync-verify-metamanifest: yes
    sync-rsync-extra-opts: 
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-jobs: 1

deepin
    location: /var/db/repos/deepin
    sync-type: git
    sync-uri: https://github.com/zhtengw/deepin-overlay.git
    masters: gentoo
    volatile: False

edgets
    location: /var/db/repos/edgets
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/edgets.git
    masters: gentoo
    volatile: False

flash-games
    location: /home/vitaly/p/gentoo-overlays/flash-games
    sync-type: git
    sync-uri: git@gitlab.com:gentoo-overlays-by-vitaly-zdanevich/flash-games.git
    masters: gentoo
    volatile: True

gentoo-zh
    location: /var/db/repos/gentoo-zh
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/gentoo-zh.git
    masters: gentoo
    volatile: False

guru
    location: /var/db/repos/guru
    sync-type: git
    sync-uri: git@git.gentoo.org:repo/proj/guru.git
    masters: gentoo
    volatile: False

overlay-of-vitaly-zdanevich
    location: /var/db/repos/overlay-of-vitaly-zdanevich
    masters: gentoo
    volatile: False

pentoo
    location: /var/db/repos/pentoo
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/pentoo.git
    masters: gentoo
    volatile: False

pg_overlay
    location: /var/db/repos/pg_overlay
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/pg_overlay.git
    masters: gentoo
    volatile: False

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2                -march=native -pipe -frecord-gcc-switches"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.9/conf /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php8.2/ext-active/ /etc/php/cgi-php8.2/ext-active/ /etc/php/cli-php8.2/ext-active/ /etc/php/fpm-php8.2/ext-active/ /etc/php/phpdbg-php8.2/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2                -march=native -pipe -frecord-gcc-switches"
DISTDIR="/var/cache/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME"
FCFLAGS="-O2                -march=native -pipe -frecord-gcc-switches"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync merge-wait multilib-strict network-sandbox news parallel-fetch pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2                -march=native -pipe -frecord-gcc-switches"
GENTOO_MIRRORS="http://mirror.yandex.ru/gentoo-distfiles/ http://gentoo-mirror.alexxy.name/"
LANG="C.UTF8"
LDFLAGS="-Wl,-O3 -Wl,--as-needed -Wl,--gc-sections -Wl,--defsym=__gentoo_check_ldflags__=0"
LEX="flex"
PKGDIR="/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
RUSTFLAGS="-C debuginfo=0 -C target-cpu=native -C opt-level=3"
SHELL="/bin/bash"
USE="X acl amd amd64 avif bluray bzip2 cet chromecast crypt dbus dvd egl elogind eme-free exif ffmpeg flac gdbm gdk-pixbuf graphite grub heif iconv jpeg libtirpc lto mp3 ncurses nls ogg opengl openh264 openmp opus pam pcre pgo png pulseaudio rdp readline seccomp split-usr ssl svg svt-av1 test-rust tiff tkip udf unicode v4l vaapi vpx vulkan webp x264 x265 xattr xml zlib" ABI_X86="64" ADA_TARGET="gcc_14" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_anon authn_dbm authn_file authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 avx512f avx512dq avx512cd avx512bw avx512vl avx512vbmi f16c fma3 mmx mmxext pclmul popcnt rdrand sha sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" GUILE_SINGLE_TARGET="3-0" GUILE_TARGETS="3-0" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LLVM_TARGETS="x64" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-2" POSTGRES_TARGETS="postgres17" PYTHON_SINGLE_TARGET="python3_13" PYTHON_TARGETS="python3_13" RUBY_TARGETS="ruby32" VIDEO_CARDS="amdgpu radeonsi" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipp2p iface geoip fuzzy condition tarpit sysrq proto logmark ipmark dhcpmac delude chaos account"
Unset:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, MAKEOPTS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, RANLIB, READELF, SIZE, STRINGS, STRIP, YACC, YFLAGS
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2025-05-14 06:25:04 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.
Comment 2 Vitaly Zdanevich 2025-05-14 07:08:16 UTC
$ 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
Comment 3 Mike Gilbert gentoo-dev 2025-05-14 17:06:32 UTC
Did you recently disable the "wayland" USE flag? You'll need to rebuild stuff after doing so.
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2025-05-14 17:38:30 UTC
Wxgtk which fixes the automagic is stable already, nothing we can do here about the bad luck, I think.
Comment 5 Eli Schwartz gentoo-dev 2025-05-14 17:47:34 UTC
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).
Comment 6 Vitaly Zdanevich 2025-05-14 22:27:53 UTC
SOLVED, thanks, after updating of x11-libs/wxGTK