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: dev-util/ragel/, dev-util/ragel/files/
Date: Fri, 28 May 2021 01:41:04 +0000 (UTC)	[thread overview]
Message-ID: <1622166054.bd3624647bbe0e6366651230e1610bdac8f4eab3.sam@gentoo> (raw)

commit:     bd3624647bbe0e6366651230e1610bdac8f4eab3
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri May 28 01:25:39 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri May 28 01:40:54 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bd362464

dev-util/ragel: drop Julia check which causes sandbox failure

Closes: https://bugs.gentoo.org/776688
Signed-off-by: Sam James <sam <AT> gentoo.org>

 .../ragel/files/ragel-7.0.4-drop-julia-check.patch | 45 ++++++++++++++++++++++
 dev-util/ragel/ragel-7.0.4.ebuild                  |  4 ++
 2 files changed, 49 insertions(+)

diff --git a/dev-util/ragel/files/ragel-7.0.4-drop-julia-check.patch b/dev-util/ragel/files/ragel-7.0.4-drop-julia-check.patch
new file mode 100644
index 00000000000..10ede37ae36
--- /dev/null
+++ b/dev-util/ragel/files/ragel-7.0.4-drop-julia-check.patch
@@ -0,0 +1,45 @@
+--- a/configure.ac
++++ b/configure.ac
+@@ -305,41 +305,7 @@ AC_PATH_PROG([OCAML_BIN], [ocaml])
+ AC_PATH_PROG([RUST_BIN], [rustc])
+ AC_PATH_PROG([JULIA_BIN], [julia])
+ 
+-dnl
+-dnl Julia requires a large virtual address space. On systems where this is
+-dnl limited by ulimit, julia will fail to run.
+-dnl
+-
+-if test "x$JULIA_BIN" != x; then
+-	echo 'println( "can run julia programs" );' > conftest.jl
+-	echo -n "checking if julia is able to run programs ... "
+-	if sh -c "$JULIA_BIN conftest.jl" >>config.log 2>&1; then
+-		echo "yes"
+-	else
+-		echo "no"
+-		JULIA_BIN=""
+-	fi
+-	rm -f conftest.jl
+-fi
+-
+-dnl We can run julia, now make sure we have 1.0
+-if test "x$JULIA_BIN" != x; then
+-	echo -n "checking if julia is version 1.0 or later ... "
+-
+-	dnl We assume the form "julia version X.X.X"
+-	dnl   1. everything before the version number.
+-	dnl   2. Remove trailing version.
+-	dnl   3. Verify it is plain number greater than 1.
+-	dnl Any failure comes out as empty string. Note the sed command is wrapped
+-	dnl in [] so autotools do not interpret anything in it.
+-	JULIA1="`$JULIA_BIN -v | sed ['s/[A-Za-z ]\+//g; s/\.[0-9\.]*//; /^[1-9][0-9]*/!d;']`"
+-	if test "x$JULIA1" != x; then
+-		echo "yes"
+-	else
+-		JULIA_BIN=""
+-		echo "no"
+-	fi
+-fi
++JULIA_BIN=""
+ 
+ AC_PATH_PROG([GNUSTEP_CONFIG], [gnustep-config])
+ 

diff --git a/dev-util/ragel/ragel-7.0.4.ebuild b/dev-util/ragel/ragel-7.0.4.ebuild
index f9733495756..3611668b385 100644
--- a/dev-util/ragel/ragel-7.0.4.ebuild
+++ b/dev-util/ragel/ragel-7.0.4.ebuild
@@ -32,6 +32,10 @@ BDEPEND="
 DEPEND="~dev-util/colm-0.14.7"
 RDEPEND="${DEPEND}"
 
+PATCHES=(
+	#"${FILESDIR}"/${PN}-7.0.4-drop-julia-check.patch
+)
+
 src_prepare() {
 	default
 


             reply	other threads:[~2021-05-28  1:41 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-28  1:41 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2017-11-18 18:10 [gentoo-commits] repo/gentoo:master commit in: dev-util/ragel/, dev-util/ragel/files/ 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=1622166054.bd3624647bbe0e6366651230e1610bdac8f4eab3.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