[Bug 253354] Mk/Scripts/depends-list.sh: flavors are not processed properly when dependency is absolute path

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Feb 8 19:12:01 UTC 2021


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=253354

            Bug ID: 253354
           Summary: Mk/Scripts/depends-list.sh: flavors are not processed
                    properly when dependency is absolute path
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Ports Framework
          Assignee: portmgr at FreeBSD.org
          Reporter: sobomax at FreeBSD.org
                CC: ports-bugs at FreeBSD.org

Created attachment 222275
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=222275&action=edit
Patch to fix the issue.

Our ports framework supports "off-side" dependencies, when the port we depend
on is outside /usr/ports. That logic however is not followed when dealing with
@foo at the end of the reference, causing warnings to be issued.

Consider the following dependency line:

RUN_DEPENDS=   
${PYTHON_PKGNAMEPREFIX}dal>0:/sobomax/myports/devel/py-dal@${PY_FLAVOR}

The make package, make clean and some other targets would issue the following
warning:

[ssp-root at sipit_rack ~/builder/SSP/py-sippyapi.base]$ make clean
py27-sippyapi.base-202012161500_4: "/sobomax/myports/devel/py-dal at py27"
non-existent -- dependency list incomplete
===>  Cleaning for py27-sippyapi.base-202012161500_4
py36-sippyapi.base-202012161500_4: "/sobomax/myports/devel/py-dal at py36"
non-existent -- dependency list incomplete
===>  Cleaning for py36-sippyapi.base-202012161500_4

I believe this is a recent regression, after rev.510950 (overlays support) by
@bapt.

https://svnweb.freebsd.org/ports/head/Mk/Scripts/depends-list.sh?r1=471988&r2=510950

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


More information about the freebsd-ports-bugs mailing list