>>> Configuring source in /var/tmp/portage/www-client/chromium-97.0.4688.2/work/chromium-97.0.4688.2 ... * Using python3.10 to build * Configuring Chromium... gn gen --args= is_clang=false custom_toolchain="//build/toolchain/linux/unbundle:default" host_toolchain="//build/toolchain/linux/unbundle:default" is_debug=false dcheck_always_on=false dcheck_is_configurable=false is_component_build=false enable_nacl=false use_system_harfbuzz=true use_gnome_keyring=false enable_js_type_check=true enable_hangout_services_extension=true enable_widevine=true use_cups=true use_kerberos=false use_pulseaudio=true use_vaapi=false rtc_use_pipewire=false disable_fieldtrial_testing_config=true use_gold=false use_sysroot=false use_custom_libcxx=false use_lld=false enable_pseudolocales=false blink_enable_generated_code_formatting=false proprietary_codecs=true ffmpeg_branding="Chrome" google_api_key="AIzaSyDEAOvatFo0eTgsV_ZlEzx0ObmepsMzfAc" target_cpu="x64" treat_warnings_as_errors=false fatal_linker_warnings=false icu_use_data_file=false use_ozone=true ozone_auto_platforms=false ozone_platform_headless=true ozone_platform_x11=true ozone_platform="x11" is_official_build=true use_thin_lto=false is_cfi=false chrome_pgo_phase=0 symbol_level=0 out/Release ERROR at //build/config/freetype/BUILD.gn:8:1: Dependency not allowed. group("freetype") { ^------------------ The item //build/config/freetype:freetype can not depend on //build/linux:freetype_from_pkgconfig because it is not in //build/linux:freetype_from_pkgconfig's visibility list: [ //third_party:freetype_harfbuzz //third_party/harfbuzz-ng:harfbuzz_source ] # emerge --info '=www-client/chromium-97.0.4688.2::gentoo' Portage 3.0.28 (python 3.10.0-final-0, default/linux/amd64/17.1/hardened, gcc-11.2.0, glibc-2.33-r7, 5.15.0-gentoo x86_64) ================================================================= System Settings ================================================================= System uname: Linux-5.15.0-gentoo-x86_64-11th_Gen_Intel-R-_Core-TM-_i9-11900K_@_3.50GHz-with-glibc2.33 KiB Mem: 131749504 total, 1226016 free KiB Swap: 0 total, 0 free Timestamp of repository gentoo: Thu, 04 Nov 2021 07:30:01 +0000 Head commit of repository gentoo: 3be51b8cfbd5ba23e193b68757c974680b1892f6 sh bash 5.1_p8 ld GNU ld (Gentoo 2.37_p1 p0) 2.37 app-shells/bash: 5.1_p8::gentoo dev-java/java-config: 2.3.1::gentoo dev-lang/perl: 5.34.0-r5::gentoo dev-lang/python: 2.7.18_p13::gentoo, 3.8.12_p1::gentoo, 3.9.7_p1::gentoo, 3.10.0_p1::gentoo dev-lang/rust: 1.56.1::gentoo dev-util/cmake: 3.21.4::gentoo sys-apps/baselayout: 2.8::gentoo sys-apps/openrc: 0.44.7::gentoo sys-apps/sandbox: 2.29::gentoo sys-devel/autoconf: 2.13-r1::gentoo, 2.71-r1::gentoo sys-devel/automake: 1.16.5::gentoo sys-devel/binutils: 2.37_p1::gentoo sys-devel/gcc: 11.2.0::gentoo sys-devel/gcc-config: 2.4::gentoo sys-devel/libtool: 2.4.6-r6::gentoo sys-devel/make: 4.3::gentoo sys-kernel/linux-headers: 5.14::gentoo (virtual/os-headers) sys-libs/glibc: 2.33-r7::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-extra-opts: sync-rsync-verify-max-age: 24 sync-rsync-verify-metamanifest: yes fordfrog location: /usr/src/fordfrog.git masters: gentoo priority: 0 local location: /usr/local/portage masters: gentoo brother-overlay location: /var/lib/layman/brother-overlay masters: gentoo priority: 50 ceamac location: /var/lib/layman/ceamac masters: gentoo priority: 50 flavour location: /var/lib/layman/flavour masters: gentoo priority: 50 waebbl location: /var/lib/layman/waebbl masters: gentoo priority: 50 ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="* -@EULA" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=native -O2 -pipe -frecord-gcc-switches" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /opt/brother/scanner/brscan4/brsanenetdevice4.cfg /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.8/conf" 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/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-march=native -O2 -pipe -frecord-gcc-switches" DISTDIR="/var/db/repos/gentoo/distfiles" EMERGE_DEFAULT_OPTS="--misspell-suggestions n" 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="-march=native -O2 -pipe -frecord-gcc-switches" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance 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="-march=native -O2 -pipe -frecord-gcc-switches" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="cs_CZ.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="cs cs_CZ en en_US en_UK" MAKEOPTS="-j17" PKGDIR="/var/db/repos/gentoo/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 acl alsa amd64 aubio bluetooth bzip2 cdda cddb cdr color-management colord crypt cuda cups dbus dia dssi dvb dvd elogind exif ffmpeg flac gegl gif gphoto2 gsm gtk gtk3 hardened hddtemp http2 ibus iconv icu id3tag ipv6 jack jack-dbus jacksession javafx jpeg ladspa lastfm latex lcms libass libglvnd libnotify libproxy libsamplerate libtirpc lilypond lm-sensors lv2 mad modplug mp3 mpeg mpi mtp multilib musepack ncurses nls nptl ocr ogg openexr opengl openmp opus osc pam pcre pdf pie png policykit pulseaudio qt5 raw readline rubberband samba scanner screencast seccomp sf2 sndfile soundio speex spell split-usr ssl ssp startup-notification svg svg2 taglib theora tiff timidity tk tray truetype udev unicode usb vamp visio vorbis vpx vst vulkan wavpack webp widevine wmf x264 x265 xattr xinerama xmp xtpax xv xvid zlib" ABI_X86="32 64" ADA_TARGET="gnat_2019" APACHE2_MODULES="alias auth_basic authn_core authn_file authz_core authz_host authz_user cgi cgid deflate dir expires filter headers http2 include info log_config mime mime_magic negotiation proxy proxy_ajp rewrite setenvif socache_shmcb status unixd vhost_alias" APACHE2_MPMS="event" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 avx512f avx512dq avx512cd avx512bw avx512vl avx512vbmi f16c fma3 mmx mmxext pclmul popcnt rdrand sha 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" INPUT_DEVICES="evdev libinput synaptics wacom" KERNEL="linux" L10N="cs cs-CZ en en-US en-UK" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LLVM_TARGETS="NVPTX" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-3 php7-4" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_9" PYTHON_TARGETS="python3_7 python3_8 python3_9 python3_10" RUBY_TARGETS="ruby26 ruby27 ruby30" SANE_BACKENDS="genesys" USERLAND="GNU" VIDEO_CARDS="intel i915 i965 nvidia" 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: CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RUSTFLAGS # cat /var/tmp/portage/www-client/chromium-97.0.4688.2/temp/build.log * Package: www-client/chromium-97.0.4688.2 * Repository: gentoo * Maintainer: chromium@gentoo.org * USE: abi_x86_64 amd64 cups elibc_glibc hangouts js-type-check kernel_linux l10n_cs official pic proprietary-codecs pulseaudio suid system-harfbuzz system-icu userland_GNU widevine * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox * Checking for at least 4 GiB RAM ... [ ok ] * Checking for at least 9 GiB disk space at "/var/tmp/portage/www-client/chromium-97.0.4688.2/temp" ... [ ok ] * Determining the location of the kernel source code * Found kernel source directory: * /usr/src/linux * Found sources for kernel version: * 5.15.0-gentoo * Checking for suitable kernel configuration options... [ ok ] >>> Unpacking source... >>> Unpacking chromium-97.0.4688.2.tar.xz to /var/tmp/portage/www-client/chromium-97.0.4688.2/work >>> Unpacking chromium-97-patchset-3.tar.xz to /var/tmp/portage/www-client/chromium-97.0.4688.2/work >>> Source unpacked in /var/tmp/portage/www-client/chromium-97.0.4688.2/work >>> Preparing source in /var/tmp/portage/www-client/chromium-97.0.4688.2/work/chromium-97.0.4688.2 ... * Using python3.10 to build * Applying patches from /var/tmp/portage/www-client/chromium-97.0.4688.2/work/patches ... * chromium-78-protobuf-RepeatedPtrField-export.patch ... [ ok ] * chromium-95-libyuv-aarch64.patch ... [ ok ] * chromium-96-compiler.patch ... [ ok ] * Applying chromium-93-InkDropHost-crash.patch ... [ ok ] * Applying chromium-95-xfce-maximize.patch ... [ ok ] * Applying chromium-96-EnumTable-crash.patch ... [ ok ] * Applying chromium-use-oauth2-client-switches-as-default.patch ... [ ok ] * Applying chromium-shim_headers.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/www-client/chromium-97.0.4688.2/work/chromium-97.0.4688.2 ... * Using python3.10 to build * Configuring Chromium... gn gen --args= is_clang=false custom_toolchain="//build/toolchain/linux/unbundle:default" host_toolchain="//build/toolchain/linux/unbundle:default" is_debug=false dcheck_always_on=false dcheck_is_configurable=false is_component_build=false enable_nacl=false use_system_harfbuzz=true use_gnome_keyring=false enable_js_type_check=true enable_hangout_services_extension=true enable_widevine=true use_cups=true use_kerberos=false use_pulseaudio=true use_vaapi=false rtc_use_pipewire=false disable_fieldtrial_testing_config=true use_gold=false use_sysroot=false use_custom_libcxx=false use_lld=false enable_pseudolocales=false blink_enable_generated_code_formatting=false proprietary_codecs=true ffmpeg_branding="Chrome" google_api_key="AIzaSyDEAOvatFo0eTgsV_ZlEzx0ObmepsMzfAc" target_cpu="x64" treat_warnings_as_errors=false fatal_linker_warnings=false icu_use_data_file=false use_ozone=true ozone_auto_platforms=false ozone_platform_headless=true ozone_platform_x11=true ozone_platform="x11" is_official_build=true use_thin_lto=false is_cfi=false chrome_pgo_phase=0 symbol_level=0 out/Release ERROR at //build/config/freetype/BUILD.gn:8:1: Dependency not allowed. group("freetype") { ^------------------ The item //build/config/freetype:freetype can not depend on //build/linux:freetype_from_pkgconfig because it is not in //build/linux:freetype_from_pkgconfig's visibility list: [ //third_party:freetype_harfbuzz //third_party/harfbuzz-ng:harfbuzz_source ] * ERROR: www-client/chromium-97.0.4688.2::gentoo failed (configure phase): * (no error message) * * Call stack: * ebuild.sh, line 127: Called src_configure * environment, line 4329: Called die * The specific snippet of code: * "$@" || die * * If you need support, post the output of `emerge --info '=www-client/chromium-97.0.4688.2::gentoo'`, * the complete build log and the output of `emerge -pqv '=www-client/chromium-97.0.4688.2::gentoo'`. * The complete build log is located at '/var/tmp/portage/www-client/chromium-97.0.4688.2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/www-client/chromium-97.0.4688.2/temp/environment'. * Working directory: '/var/tmp/portage/www-client/chromium-97.0.4688.2/work/chromium-97.0.4688.2' * S: '/var/tmp/portage/www-client/chromium-97.0.4688.2/work/chromium-97.0.4688.2'
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4b1c445c70ae093eb33962054f9681d2dcceec00 commit 4b1c445c70ae093eb33962054f9681d2dcceec00 Author: Stephan Hartmann <sultan@gentoo.org> AuthorDate: 2021-11-04 20:18:59 +0000 Commit: Stephan Hartmann <sultan@gentoo.org> CommitDate: 2021-11-04 20:18:59 +0000 www-client/chromium: force older dev-util/gn (M95) Closes: https://bugs.gentoo.org/821652 Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Stephan Hartmann <sultan@gentoo.org> www-client/chromium/chromium-95.0.4638.69.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
I've recently hit this bug when trying to build www-client/chromium-96.0.4664.35::gentoo, with an up to date tree in ~amd64. Perhaps this was inadvertently reintroduced?
I fi(In reply to Adam Stylinski from comment #2) > I've recently hit this bug when trying to build > www-client/chromium-96.0.4664.35::gentoo, with an up to date tree in ~amd64. > Perhaps this was inadvertently reintroduced? I fixed it for M96 and M97 too, just forgot to reference the bug: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2936d731c4d39399124253fd099818a5676555ea