Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Combining profiles problem
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
RIA77
Guru
Guru


Joined: 24 Feb 2016
Posts: 358

PostPosted: Mon May 27, 2024 8:26 am    Post subject: Combining profiles problem Reply with quote

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
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 4441
Location: Bavaria

PostPosted: Mon May 27, 2024 11:22 am    Post subject: Reply with quote

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
View user's profile Send private message
RIA77
Guru
Guru


Joined: 24 Feb 2016
Posts: 358

PostPosted: Mon May 27, 2024 2:12 pm    Post subject: Reply with quote

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&apos;:
configure: error: C compiler cannot create executables
See `config.log&apos; 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
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 4441
Location: Bavaria

PostPosted: Mon May 27, 2024 2:28 pm    Post subject: Reply with quote

RIA77 wrote:
Its working, but I can't compile anything.
Code:
Calculating dependencies \!!! /etc/portage/package.env references non-existent file: /etc/portage/env/compiler-gcc

Have you done all the switching ?
https://wiki.gentoo.org/wiki/Clang
_________________
https://wiki.gentoo.org/wiki/User:Pietinger
Back to top
View user's profile Send private message
RIA77
Guru
Guru


Joined: 24 Feb 2016
Posts: 358

PostPosted: Mon May 27, 2024 3:38 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum