Hi,
Tomas Volf via Bug reports for GNU Guix <[email protected]> skribis:
> 4. In the container unpack the archive and source the profile:
>
> # tar -xvf /x/pack.tar.gz
> # . xxetc/profile
>
> 5. Verify gcc starts:
>
> # gcc --version
> gcc (GCC) 16.1.0
> Copyright (C) 2026 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions. There is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
> PURPOSE.
>
> 6. Create file and try to compile it:
>
> # echo 'int main(){}' >a.c
> # gcc a.c
> gcc: fatal error: cannot execute 'cc1': posix_spawnp: No such file or
> directory
> compilation terminated.
It’s one of these two issues:
1. ‘cc1’ cannot be found in $PATH;
2. ‘cc1’ (which is under libexec/) is not wrapped and thus not
relocatable.
Could you check which one it is?
Thanks,
Ludo’.