On Tue, Dec 16, 2025 at 08:49:06PM +0100, Dag-Erling Smørgrav wrote:
> bob prohaska <[email protected]> writes:
> > What's the best way to restore normal operation? Something like 
> > poudriere bulk -a
> 
> poudriere bulk $(pkg query -e '%#r == 0' '%o')
> 

Something's amiss. A simple copy-paste of the command yields
"Illegal variable name.", maybe I'm using the wrong shell.

However, it appears that pkg query -e '%#r == 0' '%o'
generates a list of built packages, so I tried running
pkg query -e '%#r == 0' '%o' > package.list
which worked, followed by
poudriere bulk -j main -f package.list

That got off to a good start but didn't end well:

[00:00:01] Creating the reference jail... done
[00:00:54] Mounting system devices for main-default
[00:00:54] Mounting ports/packages/distfiles
[00:00:54] Stashing existing package repository
[00:00:58] Mounting packages from: 
/usr/local/poudriere/data/packages/main-default
/etc/resolv.conf -> 
/usr/local/poudriere/data/.m/main-default/ref/etc/resolv.conf
[00:00:58] Starting jail main-default
[00:01:10] Logs: 
/usr/local/poudriere/data/logs/bulk/main-default/2025-12-16_15h32m41s
[00:01:10] Loading MOVED for 
/usr/local/poudriere/data/.m/main-default/ref/usr/ports
[00:01:25] Ports supports: FLAVORS SUBPACKAGES SELECTED_OPTIONS
[00:01:25] Gathering ports metadata
[00:01:25] Error: MOVED: devel/libpthread-stubs 2023-03-12 No consumers left 
and never supported pthread stubs in libc on FreeBSD
[00:01:25] Warning: MOVED: devel/pygobject3-common renamed to 
devel/pygobject-common
[00:01:25] Warning: MOVED: net/openldap24-client renamed to 
net/openldap25-client
[00:01:25] Error: MOVED: x11-fonts/gentium-basic 2025-12-04 Has expired: 
Superceeded by Gentium-7.000 https://software.sil.org/gentium/download/
[00:01:25] Warning: MOVED: x11-themes/kf5-oxygen-icons5 renamed to 
x11-themes/oxygen-icons
[00:01:25] Error: Fatal errors encountered gathering initial ports metadata
[00:01:25] Cleaning up
[00:01:25] Unmounting file systems
root@nemesis:/usr/local/poudriere # 

The reaction to errors is surprising; it seems like both have enough context to 
handle.
The first package can be omitted, and the second package can be replaced.

What am I missing?

Thanks for writing!

bob prohaska
 


Reply via email to