Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 905636 - www-client/chromium-112.0.5615.165[libcxx]: fails to compile, clang 16 needed
Summary: www-client/chromium-112.0.5615.165[libcxx]: fails to compile, clang 16 needed
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal minor (vote)
Assignee: Chromium Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-05-03 07:29 UTC by fdrichard_gentoo
Modified: 2023-05-04 17:54 UTC (History)
1 user (show)

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


Attachments
portage log file for www-client/chromium-112.0.5615.165 (www-client:chromium-112.0.5615.165:20230503-070814.log,1.69 KB, text/plain)
2023-05-03 07:31 UTC, fdrichard_gentoo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description fdrichard_gentoo 2023-05-03 07:29:35 UTC
www-client/chromium-112.0.5615.165 fails to compile, portage log file reports this error:

 * ERROR: www-client/chromium-112.0.5615.165::gentoo failed (setup phase):
 *   At least clang 16 is required

But emerge didn't complaint about missing dependencies.

Reproducible: Always

Steps to Reproduce:
1.emerge -avtuND @world
2.
3.
Actual Results:  
Build of Chromium fails during configure phase.

Expected Results:  
Would have expected emerge to ask to add clang/Llvm/lld 16 to package.accept_keyword

Portage 3.0.44 (python 3.11.2-final-0, default/linux/amd64/17.1/desktop/plasma/systemd, gcc-12, glibc-2.36-r7, 6.2.13-gentoo-x86_64 x86_64)
=================================================================
System uname: Linux-6.2.13-gentoo-x86_64-x86_64-AMD_FX-8370E_Eight-Core_Processor-with-glibc2.36
KiB Mem:    32825904 total,  11223428 free
KiB Swap:   33554428 total,  33554428 free
Timestamp of repository gentoo: Wed, 03 May 2023 06:20:08 +0000
Head commit of repository gentoo: e72d719c14209d58bb9b8ef97de5e0653f24d243

sh bash 5.1_p16-r2
ld GNU ld (Gentoo 2.39 p6) 2.39.0
distcc 3.4 x86_64-pc-linux-gnu [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.36.0-r2::gentoo
dev-lang/python:           3.10.10_p3::gentoo, 3.11.2_p2::gentoo
dev-lang/rust:             1.66.1::gentoo
dev-util/cmake:            3.25.3::gentoo
dev-util/meson:            1.0.1::gentoo
sys-apps/baselayout:       2.13-r1::gentoo
sys-apps/sandbox:          2.29::gentoo
sys-apps/systemd:          253.3-r1::gentoo
sys-devel/autoconf:        2.13-r7::gentoo, 2.71-r5::gentoo
sys-devel/automake:        1.16.5::gentoo
sys-devel/binutils:        2.39-r5::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang:           15.0.7-r1::gentoo
sys-devel/gcc:             12.2.1_p20230428-r1::gentoo
sys-devel/gcc-config:      2.10::gentoo
sys-devel/libtool:         2.4.7-r1::gentoo
sys-devel/lld:             15.0.7::gentoo
sys-devel/llvm:            14.0.6-r2::gentoo, 15.0.7::gentoo
sys-devel/make:            4.4.1::gentoo
sys-kernel/linux-headers:  6.1::gentoo (virtual/os-headers)
sys-libs/glibc:            2.36-r7::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: git
    sync-uri: https://anongit.gentoo.org/git/repo/sync/gentoo.git
    priority: -1000
    volatile: True
    sync-git-verify-commit-signature: yes

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=native -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/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=native -pipe"
DISTDIR="/mnt/backup/portage_distfiles"
EMERGE_DEFAULT_OPTS="--quiet --with-bdeps=y"
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="-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://gentoo.mirror.web4u.cz/ ftp://gentoo.mirror.web4u.cz/ http://ftp.halifax.rwth-aachen.de/gentoo/ ftp://ftp.halifax.rwth-aachen.de/gentoo/ rsync://ftp.halifax.rwth-aachen.de/gentoo/ http://mirror.mdfnet.se/gentoo ftp://mirror.mdfnet.se/gentoo"
LANG="it_IT.UTF-8"
LDFLAGS="-Wl,--as-needed"
LEX="flex"
LINGUAS="it en en_GB en_US"
MAKEOPTS="-j9 -l8"
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/portage"
SHELL="/bin/zsh"
USE="X \ a52 aac acl acpi activities alsa amd64 bash-completion bluetooth branding bzip2 cairo cdda cdr cli crypt cups dbus declarative djvu dri dts dvd dvdr encode exif fbcon ffmpeg flac fortran gdbm gif gimp gpm gtk gui iconv icu ipv6 jpeg kde kwallet lcms libglvnd libnotify libtirpc lto lzma lzo mad mng mp3 mp4 mpeg mtp multilib ncurses nls nptl ogg opencv openexr opengl openmp pam pango pcre pdf pgf pgo plasma png policykit postscript ppds pulseaudio qml qt5 readline rss sdl seccomp semantic-desktop sound spell split-usr ssl startup-notification svg systemd test-rust tiff truetype udev udisks unicode upower usb vdpau vlc vorbis webp widgets wxwidgets x264 xattr xcb xft xml xv xvid zlib zsh-completion" ABI_X86="64" ADA_TARGET="gnat_2021" APACHE2_MODULES="access filter unique_id auth auth_dbm auth_anon auth_digest alias file-cache echo charset-lite cache disk-cache mem-cache ext-filter case_filter case-filter-in deflate mime-magic cern-meta expires headers usertrack proxy proxy-connect proxy-ftp proxy-http info include cgi cgid dav dav-fs vhost-alias speling rewrite log_config logio env setenvif mime status autoindex asis negotiation dir imap actions userdir so authz_host" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx fma3 fma4 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 xop" 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="it en en_GB en_US" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="nlpsolver" 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_11" PYTHON_TARGETS="python3_11" RUBY_TARGETS="ruby30" SANE_BACKENDS="genesys canon630u" USERLAND="GNU" VIDEO_CARDS="v4l vesa radeon r600" 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, LFLAGS, LIBTOOL, 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 1 fdrichard_gentoo 2023-05-03 07:31:23 UTC
Created attachment 861070 [details]
portage log file for www-client/chromium-112.0.5615.165
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-05-03 07:31:57 UTC
It does depend on Clang 16 at least for some combinations:
"""
BDEPEND=system-icu? ( >=dev-libs/icu-71.1:= ) >=dev-libs/libxml2-2.9.4-r3:=[icu] dev-libs/nspr:= >=dev-libs/nss-3.26:= !libcxx? ( >=dev-libs/re2-0.2019.08.01:= ) dev-libs/libxslt:= media-libs/fontconfig:= >=media-libs/freetype-2.11.0-r1:= system-harfbuzz? ( >=media-libs/harfbuzz-3:0=[icu(-)] ) media-libs/libjpeg-turbo:= system-png? ( media-libs/libpng:=[-apng(-)] ) >=media-libs/libwebp-0.4.0:= media-libs/mesa:=[gbm(+)] >=media-libs/openh264-1.6.0:= system-av1? ( >=media-libs/dav1d-1.0.0:= >=media-libs/libaom-3.4.0:= ) sys-libs/zlib:= x11-libs/libdrm:= !headless? ( dev-libs/glib:2 >=media-libs/alsa-lib-1.0.19:= pulseaudio? ( media-sound/pulseaudio:= ) sys-apps/pciutils:= kerberos? ( virtual/krb5 ) vaapi? ( >=media-libs/libva-2.7:=[X?,wayland?] ) X? ( x11-libs/libX11:= x11-libs/libXext:= x11-libs/libxcb:= ) x11-libs/libxkbcommon:= wayland? ( dev-libs/libffi:= screencast? ( media-video/pipewire:= ) ) ) || ( >=dev-lang/python-3.11.1-r1:3.11[xml(+)] >=dev-lang/python-3.10.9-r1:3.10[xml(+)] ) || ( ( >=dev-lang/python-3.11.1-r1:3.11[xml(+)] dev-python/setuptools[python_targets_python3_11(-)] ) ( >=dev-lang/python-3.10.9-r1:3.10[xml(+)] dev-python/setuptools[python_targets_python3_10(-)] ) ) >=app-arch/gzip-1.7 !headless? ( qt5? ( dev-qt/qtcore:5 ) ) libcxx? ( >=sys-devel/clang-13 ) lto? ( sys-devel/clang:16 sys-devel/llvm:16 =sys-devel/lld-16* ) pgo? ( >=dev-python/selenium-3.141.0 >=dev-util/web_page_replay_go-20220314 sys-devel/clang:16 sys-devel/llvm:16 =sys-devel/lld-16* ) dev-lang/perl >=dev-util/gn-0.1807 >=dev-util/gperf-3.0.3 >=dev-util/ninja-1.7.2 dev-vcs/git >=net-libs/nodejs-7.6.0[inspector] >=sys-devel/bison-2.4.3 sys-devel/flex virtual/pkgconfig pgo? ( x11-base/xorg-server[xvfb] x11-apps/xhost )
"""

as of

commit c5441a85d68e31dd07dd52d6f33869dc44350375
Author: Patrick Lauer <patrick@gentoo.org>
Date:   Sun Apr 30 17:35:23 2023 +0000

    www-client/chromium: Fix LLVM_MAX_SLOT

    ae8d30f1 changed the check in pkg_setup to require clang-16.
    Increase LLVM_MAX_SLOT to make this satisfiable.

    Signed-off-by: Patrick Lauer <patrick@gentoo.org>

commit 543016fb0ed850ad7ef2f3ae005a9abf803398dd
Author: Mike Gilbert <floppym@gentoo.org>
Date:   Sun Apr 30 12:30:13 2023 -0400

    www-client/chromium: update clang check in pkg_setup

    Signed-off-by: Mike Gilbert <floppym@gentoo.org>

commit ae8d30f18408e102b3bab11c920a9a34074b0e6f
Author: Mike Gilbert <floppym@gentoo.org>
Date:   Sun Apr 30 12:13:06 2023 -0400

    www-client/chromium: require clang-16

    Signed-off-by: Mike Gilbert <floppym@gentoo.org>
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-05-03 07:32:32 UTC
Ah, the issue is USE=libcxx (obviously) forces clang, but the dep for that is:
>        libcxx? ( >=sys-devel/clang-13 )
Comment 4 Larry the Git Cow gentoo-dev 2023-05-04 17:54:36 UTC
The bug has been closed via the following commit(s):

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

commit 4977028f1a561736f8dc657cadb1d4edd2a316f3
Author:     Mike Gilbert <floppym@gentoo.org>
AuthorDate: 2023-05-04 17:53:10 +0000
Commit:     Mike Gilbert <floppym@gentoo.org>
CommitDate: 2023-05-04 17:53:10 +0000

    www-client/chromium: depend on >=clang-16 for libcxx
    
    Closes: https://bugs.gentoo.org/905636
    Signed-off-by: Mike Gilbert <floppym@gentoo.org>

 www-client/chromium/chromium-112.0.5615.165.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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

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

commit 5490835f4c9a5dc9eecc916c0cf934a05ca9d935
Author:     Mike Gilbert <floppym@gentoo.org>
AuthorDate: 2023-05-04 17:52:30 +0000
Commit:     Mike Gilbert <floppym@gentoo.org>
CommitDate: 2023-05-04 17:52:30 +0000

    profiles/base: stable mask www-client/chromium[libcxx]
    
    Bug: https://bugs.gentoo.org/905636
    Signed-off-by: Mike Gilbert <floppym@gentoo.org>

 profiles/base/package.use.stable.mask | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)