Bug 278479 - ports-mgmt/poudriere-devel: testport exits with Error: portdir: parameter null or not set
Summary: ports-mgmt/poudriere-devel: testport exits with Error: portdir: parameter nul...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords: regression
Depends on:
Blocks:
 
Reported: 2024-04-20 11:03 UTC by Älven
Modified: 2024-04-24 16:10 UTC (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Älven 2024-04-20 11:03:22 UTC
After poudriere-devel upgraded: 3.4.99.20240122_1 -> 3.4.99.20240419 builds not start with this message:

Error: (87898) /usr/local/share/poudriere/testport.sh:236: portdir: parameter null or not set

#env | grep -i portsdir
PORTSDIR=/usr/local/poudriere/ports/default

Ready to provide additional information and assist with debugging the issue.
Comment 1 Nuno Teixeira freebsd_committer freebsd_triage 2024-04-23 19:43:24 UTC
Having that issue with `poudriere testport -c -j JAIL -p PORTS` on non default ports path.

Could you try to configure option with testport to check if same error?
Comment 2 Älven 2024-04-24 01:42:19 UTC
I had the same issue even with default ports path: `poudriere testport -c -j JAIL`

Yes, indeed, it does work without -c option: `poudriere testport -j JAIL`
and exits with it: `poudriere testport -c -j JAIL`.

Thank you for pointing at it, it will help me work with it now and hope, will help to fix it somehow.
Comment 3 commit-hook freebsd_committer freebsd_triage 2024-04-24 16:10:37 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=dc33d4a4d4ceaf9ee7b199c3ca90706e762cd613

commit dc33d4a4d4ceaf9ee7b199c3ca90706e762cd613
Author:     Bryan Drewery <bdrewery@FreeBSD.org>
AuthorDate: 2024-04-24 15:38:59 +0000
Commit:     Bryan Drewery <bdrewery@FreeBSD.org>
CommitDate: 2024-04-24 16:09:33 +0000

    ports-mgmt/poudriere-devel: Update to 3.3.0-1748-gd75f4e1dc4

    Changes:
     - testport: Fix -c
     - testport: Don't fetch package being tested

    PR:     278479

 ports-mgmt/poudriere-devel/Makefile                   |  4 ++--
 ports-mgmt/poudriere-devel/distinfo                   |  6 +++---
 .../poudriere-devel/files/patch-test_common.sh (gone) | 19 -------------------
 3 files changed, 5 insertions(+), 24 deletions(-)