Summary: | www-client/firefox-104: libxul.so: hidden symbol `_ZN6webrtc15DesktopCapturer20CreateScreenCapturerERKNS_21DesktopCaptureOptionsE' isn't defined | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | darkbasic <darkbasic> |
Component: | Current packages | Assignee: | Mozilla Gentoo Team <mozilla> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | herrtimson, ppc64, sam |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | PPC64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | firefox-104-build.log.xz |
Description
darkbasic
2022-08-24 08:37:40 UTC
Created attachment 800752 [details] firefox-104-build.log.xz talos2 ~ # emerge --info Portage 3.0.30 (python 3.10.6-final-0, default/linux/ppc64le/17.0/desktop/gnome/systemd, gcc-11.3.0, glibc-2.35-r8, 5.18.18-gentoo-dist ppc64le) ================================================================= System uname: Linux-5.18.18-gentoo-dist-ppc64le-POWER9,_altivec_supported-with-glibc2.35 KiB Mem: 65536108 total, 30053456 free KiB Swap: 16777212 total, 16771020 free Timestamp of repository gentoo: Wed, 24 Aug 2022 07:30:01 +0000 Head commit of repository gentoo: c057371975b3005ac16ea33e0091456eb3c2d71c Timestamp of repository guru: Wed, 24 Aug 2022 05:02:54 +0000 Head commit of repository guru: 6bfd365b2c31f9019c07307a98bce789cfb428fa sh bash 5.1_p16-r1 ld GNU ld (Gentoo 2.38 p4) 2.38 app-misc/pax-utils: 1.3.4::gentoo app-shells/bash: 5.1_p16-r1::gentoo dev-java/java-config: 2.3.1::gentoo dev-lang/perl: 5.34.1-r3::gentoo dev-lang/python: 3.10.6_p2::gentoo dev-lang/rust: 1.62.1::gentoo dev-util/cmake: 3.22.4::gentoo dev-util/meson: 0.62.2::gentoo sys-apps/baselayout: 2.8::gentoo sys-apps/sandbox: 2.29::gentoo sys-apps/systemd: 251.3::gentoo sys-devel/autoconf: 2.13-r2::gentoo, 2.71-r1::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: 14.0.6-r1::gentoo sys-devel/gcc: 11.3.0::gentoo sys-devel/gcc-config: 2.5-r1::gentoo sys-devel/libtool: 2.4.7::gentoo sys-devel/lld: 14.0.6::gentoo sys-devel/llvm: 14.0.6-r2::gentoo sys-devel/make: 4.3::gentoo sys-kernel/linux-headers: 5.15-r3::gentoo (virtual/os-headers) sys-libs/glibc: 2.35-r8::gentoo Repositories: gentoo location: /var/db/repos/gentoo sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 sync-rsync-verify-max-age: 24 sync-rsync-extra-opts: sync-rsync-verify-metamanifest: yes sync-rsync-verify-jobs: 1 darkbasic location: /var/db/repos/darkbasic masters: gentoo guru location: /var/db/repos/guru sync-type: git sync-uri: https://github.com/gentoo-mirror/guru.git masters: gentoo pf4public location: /var/db/repos/pf4public masters: gentoo ACCEPT_KEYWORDS="ppc64" ACCEPT_LICENSE="@FREE @FREE unRAR fping" CBUILD="powerpc64le-unknown-linux-gnu" CFLAGS="-O2 -pipe -mcpu=power9 -mtune=power9" 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/terminfo" CXXFLAGS="-O2 -pipe -mcpu=power9 -mtune=power9" DISTDIR="/var/cache/distfiles" EMERGE_DEFAULT_OPTS="--jobs 32" 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 -mcpu=power9 -mtune=power9" 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 parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe -mcpu=power9 -mtune=power9" GENTOO_MIRRORS="https://gentoo.mirror.garr.it/" LANG="en_US.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j32" 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 alsa bluetooth branding bzip2 cairo cdda cdr cli colord crypt cups dbus dri dts dvd dvdr eds encode evo exif flac fortran gdbm gif gnome gnome-keyring gnome-online-accounts gpm gstreamer gtk gui iconv icu introspection ipv6 jpeg lcms libglvnd libnotify libsecret mad mng mp3 mp4 mpeg nautilus ncurses networkmanager nls nptl ogg opengl openmp pam pango pcre pdf png policykit ppc64 ppds pulseaudio qt5 readline screencast sdl seccomp spell split-usr ssl startup-notification svg systemd tiff tracker truetype udev udisks unicode upower usb vaapi vorbis vpx vulkan wayland wxwidgets x264 xattr xcb xml xv xvid zeroconf zlib" ADA_TARGET="gnat_2020" 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" 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" QEMU_SOFTMMU_TARGETS="ppc ppc64 i386 x86_64" QEMU_USER_TARGETS="ppc ppc64 i386 x86_64" RUBY_TARGETS="ruby27" USERLAND="GNU" VIDEO_CARDS="amdgpu radeon" 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, LEX, 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 can you please share your emerge -pv dev-lang/rust with me? and emerge -pv firefox would be helpfull too. I did have a similar error on armv7 with firefox-103.0.2, and still trying to establish the cause Yeah, we've had some references to it being hosed in #gentoo-powerpc. Not sure if it's been reported upstream by anybody though. You can work around it by disabling webrtc. Similar issue: https://bugzilla.redhat.com/show_bug.cgi?id=2113850 Fix, I guess: https://src.fedoraproject.org/rpms/firefox/pull-request/45#request_diff -> https://src.fedoraproject.org/rpms/firefox/pull-request/45.patch But looking at Fedoras firefox spec they apply all kinds of patches for ppc64 and arm so I wonder what else we need to make compiling work. You can see their commit history: https://src.fedoraproject.org/rpms/firefox/commits/rawhide (which is a bit messy compared to ours, e.g. looks like there's 6 related commits to ppc64 & arm build fixes) The patch worked fine, thanks. Any reason why it cannot be included in the Gentoo ebuild? Btw AFAIK there are two issues here: the one I had with webrtc and another one with gcc: https://www.talospace.com/2022/07/firefox-102-on-power.html?showComment=1661394699680#c589198799960471430 clang plus the webrtc patch does the trick, didn't try with gcc though. Building with clang seems to work, but it's masked on ~ppc64 and needs to be manually unmasked. Can you unmask it in Portage since it seems to work? The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0b410a903fc205eed7d1e30eb40d59c7c5920400 commit 0b410a903fc205eed7d1e30eb40d59c7c5920400 Author: Joonas Niilola <juippis@gentoo.org> AuthorDate: 2022-08-28 06:38:46 +0000 Commit: Joonas Niilola <juippis@gentoo.org> CommitDate: 2022-08-28 06:38:46 +0000 www-client/firefox: fix 104.0 on ~ppc64 Closes: https://bugs.gentoo.org/866293 Signed-off-by: Joonas Niilola <juippis@gentoo.org> www-client/firefox/Manifest | 2 +- www-client/firefox/firefox-104.0.ebuild | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) Additionally, it has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0a13e229d64e8bd2a581c28cbb7568e15ca8b1fa commit 0a13e229d64e8bd2a581c28cbb7568e15ca8b1fa Author: Joonas Niilola <juippis@gentoo.org> AuthorDate: 2022-08-28 06:40:40 +0000 Commit: Joonas Niilola <juippis@gentoo.org> CommitDate: 2022-08-28 06:40:40 +0000 profiles/arch/powerpc/ppc64: unmask www-client/firefox[clang] for <104 - linked bug report says it's working at least for 104, upstream fixed somewhere? Bug: https://bugs.gentoo.org/866293 Signed-off-by: Joonas Niilola <juippis@gentoo.org> profiles/arch/powerpc/ppc64/64le/package.use.mask | 2 +- profiles/arch/powerpc/ppc64/64ul/package.use.mask | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (In reply to darkbasic from comment #6) > The patch worked fine, thanks. > > Any reason why it cannot be included in the Gentoo ebuild? Because I wasn't aware it was needed, and I don't have a ppc64 machine to test it on. So feedback was important here! The upstream bug report says 104 is affected, but no mention about 102esr. Do you think we need to include this patch in 102esr too? > The upstream bug report says 104 is affected, but no mention about 102esr. Do you think we need to include this patch in 102esr too?
102 is the last version which doesn't need the patch to fix the webrtc issue. I think it also used to compile fine with gcc, but I'm not sure because I use clang.
103 definitely needs the patch though.
I've just tried 104 with gcc and it builds as well, so I'm not sure why some people have issues with gcc. (In reply to darkbasic from comment #11) > > 103 definitely needs the patch though. We don't have 103 anymore in the tree, and it isn't supported anymore by upstream either. So 103 isn't a problem. Hopefully the issue can be fixed upstream asap though. |