Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 947365 - sys-devel/crossdev-20241215: linux-headers-3.18-r1 build failure
Summary: sys-devel/crossdev-20241215: linux-headers-3.18-r1 build failure
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Crossdev team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-01-02 22:56 UTC by zen
Modified: 2025-01-06 03:10 UTC (History)
3 users (show)

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


Attachments
build log (build.log,10.13 KB, text/x-log)
2025-01-02 22:56 UTC, zen
Details
linux headers build log (headers.log,9.45 KB, text/x-log)
2025-01-02 22:56 UTC, zen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description zen 2025-01-02 22:56:10 UTC
Created attachment 915749 [details]
build log

In a user mount namespace/chroot, crossdev --target aarch64-unknown-linux-gnu fails.

Setup done with the following steps:

mkdir stage3 sysroot stage3_work stage3_upper
pushd stage3 
wgetpaste <stage3>
tar -xf	stage3.tar.xz
popd 

unshare --map-auto --map-root --mount
mount -t overlay overlay -o userxattr,lowerdir=stage3,workdir=stage3_work,upperdir=stage3_upper	sysroot
mount --rbind /proc sysroot/proc
mount --rbind /sys sysroot/sys
mount --rbind /dev sysroot/dev
mount --types devpts devpts sysroot/dev/pts
mount --bind /var/db/repos sysroot/var/db/repos
mount --bind /etc/resolv.conf sysroot/etc/resolv.conf
chroot sysroot
emerge eselect-repository crossdev
eselect	repository enable crossdev
crossdev --target aarch64-unknown-linux-gnu
Comment 1 zen 2025-01-02 22:56:29 UTC
Created attachment 915750 [details]
linux headers build log
Comment 2 zen 2025-01-02 22:58:09 UTC
in the setup, wgetpaste <stage3> should be wget <stage3> (obviously).
Comment 3 zen 2025-01-02 23:12:44 UTC
This failure is resolved with:

FEATURES="-usersandbox"