Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Can't emerge cross-aarch64-unknown-linux-musl/linux-headers
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
akrmn24
n00b
n00b


Joined: 24 Nov 2024
Posts: 31

PostPosted: Fri Feb 14, 2025 10:19 pm    Post subject: Can't emerge cross-aarch64-unknown-linux-musl/linux-headers Reply with quote

I built the gentoo @system using an old (2018) portage snapshot and a basic toolchain (arm-uclibc). I am using this to bootstrap a more modern system. But first I would like to emerge all the cross-aarch64-unknown-linux-musl packages. I can emerge all of them except for linux-headers.

I get:
Code:

ampere ~ # emerge -a1 cross-aarch64-unknown-linux-musl/linux-headers

These are the packages that would be merged, in order:

Calculating dependencies \ * ACCESS DENIED:  mkstemp64:    /usr/lib/python3.6/site-packages/sh-thd.XXXXXX
 * ISE:write_logfile: unable to append logfile: cross-aarch64-unknown-linux-musl_-_linux-headers-4.19
  * /var/tmp/portage/sys-apps/sandbox-2.13/work/sandbox-2.13/libsandbox/libsandbox.c:check_syscall():968: failure (Bad file descriptor):
   * ISE: mkstemp64(./sh-thd.XXXXXX)
           abs_path: /usr/lib/python3.6/site-packages/sh-thd.XXXXXX
              res_path: /usr/lib/python3.6/site-packages/sh-thd.XXXXXX
         /proc/1563072/cmdline: /bin/bash /usr/lib/portage/python3.6/ebuild.sh depend

 /Sandboxed process killed by signal: Aborted

<< ... And more like this for other versions of linux-headers ...>>

... done!

!!! All ebuilds that could satisfy "cross-aarch64-unknown-linux-musl/linux-headers" have been masked.
!!! One of the following masked packages is required to complete your request:
- cross-aarch64-unknown-linux-musl/linux-headers-4.19::crossdev (masked by: corruption)
- cross-aarch64-unknown-linux-musl/linux-headers-4.18::crossdev (masked by: corruption)
- cross-aarch64-unknown-linux-musl/linux-headers-4.17::crossdev (masked by: corruption)
- cross-aarch64-unknown-linux-musl/linux-headers-4.16-r2::crossdev (masked by: corruption)
- cross-aarch64-unknown-linux-musl/linux-headers-4.16::crossdev (masked by: corruption)
- cross-aarch64-unknown-linux-musl/linux-headers-4.15-r1::crossdev (masked by: corruption)
- cross-aarch64-unknown-linux-musl/linux-headers-4.14-r1::crossdev (masked by: corruption)
- cross-aarch64-unknown-linux-musl/linux-headers-4.13::crossdev (masked by: corruption)
- cross-aarch64-unknown-linux-musl/linux-headers-4.9::crossdev (masked by: corruption)
- cross-aarch64-unknown-linux-musl/linux-headers-4.4::crossdev (masked by: corruption)
- cross-aarch64-unknown-linux-musl/linux-headers-3.18::crossdev (masked by: corruption)

For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.


I guess it is some security feature from the sys-apps/sandbox utility, but I'm not sure what is causing it to activate. I can try looking at the permissions of some of the listed directories or using a newer version of portage. But if anyone has a clue, let me know, thanks.[/code]
Back to top
View user's profile Send private message
akrmn24
n00b
n00b


Joined: 24 Nov 2024
Posts: 31

PostPosted: Sat Feb 15, 2025 3:40 pm    Post subject: Reply with quote

Also this is for any version linux-headers (crossdev or not) and even have this problem when I use a new snapshot. My workaround is to emerge this package with FEATURES=-userpriv
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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