Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 902489 - www-client/chromium-109.0.5414.74-r1:0/stable x86_64-pc-linux-gnu-clang++: command not found
Summary: www-client/chromium-109.0.5414.74-r1:0/stable x86_64-pc-linux-gnu-clang++: co...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-03-21 02:58 UTC by Rick Farina (Zero_Chaos)
Modified: 2023-03-21 15:13 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rick Farina (Zero_Chaos) gentoo-dev 2023-03-21 02:58:28 UTC
entire build log:

 * Package:    www-client/chromium-109.0.5414.74-r1:0/stable
 * Repository: gentoo
 * Maintainer: chromium@gentoo.org
 * USE:        X abi_x86_64 amd64 cups elibc_glibc hangouts js-type-check 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 libcxx lto official pic proprietary-codecs pulseaudio qt5 suid system-av1 system-harfbuzz system-icu system-png userland_GNU vaapi wayland
 * FEATURES:   compressdebug network-sandbox preserve-libs sandbox splitdebug userpriv usersandbox
/var/db/repos/gentoo/eclass/toolchain-funcs.eclass: line 870: x86_64-pc-linux-gnu-clang++: command not found
 * ERROR: www-client/chromium-109.0.5414.74-r1::gentoo failed (pretend phase):
 *   __eapi7_ver_compare: invalid version: 
 * 
 * Call stack:
 *                          ebuild.sh, line 136:  Called pkg_pretend
 *   chromium-109.0.5414.74-r1.ebuild, line 307:  Called pre_build_checks
 *   chromium-109.0.5414.74-r1.ebuild, line 272:  Called ver_test '' '-ge' '13'
 *                 eapi7-ver-funcs.sh, line 189:  Called __eapi7_ver_compare '' '13'
 *                 eapi7-ver-funcs.sh, line  99:  Called die
 * The specific snippet of code:
 *      [[ ${va} =~ ${re} ]] || die "${FUNCNAME}: invalid version: ${va}"
 * 
 * If you need support, post the output of `emerge --info '=www-client/chromium-109.0.5414.74-r1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=www-client/chromium-109.0.5414.74-r1::gentoo'`.
 * The complete build log is located at '/var/log/portage/www-client:chromium-109.0.5414.74-r1:20230320-154822.log'.
 * For convenience, a symlink to the build log is located at '/var/tmp/portage/www-client/chromium-109.0.5414.74-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/www-client/chromium-109.0.5414.74-r1/temp/die.env'.
 * Working directory: '/var/tmp/portage/www-client/chromium-109.0.5414.74-r1/empty'
 * S: '/var/tmp/portage/www-client/chromium-109.0.5414.74-r1/work/chromium-109.0.5414.74'


I suspect the issue is running checks in pkg_pretend happens before the needed dep/bdep/whatever is resolved.
Comment 1 Larry the Git Cow gentoo-dev 2023-03-21 15:13:21 UTC
The bug has been closed via the following commit(s):

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

commit 7829629f04bdc7632cf54dbeec17cfca283a0ae0
Author:     Mike Gilbert <floppym@gentoo.org>
AuthorDate: 2023-03-21 15:11:25 +0000
Commit:     Mike Gilbert <floppym@gentoo.org>
CommitDate: 2023-03-21 15:13:18 +0000

    www-client/chromium: remove compiler checks from pkg_pretend
    
    The clang-related dependencies may not be satisfied when pkg_pretend
    runs.
    
    Closes: https://bugs.gentoo.org/902489
    Signed-off-by: Mike Gilbert <floppym@gentoo.org>

 www-client/chromium/chromium-111.0.5563.64.ebuild | 43 +++++++++++++----------
 1 file changed, 24 insertions(+), 19 deletions(-)