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

Bug 889614

Summary: media-sound/pasystray-0.8.2 with x11-libs/gtk+[-X wayland] fails to compile (DASH-SYSTEM): x11-property.c:38:10: fatal error: gdkx.h: No such file or directory
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Paul Healy <lmiphay>
Status: CONFIRMED ---    
Severity: normal CC: fordfrog, proxy-maint, sound
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 893356    
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2023-01-03 23:00:51 UTC

Issue: media-sound/pasystray-0.8.1 fails to compile (DASH-SYSTEM).
Discovered on: amd64 (internal ref: dash_tinderbox)

(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-03 23:00:53 UTC
Created attachment 847002 [details]

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2023-01-03 23:00:54 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:

x11-key-grabber.c:33:10: fatal error: gdk/gdkx.h: No such file or directory
x11-property.c:38:10: fatal error: gdk/gdkx.h: No such file or directory
x11-property.c:38:10: fatal error: gdk/gdkx.h: No such file or directory
Comment 3 Agostino Sarubbo gentoo-dev 2023-02-14 08:39:27 UTC
ci has reproduced this issue with version 0.8.2 - Updating summary.
Comment 4 Paul Healy 2023-02-26 19:25:12 UTC
This build failure is as a result of configuring x11-libs/gtk+:3 for wayland rather than X:

x11-libs/gtk+ -X wayland

There is an open issue for adding wayland support to pasystray here:

From comments on the issue, forcing the x11 backend with gdk_set_allowed_backends ("x11"); may be useful.

Also from comments on that issue, the AUR pasystray-wayland package ( ) does this:

build() {
  cd $_pkgname-$pkgver

  autoreconf -vif
  ./configure \
        --prefix=/usr \
        --sysconfdir=/etc \
        --disable-x11 \

Comment 5 Joonas Niilola gentoo-dev 2023-03-01 12:05:03 UTC
Sounds like something that can be fixed by updating the ebuild.
Comment 6 Miroslav Ć ulc gentoo-dev 2024-01-04 10:09:19 UTC
it would be nice if someone using wayland could try the fix and eventually fix the ebuild.