From owner-freebsd-ports-bugs@freebsd.org Wed Nov 11 13:30:42 2020 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 8289F2EA12A for ; Wed, 11 Nov 2020 13:30:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4CWQbQ35JMz4mSZ for ; Wed, 11 Nov 2020 13:30:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 685022E9EC5; Wed, 11 Nov 2020 13:30:42 +0000 (UTC) Delivered-To: ports-bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 681522EA020 for ; Wed, 11 Nov 2020 13:30:42 +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 "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CWQbQ2QdJz4mcK for ; Wed, 11 Nov 2020 13:30:42 +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 46717153CF for ; Wed, 11 Nov 2020 13:30:42 +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 0ABDUgWH082090 for ; Wed, 11 Nov 2020 13:30:42 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 0ABDUggG082089 for ports-bugs@FreeBSD.org; Wed, 11 Nov 2020 13:30:42 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 250723] Add `set pipefail` to most framework scripts to ensure early failures Date: Wed, 11 Nov 2020 13:30:42 +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: commit-hook@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: portmgr@FreeBSD.org X-Bugzilla-Flags: exp-run? 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.34 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Nov 2020 13:30:42 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D250723 --- Comment #12 from commit-hook@FreeBSD.org --- A commit references this bug: Author: mat Date: Wed Nov 11 13:29:57 UTC 2020 New revision: 554893 URL: https://svnweb.freebsd.org/changeset/ports/554893 Log: Add set pipefail in most framework scripts. set pipefail changes the pipeline return status from being the return status of the last command to the last non 0 exit status of any command in the pipeline. This is needed to make sure all the commands in a pipeline did actually return a non 0 status and not only the last one. PR: 250723 Exp-run by: antoine Reviewed by: bapt Approved by: bapt Differential Revision: https://reviews.freebsd.org/D27007 Changes: head/Mk/Scripts/check-desktop-entries.sh head/Mk/Scripts/check-stagedir.sh head/Mk/Scripts/check-vulnerable.sh head/Mk/Scripts/check_leftovers.sh head/Mk/Scripts/checksum.sh head/Mk/Scripts/create-manifest.sh head/Mk/Scripts/depends-list.sh head/Mk/Scripts/desktop-categories.sh head/Mk/Scripts/dialog4ports.sh head/Mk/Scripts/do-depends.sh head/Mk/Scripts/do-fetch.sh head/Mk/Scripts/do-patch.sh head/Mk/Scripts/do-users-groups.sh head/Mk/Scripts/find-lib.sh head/Mk/Scripts/generate-symbols.sh head/Mk/Scripts/install-desktop-entries.sh head/Mk/Scripts/makesum.sh head/Mk/Scripts/plist_sub_sed_sort.sh head/Mk/Scripts/ports_env.sh head/Mk/Scripts/qa.sh head/Mk/Scripts/rust-compat11-canary.sh head/Mk/Scripts/smart_makepatch.sh --=20 You are receiving this mail because: You are on the CC list for the bug.=