Bug 276783 - Subpackages in *_DEPENDS break "make index" and "poudriere bulk -a"
Summary: Subpackages in *_DEPENDS break "make index" and "poudriere bulk -a"
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Ports Framework (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Port Management Team
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-02-02 13:59 UTC by Jan Beich
Modified: 2024-02-02 17:04 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 Jan Beich freebsd_committer freebsd_triage 2024-02-02 13:59:10 UTC
# 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
Comment 1 Emmanuel Vadot freebsd_committer freebsd_triage 2024-02-02 17:04:19 UTC
Yeah I have this too, and it's a blocker for libdrm subpackage that is ready.