Bug 196584 - ports-mgmt/portmaster not working for multiple ports in category/portname/ format
Summary: ports-mgmt/portmaster not working for multiple ports in category/portname/ fo...
Status: Closed Not A Bug
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Only Me
Assignee: Martin Wilke
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-01-07 05:54 UTC by scot-gale
Modified: 2016-01-18 09:39 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description scot-gale 2015-01-07 05:54:49 UTC
When specifying multiple ports as category/portname/ (i.e. with the trailing slash after the portname) portmaster fails to build them.

Examples of syntax that don't currently work:

# portmaster x11/dmenu/ x11/dzen2/

builds neither port

# portmaster x11/dmenu/ x11/dzen2

builds dzen2 but not dmenu

# portmaster x11/dmenu x11/dzen2/

builds dmenu but not dzen2


Examples of syntax that currently work:

# portmaster x11/dmenu x11/dzen2

builds both ports

# portmaster x11/dmenu/

builds dmenu


I've used a tab completion to fill the directory names for years, yet I've never encountered this bug before. I suppose it's possible that by coincidence I only used the trailing slash when specifying single ports, but I'd be surprised if this bug could have existed for very long without my stumbling into it.

# uname -a
FreeBSD machine10.myexample.com 10.0-STABLE FreeBSD 10.0-STABLE #0 r264414: Sun Apr 13 21:55:01 UTC 2014     root@grind.freebsd.org:/usr/obj/usr/src/sys/VT  amd64

# pkg info -x portmaster
portmaster-3.17.7

Also see my FreeBSD Forums thread:
https://forums.freebsd.org/threads/portmaster-not-working-for-multiple-ports-in-category-portname-format.49871/
Comment 1 Bugzilla Automation freebsd_committer freebsd_triage 2015-01-07 05:54:49 UTC
Auto-assigned to maintainer bdrewery@FreeBSD.org
Comment 2 Bryan Drewery freebsd_committer freebsd_triage 2015-01-07 07:35:42 UTC
Don't do that, it's not a valid syntax. Many tools will fail with a trailing slash for port origin.
Comment 3 Mark Linimon freebsd_committer freebsd_triage 2015-04-25 16:09:44 UTC
Assignee is no longer the maintainer.