From owner-freebsd-ports-bugs@freebsd.org Sat Jan 9 09:45:58 2016 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 57398A69D07 for ; Sat, 9 Jan 2016 09:45:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 2DEF41609 for ; Sat, 9 Jan 2016 09:45:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u099jvgx071476 for ; Sat, 9 Jan 2016 09:45:58 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 206061] ports-mgmt/portlint: Doesn't parse ${VARIABLES} in right half of *_DEPENDS (WARN False Positive) Date: Sat, 09 Jan 2016 09:45:57 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: dogfood, needs-qa X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: koobs@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: marcus@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status keywords bug_severity priority component assigned_to reporter flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Jan 2016 09:45:58 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D206061 Bug ID: 206061 Summary: ports-mgmt/portlint: Doesn't parse ${VARIABLES} in right half of *_DEPENDS (WARN False Positive) Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Keywords: dogfood, needs-qa Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: marcus@FreeBSD.org Reporter: koobs@FreeBSD.org Flags: maintainer-feedback?(marcus@FreeBSD.org) Assignee: marcus@FreeBSD.org portlint doesn't parse ${VARIABLES} in *_DEPENDS lines, resulting in a warn= ing: WARN: Makefile: no port directory /usr/ports/devel/py-setuptools${PYTHON_SUFFIX} found, even though it is lis= ted in BUILD_DEPENDS. devel/py-mock/Makefile: BUILD_DEPENDS=3D ${PYTHON_PKGNAMEPREFIX}pbr>=3D1.3:${PORTSDIR}/devel/py-pb= r \ =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 ${PYTHON_PKGNAMEPREFIX}setuptools${PYTHON_SUFFIX}>0:${PORTSDIR}/devel/py-se= tuptools${PYTHON_SUFFIX} make build-depends-list: /usr/home/koobs/repos/freebsd/ports/devel/py-pbr /usr/home/koobs/repos/freebsd/ports/devel/py-setuptools27 /usr/home/koobs/repos/freebsd/ports/lang/python27 /usr/home/koobs/repos/freebsd/ports/ports-mgmt/pkg A number of ports use similar constructs, in both left-hand and right-hand sides of the *_DEPENDS tuple. My regex foo isn't fantastic, but this found quite a few: find /usr/ports -name Makefile -exec grep -E ':\$\{PORTSDIR\}\/.*\$\{.*\}' = {} + --=20 You are receiving this mail because: You are the assignee for the bug.=