Bug 257019 - Can't set PACKAGES to a directory with a ':' in the name
Summary: Can't set PACKAGES to a directory with a ':' in the name
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-07-06 12:22 UTC by Daniel O'Connor
Modified: 2021-07-06 12:22 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel O'Connor 2021-07-06 12:22:09 UTC
I am trying to build packages to populate a package repo so I tried the following:

[test13 21:43] /usr/ports/misc/gs-ports-extra >make package-recursive PACKAGES=/tmp/extra/packages/FreeBSD:13:amd64
make: "/usr/ports/Mk/bsd.port.mk" line 5257: warning: duplicate script for target "/tmp/extra/packages/FreeBSD" ignored
make: "/usr/ports/Mk/bsd.port.mk" line 3432: warning: using previous script for "/tmp/extra/packages/FreeBSD" defined here
===>   gs-ports-extra-1.0 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by gs-ports-extra-1.0 for building
===>  Extracting for gs-ports-extra-1.0
make: don't know how to make 13:amd64/All:. Stop

The following work arounds are function:
  PACKAGES=/tmp/extra/packages/FreeBSD\\:13\\:amd64
or
  PACKAGES=/tmp/extra/packages PKG_REPOSITORY=FreeBSD:13:amd64/All

However it does feel like a bug.