Bug 267790 - ports-mgmt/poudriere: wrong MANIFEST used
Summary: ports-mgmt/poudriere: wrong MANIFEST used
Status: Open
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Bryan Drewery
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-11-15 17:25 UTC by Denis Bodor
Modified: 2022-12-28 17:45 UTC (History)
2 users (show)

See Also:
bugzilla: maintainer-feedback? (bdrewery)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.