[Bug 276783] Subpackages in *_DEPENDS break "make index" and "poudriere bulk -a"

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 02 Feb 2024 13:59:10 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=276783

            Bug ID: 276783
           Summary: Subpackages in *_DEPENDS break "make index" and
                    "poudriere bulk -a"
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Ports Framework
          Assignee: portmgr@FreeBSD.org
          Reporter: jbeich@FreeBSD.org
                CC: ports-bugs@FreeBSD.org

# Create an empty subpackage in a random port then depend on it from another
$ sed -i '' $'/COMMENT/a\\\nSUBPACKAGES=dummy\n' misc/pciids/Makefile
$ sed -i '' $'/COMMENT/a\\\nRUN_DEPENDS=pciids-dummy>0:misc/pciids~dummy\n'
ports-mgmt/portlint/Makefile

$ make index
[...]
make_index: portlint-2.22.0_1: no entry for /usr/ports/misc/pciids~dummy
 Done.
$ poudriere bulk -j 132amd64 -z test -a
[...]
[00:05:59] Error: compute_deps_pkg failed to lookup pkgname for
misc/pciids~dummy processing package portlint-2.22.0_1 from ports-mgmt/portlint
-- Is SUBDIR+=pciids missing in misc/Makefile?
[00:05:59] Error: compute_deps_pkg failed to lookup PKGNAME for
misc/pciids~dummy processing package portlint-2.22.0_1
[00:06:11] Error: Fatal errors encountered calculating dependencies
[...]

See also ports 0482926a54ac

-- 
You are receiving this mail because:
You are on the CC list for the bug.