Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 854981 - www-client/chromium-103.0.5060.53 fails to compiler if lld is not already installed
Summary: www-client/chromium-103.0.5060.53 fails to compiler if lld is not already ins...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Chromium Project
URL:
Whiteboard:
Keywords:
: 857474 (view as bug list)
Depends on:
Blocks:
 
Reported: 2022-06-29 04:19 UTC by Jan Vesely
Modified: 2022-07-15 04:54 UTC (History)
2 users (show)

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 Jan Vesely 2022-06-29 04:19:28 UTC
$ sudo emerge -uDNvat1 world

These are the packages that would be merged, in reverse order:

Calculating dependencies... done!
[ebuild     U  ] www-client/chromium-103.0.5060.53:0/stable::gentoo [102.0.5005.115:0/stable::gentoo] USE="cups gtk4 hangouts kerberos lto%* official (pic) proprietary-codecs pulseaudio screencast system-harfbuzz system-icu vaapi wayland widevine -X% (-component-build) -custom-cflags -debug (-headless) -js-type-check -libcxx (-selinux) -suid (-system-ffmpeg) -system-png" L10N="en-GB -af -am -ar -bg -bn -ca -cs -da -de -el -es -es-419 -et -fa -fi -fil -fr -gu -he -hi -hr -hu -id -it -ja -kn -ko -lt -lv -ml -mr -ms -nb -nl -pl -pt-BR -pt-PT -ro -ru -sk -sl -sr -sv -sw -ta -te -th -tr -uk -ur -vi -zh-CN -zh-TW" 1,165,584 KiB
[ebuild  N     ]  sys-devel/lld-14.0.4::gentoo  USE="-debug -test" 0 KiB

Total: 2 packages (1 upgrade, 1 new), Size of downloads: 1,165,584 KiB

Would you like to merge these packages? [Yes/No] 

>>> Verifying ebuild manifests

>>> Running pre-merge checks for www-client/chromium-103.0.5060.53
 * =sys-devel/lld-14* is missing! Cannot use LLVM slot 14 ...
 * sys-devel/clang:13 is missing! Cannot use LLVM slot 13 ...
 * sys-devel/clang:12 is missing! Cannot use LLVM slot 12 ...
 * sys-devel/clang:11 is missing! Cannot use LLVM slot 11 ...
 * sys-devel/clang:10 is missing! Cannot use LLVM slot 10 ...
 * sys-devel/clang:9 is missing! Cannot use LLVM slot 9 ...
 * sys-devel/clang:8 is missing! Cannot use LLVM slot 8 ...
 * ERROR: www-client/chromium-103.0.5060.53::gentoo failed (pretend phase):
 *   No LLVM slot <= 14 satisfying the package's dependencies found installed!
 * 
 * Call stack:
 *                       ebuild.sh, line 127:  Called pkg_pretend
 *   chromium-103.0.5060.53.ebuild, line 275:  Called pre_build_checks
 *   chromium-103.0.5060.53.ebuild, line 236:  Called llvm_pkg_setup
 *                     llvm.eclass, line 201:  Called get_llvm_prefix '14'
 *                     llvm.eclass, line 180:  Called die
 * The specific snippet of code:
 *   	die "No LLVM slot${1:+ <= ${1}} satisfying the package's dependencies found installed!"
 * 
 * If you need support, post the output of `emerge --info '=www-client/chromium-103.0.5060.53::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=www-client/chromium-103.0.5060.53::gentoo'`.
 * The complete build log is located at '/var/tmp/portage-big/portage/www-client/chromium-103.0.5060.53/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage-big/portage/www-client/chromium-103.0.5060.53/temp/die.env'.
 * Working directory: '/var/tmp/portage-big/portage/www-client/chromium-103.0.5060.53/empty'
 * S: '/var/tmp/portage-big/portage/www-client/chromium-103.0.5060.53/work/chromium-103.0.5060.53'

>>> Failed to emerge www-client/chromium-103.0.5060.53, Log file:

Reproducible: Always
Comment 1 Ionen Wolkens gentoo-dev 2022-06-29 04:49:34 UTC
Ideally attach full logs + emerge --info when reporting, but this one is just that it runs llvm_pkg_setup in the wrong phase (pkg_pretend) before deps are pulled with USE=lto
Comment 2 Stephan Hartmann (RETIRED) gentoo-dev 2022-07-10 18:48:22 UTC
*** Bug 857474 has been marked as a duplicate of this bug. ***
Comment 3 Vitaly Zdanevich 2022-07-10 19:02:21 UTC
So how can I fix this on my user side?
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-07-10 19:06:26 UTC
(In reply to Vitaly Zdanevich from comment #3)
> So how can I fix this on my user side?

Workaround would be to emerge -v1 sys-devel/lld first.
Comment 5 Larry the Git Cow gentoo-dev 2022-07-15 04:54:33 UTC
The bug has been closed via the following commit(s):

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

commit 5f52d9f8e6047c7db41d231fb4dee59880401fe5
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-07-15 04:50:33 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-07-15 04:53:45 +0000

    www-client/chromium: fix LLVM and Java check
    
    We need to do these in pkg_setup instead.
    
    Closes: https://bugs.gentoo.org/854981
    Signed-off-by: Sam James <sam@gentoo.org>

 www-client/chromium/chromium-104.0.5112.12.ebuild | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

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

commit 1f192ebd258a3d865c570094a386712e3a09d662
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-07-15 04:50:18 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-07-15 04:53:45 +0000

    www-client/chromium: add 103.0.5060.114
    
    Bug: https://bugs.gentoo.org/858104
    Closes: https://bugs.gentoo.org/854981
    Signed-off-by: Sam James <sam@gentoo.org>

 www-client/chromium/Manifest                       |    1 +
 www-client/chromium/chromium-103.0.5060.114.ebuild | 1114 ++++++++++++++++++++
 2 files changed, 1115 insertions(+)