Bug 267790

Summary: ports-mgmt/poudriere: wrong MANIFEST used
Product: Ports & Packages Reporter: Denis Bodor <dbodor>
Component: Individual Port(s)Assignee: Bryan Drewery <bdrewery>
Status: Open ---    
Severity: Affects Only Me CC: dbodor, grahamperrin
Priority: --- Flags: bugzilla: maintainer-feedback? (bdrewery)
Version: Latest   
Hardware: Any   
OS: Any   

Description Denis Bodor 2022-11-15 17:25:34 UTC
I think I found a bug.

When using :

# poudriere jail -c -m url=file:////path/to/sets -j "somename" -v "13.1-RELEASE" -a i386

I get an error :

[00:00:01] Error: base.txz checksum mismatch
[00:00:01] Error while creating jail, cleaning up.

In fact, when using -m url=file:///path/to/sets/ and, for example, -v "13.1-RELEASE", the MANIFEST file used is taken from /usr/local/share/poudriere/MANIFESTS, not /path/to/sets (because the version matches).

Of course, we can fix the problem by using something else for -v, but I think this behavior is not normal. Right ?

In addition, the manpage specifies that for methods other than ftp, git and svn "only use the version value for display". It's not really true.