Starting up Evolution after upgrading gives this error: $ evolution bwrap: Can't find source path /run/user/1000/at-spi: No such file or directory And hangs forever
Portage 3.0.41 (python 3.10.9-final-0, default/linux/amd64/17.1/desktop/gnome, gcc-11, glibc-2.36-r5, 6.0.1-gentoo-x86_64 x86_64) ================================================================= System uname: Linux-6.0.1-gentoo-x86_64-x86_64-Intel-R-_Core-TM-_i5-9300H_CPU_@_2.40GHz-with-glibc2.36 KiB Mem: 32706888 total, 16775864 free KiB Swap: 2097148 total, 2093820 free Timestamp of repository gentoo: Sat, 17 Dec 2022 17:00:01 +0000 Head commit of repository gentoo: 48ec3b8115eca5ecf31d0e539c74e083ec1d6791 sh bash 5.1_p16-r2 ld GNU ld (Gentoo 2.38 p4) 2.38 distcc 3.4 x86_64-pc-linux-gnu [disabled] app-misc/pax-utils: 1.3.5::gentoo app-shells/bash: 5.1_p16-r2::gentoo dev-java/java-config: 2.3.1::gentoo dev-lang/perl: 5.34.1-r4::gentoo dev-lang/python: 2.7.18_p16::gentoo, 3.9.13::gentoo, 3.10.9::gentoo, 3.11.1::gentoo dev-lang/rust: 1.65.0::gentoo dev-util/cmake: 3.24.3::gentoo dev-util/meson: 0.63.3::gentoo sys-apps/baselayout: 2.9::gentoo sys-apps/openrc: 0.45.2-r2::gentoo sys-apps/sandbox: 2.29::gentoo sys-devel/autoconf: 2.13-r7::gentoo, 2.69-r5::gentoo, 2.71-r5::gentoo sys-devel/automake: 1.16.5::gentoo sys-devel/binutils: 2.38-r2::gentoo sys-devel/binutils-config: 5.4.1::gentoo sys-devel/clang: 15.0.5::gentoo sys-devel/gcc: 11.3.1_p20221209::gentoo sys-devel/gcc-config: 2.8::gentoo sys-devel/libtool: 2.4.7::gentoo sys-devel/lld: 15.0.5::gentoo sys-devel/llvm: 15.0.5::gentoo sys-devel/make: 4.3::gentoo sys-kernel/linux-headers: 5.15-r3::gentoo (virtual/os-headers) sys-libs/glibc: 2.36-r5::gentoo Repositories: gentoo location: /var/db/repos/gentoo sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 sync-rsync-extra-opts: sync-rsync-verify-metamanifest: yes sync-rsync-verify-max-age: 24 sync-rsync-verify-jobs: 1 The-Buell location: /var/lib/layman/thebuell masters: gentoo priority: 0 rion location: /var/lib/layman/rion masters: gentoo priority: 50 ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=skylake -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /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 /etc/terminfo" CXXFLAGS="-march=skylake -O2 -pipe" DISTDIR="/var/cache/distfiles" ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY 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=skylake -O2 -pipe" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news 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=skylake -O2 -pipe" GENTOO_MIRRORS="https://mirror.bytemark.co.uk/gentoo/" LANG="en_GB.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="en_GB" MAKEOPTS="-j9" PKGDIR="/var/cache/binpkgs" 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 bzip2 cairo cdda cdr cli colord crypt cups dbus declarative drafts dri dts dvd dvdr eds elogind encode evo exif flac fortran gdbm gif gnome gnome-keyring gnome-online-accounts gpm gstreamer gtk gui harfbuzz iconv icu inspector introspection ipv6 jpeg lcms libglvnd libnotify libsecret libtirpc lm-sensors mad minizip mng mp3 mp4 mpeg multilib nautilus ncurses networkmanager nls nptl objc objc++ ogg opengl openmp pam pango pcre pdf png policykit postproc ppds pulseaudio qt5 readline sasl screencast sdl seccomp spell split-usr ssl startup-notification svg sysprof test-rust theora tiff tracker truetype udev udisks unicode upower usb vala vorbis vpx wayland webkit widgets wxwidgets x264 xattr xcb xml xv xvid xwayland zlib" ABI_X86="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="evdev" KERNEL="linux" L10N="en-GB" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-4 php8-0" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_10" PYTHON_TARGETS="python3_10" RUBY_TARGETS="ruby27" USERLAND="GNU" VIDEO_CARDS="intel nouveau" 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, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LEX, 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
I have tried reverting to Evolution 3.44.4 but that ends with an compiler error as something it depends on in Gnome no longer exists.
Created attachment 843245 [details] strace with file traces when gives symlink error on /var/run Hello, On my side, I’m getting the following error: bwrap: Can't make symlink at /var/run: File exists I’m attaching strace log for only file traces.
I have managed to successfully revert back to 3.44 - I had to downgrade some other gnome programs/libraries. # more /etc/portage/package.mask/evolution >gnome-extra/evolution-data-server-3.46 >mail-client/evolution-3.46 >dev-libs/libgweather-4.2 >gnome-extra/gnome-calendar-43 >gnome-base/gnome-settings-daemon-43 >gnome-base/gnome-desktop-43 >gnome-base/nautilus-43
(In reply to Quentin Retornaz from comment #3) > Created attachment 843245 [details] > strace with file traces when gives symlink error on /var/run > > Hello, > On my side, I’m getting the following error: > bwrap: Can't make symlink at /var/run: File exists > I’m attaching strace log for only file traces. Does evolution hang forever after that?
(In reply to Alex Buell from comment #5) > (In reply to Quentin Retornaz from comment #3) > > Created attachment 843245 [details] > > strace with file traces when gives symlink error on /var/run > > > > Hello, > > On my side, I’m getting the following error: > > bwrap: Can't make symlink at /var/run: File exists > > I’m attaching strace log for only file traces. > > Does evolution hang forever after that? It does
can anyone give what uses are set for mail-client/evolution and gnome-extra/evolution-data-server to see if it can affect it? mine are : mail-client/evolution: archive bogofilter highlight spamassassin ssl ytnef -geolocation -gtk-doc -ldap -spell -weather gnome-extra/evolution-data-server: gtk introspection ipv6 -berkdb -gnome-online-accounts -gtk-doc -kerberos -ldap -oauth -test -vala -weather
(In reply to Quentin Retornaz from comment #7) > can anyone give what uses are set for mail-client/evolution and > gnome-extra/evolution-data-server to see if it can affect it? > > mine are : > mail-client/evolution: archive bogofilter highlight spamassassin ssl ytnef > -geolocation -gtk-doc -ldap -spell -weather > gnome-extra/evolution-data-server: gtk introspection ipv6 -berkdb > -gnome-online-accounts -gtk-doc -kerberos -ldap -oauth -test -vala -weather Mine's gnome-extra/evolution-data-server USE="gnome-online-accounts gtk introspection ipv6 vala weather -berkdb -gtk-doc -kerberos -ldap -oauth -test" mail-client/evolution USE="bogofilter spell ssl weather -archive -geolocation -gtk-doc -highlight -ldap -spamassassin -ytnef"
Does it work if you run /usr/libexec/at-spi-bus-launcher --launch-immediately before launching evolution (from same terminal, to be sure)?
(In reply to Mart Raudsepp from comment #9) > Does it work if you run > > /usr/libexec/at-spi-bus-launcher --launch-immediately > > before launching evolution (from same terminal, to be sure)? Sorry for the delay, I needed to disable my package masks and rebuild Evolution and its dependencies before I could re-test. I can now confirm that command is definitely needed before starting Evolution, otherwise it just hangs forever. IMHO this should be fixed to auto launch if not already running.
It shouldn't be needed, but might give clues what's going on there then. Evolution works fine for me, but I don't have /run/user/${USER_ID}/at-spi, for example. I assume the command I gave to run before makes you end up having that directory in your case?
To clarify on what I said about my system (in lack of an edit button here): I haven't upgraded to the 3.46 version yet (though I think the issue would be somewhere else) and at-spi is handled by a systemd user service for me - it's running, but without a directory in the given runpath. The service itself is also conditional and I believe wouldn't be running if I didn't have a semi-a11y thing enabled in GNOME settings (highlight mouse cursor position on ctrl key that use during screen sharing sometimes)
(In reply to Mart Raudsepp from comment #12) > To clarify on what I said about my system (in lack of an edit button here): > I haven't upgraded to the 3.46 version yet (though I think the issue would > be somewhere else) and at-spi is handled by a systemd user service for me - > it's running, but without a directory in the given runpath. The service > itself is also conditional and I believe wouldn't be running if I didn't > have a semi-a11y thing enabled in GNOME settings (highlight mouse cursor > position on ctrl key that use during screen sharing sometimes) I don't use systemd, perhaps that's why the issue arose.
I'm seeing the same issue, also not a systemd user.
(In reply to Volker Wegert from comment #14) > I'm seeing the same issue, also not a systemd user. Workaround at the moment is to forcibly launch the at-spi-bus-launcher daemon. [b] $ more bin/evolution.sh /usr/libexec/at-spi-bus-launcher --launch-immediately& evolution& [/b] HTH.
Are you still hitting this with a fully updated system?
(In reply to Pacho Ramos from comment #16) > Are you still hitting this with a fully updated system? Nope, I haven't seen this issue for ages. I don't need to use my workaround any more. There is another issue that I haven't reported - waiting for 5 mins for Evolution to appear on my desktop, unfortunately I haven't been able to get to the bottom of that one yet.
We will close this then. For the other issue... I would start by testing on a newly created user account and a fresh configuration. Also, maybe strace could point to what is blocking evolution from appearing for 5 mins (if nothing meaningful is reported in the terminal when trying to execute it) Thanks for the feedback
I feel like maybe these issues appear when there's no running user dbus session bus, e.g. due to using Xorg with .xinitrc and not starting it, or similar. Just a guess, based on some recent examples involving at-spi when the user dbus session bus isn't started (and nothing has triggered starting it via USE=X on it making it start sometimes by other apps than evolution). On a desktop system, a dbus user session bus for a logged in user is pretty much a requirement these days - and unlike with systemd, it is possible to get a user (desktop) login without one on a OpenRC system still. Anyhow, just a guess, so maybe that's what changed over time, or the version upgrades since.
Oh, did some necromancy due to the CC mail, thinking it was only recently closed. Sorry, and sorry for the yet more mail from the sorry :)