[Bug 257019] Can't set PACKAGES to a directory with a ':' in the name

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 06 Jul 2021 12:22:09 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=257019

            Bug ID: 257019
           Summary: Can't set PACKAGES to a directory with a ':' in the
                    name
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: darius@dons.net.au

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.

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