View previous topic :: View next topic |
Author |
Message |
RIA77 Guru
Joined: 24 Feb 2016 Posts: 391
|
Posted: Mon May 27, 2024 8:26 am Post subject: Combining profiles problem |
|
|
Hello and thank you in advance
https://wiki.gentoo.org/wiki/Profile_(Portage)#Combining_profiles
According to Wiki, I set all of parameters.
My current profile is Multilib.
I want to go llvm-no multilib.
Tried with Base multilib -target llvm, and vice versa.
Quote: | nano /var/db/repos/local/profiles/llvm01/parent
gentoo:default/linux/amd64/23.0/llvm
gentoo:targets/no-multilib
|
Quote: | !!! Unable to parse profile: '/etc/portage/make.profile'
!!! ParseError: Parent '/var/db/repos/profiles/targets/no-multilib' not found: '/var/db/repos/local/profiles/llvm01/parent'
|
Quote: | # Slave repository rather than stand-alone
masters = gentoo
profile-formats = portage-2 |
|
|
Back to top |
|
|
pietinger Moderator
Joined: 17 Oct 2006 Posts: 5093 Location: Bavaria
|
Posted: Mon May 27, 2024 11:22 am Post subject: |
|
|
I am using also a combined profile:
Code: | $ more /var/db/repos/local/profiles/no-multilib-plasma/parent
gentoo:default/linux/amd64/23.0/desktop/plasma
gentoo:arch/amd64/no-multilib |
What happens if you try: ?
Code: | gentoo:default/linux/amd64/23.0/llvm
gentoo:arch/amd64/no-multilib |
(TBH I am not sure if it is necessary because maybe LLVM is a no-multilib; but I dont know this for sure) _________________ https://wiki.gentoo.org/wiki/User:Pietinger |
|
Back to top |
|
|
RIA77 Guru
Joined: 24 Feb 2016 Posts: 391
|
Posted: Mon May 27, 2024 2:12 pm Post subject: |
|
|
Its working, but I can't compile anything.
Code: | Calculating dependencies \!!! /etc/portage/package.env references non-existent file: /etc/portage/env/compiler-gcc
!!! /etc/portage/package.env references non-existent file: /etc/portage/env/compiler-gcc
!!! |
Code: | <pre>checking whether build environment is sane... yes
checking for a race-free mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports the include directive... yes (GNU style)
checking for x86_64-pc-linux-gnu-gcc... clang
checking whether the C compiler works... no
configure: error: in `/var/tmp/portage/portage/sys-process/htop-3.3.0/work/htop-3.3.0':
configure: error: C compiler cannot create executables
See `config.log' for more details
</pre> |
Compile without htop
Code: | >>> Running pre-merge checks for sys-devel/clang-runtime-17.0.6
/var/db/repos/eclass/toolchain-funcs.eclass: line 775: clang-cpp: command not found
>>> Emerging (1 of 12) sys-devel/clang-common-17.0.6-r5::gentoo
>>> Emerging (2 of 12) sys-devel/lld-17.0.6::gentoo
>>> Failed to emerge sys-devel/lld-17.0.6, Log file:
|
htop log
https://bpa.st/IJVQ
lld log
https://bpa.st/VNMA |
|
Back to top |
|
|
pietinger Moderator
Joined: 17 Oct 2006 Posts: 5093 Location: Bavaria
|
|
Back to top |
|
|
RIA77 Guru
Joined: 24 Feb 2016 Posts: 391
|
Posted: Mon May 27, 2024 3:38 pm Post subject: |
|
|
I can't install clang
Code: | The C compiler identification is unknown
-- The CXX compiler identification is unknown
-- The ASM compiler identification is unknown
-- Found assembler: clang
CMake Error at CMakeLists.txt:14 (project):
The CMAKE_C_COMPILER:
clang
is not a full path and was not found in the PATH.
Tell CMake where to find the compiler by setting either the environment
variable "CC" or the CMake cache entry CMAKE_C_COMPILER to the full path to
the compiler, or to the compiler name if it is in the PATH.
|
|
|
Back to top |
|
|
RIA77 Guru
Joined: 24 Feb 2016 Posts: 391
|
Posted: Fri Aug 16, 2024 9:22 am Post subject: |
|
|
pietinger wrote: | I am using also a combined profile:
Code: | $ more /var/db/repos/local/profiles/no-multilib-plasma/parent
gentoo:default/linux/amd64/23.0/desktop/plasma
gentoo:arch/amd64/no-multilib |
What happens if you try: ?
Code: | gentoo:default/linux/amd64/23.0/llvm
gentoo:arch/amd64/no-multilib |
(TBH I am not sure if it is necessary because maybe LLVM is a no-multilib; but I dont know this for sure) |
Great tip. It should be on wiki.
Wiki is sometimes misleading.
Thank you for this correction of wiki. |
|
Back to top |
|
|
|