Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 925566 - xfce-base/thunar-4.19.2 fails to build with x11-libs/gtk+[-X]
Summary: xfce-base/thunar-4.19.2 fails to build with x11-libs/gtk+[-X]
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: XFCE Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-02-27 03:26 UTC by Sorrow
Modified: 2024-04-08 16:14 UTC (History)
3 users (show)

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


Attachments
build.log (build.log,107.95 KB, text/plain)
2024-02-27 03:28 UTC, Sorrow
Details
Workaround for using Thunar without X support (no-x-workaround.patch,881 bytes, patch)
2024-04-07 09:55 UTC, Felix Klein
Details | Diff
build.log (build.log,353.89 KB, text/x-log)
2024-04-08 15:59 UTC, Sorrow
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sorrow 2024-02-27 03:26:34 UTC
Compilation fails with:

thunar-session-client.c:40:10: fatal error: gdk/gdkx.h: No such file or directory

Reproducible: Always




Portage 3.0.61 (python 3.11.8-final-0, default/linux/amd64/17.1/desktop/systemd/merged-usr, gcc-13, glibc-2.38-r11, 6.6.8-zen1 x86_64)
=================================================================
System uname: Linux-6.6.8-zen1-x86_64-AMD_Ryzen_7_PRO_5850U_with_Radeon_Graphics-with-glibc2.38
KiB Mem:    28582460 total,  11603572 free
KiB Swap:   28581884 total,  28556284 free
Head commit of repository lto-overlay: a46a5749ee6e70bcf2317f9d6e24037779b643a8

Timestamp of repository gentoo: Wed, 21 Feb 2024 05:07:35 +0000
Head commit of repository gentoo: b0fa8f82d6547bb97e93af3d544ff23f377e1cf3

Head commit of repository mv: 6bbad8d180f20229cfa2a6f98a02d80ca8adf00f

Head commit of repository sorrow: 8d2c8da9fd384083b3bd27c62cfd9acaeafcbe7a

sh bash 5.2_p26
ld GNU ld (Gentoo 2.42 p3) 2.42.0
app-misc/pax-utils:        1.3.7::gentoo
app-shells/bash:           5.2_p26::gentoo
dev-build/autoconf:        2.13-r8::gentoo, 2.72-r1::gentoo
dev-build/automake:        1.16.5-r2::gentoo
dev-build/cmake:           3.28.3::gentoo
dev-build/libtool:         2.4.7-r2::gentoo
dev-build/make:            4.4.1-r1::gentoo
dev-build/meson:           1.3.2::gentoo
dev-lang/perl:             5.38.2-r1::gentoo
dev-lang/python:           3.11.8_p1::gentoo
dev-lang/rust-bin:         1.75.0::gentoo
sys-apps/baselayout:       2.14-r2::gentoo
sys-apps/sandbox:          2.38::gentoo
sys-apps/systemd:          255.3::gentoo
sys-devel/binutils:        2.42-r1::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang:           17.0.6::gentoo
sys-devel/gcc:             13.2.1_p20240210::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/llvm:            17.0.6::gentoo
sys-kernel/linux-headers:  6.7::gentoo (virtual/os-headers)
sys-libs/glibc:            2.38-r11::gentoo
Repositories:

lto-overlay
    location: /var/lib/portage/repos/lto-overlay
    sync-type: git
    sync-uri: https://github.com/InBetweenNames/gentooLTO.git
    masters: gentoo mv
    volatile: True

gentoo
    location: /var/lib/portage/repos/gentoo
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/gentoo.git
    priority: 10
    volatile: True

mv
    location: /var/lib/portage/repos/mv
    sync-type: git
    sync-uri: https://anongit.gentoo.org/git/user/mv.git
    masters: gentoo
    priority: 90
    volatile: True
    sync-git-clone-extra-opts: -b main

sorrow
    location: /var/lib/portage/repos/local
    sync-type: git
    sync-uri: https://github.com/eternal-sorrow/gentoo-local.git
    masters: gentoo
    priority: 100
    volatile: True

Installed sets: @desktop, @gentoo, @gnome, @hw, @shell, @sway
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="@FREE"
AR="gcc-ar"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=znver3 -O3 -fdevirtualize-at-ltrans -fipa-pta -fno-semantic-interposition -flto=16 -fuse-linker-plugin -fvect-cost-model=cheap -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d"
CXXFLAGS="-march=znver3 -O3 -fdevirtualize-at-ltrans -fipa-pta -fno-semantic-interposition -flto=16 -fuse-linker-plugin -fvect-cost-model=cheap -pipe"
DISTDIR="/var/lib/portage/distfiles"
EMERGE_DEFAULT_OPTS="--verbose --ask=y --ask-enter-invalid --ignore-built-slot-operator-deps=y --usepkg --autounmask-keep-masks"
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 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live candy clean-logs compress-build-logs config-protect-if-modified distlocks fixlafiles ipc-sandbox merge-sync metadata-transfer multilib-strict network-sandbox news parallel-fetch parallel-install pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
INSTALL_MASK=" /etc/init.d /etc/conf.d /etc/xinetd.d /etc/portage/savedconfig/sys-apps/busybox* /usr/share/locale/ab /usr/share/locale/af /usr/share/locale/ain /usr/share/locale/am /usr/share/locale/an /usr/share/locale/ang /usr/share/locale/ar /usr/share/locale/as /usr/share/locale/ast /usr/share/locale/az /usr/share/locale/az_IR /usr/share/locale/be /usr/share/locale/be@latin /usr/share/locale/bg /usr/share/locale/bn /usr/share/locale/bn_BD /usr/share/locale/bn_IN /usr/share/locale/bo /usr/share/locale/br /usr/share/locale/bs /usr/share/locale/ca /usr/share/locale/ca@valencia /usr/share/locale/ckb /usr/share/locale/crh /usr/share/locale/cs /usr/share/locale/cs.cp1250 /usr/share/locale/csb /usr/share/locale/cy /usr/share/locale/da /usr/share/locale/de /usr/share/locale/de_CH /usr/share/locale/dz /usr/share/locale/el /usr/share/locale/en_AU /usr/share/locale/en_CA /usr/share/locale/en@shaw /usr/share/locale/en_US /usr/share/locale/eo /usr/share/locale/es /usr/share/locale/et /usr/share/locale/eu /usr/share/locale/fa /usr/share/locale/fi /usr/share/locale/fo /usr/share/locale/fr /usr/share/locale/fur /usr/share/locale/fy /usr/share/locale/ga /usr/share/locale/gd /usr/share/locale/gl /usr/share/locale/gu /usr/share/locale/gv /usr/share/locale/ha /usr/share/locale/he /usr/share/locale/hi /usr/share/locale/hr /usr/share/locale/hu /usr/share/locale/hy /usr/share/locale/ia /usr/share/locale/id /usr/share/locale/ie /usr/share/locale/ig /usr/share/locale/io /usr/share/locale/is /usr/share/locale/it /usr/share/locale/ja.euc-jp /usr/share/locale/ka /usr/share/locale/kab /usr/share/locale/kg /usr/share/locale/kk /usr/share/locale/km /usr/share/locale/kn /usr/share/locale/ko /usr/share/locale/ko.UTF-8 /usr/share/locale/ks /usr/share/locale/ku /usr/share/locale/ky /usr/share/locale/la /usr/share/locale/lg /usr/share/locale/li /usr/share/locale/ln /usr/share/locale/lo /usr/share/locale/lt /usr/share/locale/lv /usr/share/locale/mai /usr/share/locale/mg /usr/share/locale/mi /usr/share/locale/mjw /usr/share/locale/mk /usr/share/locale/ml /usr/share/locale/mn /usr/share/locale/mr /usr/share/locale/ms /usr/share/locale/mt /usr/share/locale/my /usr/share/locale/nb /usr/share/locale/nds /usr/share/locale/ne /usr/share/locale/nl /usr/share/locale/nn /usr/share/locale/no /usr/share/locale/nso /usr/share/locale/oc /usr/share/locale/or /usr/share/locale/pa /usr/share/locale/pl /usr/share/locale/pl.UTF-8 /usr/share/locale/ps /usr/share/locale/pt /usr/share/locale/pt_BR /usr/share/locale/ro /usr/share/locale/rom /usr/share/locale/rw /usr/share/locale/sat /usr/share/locale/si /usr/share/locale/sk /usr/share/locale/sk.cp1250 /usr/share/locale/sl /usr/share/locale/sq /usr/share/locale/sr /usr/share/locale/sr@ije /usr/share/locale/sr@latin /usr/share/locale/sv /usr/share/locale/ta /usr/share/locale/te /usr/share/locale/tg /usr/share/locale/th /usr/share/locale/tk /usr/share/locale/tl /usr/share/locale/tr /usr/share/locale/tr_TR /usr/share/locale/ts /usr/share/locale/tt /usr/share/locale/ug /usr/share/locale/uk /usr/share/locale/ur /usr/share/locale/uz /usr/share/locale/uz@cyrillic /usr/share/locale/vi /usr/share/locale/wa /usr/share/locale/xh /usr/share/locale/yi /usr/share/locale/yo /usr/share/locale/zh_CN /usr/share/locale/zh_CN.UTF-8 /usr/share/locale/zh_HK /usr/share/locale/zh_TW /usr/share/locale/zh_TW.UTF-8 /usr/share/locale/zu /usr/share/man/da /usr/share/man/da.ISO8859-1 /usr/share/man/da.UTF-8 /usr/share/man/de /usr/share/man/de.ISO8859-1 /usr/share/man/de.UTF-8 /usr/share/man/fr /usr/share/man/fr.ISO8859-1 /usr/share/man/fr.UTF-8 /usr/share/man/hu /usr/share/man/it /usr/share/man/it.ISO8859-1 /usr/share/man/it.UTF-8 /usr/share/man/ja /usr/share/man/ko /usr/share/man/pl /usr/share/man/pl.ISO8859-2 /usr/share/man/pl.UTF-8 /usr/share/man/ro /usr/share/man/ru.KOI8-R /usr/share/man/uk /usr/share/help/ar /usr/share/help/bg /usr/share/help/ca /usr/share/help/cs /usr/share/help/da /usr/share/help/de /usr/share/help/el /usr/share/help/es /usr/share/help/eu /usr/share/help/fi /usr/share/help/fr /usr/share/help/gl /usr/share/help/hr /usr/share/help/hu /usr/share/help/id /usr/share/help/it /usr/share/help/ja /usr/share/help/ko /usr/share/help/lv /usr/share/help/nds /usr/share/help/ne /usr/share/help/nl /usr/share/help/oc /usr/share/help/pa /usr/share/help/pl /usr/share/help/pt /usr/share/help/pt_BR /usr/share/help/ro /usr/share/help/sl /usr/share/help/sr /usr/share/help/sr@latin /usr/share/help/sv /usr/share/help/te /usr/share/help/th /usr/share/help/tr /usr/share/help/uk /usr/share/help/vi /usr/share/help/zh_CN /usr/share/help/zh_HK /usr/share/help/zh_TW "
LANG="en_GB.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,relro"
LEX="flex"
LINGUAS="en-GB en ru"
MAKEOPTS="-j16"
NM="gcc-nm"
PKGDIR="/var/lib/portage/packages"
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="/tmp"
RANLIB="gcc-ranlib"
SHELL="/bin/zsh"
USE="a52 aac acl acpi alsa amd64 bluetooth branding bzip2 cairo cdr cli crypt dbus dri dts dvd dvdr egl encode exif ffmpeg flac flatpak fontconfig fortran gif gnome-keyring gpm gstreamer gtk gtk3 gui iconv icu idn ipv6 jit jpeg keyring lcms libass libidn2 libnotify libtirpc lto luajit lz4 mad man mng mp3 mp4 mpeg multilib native-extensions ncurses nls ogg opengl openmp openssl opus pam pango pcre pdf pgo pipewire png policykit ppds pulseaudio pwquality readline sdl seccomp sound spell ssl startup-notification svg systemd test-rust theora threads tiff truetype udev udisks unicode upower usb v4l vaapi vorbis vpx vulkan wayland webp x264 xattr xcb xft xml xvid zlib zsh-completion zstd" ABI_X86="64" ADA_TARGET="gnat_2021" 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 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 mtk3301 ntrip navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" INPUT_DEVICES="libinput" KERNEL="linux" L10N="en-GB en ru" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LUA_SINGLE_TARGET="luajit" LUA_TARGETS="luajit" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-1" POSTGRES_TARGETS="postgres15" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_11" RUBY_TARGETS="ruby31" VIDEO_CARDS="amdgpu" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipp2p iface geoip fuzzy condition tarpit sysrq proto logmark ipmark dhcpmac delude chaos account"
Unset:  ADDR2LINE, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, LC_ALL, LD, LFLAGS, LIBTOOL, MAKE, MAKEFLAGS, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS
Comment 1 Sorrow 2024-02-27 03:28:07 UTC
Created attachment 886051 [details]
build.log
Comment 2 Felix Klein 2024-04-07 09:55:41 UTC
Created attachment 889717 [details, diff]
Workaround for using Thunar without X support

A quick workaround is just to remove the `gdk_x11_set_sm_client_id` call and to disable the wallpaper plugin.
Comment 3 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2024-04-08 15:51:38 UTC
Comment on attachment 886051 [details]
build.log

That's build log for exo.
Comment 4 Sorrow 2024-04-08 15:59:49 UTC
Created attachment 889814 [details]
build.log

Oh, I'm sorry. I probably confused it with a file I prepared when I was making my previous report. Here you are the correct one.
Comment 5 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2024-04-08 16:14:23 UTC
That said, I'm sorry but this is really an upstream issue.  FWICS they don't support non-X11 builds right now.  It'll probably be fixed for the stable release.  You may file a bug upstream if you want to try getting it done earlier.
Comment 6 Larry the Git Cow gentoo-dev 2024-04-08 16:14:32 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c4d3981d89e2198b7e517c85f171234db687c7e0

commit c4d3981d89e2198b7e517c85f171234db687c7e0
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2024-04-08 15:53:50 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2024-04-08 15:53:50 +0000

    xfce-base/thunar: Require X11 support in x11-libs/gtk+
    
    Thunar currently does not support non-X11 builds upstream, and it fails
    to build with x11-libs/gtk+[-X].
    
    Closes: https://bugs.gentoo.org/925566
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 xfce-base/thunar/thunar-4.19.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)