RE: Use specific FreeBSD patch version with poudriere

From: Ralf van der Enden <tremere_at_cainites.net>
Date: Sat, 19 Mar 2022 01:39:14 UTC
Hi,

I've seen weird behaviour as well rebuilding all my ports using poudriere.

After an upgrade (even a small one going from -p7 to -p8) triggers a rebuild of all my packages. A lot of them fail with extremely weird reasons.

I've downgraded my box to -p7 and then rebuilt everything in -p8 jails, which works fine. Reinstalling -p8, fetching the latest port updates and then rebuilding just the new ports also causes issues.

I've tried removing poudriere/packages/amd13-0-default and clearing my /var/cache/ccache directories, but that didn't help either.

Here's a poudriere run where both the host and jail are on -p8: https://pkg.cainites.net/build.html?mastername=amd64-13-0-default&build=2022-03-16_22h53m32s
And here’s the one where the host is on -p7 and the jail on -p8: https://pkg.cainites.net/build.html?mastername=amd64-13-0-default&build=2022-03-18_20h31m12s (it's actually still in progress as I write this mail, but should be done soon)

Kind regards,

Ralf van der Enden

-----Original Message-----
From: Ralf van der Enden <tremere@cainites.net> On Behalf Of Matthias Fechner
Sent: vrijdag 18 maart 2022 15:44
To: freebsd-questions@freebsd.org
Subject: Use specific FreeBSD patch version with poudriere

Dear all,

I see problems after the upgrade of FreeBSD 13 to -p8.

Is it possible to install a jail with very specific patch level 7: 
13.0-RELEASE-p7

I already tried:
poudriere jail -c -v 13.0-RELEASE -a amd64 -j 130amd64 -t 13.0-RELEASE-p7

But it does not work.
This would help to understand if the problem I see in poudriere is related to -p8 or not.

Thanks a lot.

Gruß
Matthias

-- 

"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the universe trying to produce bigger and better idiots. So far, the universe is winning." -- Rich Cook