Summary: | sys-devel/clang-common-14.0.3: The source directory '/var/tmp/portage/sys-devel/clang-common-14.0.3/work/clang/utils/bash-autocomplete.sh' doesn't exist | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | HougeLangley <hougelangley1987> |
Component: | Current packages | Assignee: | LLVM support project <llvm> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | b.buschinski, eugene.shalygin, gentoo, holger, marduk, mgorny, peter, sgs, zeekec |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | ARM64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
HougeLangley
2022-04-30 09:44:33 UTC
same problem. Ditto. It looks to me like setting S= before llvm.org_set_globals confuses things. (In reply to Jouni Kosonen from comment #2) > Ditto. It looks to me like setting S= before llvm.org_set_globals confuses > things. Oh, right. llvm.org_set_globals clobbers it on line 195: > S=${WORKDIR}/${LLVM_COMPONENTS[0]} Confirmed for me on ~amd64 Same error Same here. The problem seems to be that LLVM_COMPONENTS is set to a file, instead of a directory: -LLVM_COMPONENTS=( clang/utils/bash-autocomplete.sh ) +LLVM_COMPONENTS=( clang/utils ) llvm.org_set_globals If this is done variable S doesn't need to be set at all. I'm sorry, I somehow managed to miss this one package while testing. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e1857def3989aa506b7bb7f08dca6ddaee1cd92e commit e1857def3989aa506b7bb7f08dca6ddaee1cd92e Author: Michał Górny <mgorny@gentoo.org> AuthorDate: 2022-04-30 13:26:29 +0000 Commit: Michał Górny <mgorny@gentoo.org> CommitDate: 2022-04-30 13:26:56 +0000 sys-devel/clang-common: Fix S substitution Variable reordering has caused the S substitution to be overwritten by the eclass logic. Rather than relying on a specific ordering, just update LLVM_COMPONENTS so that the default value works just fine. Closes: https://bugs.gentoo.org/841827 Signed-off-by: Michał Górny <mgorny@gentoo.org> sys-devel/clang-common/clang-common-14.0.3.ebuild | 3 +-- sys-devel/clang-common/clang-common-15.0.0.9999.ebuild | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) |