Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 08 Feb 2021 19:12:00 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 253354] Mk/Scripts/depends-list.sh: flavors are not processed properly when dependency is absolute path
Message-ID:  <bug-253354-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D253354

            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@FreeBSD.org
          Reporter: sobomax@FreeBSD.org
                CC: ports-bugs@FreeBSD.org

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

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

Consider the following dependency line:

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

The make package, make clean and some other targets would issue the followi=
ng
warning:

[ssp-root@sipit_rack ~/builder/SSP/py-sippyapi.base]$ make clean
py27-sippyapi.base-202012161500_4: "/sobomax/myports/devel/py-dal@py27"
non-existent -- dependency list incomplete
=3D=3D=3D>  Cleaning for py27-sippyapi.base-202012161500_4
py36-sippyapi.base-202012161500_4: "/sobomax/myports/devel/py-dal@py36"
non-existent -- dependency list incomplete
=3D=3D=3D>  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=3D47198=
8&r2=3D510950

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-253354-7788>