Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 913674 - www-client/firefox-115.2.0 build error "directory registered multiple times"
Summary: www-client/firefox-115.2.0 build error "directory registered multiple times"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: PPC64 Linux
: Normal normal
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-09-05 07:40 UTC by Chris Kerr
Modified: 2023-09-06 07:48 UTC (History)
1 user (show)

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


Attachments
Log of failed build (www-client:firefox-115.2.0:20230905-073210.log,62.57 KB, text/x-log)
2023-09-05 07:40 UTC, Chris Kerr
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Kerr 2023-09-05 07:40:19 UTC
Created attachment 869795 [details]
Log of failed build

This error happens when building the latest Firefox ESR on ppc64le. I presume that it would already have been reported and fixed if it occurred on other architectures, so I guess that it is caused by some ppc64-specific patches clashing with recent changes to the build configuration.

 0:34.70 ==============================
 0:34.71 FATAL ERROR PROCESSING MOZBUILD FILE
 0:34.71 ==============================
 0:34.71 
 0:34.71 The error occurred while processing the following file:
 0:34.71 
 0:34.71     /var/tmp/portage/www-client/firefox-115.2.0/work/firefox-115.2.0/third_party/libwebrtc/moz.build
 0:34.71 
 0:34.71 The error occurred when validating the result of the execution. The reported error is:
 0:34.71 
 0:34.71 
 0:34.71     ==============================
 0:34.71     FATAL ERROR PROCESSING MOZBUILD FILE
 0:34.71     ==============================
 0:34.71 
 0:34.71     The error occurred while processing the following file or one of the files it includes:
 0:34.71 
 0:34.71         /var/tmp/portage/www-client/firefox-115.2.0/work/firefox-115.2.0/third_party/libwebrtc/moz.build
 0:34.71 
 0:34.71     The error occurred when validating the result of the execution. The reported error is:
 0:34.71 
 0:34.71         Directory (modules/desktop_capture/desktop_capture_gn) registered multiple times
Comment 1 Chris Kerr 2023-09-05 07:40:57 UTC
emerge --info '=www-client/firefox-115.2.0::gentoo'
Portage 3.0.49 (python 3.11.4-final-0, default/linux/ppc64le/17.0/desktop/plasma/systemd/merged-usr, gcc-12, glibc-2.37-r3, 6.1.41-gentoo-ppc64le ppc64le)
=================================================================
                         System Settings
=================================================================
System uname: Linux-6.1.41-gentoo-ppc64le-ppc64le-POWER9,_altivec_supported-with-glibc2.37
KiB Mem:   197165232 total, 133333176 free
KiB Swap:   33554428 total,  33330428 free
Timestamp of repository gentoo: Tue, 05 Sep 2023 07:15:01 +0000
Head commit of repository gentoo: bdacb6a0d8143275063aa5ec1e7f632c13d3b25a
sh bash 5.1_p16-r6
ld GNU ld (Gentoo 2.39 p6) 2.39.0
app-misc/pax-utils:        1.3.7::gentoo
app-shells/bash:           5.1_p16-r6::gentoo
dev-lang/perl:             5.36.1-r3::gentoo
dev-lang/python:           2.7.18_p16-r1::gentoo, 3.11.4::gentoo
dev-lang/rust:             1.69.0-r1::gentoo
dev-util/cmake:            3.26.5-r2::gentoo
dev-util/meson:            1.1.1::gentoo
sys-apps/baselayout:       2.14::gentoo
sys-apps/sandbox:          2.37::gentoo
sys-apps/systemd:          253.6::gentoo
sys-devel/autoconf:        2.13-r7::gentoo, 2.71-r6::gentoo
sys-devel/automake:        1.16.5::gentoo
sys-devel/binutils:        2.38-r2::gentoo, 2.39-r5::gentoo, 2.40-r5::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang:           15.0.7-r3::gentoo, 16.0.6::gentoo
sys-devel/gcc:             11.3.1_p20230427::gentoo, 12.3.1_p20230526::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/libtool:         2.4.7-r1::gentoo
sys-devel/lld:             15.0.7::gentoo, 16.0.6::gentoo
sys-devel/llvm:            15.0.7-r3::gentoo, 16.0.6::gentoo
sys-devel/make:            4.4.1-r1::gentoo
sys-kernel/linux-headers:  6.1::gentoo (virtual/os-headers)
sys-libs/glibc:            2.37-r3::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.europe.gentoo.org/gentoo-portage
    priority: -1000
    volatile: False
    sync-rsync-extra-opts: 
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-max-age: 24

ACCEPT_KEYWORDS="ppc64"
ACCEPT_LICENSE="@FREE"
CBUILD="powerpc64le-unknown-linux-gnu"
CFLAGS="-Og -pipe -mcpu=power9 -mtune=power9 -g -ggdb"
CHOST="powerpc64le-unknown-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/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-Og -pipe -mcpu=power9 -mtune=power9 -g -ggdb"
DISTDIR="/var/cache/distfiles"
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="-Og -pipe -mcpu=power9 -mtune=power9 -g -ggdb"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch 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="-Og -pipe -mcpu=power9 -mtune=power9 -g -ggdb"
GENTOO_MIRRORS="     https://mirrors.dotsrc.org/gentoo/     https://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ "
LANG="C.UTF8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LEX="flex"
MAKEOPTS="--jobs=24 --load-average=32"
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 activities alsa bash-completion branding brotli bzip2 cairo caps cdda cdr cli crypt cryptsetup cups dbus declarative device-mapper dri dts dvd dvdr encode exif firewalld flac fortran gdbm gif gpm gtk gui iconv icu ipv6 jpeg jpeg2k kde kwallet lcms libnotify lto lvm lz4 lzma lzo mad mng mp3 mp4 mpeg ncurses networkmanager nls nptl ogg opengl openmp pam pango pcre pdf pipewire plasma png policykit ppc64 ppds pulseaudio qml qt5 readline screencast sdl seccomp semantic-desktop smartcard sound spell ssl startup-notification svg systemd test-rust tiff truetype udev udisks unicode upower usb vaapi verify-sig vorbis vulkan wayland webp widgets wxwidgets x264 xattr xcb xft xml xv xvid zlib zram zstd" ADA_TARGET="gnat_2021" AMDGPU_TARGETS="gfx1012" 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_PPC="altivec vsx vsx2 vsx3" 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" INPUT_DEVICES="libinput" KERNEL="linux" L10N="en en-GB eo et" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LLVM_TARGETS="AMDGPU BPF PowerPC" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" 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 radeon ast fbdev" 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, LFLAGS, LIBTOOL, LINGUAS, 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 2 Chris Kerr 2023-09-05 07:48:26 UTC
This error does not happen for the :rapid version 117.0, only for the ESR version of Firefox.
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-09-05 15:19:48 UTC
Duplicate of fixed-earlier-today bug 913224, I think?

*** This bug has been marked as a duplicate of bug 913224 ***
Comment 4 Joonas Niilola gentoo-dev 2023-09-05 19:05:09 UTC
Hmm, looks like I've somehow mixed the ppc on 115.2 and 117.0 this release. No idea how that happened, but that's what it seems like.

I'll update the ESR ppc64 patch tomorrow.
Comment 5 Larry the Git Cow gentoo-dev 2023-09-06 07:46:33 UTC
The bug has been closed via the following commit(s):

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

commit 78e92aa87e9a2226666111e4c2bba6efcb5ac939
Author:     Joonas Niilola <juippis@gentoo.org>
AuthorDate: 2023-09-06 07:45:48 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2023-09-06 07:45:48 +0000

    www-client/firefox: update ppc64 webrtc patch on 115esr
    
    Closes: https://bugs.gentoo.org/913674
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 www-client/firefox/Manifest               | 2 +-
 www-client/firefox/firefox-115.2.0.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)