public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/docbook-xsl-ns-stylesheets/
Date: Thu,  7 Oct 2021 02:48:23 +0000 (UTC)	[thread overview]
Message-ID: <1633574839.cb200416b701b9c4bcbcec2dea3db8a23f3f73f0.sam@gentoo> (raw)

commit:     cb200416b701b9c4bcbcec2dea3db8a23f3f73f0
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Oct  7 02:47:19 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Oct  7 02:47:19 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cb200416

app-text/docbook-xsl-ns-stylesheets: die on failed build-docbook-catalog

Fail loudly if build-docbook-catalog wasn't successful; this is likely
due to /run not being (bind-)mounted (in chroots/new installs).

Bug: https://bugs.gentoo.org/816303
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Sam James <sam <AT> gentoo.org>

 .../docbook-xsl-ns-stylesheets-1.79.1.ebuild                        | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/app-text/docbook-xsl-ns-stylesheets/docbook-xsl-ns-stylesheets-1.79.1.ebuild b/app-text/docbook-xsl-ns-stylesheets/docbook-xsl-ns-stylesheets-1.79.1.ebuild
index 1755483b705..d45bb7f2656 100644
--- a/app-text/docbook-xsl-ns-stylesheets/docbook-xsl-ns-stylesheets-1.79.1.ebuild
+++ b/app-text/docbook-xsl-ns-stylesheets/docbook-xsl-ns-stylesheets-1.79.1.ebuild
@@ -72,9 +72,11 @@ EOF
 }
 
 pkg_postinst() {
-	build-docbook-catalog
+	# See bug #816303 for rationale behind die
+	build-docbook-catalog || die "Failed to regenerate docbook catalog. Is /run mounted?"
 }
 
 pkg_postrm() {
-	build-docbook-catalog
+	# See bug #816303 for rationale behind die
+	build-docbook-catalog || die "Failed to regenerate docbook catalog. Is /run mounted?"
 }


             reply	other threads:[~2021-10-07  2:48 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-07  2:48 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-04-05 15:27 [gentoo-commits] repo/gentoo:master commit in: app-text/docbook-xsl-ns-stylesheets/ Arthur Zamarin
2023-02-20 18:37 Mike Gilbert
2022-05-17 13:07 WANG Xuerui
2021-05-27 14:34 Yixun Lan
2021-01-04  1:44 Sam James
2021-01-04  1:43 Sam James
2021-01-04  1:43 Sam James
2021-01-04  1:32 Sam James
2021-01-04  1:32 Sam James
2020-08-31  0:58 Sam James
2020-06-16 10:44 Lars Wendler
2020-04-26  3:11 Matt Turner
2017-11-25 19:55 David Seifert

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1633574839.cb200416b701b9c4bcbcec2dea3db8a23f3f73f0.sam@gentoo \
    --to=sam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox