Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 697802 - sys-devel/clang-9.0.0 - CMake Error at tools/extra/clang-tidy/cert/cmake_install.cmake:41 (file): file INSTALL cannot copy file ".../work/x/y/cfe-9.0.0.src-abi_x86_64.amd64/lib64/libclangTidyCERTModule.so.9" to ".../image/usr/lib/llvm/9/lib64/libclangT...
Summary: sys-devel/clang-9.0.0 - CMake Error at tools/extra/clang-tidy/cert/cmake_inst...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: LLVM support project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-10-15 23:30 UTC by Erik Zeek
Modified: 2019-10-16 12:52 UTC (History)
1 user (show)

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


Attachments
sys-devel/clang-9.0.0 build log (sys-devel:clang-9.0.0:20191015-142904.log.gz,273.08 KB, application/gzip)
2019-10-15 23:30 UTC, Erik Zeek
Details
emerge --info '=sys-devel/clang-9.0.0::gentoo' (emerge-info.txt,15.15 KB, text/plain)
2019-10-15 23:31 UTC, Erik Zeek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Erik Zeek 2019-10-15 23:30:04 UTC
Created attachment 592834 [details]
sys-devel/clang-9.0.0 build log

-- Installing: /gentoo/notmp/portage/sys-devel/clang-9.0.0/image/usr/lib/llvm/9/lib64/libclangTidyCERTModule.so.9
CMake Error at tools/extra/clang-tidy/cert/cmake_install.cmake:41 (file):
  file INSTALL cannot copy file
  "/gentoo/notmp/portage/sys-devel/clang-9.0.0/work/x/y/cfe-9.0.0.src-abi_x86_64.amd64/lib64/libclangTidyCERTModule.so.9"
  to
  "/gentoo/notmp/portage/sys-devel/clang-9.0.0/image/usr/lib/llvm/9/lib64/libclangTidyCERTModule.so.9".
Call Stack (most recent call first):
  tools/extra/clang-tidy/cmake_install.cmake:66 (include)
  tools/extra/cmake_install.cmake:45 (include)
  tools/cmake_install.cmake:61 (include)
  cmake_install.cmake:60 (include)
Comment 1 Erik Zeek 2019-10-15 23:31:15 UTC
Created attachment 592836 [details]
emerge --info '=sys-devel/clang-9.0.0::gentoo'
Comment 2 Erik Zeek 2019-10-15 23:32:12 UTC
emerge -pqv '=sys-devel/clang-9.0.0::gentoo'
[ebuild   R   ] sys-devel/clang-9.0.0  USE="static-analyzer xml -debug -default-compiler-rt -default-libcxx -doc -test" ABI_X86="32 (64) (-x32)" LLVM_TARGETS="AMDGPU BPF WebAssembly (X86) -AArch64 -ARM -Hexagon -Lanai -MSP430 -Mips -NVPTX -PowerPC -RISCV -Sparc -SystemZ -XCore" PYTHON_SINGLE_TARGET="python3_6 -python2_7 -python3_5 -python3_7" PYTHON_TARGETS="python2_7 python3_6 python3_7 -python3_5"
Comment 3 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2019-10-16 07:35:59 UTC
/usr/lib/portage/python3.7/ebuild.sh: line 400: cannot create temp file for here-document: No space left on device
Comment 4 Erik Zeek 2019-10-16 12:37:46 UTC
(In reply to Michał Górny from comment #3)
> /usr/lib/portage/python3.7/ebuild.sh: line 400: cannot create temp file for
> here-document: No space left on device

I've got 18G available on that device. Is that really not enough?
Comment 5 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2019-10-16 12:43:43 UTC
It's your system telling you don't have space, not mine ;-).  And yes, '-g' can make parts of LLVM humongous.
Comment 6 Erik Zeek 2019-10-16 12:52:05 UTC
(In reply to Michał Górny from comment #5)
> It's your system telling you don't have space, not mine ;-).  And yes, '-g'
> can make parts of LLVM humongous.

Ya, I just realized that I have a file in env to filter debug flags for llvm, but not for clang.

I was also surprised because this is a reinstall. I have clang-9 already installed with the debug flag enabled.