Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 884197 - www-client/chromium-108.0.5359.94: error: class 'blink::DocumentLoader::DecodedBodyData' is private within this context
Summary: www-client/chromium-108.0.5359.94: error: class 'blink::DocumentLoader::Decod...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Chromium Project
URL:
Whiteboard:
Keywords:
: 884233 (view as bug list)
Depends on:
Blocks: 884139
  Show dependency tree
 
Reported: 2022-12-03 17:49 UTC by FieldySnuts
Modified: 2022-12-04 23:40 UTC (History)
7 users (show)

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


Attachments
environment.txt (environment.txt,199.58 KB, text/plain)
2022-12-03 17:50 UTC, FieldySnuts
Details
Build Log. WARNING: Uncompresses to 48MB (www-client_chromium-108.0.5359.94_build_log.txt.xz,534.65 KB, application/x-xz)
2022-12-03 17:50 UTC, FieldySnuts
Details

Note You need to log in before you can comment on or make changes to this bug.
Description FieldySnuts 2022-12-03 17:49:20 UTC
While attempting to install =www-client/chromium-108.0.5359.94, there is a failure:

 * ERROR: www-client/chromium-108.0.5359.94::gentoo failed (compile phase):
 *   ninja -v -j32 -l0 -C out/Release v8_context_snapshot_generator failed
 * 
 * Call stack:
 *     ebuild.sh, line  122:  Called src_compile
 *   environment, line 5082:  Called chromium_compile
 *   environment, line 2218:  Called eninja '-C' 'out/Release' 'v8_context_snapshot_generator'
 *   environment, line 2761:  Called die
 * The specific snippet of code:
 *       "$@" || die "${nonfatal_args[@]}" "${*} failed"
 * 
 * If you need support, post the output of `emerge --info '=www-client/chromium-108.0.5359.94::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=www-client/chromium-108.0.5359.94::gentoo'`.
 * 
 * MemTotal:       65865292 kB
 * SwapTotal:      52427772 kB



Reproducible: Always

Steps to Reproduce:
1. As this is ~amd64, echo "www-client/chromium ~amd64" >> /etc/portage/package.accept_keywords
2. Ensure that custom-cflags USE flag is NOT in use
3. emerge -vq chromium
Actual Results:  
The compilation proceeds for some time however fails with the already listed errors.

Expected Results:  
For the compiling to complete and chromium to be installed.

Portage 3.0.38.1 (python 3.10.8-final-0, default/linux/amd64/17.1/desktop, gcc-11.3.0, glibc-2.36-r5, 6.0.11-gentoo-x86_64 x86_64)
=================================================================
System uname: Linux-6.0.11-gentoo-x86_64-x86_64-AMD_Ryzen_Threadripper_3990X_64-Core_Processor-with-glibc2.36
KiB Mem:    65865292 total,  48553856 free
KiB Swap:   52427772 total,  52427772 free
Timestamp of repository gentoo: Sat, 03 Dec 2022 14:00:01 +0000
Head commit of repository gentoo: 6cbe4c3ed96b51d68b37610dfc9605839736a0d7
Timestamp of repository stha09: Fri, 02 Dec 2022 20:02:10 +0000
Head commit of repository stha09: 3e9c07c014f14476dd70c0c30cfce7623e021478

sh bash 5.1_p16-r2
ld GNU ld (Gentoo 2.37_p1 p2) 2.37
distcc 3.4 x86_64-pc-linux-gnu [disabled]
ccache version 4.6.3 [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.8.13_p2::gentoo, 3.9.13::gentoo, 3.10.8_p3::gentoo, 3.11.0_p2::gentoo
dev-lang/rust-bin:         1.65.0::gentoo
dev-util/ccache:           4.6.3::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.71-r5::gentoo
sys-devel/automake:        1.16.5::gentoo
sys-devel/binutils:        2.37_p1-r2::gentoo, 2.38-r2::gentoo
sys-devel/binutils-config: 5.4.1::gentoo
sys-devel/clang:           13.0.1::gentoo, 14.0.6-r1::gentoo, 15.0.5::gentoo
sys-devel/gcc:             11.3.0::gentoo
sys-devel/gcc-config:      2.8::gentoo
sys-devel/libtool:         2.4.7::gentoo
sys-devel/lld:             14.0.6-r1::gentoo, 15.0.5::gentoo
sys-devel/llvm:            13.0.1::gentoo, 14.0.6-r2::gentoo, 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-verify-jobs: 1
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-max-age: 24
    sync-rsync-extra-opts: -z

stha09
    location: /var/db/repos/stha09
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/stha09.git
    masters: gentoo

Installed sets: @fonts-hugelist
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
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/sandbox.d /etc/terminfo"
CXXFLAGS="-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="-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 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"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j32"
PKGDIR="/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="-z"
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 branding bzip2 cairo cdda cdr cli crypt dbus dri dts dvd dvdr elogind encode exif flac fortran gdbm gif gpm gtk gui iconv icu jpeg lcms libglvnd libnotify libtirpc mad mng mp3 mp4 mpeg multilib ncurses nls nptl ogg opengl openmp pam pango pcre pdf png policykit ppds pulseaudio qt5 readline sdl seccomp spell split-usr ssl startup-notification svg test-rust threads tiff truetype udev udisks unicode upower usb vorbis wxwidgets x264 xattr xcb xml xv xvid 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 sha sse sse2 sse3 sse4_1 sse4_2 sse4a 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" INPUT_DEVICES="libinput" KERNEL="linux" L10N="*" 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="vmware" 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, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS
Comment 1 FieldySnuts 2022-12-03 17:50:09 UTC
Created attachment 839519 [details]
environment.txt
Comment 2 FieldySnuts 2022-12-03 17:50:54 UTC
Created attachment 839521 [details]
Build Log. WARNING: Uncompresses to 48MB
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-12-04 08:36:10 UTC
*** Bug 884233 has been marked as a duplicate of this bug. ***
Comment 4 FieldySnuts 2022-12-04 14:51:27 UTC
There are some patches in this overlay, I lack the understanding to know if they might be helpful?

Specifically there is one called 'chromium-108-DocumentLoader-private.patch':

https://github.com/stha09/gpo-stha09/tree/master/www-client/chromium/files
Comment 5 Stephan Hartmann (RETIRED) gentoo-dev 2022-12-04 16:05:09 UTC
(In reply to FieldySnuts from comment #4)
> There are some patches in this overlay, I lack the understanding to know if
> they might be helpful?
> 
> Specifically there is one called 'chromium-108-DocumentLoader-private.patch':
> 
> https://github.com/stha09/gpo-stha09/tree/master/www-client/chromium/files

Umm, maybe I was sleeping when I wrote this, but declaration and usage of struct DecodedBodyDataVector is wrong. However, I have no system to correct and test it.
Comment 6 Alexandre Ferreira 2022-12-04 18:38:24 UTC
Using the suggested patch https://github.com/stha09/gpo-stha09/blob/master/www-client/chromium/files/chromium-108-DocumentLoader-private.patch chromium compiles and run. Thanks
Comment 7 Larry the Git Cow gentoo-dev 2022-12-04 23:40:20 UTC
The bug has been closed via the following commit(s):

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

commit d7c445871003a62c278c8e1177df10621662513e
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-12-04 23:38:13 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-12-04 23:38:13 +0000

    www-client/chromium: fix build with GCC
    
    Closes: https://bugs.gentoo.org/884197
    Thanks-to: Stephan Hartmann <sultan@gentoo.org>
    Signed-off-by: Sam James <sam@gentoo.org>

 www-client/chromium/chromium-108.0.5359.94.ebuild  |  1 +
 .../chromium-108-DocumentLoader-private.patch      | 36 ++++++++++++++++++++++
 2 files changed, 37 insertions(+)