Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 935835

Summary: bootstrap-prefix.sh: sys-apps/grep-3.11-r1::gentoo failed (install phase) - can't change ownership
Product: Gentoo Linux Reporter: S-trace
Component: Current packagesAssignee: Gentoo's Team for Core System packages <base-system>
Status: UNCONFIRMED ---    
Severity: normal CC: prefix, S-trace
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: /opt/gentoo/var/tmp/portage/sys-apps/grep-3.11-r1/temp/build.log
en e

Description S-trace 2024-07-10 20:15:28 UTC
Created attachment 897429 [details]
/opt/gentoo/var/tmp/portage/sys-apps/grep-3.11-r1/temp/build.log

Hello.

I'm trying to build Gentoo Prefix on Gentoo AMD64, and it fails at stage3 with the following error: 

```
Making install in gnulib-tests
make[1]: Entering directory '/opt/gentoo/var/tmp/portage/sys-apps/grep-3.11-r1/work/grep-3.11/gnulib-tests'
make  install-recursive
make[2]: Entering directory '/opt/gentoo/var/tmp/portage/sys-apps/grep-3.11-r1/work/grep-3.11/gnulib-tests'
Making install in .
make[3]: Entering directory '/opt/gentoo/var/tmp/portage/sys-apps/grep-3.11-r1/work/grep-3.11/gnulib-tests'
make[4]: Entering directory '/opt/gentoo/var/tmp/portage/sys-apps/grep-3.11-r1/work/grep-3.11/gnulib-tests'
make[4]: Nothing to be done for 'install-exec-am'.
make[4]: Nothing to be done for 'install-data-am'.
make[4]: Leaving directory '/opt/gentoo/var/tmp/portage/sys-apps/grep-3.11-r1/work/grep-3.11/gnulib-tests'
make[3]: Leaving directory '/opt/gentoo/var/tmp/portage/sys-apps/grep-3.11-r1/work/grep-3.11/gnulib-tests'
make[2]: Leaving directory '/opt/gentoo/var/tmp/portage/sys-apps/grep-3.11-r1/work/grep-3.11/gnulib-tests'
make[1]: Leaving directory '/opt/gentoo/var/tmp/portage/sys-apps/grep-3.11-r1/work/grep-3.11/gnulib-tests'
make[1]: Entering directory '/opt/gentoo/var/tmp/portage/sys-apps/grep-3.11-r1/work/grep-3.11'
make[2]: Entering directory '/opt/gentoo/var/tmp/portage/sys-apps/grep-3.11-r1/work/grep-3.11'
make[2]: Nothing to be done for 'install-exec-am'.
make[2]: Nothing to be done for 'install-data-am'.
make[2]: Leaving directory '/opt/gentoo/var/tmp/portage/sys-apps/grep-3.11-r1/work/grep-3.11'
make[1]: Leaving directory '/opt/gentoo/var/tmp/portage/sys-apps/grep-3.11-r1/work/grep-3.11'
install: cannot change ownership of '/opt/gentoo/var/tmp/portage/sys-apps/grep-3.11-r1/image/opt/gentoo//bin/egrep': Operation not permitted
 * ERROR: sys-apps/grep-3.11-r1::gentoo failed (install phase):
 *   dobin failed
 *
```
Comment 1 S-trace 2024-07-10 20:15:56 UTC
Created attachment 897430 [details]
en e
Comment 2 S-trace 2024-07-10 20:29:31 UTC
I'm trying to build gentoo prefix in /opt/gentoo/ using bootstrap-prefix.sh and it fails with the AMD64 keyword (I haven't checked ~AMD64 keyword yet). 

The emerge --info output (sorry for bad attachment description) is from host Gentoo installation.