Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 889926

Summary: net-p2p/amule-2.3.3 fails to compile (DASH-SYSTEM): ld: libwx_gtk3u_core-3.0-gtk3.so: undefined reference to gdk_x11_window_foreign_new_for_display
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Alexander Tsoy <alexander>
Status: RESOLVED DUPLICATE    
Severity: normal CC: proxy-maint
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 889652    
Bug Blocks:    
Attachments: build.log.xz

Description Agostino Sarubbo gentoo-dev 2023-01-06 07:09:46 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: net-p2p/amule-2.3.3 fails to compile (DASH-SYSTEM).
Discovered on: amd64 (internal ref: dash_tinderbox)

NOTE:
(DASH-SYSTEM) in the summary means that the bug was found on a machine that runs /bin/sh as dash but this bug MAY or MAY NOT BE related to dash.
Comment 1 Agostino Sarubbo gentoo-dev 2023-01-06 07:09:49 UTC
Created attachment 847620 [details]
build.log.xz

build log and emerge --info (compressed because it exceeds attachment limit, use 'xzless' to read it)
Comment 2 Agostino Sarubbo gentoo-dev 2023-01-06 07:09:50 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


/usr/lib/gcc/x86_64-pc-linux-gnu/12/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib64/libwx_gtk3u_adv-3.0-gtk3.so: undefined reference to `gdk_x11_display_get_type'
/usr/lib/gcc/x86_64-pc-linux-gnu/12/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib64/libwx_gtk3u_adv-3.0-gtk3.so: undefined reference to `gdk_x11_get_default_screen'
/usr/lib/gcc/x86_64-pc-linux-gnu/12/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib64/libwx_gtk3u_adv-3.0-gtk3.so: undefined reference to `gdk_x11_get_default_xdisplay'
/usr/lib/gcc/x86_64-pc-linux-gnu/12/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib64/libwx_gtk3u_adv-3.0-gtk3.so: undefined reference to `gdk_x11_get_xatom_by_name'
/usr/lib/gcc/x86_64-pc-linux-gnu/12/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib64/libwx_gtk3u_core-3.0-gtk3.so: undefined reference to `gdk_x11_atom_to_xatom_for_display'
/usr/lib/gcc/x86_64-pc-linux-gnu/12/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib64/libwx_gtk3u_core-3.0-gtk3.so: undefined reference to `gdk_x11_display_get_xdisplay'
/usr/lib/gcc/x86_64-pc-linux-gnu/12/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib64/libwx_gtk3u_core-3.0-gtk3.so: undefined reference to `gdk_x11_screen_get_screen_number'
/usr/lib/gcc/x86_64-pc-linux-gnu/12/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib64/libwx_gtk3u_core-3.0-gtk3.so: undefined reference to `gdk_x11_screen_get_type'
/usr/lib/gcc/x86_64-pc-linux-gnu/12/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib64/libwx_gtk3u_core-3.0-gtk3.so: undefined reference to `gdk_x11_screen_get_xscreen'
/usr/lib/gcc/x86_64-pc-linux-gnu/12/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib64/libwx_gtk3u_core-3.0-gtk3.so: undefined reference to `gdk_x11_screen_supports_net_wm_hint'
/usr/lib/gcc/x86_64-pc-linux-gnu/12/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib64/libwx_gtk3u_core-3.0-gtk3.so: undefined reference to `gdk_x11_window_foreign_new_for_display'
/usr/lib/gcc/x86_64-pc-linux-gnu/12/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib64/libwx_gtk3u_core-3.0-gtk3.so: undefined reference to `gdk_x11_window_get_xid'
/usr/lib/gcc/x86_64-pc-linux-gnu/12/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib64/libwx_gtk3u_core-3.0-gtk3.so: undefined reference to `gdk_x11_xatom_to_atom'
collect2: error: ld returned 1 exit status
Comment 3 Alexander Tsoy 2023-01-07 18:58:20 UTC
I have dash as /bin/sh for several years on all of my systems and can't reproduce. Could it be that x11-libs/gtk+ is built with USE=-X? Probably x11-libs/wxGTK should depend on x11-libs/gtk+:3[X?].
Comment 4 Alexander Tsoy 2023-01-08 10:28:42 UTC
(In reply to Alexander Tsoy from comment #3)
> I have dash as /bin/sh for several years on all of my systems and can't
> reproduce. Could it be that x11-libs/gtk+ is built with USE=-X? Probably
> x11-libs/wxGTK should depend on x11-libs/gtk+:3[X?].

Note that x11-libs/wxGTK[X] can't be built against x11-libs/gtk+[-X] (bug 889652), but tinderbox probably installing dependencies from binpkgs.
Comment 5 Joonas Niilola gentoo-dev 2023-01-09 11:06:07 UTC

*** This bug has been marked as a duplicate of bug 889652 ***