Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 905265 - sys-apps/xdg-desktop-portal-gnome-44.1: xdg-desktop-portal-gnome.service: Job xdg-desktop-portal-gnome.service/start failed with result 'dependency'.
Summary: sys-apps/xdg-desktop-portal-gnome-44.1: xdg-desktop-portal-gnome.service: Job...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-04-29 01:18 UTC by Antoine Lemoine
Modified: 2024-01-14 10:29 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Antoine Lemoine 2023-04-29 01:18:17 UTC
The user service xdg-desktop-portal-gnome.service does not start.

When trying to start the service, we get the message:

$ systemctl --user start xdg-desktop-portal-gnome.service
A dependency job for xdg-desktop-portal-gnome.service failed. See 'journalctl -xe' for details.

The content of the journal (journalctl -xe): 

avril 29 03:13:38 yuna systemd[3706]: graphical-session.target is inactive.
avril 29 03:13:38 yuna systemd[3706]: Dependency failed for xdg-desktop-portal-gnome.service.
░░ Subject: L'unité (unit) UNIT a échoué
░░ Defined-By: systemd
░░ Support: https://gentoo.org/support/
░░ 
░░ L'unité (unit) UNIT a échoué, avec le résultat dependency.
avril 29 03:13:38 yuna systemd[3706]: xdg-desktop-portal-gnome.service: Job xdg-desktop-portal-gnome.service/start failed with result 'dependency'.

Downgrading to =sys-apps/xdg-desktop-portal-gnome-44.0 solves the issue.

Reproducible: Always

Steps to Reproduce:
1.systemctl --user start xdg-desktop-portal-gnome.service



emerge --info:
Portage 3.0.46 (python 3.10.11-final-0, default/linux/amd64/17.1/desktop/gnome/systemd/merged-usr, gcc-13, glibc-2.37-r2, 6.2.13-gentoo-x86_64 x86_64)
=================================================================
System uname: Linux-6.2.13-gentoo-x86_64-x86_64-Intel-R-_Core-TM-_i9-10900K_CPU_@_3.70GHz-with-glibc2.37
KiB Mem:    65762428 total,  57053376 free
KiB Swap:   25165812 total,  25165812 free
Timestamp of repository gentoo: Fri, 28 Apr 2023 23:48:57 +0000
Head commit of repository gentoo: 9a7115a420fddc6f1d683598856f6b5075f6aa80

Head commit of repository betagarden: 1ed6a0ca01a2c53b93d6d68d2533df9bce96fe93

Head commit of repository jorgicio: 30d4cfd0f3b2321abdeff4385b03fedcf00c6752

Head commit of repository laurentb: b7c9de21c71417a8748e0b8ec4613f5f5e3fad73

Head commit of repository luke-jr: df2aeb027fb0814adc851ef357cf101efdef6efc

Head commit of repository sabayon: 338c13c74bfdfafcc0f723482c05a0ddb591704e

Head commit of repository science: c99319166709ae3b673c6976d3f8bd7e6ef44fb2

Head commit of repository ssnb: ff33bbc48cd40df86ef74f939f040eadbe307efd

Head commit of repository steam-overlay: 1de6f38d58c9f2cc9a9376a72156e1ef9d2609b8

sh bash 5.2_p15-r2
ld GNU ld (Gentoo 2.40 p4) 2.40.0
ccache version 4.8 [enabled]
app-misc/pax-utils:        1.3.7::gentoo
app-shells/bash:           5.2_p15-r2::gentoo
dev-java/java-config:      2.3.1::gentoo
dev-lang/perl:             5.36.1::gentoo
dev-lang/python:           2.7.18_p16-r1::gentoo, 3.10.11::gentoo, 3.11.3::gentoo
dev-lang/rust:             1.69.0-r1::gentoo
dev-util/ccache:           4.8::gentoo
dev-util/cmake:            3.26.3::gentoo
dev-util/meson:            1.1.0::gentoo
sys-apps/baselayout:       2.13-r1::gentoo
sys-apps/sandbox:          2.30-r1::gentoo
sys-apps/systemd:          253.3::gentoo
sys-devel/autoconf:        2.13-r8::gentoo, 2.71-r6::gentoo
sys-devel/automake:        1.16.5-r1::gentoo
sys-devel/binutils:        2.40-r4::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang:           15.0.7-r1::gentoo, 16.0.2::gentoo
sys-devel/gcc:             13.1.0-r1::gentoo
sys-devel/gcc-config:      2.10::gentoo
sys-devel/libtool:         2.4.7-r1::gentoo
sys-devel/lld:             15.0.7::gentoo
sys-devel/llvm:            14.0.6-r2::gentoo, 15.0.7::gentoo, 16.0.2::gentoo
sys-devel/make:            4.4.1::gentoo
sys-kernel/linux-headers:  6.3::gentoo (virtual/os-headers)
sys-libs/glibc:            2.37-r2::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/gentoo
    priority: -1000
    volatile: True

betagarden
    location: /var/db/repos/betagarden
    sync-type: git
    sync-uri: git://anongit.gentoo.org/proj/betagarden.git
    masters: gentoo
    volatile: False

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

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

local
    location: /usr/local/portage
    masters: gentoo
    priority: 0
    volatile: True

luke-jr
    location: /var/db/repos/luke-jr
    sync-type: git
    sync-uri: https://scm.dashjr.org/scmroot/git/portage-overlays/luke-jr
    masters: gentoo
    volatile: False

sabayon
    location: /var/db/repos/sabayon
    sync-type: git
    sync-uri: https://github.com/Sabayon/for-gentoo.git
    masters: gentoo
    volatile: False

science
    location: /var/db/repos/science
    sync-type: git
    sync-uri: https://anongit.gentoo.org/git/proj/sci.git
    masters: gentoo
    volatile: False

ssnb
    location: /var/db/repos/ssnb
    sync-type: git
    sync-uri: https://anongit.gentoo.org/git/repo/user/ssnb.git
    masters: gentoo
    volatile: False

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

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /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/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/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--keep-going y"
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="-march=native -O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live candy ccache cgroup clean-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch parallel-install pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=native -O2 -pipe"
GENTOO_MIRRORS="http://ftp.free.fr/mirrors/ftp.gentoo.org/ http://mirrors.evowise.com/gentoo/ http://mirrors.soeasyto.com/distfiles.gentoo.org/"
LANG="fr_FR.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LEX="flex"
LINGUAS="fr"
MAKEOPTS="-j21"
PKGDIR="/usr/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="/var/tmp"
SHELL="/bin/bash"
USE="X a52 aac acl acpi alsa amd64 bluetooth branding btrfs bzip2 cairo cdda cdr cli colord crypt cups dbus dri dts dvd dvdr eds encode eselect-ldso evo exif fat ffmpeg flac fortran gdbm gif gnome gnome-keyring gnome-online-accounts gphoto2 gpm gstreamer gtk gtk3 gui iconv icu introspection ipc ipv6 jpeg jpeg2k lcms libglvnd libnotify libsecret libtirpc mad midi mng mp3 mp4 mpeg multilib nautilus ncurses networkmanager nls nptl ntfs ogg opengl openmp pam pango pcre pdf php png policykit ppds pulseaudio qt5 readline screencast sdl seccomp sound sound-server spell ssl startup-notification svg symlink sysprof systemd test-rust tiff tracker truetype udev udisks unicode upower usb vdpau vim-syntax vorbis vulkan wayland widevine wxwidgets x264 xattr xcb xft xinerama xml xv xvid zlib" ABI_X86="32 64" ADA_TARGET="gnat_2021" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache 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 sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="libinput" KERNEL="linux" L10N="fr" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LLVM_TARGETS="X86 NVPTX" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-0" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_10" PYTHON_TARGETS="python3_10" RUBY_TARGETS="ruby30" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS
Comment 1 Lolo 2023-05-10 19:39:52 UTC

Downgrading to =sys-apps/xdg-desktop-portal-gnome-44.0 did not work for me. Downgrading to =sys-apps/xdg-desktop-portal-gnome-43.1 did the trick.
Comment 2 Pacho Ramos gentoo-dev 2023-07-30 11:04:23 UTC
44.2 includes this
https://gitlab.gnome.org/GNOME/xdg-desktop-portal-gnome/-/commit/1a1c840ede8ddc5c00ae40b35cc528200ce2fd0e

That will probably solve your issue, can you try it? Thanks
Comment 3 Lolo 2023-08-03 10:28:53 UTC
Hi. 
Thx for looking into this. I am not the owner of the ticket but I do have the same problem using 'xmonad'. 

Just tried '=sys-apps/xdg-desktop-portal-gnome-44.2' without any luck. Same error as before.
Comment 4 Lolo 2024-01-14 10:29:29 UTC
Problem still persists with `sys-apps/xdg-desktop-portal-gnome-45.1-r1`

A "sledgehammer" workaround is using

systemctl --user mask xdg-desktop-portal-gnome

taken from https://github.com/NixOS/nixpkgs/issues/206630#issuecomment-1565046441.