From owner-freebsd-ports-bugs@freebsd.org Fri Mar 24 09:48:07 2017 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 E904BCA1ECD for ; Fri, 24 Mar 2017 09:48:07 +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 C9E841FBE for ; Fri, 24 Mar 2017 09:48:07 +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 v2O9m7TO068675 for ; Fri, 24 Mar 2017 09:48:07 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 218029] Scripts/do-depends.sh: fix output list of dependencies "not satisfied in the XYZ phase" in error message Date: Fri, 24 Mar 2017 09:48:07 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed 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 Only Me X-Bugzilla-Who: andreas.sommer87@googlemail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: portmgr@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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.23 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Mar 2017 09:48:08 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D218029 --- Comment #2 from Andreas Sommer --- Well, it simply adds an output line saying which patterns were unsatisfied.= I guess that in 99% of port developers' cases, this simply never happens. In = my example, I had a custom setup (poudriere with own changes) which led to the= se dependency errors: Without patch: > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > =3D=3D=3D> Staging for hhdate-2.1.0 > =3D=3D=3D> Generating temporary packing list > install -m 0644 /wrkdirs/usr/ports/devel/hhdate/work/date-d110f07f596d86= e63daa2db41f1d52c05f4a179c/date.h /wrkdirs/usr/ports/devel/hhdate/work/stag= e/usr/local/include/ > =3D=3D=3D=3D> Compressing man pages (compress-man) > =3D=3D=3D> Testing for hhdate-2.1.0 > =3D=3D=3D> hhdate-2.1.0 depends on file: /usr/local/bin/clang39 - not f= ound > =3D=3D=3D> Installing existing package /packages/All/llvm39-3.9.1_2.txz > [porttesting-devel] Installing llvm39-3.9.1_2... > [porttesting-devel] `-- Installing libxml2-2.9.4... > [porttesting-devel] `-- Extracting libxml2-2.9.4: .......... done > [porttesting-devel] Extracting llvm39-3.9.1_2: .......... done > =3D=3D=3D> hhdate-2.1.0 depends on file: /usr/local/bin/clang39 - found > =3D=3D=3D> Returning to build of hhdate-2.1.0 > =3D=3D=3D> dp_STRICT_DEPENDS set - Not installing missing dependencies. > This means a dependency is wrong since it was not satisfied in the= TEST_DEPENDS phase. > *** Error code 1 With patch: > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > =3D=3D=3D> Staging for hhdate-2.1.0 > =3D=3D=3D> Generating temporary packing list > install -m 0644 /wrkdirs/usr/ports/devel/hhdate/work/date-d110f07f596d86= e63daa2db41f1d52c05f4a179c/date.h /wrkdirs/usr/ports/devel/hhdate/work/stag= e/usr/local/include/hhdate/ > =3D=3D=3D=3D> Compressing man pages (compress-man) > =3D=3D=3D> Testing for hhdate-2.1.0 > =3D=3D=3D> hhdate-2.1.0 depends on file: /usr/local/bin/clang39 - not f= ound > =3D=3D=3D> Installing existing package /packages/All/llvm39-3.9.1_2.txz > [porttesting-devel] Installing llvm39-3.9.1_2... > [porttesting-devel] `-- Installing libxml2-2.9.4... > [porttesting-devel] `-- Extracting libxml2-2.9.4: .......... done > [porttesting-devel] Extracting llvm39-3.9.1_2: .......... done > =3D=3D=3D> hhdate-2.1.0 depends on file: /usr/local/bin/clang39 - found > =3D=3D=3D> Returning to build of hhdate-2.1.0 > =3D=3D=3D> dp_STRICT_DEPENDS set - Not installing missing dependencies. > This means a dependency is wrong since it was not satisfied in the= TEST_DEPENDS phase. > List of not found patterns: /usr/local/bin/clang39 > *** Error code 1 I believe the output is helpful because if something catastrophic like that happens, you want verbose output of what exactly wasn't satisfied (there co= uld be many patterns defined). --=20 You are receiving this mail because: You are on the CC list for the bug.=