From nobody Fri Jul 09 01:01:04 2021 X-Original-To: ports-bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 50FDF124579C for ; Fri, 9 Jul 2021 01:01:04 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4GLZbh1hxqz4XjC for ; Fri, 9 Jul 2021 01:01:04 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 23F832DED for ; Fri, 9 Jul 2021 01:01:04 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 169114Ge036812 for ; Fri, 9 Jul 2021 01:01:04 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 169114tZ036811 for ports-bugs@FreeBSD.org; Fri, 9 Jul 2021 01:01:04 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 257069] Improve error output from the do-depends.sh script Date: Fri, 09 Jul 2021 01:01:04 +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: sobomax@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 attachments.created 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 List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D257069 Bug ID: 257069 Summary: Improve error output from the do-depends.sh script Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Many People Priority: --- Component: Ports Framework Assignee: portmgr@FreeBSD.org Reporter: sobomax@FreeBSD.org CC: ports-bugs@FreeBSD.org Created attachment 226318 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D226318&action= =3Dedit Patch to improve error output. When resolving dependencies do-depends.sh currently emits error(s) and sets= a flag, but proceeds traversing the dependency chain. As a result, the error(= s) is/are potentially burried in megabytes of other output. With this patch, t= he script would accumulate all errors and output them at the end of the script providing a nice summary and direction on how to fix. ---- 00:24:51.853 /usr/local/etc/php/ext-20-dba.ini 00:24:51.853 =3D=3D=3D> ssp-5.4.9b6ccea87_1 depends on file: /usr/local/lib/php/20190902/dba.so - found 00:24:51.853 =3D=3D=3D> Returning to build of ssp-5.4.9b6ccea87_1 00:24:51.853 Found 1 error(s) with dependencies: 00:24:51.853 Error #1: a dependency refers to a non existing origin: /media/net/opensips31 in RUN_DEPENDS 00:24:51.853 *** Error code 1 ---- Versus before: ---- 00:12:50.614 =3D=3D=3D> ssp-5.4.9b6ccea87_1 depends on file: /usr/local/sbin/opensips31 - not found 00:12:50.614 Error a dependency refers to a non existing origin: /media/net/opensips31 in RUN_DEPENDS 00:12:50.614 =3D=3D=3D> ssp-5.4.9b6ccea87_1 depends on file: /usr/local/sbin/codecd - not found [thousands of lines skipped] 00:24:43.113 /usr/local/etc/php/ext-20-dba.ini 00:24:43.113 =3D=3D=3D> ssp-5.4.9b6ccea87_1 depends on file: /usr/local/lib/php/20190902/dba.so - found 00:24:43.113 =3D=3D=3D> Returning to build of ssp-5.4.9b6ccea87_1 00:24:43.113 Errors with dependencies. 00:24:43.113 *** Error code 1 ---- --=20 You are receiving this mail because: You are on the CC list for the bug.=