[Bug 297527] devel/llvm-devel: typo in DOCS_BUILD_DEPENDS for py-furo (double '@@') breaks dependency detection

[email protected]
Newsgroups gmane.os.freebsd.devel.ports.bugs
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=297527

            Bug ID: 297527
           Summary: devel/llvm-devel: typo in DOCS_BUILD_DEPENDS for
                    py-furo (double '@@') breaks dependency detection
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: [email protected]
          Reporter: [email protected]
             Flags: maintainer-feedback?([email protected])
          Assignee: [email protected]

Created attachment 273756
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=273756&action=edit
llvm-devel-furo-fix.diff that allowed the port to build with testport

DOCS_BUILD_DEPENDS in devel/llvm-devel's Makefile has a typo in the
py-furo dependency line: a doubled '@@' before ${PY_FLAVOR} instead
of a single '@'. This breaks the origin@flavor parsing, causing the
ports framework to misidentify the dependency and check for it as a
literal executable (via `which`) instead of a package in the pkg
database. Since py-furo is a Sphinx theme with no CLI binary, this
check always fails, even when py312-furo is correctly installed.

Affected file: devel/llvm-devel/Makefile, line 127

Current (broken):
    ${PYTHON_PKGNAMEPREFIX}furo:textproc/py-furo@@${PY_FLAVOR} \

Fixed:
    ${PYTHON_PKGNAMEPREFIX}furo>0:textproc/py-furo@${PY_FLAVOR} \

(Note the other DOCS_BUILD_DEPENDS entries on adjacent lines all
correctly use a single '@' before ${PY_FLAVOR} and include a version
operator, e.g. myst-parser>0, recommonmark>=0.0.20180530,
sphinx-markdown-tables>=0 — furo was the only outlier missing both.)

Steps to reproduce:
1. pkg install py312-furo (or build textproc/py-furo from ports)
2. cd /usr/ports/devel/llvm-devel && make build-depends
   (or via poudriere: poudriere testport -j <jail> -p <tree> -o
devel/llvm-devel)
3. Observe:
   ===> llvm-devel-24.0.d20260813 depends on executable: py312-furo - not found
   *** Error code 1
   even though `pkg info | grep furo` confirms py312-furo is installed.

Applying the attached one-line patch resolves the issue and the port
builds successfully.

Environment: FreeBSD [FreeBSD alto.my.domain 15.1-STABLE FreeBSD 15.1-STABLE
stable/15-n284649-23216f6309c6 GENERIC amd64
], poudriere-based
build, devel/llvm-devel snapshot 24.0.d20260813

-- 
You are receiving this mail because:
You are the assignee for the bug.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.