On 2020-03-19 08:40, Alarig Le Lay wrote:

> alarig@pikachu ~ % ls -lhd /var/tmp/portage/
> drwxrwxr-x 8 portage portage 4.0K Mar 19 08:37 /var/tmp/portage/
> alarig@pikachu ~ % ebuild 
> /var/db/repos/SwordArMor/net-misc/FORT-validator/FORT-validator-1.2.0.ebuild 
> prepare
>  * FORT-validator-1.2.0.tar.gz BLAKE2B SHA512 size ;-) ...              [ ok ]
> >>> Unpacking source...
> >>> Unpacking FORT-validator-1.2.0.tar.gz to 
> >>> /var/tmp/portage/net-misc/FORT-validator-1.2.0/work
> >>> Source unpacked in /var/tmp/portage/net-misc/FORT-validator-1.2.0/work
> >>> Preparing source in 
> >>> /var/tmp/portage/net-misc/FORT-validator-1.2.0/work/FORT-validator-1.2.0 
> >>> ...
>  * Applying FORT-validator-skip-online-test.patch ...                   [ ok ]
>  * Running eautoreconf in 
> '/var/tmp/portage/net-misc/FORT-validator-1.2.0/work/FORT-validator-1.2.0' ...
>  * Running aclocal ...                                                  [ ok ]
>  * Running autoconf --force ...                                         [ ok ]
>  * Running autoheader ...                                               [ ok ]
>  * Running automake --add-missing --copy --foreign --force-missing ...  [ ok ]
>  * Running elibtoolize in: FORT-validator-1.2.0/
> >>> Source prepared.

But have you tried the _install_ step this way?  I don't mean the "real"
install into the filesystem, just the staged install that "ebuild foo
install" does.

I get:

>>> Install net-mail/mu-1.3.9 into /tmp/portage/net-mail/mu-1.3.9/image
/usr/bin/install: cannot change ownership of
'/tmp/portage/net-mail/mu-1.3.9/image/usr/bin/mu':
 Operation not permitted
 * ERROR: net-mail/mu-1.3.9::foolinux failed (install phase):
 *   dobin failed

And yes, I am in the portage group.  Of course this doesn't help here -
only root can do chown().

-- 
Ian

Reply via email to