From owner-freebsd-ports-bugs@freebsd.org Sat Apr 28 13:17:04 2018 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 76E6AFAEC80 for ; Sat, 28 Apr 2018 13:17:04 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id A64DE82A29 for ; Sat, 28 Apr 2018 13:17:03 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id EEA35FAEC75; Sat, 28 Apr 2018 13:17:02 +0000 (UTC) Delivered-To: ports-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B1785FAEC74 for ; Sat, 28 Apr 2018 13:17:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 493F2829DC for ; Sat, 28 Apr 2018 13:17:02 +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 mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 85267683E for ; Sat, 28 Apr 2018 13:17:01 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w3SDH1uV003408 for ; Sat, 28 Apr 2018 13:17:01 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w3SDH17p003407 for ports-bugs@FreeBSD.org; Sat, 28 Apr 2018 13:17:01 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 227825] Mk/Scripts/do-depends.sh misuses "pkg-static info -g" Date: Sat, 28 Apr 2018 13:17:01 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Ports Framework X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: eugen@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: portmgr@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter cc 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.25 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Apr 2018 13:17:04 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D227825 Bug ID: 227825 Summary: Mk/Scripts/do-depends.sh misuses "pkg-static info -g" Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Many People Priority: --- Component: Ports Framework Assignee: portmgr@FreeBSD.org Reporter: eugen@freebsd.org CC: ports-bugs@FreeBSD.org Using ports tree revision 468536: # pkg-static info -x perl5 perl5.26-5.26.2 # cd /usr/ports/net/p5-Socket6 # make =3D=3D=3D> p5-Socket6-0.28 depends on package: perl5>=3D5.26<5.27 - not f= ound Add "set -x" to start of Mk/Scripts/do-depends.sh and repeat: + set -e + . /usr/ports/Mk/Scripts/functions.sh + validate_env dp_RAWDEPENDS dp_DEPTYPE dp_DEPENDS_TARGET dp_DEPENDS_PRECLE= AN dp_DEPENDS_CLEAN dp_D EPENDS_ARGS dp_USE_PACKAGE_DEPENDS dp_USE_PACKAGE_DEPENDS_ONLY dp_PKG_ADD dp_PKG_INFO dp_WRKDIR dp_ PKGNAME dp_STRICT_DEPENDS dp_LOCALBASE dp_LIB_DIRS dp_SH dp_SCRIPTSDIR PORT= SDIR dp_MAKE dp_MAKEFLAG S + local envfault + eval ': ${dp_RAWDEPENDS?}' + : 'perl5>=3D5.26<5.27:lang/perl5.26' + eval ': ${dp_DEPTYPE?}' + : BUILD_DEPENDS + eval ': ${dp_DEPENDS_TARGET?}' + : install + eval ': ${dp_DEPENDS_PRECLEAN?}' + : + eval ': ${dp_DEPENDS_CLEAN?}' + : + eval ': ${dp_DEPENDS_ARGS?}' + : + eval ': ${dp_USE_PACKAGE_DEPENDS?}' + : + eval ': ${dp_USE_PACKAGE_DEPENDS_ONLY?}' + : + eval ': ${dp_PKG_ADD?}' + : /usr/local/sbin/pkg-static add + eval ': ${dp_PKG_INFO?}' + : /usr/local/sbin/pkg-static info -g + eval ': ${dp_WRKDIR?}' + : /usr/ports/net/p5-Socket6/work + eval ': ${dp_PKGNAME?}' + : p5-Socket6-0.28 + eval ': ${dp_STRICT_DEPENDS?}' + : + eval ': ${dp_LOCALBASE?}' + : /usr/local + eval ': ${dp_LIB_DIRS?}' + : /lib /usr/lib /usr/local/lib + eval ': ${dp_SH?}' + : /bin/sh + eval ': ${dp_SCRIPTSDIR?}' + : /usr/ports/Mk/Scripts + eval ': ${PORTSDIR?}' + : /usr/ports + eval ': ${dp_MAKE?}' + : make + eval ': ${dp_MAKEFLAGS?}' + : + [ -n '' ] + [ -n '' -o -n '' ] + set -u + anynotfound=3D0 + err=3D0 + unset FLAVOR + myifs=3D$' \t ' + IFS=3D: + set -- 'perl5>=3D5.26<5.27' lang/perl5.26 + IFS=3D$' \t ' + [ 2 -lt 2 -o 2 -gt 3 ] + pattern=3D'perl5>=3D5.26<5.27' + origin=3Dlang/perl5.26 + last=3D'' + [ -z 'perl5>=3D5.26<5.27' ] + [ -z lang/perl5.26 ] + origin=3D/usr/ports/lang/perl5.26 + depends_args=3D'' + target=3Dinstall + [ -n '' ] + fct=3Dfind_package + find_package 'perl5>=3D5.26<5.27' + /usr/local/sbin/pkg-static info -g 'perl5>=3D5.26<5.27' + echo '=3D=3D=3D> p5-Socket6-0.28 depends on package: perl5>=3D5.26<5.27= - not found' The script runs pkg-static info -g 'perl5>=3D5.26<5.27' but that's incorrect usage of "pkg-static info -g" which expects shell glob pattern. --=20 You are receiving this mail because: You are on the CC list for the bug.=