Date: Tue, 8 Aug 2023 17:12:07 +0100 From: Nuno Teixeira <eduardo@freebsd.org> To: Sergei Vyshenski <svysh.fbsd@gmail.com> Cc: ports@freebsd.org Subject: Re: "make test" fails in poudriere-devel jail Message-ID: <CAFDf7UL--cEso1hm6Kbtp%2BAWrgHFjuwXER8a-jtChW%2BEW-rOeQ@mail.gmail.com> In-Reply-To: <39828687-3034-ae7d-781f-1f81038ae9d5@gmail.com> References: <39828687-3034-ae7d-781f-1f81038ae9d5@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--00000000000095997306026ba077 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hello Sergei, Have you tried `su` inside jail and then `make test`? It is running as "nobody". Not needed when jail is 14 current. Cheers, Sergei Vyshenski <svysh.fbsd@gmail.com> escreveu no dia ter=C3=A7a, 8/08/20= 23 =C3=A0(s) 14:35: > Hi, > Non-root user inside poudriere-devel jail can not install packages from > TEST_DEPENDS? > What could be done here? > Regards, Sergei > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D > 13.2-RELEASE-p2 > pkg 1.20.990.5 > poudriere-git-3.3.99.20220831 > perl 5.34.1_3 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D > > root@h33:/ # poudriere testport -j j13 -v -p local -b latest -i -o > textproc/p5-Text-CSV_XS > ... > [j13-local] Installing p5-Text-CSV_XS-1.51... > [j13-local] Extracting p5-Text-CSV_XS-1.51: 100% > [00:00:41] Installing local Pkg repository to /usr/local/etc/pkg/repos > [00:00:41] Remounting /usr/ports read-write > [00:00:41] Mounting logs from: > /usr/local/poudriere/data/logs/bulk/j13-local/2023-08-08_14h16m07s > [00:00:41] Entering interactive test mode. Type 'exit' when done. > nobody@j13-local:/usr/ports/textproc/p5-Text-CSV_XS % make test > =3D=3D=3D> Testing for p5-Text-CSV_XS-1.51 > =3D=3D=3D> p5-Text-CSV_XS-1.51 depends on package: > p5-Test-Pod-Coverage>=3D1.10 - not found > =3D=3D=3D> Installing existing package > /packages/All/p5-Test-Pod-Coverage-1.10_2.pkg > pkg-static: Insufficient privileges to add packages > *** Error code 1 > > Stop. > make: stopped in /usr/ports/textproc/p5-Text-CSV_XS > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D > > --=20 Nuno Teixeira FreeBSD Committer (ports) --00000000000095997306026ba077 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div>Hello Sergei,</div><div><br></div><div>Have you tried= `su` inside jail and then `make test`?</div><div>It is running as "no= body".</div><div><br></div><div>Not needed when jail is 14 current.</d= iv><div><br></div><div>Cheers,<br></div></div><br><div class=3D"gmail_quote= "><div dir=3D"ltr" class=3D"gmail_attr">Sergei Vyshenski <<a href=3D"mai= lto:svysh.fbsd@gmail.com">svysh.fbsd@gmail.com</a>> escreveu no dia ter= =C3=A7a, 8/08/2023 =C3=A0(s) 14:35:<br></div><blockquote class=3D"gmail_quo= te" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204= );padding-left:1ex">Hi,<br> Non-root user inside poudriere-devel jail can not install packages from <br= > TEST_DEPENDS?<br> What could be done here?<br> Regards, Sergei<br> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D<br> 13.2-RELEASE-p2<br> pkg 1.20.990.5<br> poudriere-git-3.3.99.20220831<br> perl 5.34.1_3<br> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D<br> <br> root@h33:/ # poudriere testport -j j13 -v -p local -b latest -i -o <br> textproc/p5-Text-CSV_XS<br> ...<br> [j13-local] Installing p5-Text-CSV_XS-1.51...<br> [j13-local] Extracting p5-Text-CSV_XS-1.51: 100%<br> [00:00:41] Installing local Pkg repository to /usr/local/etc/pkg/repos<br> [00:00:41] Remounting /usr/ports read-write<br> [00:00:41] Mounting logs from: <br> /usr/local/poudriere/data/logs/bulk/j13-local/2023-08-08_14h16m07s<br> [00:00:41] Entering interactive test mode. Type 'exit' when done.<b= r> nobody@j13-local:/usr/ports/textproc/p5-Text-CSV_XS % make test<br> =3D=3D=3D>=C2=A0 Testing for p5-Text-CSV_XS-1.51<br> =3D=3D=3D>=C2=A0=C2=A0 p5-Text-CSV_XS-1.51 depends on package: <br> p5-Test-Pod-Coverage>=3D1.10 - not found<br> =3D=3D=3D>=C2=A0=C2=A0 Installing existing package <br> /packages/All/p5-Test-Pod-Coverage-1.10_2.pkg<br> pkg-static: Insufficient privileges to add packages<br> *** Error code 1<br> <br> Stop.<br> make: stopped in /usr/ports/textproc/p5-Text-CSV_XS<br> <br> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D<br> <br> </blockquote></div><br clear=3D"all"><br><span class=3D"gmail_signature_pre= fix">-- </span><br><div dir=3D"ltr" class=3D"gmail_signature"><div dir=3D"l= tr"><span style=3D"color:rgb(102,102,102)">Nuno Teixeira<br>FreeBSD Committ= er (ports)</span></div></div> --00000000000095997306026ba077--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFDf7UL--cEso1hm6Kbtp%2BAWrgHFjuwXER8a-jtChW%2BEW-rOeQ>