From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id A4C2E158041 for ; Sat, 23 Mar 2024 19:01:42 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D1406E2A4A; Sat, 23 Mar 2024 19:01:41 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id AE46BE2A4A for ; Sat, 23 Mar 2024 19:01:41 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id A7ABD33BEF1 for ; Sat, 23 Mar 2024 19:01:40 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E9DE5156A for ; Sat, 23 Mar 2024 19:01:38 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1711220490.366f99366481f7f34ce30e4fc85f50e4dc7e4a48.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: eclass/ X-VCS-Repository: repo/gentoo X-VCS-Files: eclass/toolchain.eclass X-VCS-Directories: eclass/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 366f99366481f7f34ce30e4fc85f50e4dc7e4a48 X-VCS-Branch: master Date: Sat, 23 Mar 2024 19:01:38 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 11fe66b6-6f7c-41f8-be02-4da97dbe2548 X-Archives-Hash: 38430542883bf7781b998bcbdfad182a commit: 366f99366481f7f34ce30e4fc85f50e4dc7e4a48 Author: Sam James gentoo org> AuthorDate: Sat Mar 23 19:01:06 2024 +0000 Commit: Sam James gentoo org> CommitDate: Sat Mar 23 19:01:30 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=366f9936 toolchain.eclass: another error handling fix Fixes: f81ec884754b3f3d3720d40b212e12ef364821c5 Signed-off-by: Sam James gentoo.org> eclass/toolchain.eclass | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass index cd63712b1f24..331e107bacf3 100644 --- a/eclass/toolchain.eclass +++ b/eclass/toolchain.eclass @@ -2089,8 +2089,9 @@ toolchain_src_install() { docompress "${DATAPATH}"/{info,man} - # Prune empty dirs left behind - find "${ED}" -depth -type d -delete 2>/dev/null || die + # Prune empty dirs left behind. It's fine not to die here as we may + # really have no empty dirs left. + find "${ED}" -depth -type d -delete 2>/dev/null # libstdc++.la: Delete as it doesn't add anything useful: g++ itself # handles linkage correctly in the dynamic & static case. It also just