On Monday, 1 May 2023 00:34:11 BST Alan Grimes wrote:
> There does not seem to be a gcc-config or eselect for LLVM / clang....
> 
> The ebuild for today's chromium requires LLVM 16 -> LLVM 16 is
> installed.....  Fine so far...
> 
> So therefore something selects llvm 15 to build.... =(
> #####################
> *  sys-devel/clang
>        Latest version available: 16.0.2
>        Latest version installed: 16.0.2
>        Size of files: 115,471 KiB
>        Homepage:      https://llvm.org/
>        Description:   C language family frontend for LLVM
>        License:       Apache-2.0-with-LLVM-exceptions UoI-NCSA MIT
> #####################
> 
>  >>> Failed to emerge www-client/chromium-112.0.5615.165, Log file:
>  >>> '/var/tmp/portage/www-client/chromium-112.0.5615.165/temp/build.log'
>  >>> Jobs: 0 of 1 complete, 1 failed                 Load avg: 7.37,
> 
> 2.34, 1.00
>   * Package:    www-client/chromium-112.0.5615.165:0/stable
>   * Repository: gentoo
>   * Maintainer: chrom...@gentoo.org
>   * USE:        X abi_x86_64 amd64 cups elibc_glibc hangouts
> kernel_linux l10n_af l10n_am l10n_ar l10n_bg l10n_bn l10n_ca l10n_cs
> l10n_da l10n_de l10n_el l10n_en-GB l10n_es l10n_es-419 l10n_et l10n_fa
> l10n_fi l10n_fil l10n_fr l10n_gu l10n_he l10n_hi l10n_hr l10n_hu l10n_id
> l10n_it l10n_ja l10n_kn l10n_ko l10n_lt l10n_lv l10n_ml l10n_mr l10n_ms
> l10n_nb l10n_nl l10n_pl l10n_pt-BR l10n_pt-PT l10n_ro l10n_ru l10n_sk
> l10n_sl l10n_sr l10n_sv l10n_sw l10n_ta l10n_te l10n_th l10n_tr l10n_uk
> l10n_ur l10n_vi l10n_zh-CN l10n_zh-TW lto official pic
> proprietary-codecs pulseaudio qt5 screencast suid system-av1
> system-harfbuzz system-icu userland_GNU wayland
>   * FEATURES:   network-sandbox nostrip sandbox splitdebug userpriv
> usersandbox
> <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
>   * Using LLVM slot 15 to build
> <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
> <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
>   * Checking for at least 9 GiB RAM ...
>   [ ok ]
>   * Checking for at least 13 GiB disk space at
> "/var/tmp/portage/www-client/chromium-112.0.5615.165/temp" ...
>   [ ok ]
> <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
>   * ERROR: www-client/chromium-112.0.5615.165::gentoo failed (setup phase):
>   *   At least clang 16 is required <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
> <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< *
>   * Call stack:
>   *                        ebuild.sh, line 136:  Called pkg_setup
>   *   chromium-112.0.5615.165.ebuild, line 310:  Called die
>   * The specific snippet of code:
>   *                              die "At least clang 16 is required"
[snip...]

Check if your env includes llvm-16.  Take a look at the contents of /etc/
env.d/60llvm-* to see what paths it points to.



Reply via email to