On 25/11/23 14:53, FreeBSD User wrote:
Hello,
running a CURRENT host (15.0-CURRENT FreeBSD 15.0-CURRENT #18
main-n266607-46971d38de3: Fri
Nov 24 20:24:17 CET 2023 amd64) and ontop of this host CURRENT jails and within
such a jail I
provide a poudriere (ZFS based) building host.
Out of the blue I face the problem that I can not configure ANY(!) port anymore
using
poudriere options -p head -z default -j jailname category/port
whatever I use as category/port or even if using "-f
/usr/local/etc/poudriere.d/pkglistfile",
poudriere stops with:
[...]
[00:00:00] Working on options directory:
/usr/local/etc/poudriere.d/head-amd64-head-default-options [00:00:00] Using
ports from:
/pool/poudriere/ports/head [00:00:00] Appending to make.conf:
/usr/local/etc/poudriere.d/make.conf [00:00:00] Creating the reference jail...
done
[00:00:01] Mounting system devices for head-amd64-head-default
[00:00:01] Mounting ports from: /pool/poudriere/ports/head
[00:00:01] Mounting packages from:
[00:00:01] Mounting distfiles from: /pool/poudriere/ports/distfiles/
[00:00:01] Copying /var/db/ports from:
/usr/local/etc/poudriere.d/head-amd64-head-default-options [00:00:02] Appending
to make.conf:
/usr/local/etc/poudriere.d/make.conf /etc/resolv.conf ->
/pool/poudriere/data/.m/head-amd64-head-default/ref/etc/resolv.conf [00:00:02]
Starting jail
head-amd64-head-default [00:00:03] Ports supports: FLAVORS SELECTED_OPTIONS
[00:00:03] Error: No such port: accessibility/at-spi2-core
[00:00:03] Cleaning up
[00:00:03] Unmounting file systems
In the case shown above the port "accessibility/at-spi2-core" would be the
first line in the
pkglist file, but I revealed this issue when trying to add and configure
manually a solitair
port (databases/pgmodeler).
The only difference I can observe comparing a "bulk" run in comparison with the
output above
is the empty
[00:00:01] Mounting packages from:
line, but I have no idea whether this is provided or not in previous runs/
The problem is widespread on a couple of systems utilising the latest
poudriere-devel
port (due to its overlay facility) even on a FreeBSD-13.2-RELEASE-p5 host with
base system and
packages obtained by the official base/port sites.
I can't find any flaw or outdated configuration on my system which would
explain the
widespread occurance of the problem, so I guess there is a general change
somewhere elese.
I need some advice or help, please.
Poidriere-devel in ports has a bug, the "options" code actually tries to
use the ports tree at /usr/ports. The upstream issue was actually my fault.
This has been fixed upstream. You should grab this patch:
https://github.com/freebsd/poudriere/commit/8726f468060a8886cdfac6d20cae4c997f735406
Hope this helps!
--
Guido Falsi <madpi...@freebsd.org>