Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 712944 - =sys-devel/llvm-11.0.0.9999 ** with "fatal: ambiguous argument 'HEAD': unknown revision or path not in the working tree." in src_configure
Summary: =sys-devel/llvm-11.0.0.9999 ** with "fatal: ambiguous argument 'HEAD': unknow...
Status: RESOLVED WONTFIX
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: 2020-03-17 08:34 UTC by tt_1
Modified: 2020-04-13 12:25 UTC (History)
1 user (show)

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


Attachments
output from emerge --info (emerge-info,8.24 KB, text/plain)
2020-03-17 08:34 UTC, tt_1
Details
build.log (build.log,35.48 KB, text/x-log)
2020-03-17 08:36 UTC, tt_1
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tt_1 2020-03-17 08:34:27 UTC
Created attachment 620742 [details]
output from emerge --info

The ebuild doesn't flake out, but still says fatal: 

-- Looking for os_signpost_interval_begin - not found
-- Found PythonInterp: /var/tmp/portage/sys-devel/llvm-11.0.0.9999/temp/python3.6/bin/python (found version "3.6.10") 
-- Constructing LLVMBuild project information
-- Found Git: /usr/bin/git (found version "2.24.1") 
fatal: ambiguous argument 'HEAD': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git <command> [<revision>...] -- [<file>...]'
-- Linker detection: GNU ld
-- Targeting AArch64
-- Targeting AMDGPU


feel free to close this, if this is nothing to worry about.
Comment 1 tt_1 2020-03-17 08:36:37 UTC
Created attachment 620744 [details]
build.log

also there's another warning:

-- Configuring done
-- Generating done
-- Build files have been written to: /var/tmp/portage/sys-devel/llvm-11.0.0.9999/work/llvm-abi_x86_64.amd64
 * get_distribution_components() is outdated!
 *    Add: llvm-gsymutil
 * Remove: 
>>> Source configured.

and a third warning: 

 *    set(CMAKE_BUILD_TYPE "Debug" CACHE STRING "Build type (default Debug)" FORC
 * ALL_LLVM_EXPERIMENTAL_TARGETS is outdated!
 *     Have: ARC AVR VE
 * Expected: ARC VE
 * 
 * ALL_LLVM_TARGETS is outdated!
 *     Have: AArch64 AMDGPU ARM BPF Hexagon Lanai Mips MSP430 NVPTX PowerPC RISCV Sparc SystemZ WebAssembly X86 XCore ARC AVR VE
 * Expected: AArch64 AMDGPU ARM AVR BPF Hexagon Lanai Mips MSP430 NVPTX PowerPC RISCV Sparc SystemZ WebAssembly X86 XCore ARC VE
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/sys-devel/llvm-11.0.0.9999/work/llvm ...

which seems to say that LLVM_TARGET of AVR is outdated and should be removed, it seems?
Comment 2 tt_1 2020-03-17 08:42:01 UTC
=llvm-10.0.0.9999 does have the same fatal warning in it's src_configure, but nothing of the additional stuff that I just posted. The non-live snapshot of =llvm-10.0.0_rc4 is free of this.
Comment 3 tt_1 2020-04-13 12:25:02 UTC
Given that four weeks have passed without reaction, this error is most likely to be benign.