commit:     d6d8b28d7aa1a334a2bee45429a1672bab116f88
Author:     Seth M. Price <sprice623 <AT> aol <DOT> com>
AuthorDate: Thu Nov 21 22:24:15 2024 +0000
Commit:     Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
CommitDate: Thu Nov 21 22:24:15 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d6d8b28d

dev-lang/cc65: add warning about parallel make

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 <sprice623 <AT> aol.com>

 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 101856cdd..c365d5163 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 dc3fbf25f..32270f99b 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"
 }
 

Reply via email to