Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 889614 - 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
Summary: media-sound/pasystray-0.8.2 with x11-libs/gtk+[-X wayland] fails to compile (...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Paul Healy
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: missing-depend
  Show dependency tree
 
Reported: 2023-01-03 23:00 UTC by Agostino Sarubbo
Modified: 2024-01-04 10:09 UTC (History)
3 users (show)

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


Attachments
build.log (build.log,90.12 KB, text/plain)
2023-01-03 23:00 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2023-01-03 23:00:51 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: media-sound/pasystray-0.8.1 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-03 23:00:53 UTC
Created attachment 847002 [details]
build.log

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: https://github.com/christophgysin/pasystray/issues/90

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 ( https://aur.archlinux.org/packages/pasystray-wayland ) does this:


build() {
  cd $_pkgname-$pkgver

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

  make
}
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.