Summary: | ports-mgmt/poudriere: testport -P causes false failures, left over "@dir /prefix" | ||
---|---|---|---|
Product: | Ports & Packages | Reporter: | Matthias Andree <mandree> |
Component: | Individual Port(s) | Assignee: | Bryan Drewery <bdrewery> |
Status: | New --- | ||
Severity: | Affects Only Me | CC: | future |
Priority: | --- | Flags: | bugzilla:
maintainer-feedback?
(bdrewery) |
Version: | Latest | ||
Hardware: | Any | ||
OS: | Any | ||
See Also: | https://github.com/freebsd/poudriere/issues/787 |
Description
Matthias Andree
2019-09-20 22:58:41 UTC
this issue persists. MARKED AS SPAM (In reply to Marc from comment #2) This comment #2 is utter nonsense. This needs to be fixed in FreeBSD proper, not in upstream poudriere, per the comments in https://github.com/freebsd/poudriere/issues/787 For simplicity, I'll quote Bryan's comments from Github: "The script that checks for leftovers is in ports too. Mk/Scripts/check_leftovers.sh." "src/share/poudriere/testport.sh:[ ${NOPREFIX} -ne 1 ] && PREFIX="${BUILDROOT:-/prefix}/`echo ${PKGNAME} | tr '[,+]' _`" I suppose it is a problem that we really have PREFIX=/prefix/$PKGNAME so check_leftovers.sh doesn't know it should deal with the parent directory of /prefix. I'm not sure what the right fix is here but I still think it's a Ports problem. We should probably ignore parent directories in check_leftovers.sh when PREFIX!=LOCALBASE." |