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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 1F0A9158086 for ; Sat, 9 Oct 2021 06:39:27 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 74A83E087C; Sat, 9 Oct 2021 06:39:26 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 5B990E087C for ; Sat, 9 Oct 2021 06:39:26 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 790D6342F98 for ; Sat, 9 Oct 2021 06:39:25 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1CCCE9B for ; Sat, 9 Oct 2021 06:39:24 +0000 (UTC) From: "罗百科" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "罗百科" Message-ID: <1633761562.940836c2dc07c9dae733ea506df9f39e7be47aec.patrick@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/build-docbook-catalog/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-text/build-docbook-catalog/build-docbook-catalog-2.1.ebuild X-VCS-Directories: app-text/build-docbook-catalog/ X-VCS-Committer: patrick X-VCS-Committer-Name: 罗百科 X-VCS-Revision: 940836c2dc07c9dae733ea506df9f39e7be47aec X-VCS-Branch: master Date: Sat, 9 Oct 2021 06:39:24 +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: 397f2ba2-ea0c-4f67-baf1-89e72fbaa10f X-Archives-Hash: 6a08bfe0e389ded9d008bfa65b00bf55 commit: 940836c2dc07c9dae733ea506df9f39e7be47aec Author: Patrick Lauer gentoo org> AuthorDate: Sat Oct 9 06:39:06 2021 +0000 Commit: 罗百科 gentoo org> CommitDate: Sat Oct 9 06:39:22 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=940836c2 app-text/build-docbook-catalog: Create missing dir needed in pkg_postinst Since /run might be empty (chroot etc.) or missing, opportunistically create the directory if needed. Avoids failing randomly for no obvious reason. Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Patrick Lauer gentoo.org> app-text/build-docbook-catalog/build-docbook-catalog-2.1.ebuild | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app-text/build-docbook-catalog/build-docbook-catalog-2.1.ebuild b/app-text/build-docbook-catalog/build-docbook-catalog-2.1.ebuild index d3143b3652b..87cfe4c3b89 100644 --- a/app-text/build-docbook-catalog/build-docbook-catalog-2.1.ebuild +++ b/app-text/build-docbook-catalog/build-docbook-catalog-2.1.ebuild @@ -33,5 +33,7 @@ src_configure() { pkg_postinst() { # New version -> regen files # See bug #816303 for rationale behind die + # create directory if needed + mkdir -p /run/lock build-docbook-catalog || die "Failed to regenerate docbook catalog. Is /run mounted?" }