Running under a stripped down env I get the following errors on startup. > XPCOMGlueLoad error for file /opt/firefox/libxul.so: > libXcursor.so.1: cannot open shared object file: No such file or directory > Couldn't load XPCOM. Meaning the ebuild lacks an explicit rdep on x11-libs/libXcursor. > XPCOMGlueLoad error for file /opt/firefox/libxul.so: > libXi.so.6: cannot open shared object file: No such file or directory > Couldn't load XPCOM. And another on x11-libs/libXi. A suggestion to track rdeps going forward, I'd run something like > scanelf -L -n -q -F '%n #F' /opt/firefox/libxul.so | tr , ' ' | xargs qfile -C | sort -u and against any other relevant binary objects alongside doing a simple run check of some type. I'm sure there are probably some dev scripts that help/aid with this as well.
I forgot to mention, this was using 92.0-r1 but I imagine it's probably relevant for most older versions as well.
(In reply to Tim Harder from comment #0) > [...] > and against any other relevant binary objects alongside doing a simple run > check of some type. I'm sure there are probably some dev scripts that > help/aid with this as well. (iwdevtools works well for this: https://github.com/ionenwks/iwdevtools; https://archives.gentoo.org/gentoo-dev/message/2d3b455009176b54b5506173b16383f5).
* QA: detected possibly incorrect RDEPEND (www-client/firefox-bin-92.0-r1) * x11-libs/gdk-pixbuf | x11-libs/gdk-pixbuf:2 * > x11-libs/libXcursor * > x11-libs/libXi * > x11-libs/libxcb
I am very that this is not a direct firefox dep (can't check right now). It may be depend on USE flags for some deps and bin package upstream is probably always requiring USE=wayland...
The three are in DT_NEEDED for firefox-bin's libxul.so itself. Not the case for non-bin www-client/firefox which I'd guess is --as-needed discarding.
so I've just hit this during src_configure of firefox-92.0.1, the configure scripts certainly checks for it: 0:48.09 checking MOZ_WEBP_CFLAGS... -I/usr/aarch64-unknown-linux-gnu/usr/include 0:48.10 checking MOZ_WEBP_LIBS... -L/usr/aarch64-unknown-linux-gnu/usr/lib64 -lwebpdemux -lwebp 0:48.12 checking for x11 xcb xcb-shm x11-xcb xext xrender xcomposite xcursor xdamage xfixes xi... no 0:48.12 ERROR: Package xcursor was not found in the pkg-config search path. 0:48.12 ERROR: Perhaps you should add the directory containing `xcursor.pc' 0:48.12 ERROR: to the PKG_CONFIG_PATH environment variable 0:48.12 ERROR: Package 'xcursor', required by 'virtual:world', not found Error running mach: ['configure'] if the so files don't make use of it, it might be an upstream bug? emerging x11-libs/libXcursor solves the error
https://gitweb.gentoo.org/repo/gentoo.git/commit/www-client/firefox-bin?id=fb57cafc308519d465529a68ea037cc09b9fc6ba