From d6d8b28d7aa1a334a2bee45429a1672bab116f88 Mon Sep 17 00:00:00 2001 From: "Seth M. Price" Date: Thu, 21 Nov 2024 17:24:15 -0500 Subject: [PATCH] dev-lang/cc65: add warning about parallel make MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Added warning about parallel make jobs potentially causing “random” build failure. Build revision not bumped due to trivial change. (I think this is what I’m supposed to do here.) Bug: https://bugs.gentoo.org/912925 Closes: https://github.com/cc65/cc65/issues/2543 Signed-off-by: Seth M. Price --- dev-lang/cc65/cc65-2.19-r3.ebuild | 5 +++++ dev-lang/cc65/cc65-9999-r1.ebuild | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/dev-lang/cc65/cc65-2.19-r3.ebuild b/dev-lang/cc65/cc65-2.19-r3.ebuild index 101856cdd6..c365d5163e 100644 --- a/dev-lang/cc65/cc65-2.19-r3.ebuild +++ b/dev-lang/cc65/cc65-2.19-r3.ebuild @@ -14,6 +14,11 @@ SLOT="0" KEYWORDS="~amd64" src_compile() { + ewarn "According to an upstream maintainer, cc65 has a tendency to" + ewarn "\"fail randomly\" when using \`make -j' to build in parallel." + ewarn "If compiling this package fails, and you have parallel jobs" + ewarn "enabled, try again with \`MAKEOPTS+=-j1' to disable them." + emake CC="$(tc-getCC)" AR="$(tc-getAR)" PREFIX="${EPREFIX}/usr" } diff --git a/dev-lang/cc65/cc65-9999-r1.ebuild b/dev-lang/cc65/cc65-9999-r1.ebuild index dc3fbf25fd..32270f99b6 100644 --- a/dev-lang/cc65/cc65-9999-r1.ebuild +++ b/dev-lang/cc65/cc65-9999-r1.ebuild @@ -13,6 +13,11 @@ LICENSE="ZLIB" SLOT="0" src_compile() { + ewarn "According to an upstream maintainer, cc65 has a tendency to" + ewarn "\"fail randomly\" when using \`make -j' to build in parallel." + ewarn "If compiling this package fails, and you have parallel jobs" + ewarn "enabled, try again with \`MAKEOPTS+=-j1' to disable them." + emake CC="$(tc-getCC)" AR="$(tc-getAR)" PREFIX="${EPREFIX}/usr" }