Gentoo Archives: gentoo-user

From: Ian Zimmerman <itz@××××××××××××.org>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: Testing ebuilds
Date: Thu, 19 Mar 2020 18:18:05
Message-Id: 20200319181751.4evt6bcpa54so7vg@matica
In Reply to: Re: [gentoo-user] Testing ebuilds by Alarig Le Lay
1 On 2020-03-19 08:40, Alarig Le Lay wrote:
2
3 > alarig@pikachu ~ % ls -lhd /var/tmp/portage/
4 > drwxrwxr-x 8 portage portage 4.0K Mar 19 08:37 /var/tmp/portage/
5 > alarig@pikachu ~ % ebuild /var/db/repos/SwordArMor/net-misc/FORT-validator/FORT-validator-1.2.0.ebuild prepare
6 > * FORT-validator-1.2.0.tar.gz BLAKE2B SHA512 size ;-) ... [ ok ]
7 > >>> Unpacking source...
8 > >>> Unpacking FORT-validator-1.2.0.tar.gz to /var/tmp/portage/net-misc/FORT-validator-1.2.0/work
9 > >>> Source unpacked in /var/tmp/portage/net-misc/FORT-validator-1.2.0/work
10 > >>> Preparing source in /var/tmp/portage/net-misc/FORT-validator-1.2.0/work/FORT-validator-1.2.0 ...
11 > * Applying FORT-validator-skip-online-test.patch ... [ ok ]
12 > * Running eautoreconf in '/var/tmp/portage/net-misc/FORT-validator-1.2.0/work/FORT-validator-1.2.0' ...
13 > * Running aclocal ... [ ok ]
14 > * Running autoconf --force ... [ ok ]
15 > * Running autoheader ... [ ok ]
16 > * Running automake --add-missing --copy --foreign --force-missing ... [ ok ]
17 > * Running elibtoolize in: FORT-validator-1.2.0/
18 > >>> Source prepared.
19
20 But have you tried the _install_ step this way? I don't mean the "real"
21 install into the filesystem, just the staged install that "ebuild foo
22 install" does.
23
24 I get:
25
26 >>> Install net-mail/mu-1.3.9 into /tmp/portage/net-mail/mu-1.3.9/image
27 /usr/bin/install: cannot change ownership of
28 '/tmp/portage/net-mail/mu-1.3.9/image/usr/bin/mu':
29 Operation not permitted
30 * ERROR: net-mail/mu-1.3.9::foolinux failed (install phase):
31 * dobin failed
32
33 And yes, I am in the portage group. Of course this doesn't help here -
34 only root can do chown().
35
36 --
37 Ian

Replies

Subject Author
Re: [gentoo-user] Re: Testing ebuilds Alarig Le Lay <alarig@××××××××××.fr>