Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 771699 - sys-devel/clang-13.0.0.9999: get_llvm_prefix: invalid max_slot=13
Summary: sys-devel/clang-13.0.0.9999: get_llvm_prefix: invalid max_slot=13
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: LLVM support project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-02-20 07:52 UTC by Joonas Niilola
Modified: 2021-02-20 10:10 UTC (History)
1 user (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 Joonas Niilola gentoo-dev 2021-02-20 07:52:05 UTC
>>> Verifying ebuild manifests
>>> Running pre-merge checks for sys-libs/libomp-13.0.0.9999
 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found sources for kernel version:
 *     5.10.17
>>> Running pre-merge checks for sys-libs/compiler-rt-13.0.0.9999
>>> Running pre-merge checks for sys-libs/compiler-rt-sanitizers-13.0.0.9999
>>> Emerging binary (1 of 11) net-libs/libtirpc-1.3.1::gentoo
>>> Emerging binary (2 of 11) sys-libs/libunwind-1.5.0-r1::gentoo
>>> Installing (1 of 11) net-libs/libtirpc-1.3.1::gentoo
>>> Installing (2 of 11) sys-libs/libunwind-1.5.0-r1::gentoo
>>> Emerging (3 of 11) sys-libs/libomp-13.0.0.9999::gentoo
>>> Installing (3 of 11) sys-libs/libomp-13.0.0.9999::gentoo
>>> Emerging binary (4 of 11) sys-devel/clang-common-11.1.0::gentoo
>>> Installing (4 of 11) sys-devel/clang-common-11.1.0::gentoo
>>> Emerging (5 of 11) sys-devel/llvm-13.0.0.9999::gentoo
>>> Installing (5 of 11) sys-devel/llvm-13.0.0.9999::gentoo
>>> Emerging (6 of 11) sys-devel/clang-13.0.0.9999::gentoo
>>> Failed to emerge sys-devel/clang-13.0.0.9999, Log file:
>>>  '/var/tmp/portage/sys-devel/clang-13.0.0.9999/temp/build.log'
>>> Jobs: 5 of 11 complete, 1 failed                Load avg: 3.96, 7.84, 7.74
 * Package:    sys-devel/clang-13.0.0.9999
 * Repository: gentoo
 * Maintainer: llvm@gentoo.org
 * USE:        abi_x86_32 abi_x86_64 amd64 default-compiler-rt default-libcxx elibc_glibc kernel_linux llvm_targets_AArch64 llvm_targets_ARM llvm_targets_CSKY llvm_targets_Lanai llvm_targets_NVPTX llvm_targets_PowerPC llvm_targets_RISCV llvm_targets_Sparc llvm_targets_VE llvm_targets_X86 python_single_target_python3_7 static-analyzer userland_GNU
 * FEATURES:   network-sandbox preserve-libs sandbox userpriv usersandbox
 * ERROR: sys-devel/clang-13.0.0.9999::gentoo failed (setup phase):
 *   get_llvm_prefix: invalid max_slot=13
 * 
 * Call stack:
 *                  ebuild.sh, line 125:  Called pkg_setup
 *   clang-13.0.0.9999.ebuild, line  84:  Called llvm_pkg_setup
 *                llvm.eclass, line 201:  Called get_llvm_prefix '13'
 *                llvm.eclass, line 177:  Called die
 * The specific snippet of code:
 *   		die "${FUNCNAME}: invalid max_slot=${max_slot}"
 * 
 * If you need support, post the output of `emerge --info '=sys-devel/clang-13.0.0.9999::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=sys-devel/clang-13.0.0.9999::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/sys-devel/clang-13.0.0.9999/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-devel/clang-13.0.0.9999/temp/die.env'.
 * Working directory: '/var/tmp/portage/sys-devel/clang-13.0.0.9999/homedir'
 * S: '/var/tmp/portage/sys-devel/clang-13.0.0.9999/work/clang'

 * Messages for package sys-devel/llvm-13.0.0.9999:

 * You can find additional opt-viewer utility scripts in:
 *   /usr/lib/llvm/13/share/opt-viewer
 * To use these scripts, you will need Python along with the following
 * packages:
 *   dev-python/pygments (for opt-viewer)
 *   dev-python/pyyaml (for all of them)

 * Messages for package sys-devel/clang-13.0.0.9999:

 * ERROR: sys-devel/clang-13.0.0.9999::gentoo failed (setup phase):
 *   get_llvm_prefix: invalid max_slot=13
 * 
 * Call stack:
 *                  ebuild.sh, line 125:  Called pkg_setup
 *   clang-13.0.0.9999.ebuild, line  84:  Called llvm_pkg_setup
 *                llvm.eclass, line 201:  Called get_llvm_prefix '13'
 *                llvm.eclass, line 177:  Called die
 * The specific snippet of code:
 *   		die "${FUNCNAME}: invalid max_slot=${max_slot}"
 * 
 * If you need support, post the output of `emerge --info '=sys-devel/clang-13.0.0.9999::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=sys-devel/clang-13.0.0.9999::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/sys-devel/clang-13.0.0.9999/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-devel/clang-13.0.0.9999/temp/die.env'.
 * Working directory: '/var/tmp/portage/sys-devel/clang-13.0.0.9999/homedir'
 * S: '/var/tmp/portage/sys-devel/clang-13.0.0.9999/work/clang'

 * GNU info directory index is up-to-date.

Originally https://forums.gentoo.org/viewtopic-t-1130499-highlight-.html
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2021-02-20 08:13:25 UTC
I suppose not many people use the live ebuilds then ;-).
Comment 2 Larry the Git Cow gentoo-dev 2021-02-20 10:10:53 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=936bdebf8dea6e4f3966f9e90ff3708ba6464d1f

commit 936bdebf8dea6e4f3966f9e90ff3708ba6464d1f
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2021-02-20 08:12:56 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2021-02-20 10:10:16 +0000

    llvm.eclass: Support LLVM 13
    
    Closes: https://bugs.gentoo.org/771699
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 eclass/llvm.eclass | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)