[Bug 267790] ports-mgmt/poudriere: wrong MANIFESTused

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 15 Nov 2022 17:25:34 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=267790

            Bug ID: 267790
           Summary: ports-mgmt/poudriere: wrong MANIFESTused
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: bdrewery@FreeBSD.org
          Reporter: dbodor@rollmops.ninja
          Assignee: bdrewery@FreeBSD.org
             Flags: maintainer-feedback?(bdrewery@FreeBSD.org)

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.

-- 
You are receiving this mail because:
You are the assignee for the bug.