Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 746812 - www-client/firefox-81.0.1 perpetual rebuild when using revdep-rebuild.sh
Summary: www-client/firefox-81.0.1 perpetual rebuild when using revdep-rebuild.sh
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-10-06 00:54 UTC by Kenton Groombridge
Modified: 2020-10-10 17:40 UTC (History)
1 user (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 Kenton Groombridge 2020-10-06 00:54:19 UTC
When performing a revdep-rebuild.sh, www-client/firefox-81.0.1 rebuild is never satisfied:

# revdep-rebuild.sh
 * Configuring search environment for revdep-rebuild

 * Checking reverse dependencies
 * Packages containing binaries and libraries broken by a package update
 * will be emerged.

 * Collecting system binaries and libraries
 * Generated new 1_files.rr
 * Collecting complete LD_LIBRARY_PATH
 * Generated new 2_ldpath.rr
 * Checking dynamic linking consistency
[ 58% ]  *   broken /usr/lib64/firefox/plugin-container (requires libxul.so)
[ 100% ]                 
 * Generated new 3_broken.rr
 * Assigning files to packages
 *   /usr/lib64/firefox/plugin-container -> www-client/firefox
 * Generated new 4_raw.rr and 4_owners.rr
 * Cleaning list of packages to rebuild
 * Generated new 4_pkgs.rr
 * Assigning packages to ebuilds
 * Generated new 4_ebuilds.rr
 * Evaluating package order
 * Generated new 5_order.rr
 * All prepared. Starting rebuild
emerge --complete-graph=y --oneshot --keep-going  www-client/firefox:0/81

# equery b libxul.so
 * Searching for libxul.so ... 
mail-client/thunderbird-78.3.1 (/usr/lib64/thunderbird/libxul.so)
www-client/firefox-81.0.1 (/usr/lib64/firefox/libxul.so)


emerge --info

Portage 3.0.8 (python 3.8.6-final-0, default/linux/amd64/17.1/desktop/plasma, gcc-10.2.0, glibc-2.32-r2, 5.8.13-gentoo x86_64)
=================================================================
System uname: Linux-5.8.13-gentoo-x86_64-Intel-R-_Core-TM-_i7-6800K_CPU_@_3.40GHz-with-glibc2.2.5
KiB Mem:    65797240 total,  48861008 free
KiB Swap:    8388604 total,   8388604 free
Timestamp of repository gentoo: Mon, 05 Oct 2020 23:35:36 +0000
Head commit of repository gentoo: 8fe683b06b5adbbba24d778ca9c22355746017ce

sh bash 5.0_p18
ld GNU ld (Gentoo 2.35.1 p1) 2.35.1
distcc 3.3.3 x86_64-pc-linux-gnu [disabled]
app-shells/bash:          5.0_p18::gentoo
dev-java/java-config:     2.3.1::gentoo
dev-lang/perl:            5.30.3-r1::gentoo
dev-lang/python:          2.7.18-r4::gentoo, 3.7.9::gentoo, 3.8.6::gentoo, 3.9.0::gentoo, 3.10.0_alpha1::gentoo
dev-util/cmake:           3.18.3::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.7::gentoo
sys-apps/openrc:          0.42.1::gentoo
sys-apps/sandbox:         2.20::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r5::gentoo
sys-devel/automake:       1.11.6-r3::gentoo, 1.13.4-r2::gentoo, 1.16.2::gentoo
sys-devel/binutils:       2.35.1::gentoo
sys-devel/gcc:            10.2.0-r2::gentoo
sys-devel/gcc-config:     2.3.2::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.3::gentoo
sys-kernel/linux-headers: 5.8::gentoo (virtual/os-headers)
sys-libs/glibc:           2.32-r2::gentoo
Repositories:

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

x-portage
    location: /usr/local/portage
    masters: gentoo
    priority: 0

ace
    location: /var/lib/layman/ace
    masters: gentoo
    priority: 50

pentoo
    location: /var/lib/layman/pentoo
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native -mtune=native"
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/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/vmware-installer"
CXXFLAGS="-O2 -pipe -march=native -mtune=native"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--keep-going"
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"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox 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="ftp://192.168.1.115/ http://gentoo.mirrors.tds.net/gentoo https://gentoo.osuosl.org/ http://gentoo.mirrors.easynews.com/linux/gentoo/ http://gentoo.modulix.net/gentoo/ https://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j13"
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"
USE="X a52 aac aacplus acpi activities afpacket alsa alsa-plugin amd64 bbswitch berkdb binary-drivers bluetooth branding bzip2 cairo caps-ng cdda cdr cli client crypt cups dbus declarative dhcpcd dri3 dts dvb dvd dvdr efi efiemu elogind emboss encode evdev exif external-fuse fdk ff-card ffmpeg file-inspect flac flash fortran gdbm gif git gles2 gpm gstreamer gtk gtk3 gui hex hpcups hpn http2 iconv icu ipv6 java javascript jit jpeg kipi kwallet lcms legacy-systray libglvnd libnotify libtirpc lightdm lm_sensors mad maxminddb mjpeg mng mp3 mp4 mpeg multilib ncurses nfs nfsv4 nls nptl nsplugin nss ntfs ntfsprogs ntp nvidia ogg openal opencl opengl openmp openssl ovftool ozone pam pango pcre pcsc-lite pdf phonon pkcs11 plasma png policykit ppds prelink proprietary-codecs pulseaudio python qemu qml qt5 rar readline samba scanner scp sdl seccomp secure-delete semantic-desktop sensors shm smartcard sna spell split-usr sqlite ssl startup-notification svc svg tcpd theora threads tiff touchpad truetype udev udisks unicode usb uvm uxa v4l v4l2 vaapi vdpau vix vnc vorbis vpx wayland widevine widgets winbind wma wxwidgets x264 x265 xattr xcb xml xnest xorg xv xvid xvmc zip zlib" ABI_X86="64" ADA_TARGET="gnat_2018" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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 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="en en_US" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2 php7-3 php7-4" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_7" PYTHON_TARGETS="python3_7 python3_8 python3_9" RUBY_TARGETS="ruby26 ruby27" SANE_BACKENDS="epson" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Thomas Deutschmann (RETIRED) gentoo-dev 2020-10-06 15:45:34 UTC
I can confirm what you are seeing.
That's because we dropped

> append-ldflags -Wl,-rpath="${MOZILLA_FIVE_HOME}",--enable-new-dtags

in new ebuilds.

But this isn't really a problem. Please see ipc/glue/GeckoChildProcessHost.cpp, plugin-container is supposed to get this information at runtime from parent process.

New revdep-rebuild is also not complaining.
Comment 2 Larry the Git Cow gentoo-dev 2020-10-10 17:40:36 UTC
The bug has been closed via the following commit(s):

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

commit 9cb276c0255dea64850dccc9db2f652924137765
Author:     Thomas Deutschmann <whissi@gentoo.org>
AuthorDate: 2020-10-10 15:51:27 +0000
Commit:     Thomas Deutschmann <whissi@gentoo.org>
CommitDate: 2020-10-10 17:40:13 +0000

    www-client/firefox: set rpath again
    
    Required for musl user and will make revdep-rebuild.sh happy.
    
    Closes: https://bugs.gentoo.org/746812
    Package-Manager: Portage-3.0.8, Repoman-3.0.1
    Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>

 www-client/firefox/firefox-78.3.1.ebuild    | 3 +++
 www-client/firefox/firefox-81.0.1-r1.ebuild | 3 +++
 2 files changed, 6 insertions(+)

Additionally, it has been referenced in the following commit(s):

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

commit ff6da85f27b47769d1a8c68f3a865fe10ba5c617
Author:     Thomas Deutschmann <whissi@gentoo.org>
AuthorDate: 2020-10-10 15:52:40 +0000
Commit:     Thomas Deutschmann <whissi@gentoo.org>
CommitDate: 2020-10-10 17:40:14 +0000

    mail-client/thunderbird: set rpath again
    
    Required for musl user and will make revdep-rebuild.sh happy.
    
    Fixes
    
      $ thunderbird
      XPCOMGlueLoad error for file /usr/lib/thunderbird/libprldap60.so:
      Error loading shared library libldap60.so: No such file or directory (needed by /usr/lib/thunderbird/libprldap60.so)
      Couldn't load XPCOM.
    
    Bug: https://bugs.gentoo.org/746812
    Package-Manager: Portage-3.0.8, Repoman-3.0.1
    Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>

 mail-client/thunderbird/thunderbird-78.3.2.ebuild | 3 +++
 1 file changed, 3 insertions(+)