Re: "make test" fails in poudriere-devel jail

From: Nuno Teixeira <eduardo_at_freebsd.org>
Date: Tue, 08 Aug 2023 16:12:07 UTC
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ça, 8/08/2023
à(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
> ============================
> 13.2-RELEASE-p2
> pkg 1.20.990.5
> poudriere-git-3.3.99.20220831
> perl 5.34.1_3
> ============================
>
> 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
> ===>  Testing for p5-Text-CSV_XS-1.51
> ===>   p5-Text-CSV_XS-1.51 depends on package:
> p5-Test-Pod-Coverage>=1.10 - not found
> ===>   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
>
> ============================
>
>

-- 
Nuno Teixeira
FreeBSD Committer (ports)