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 4E2051382C5 for ; Fri, 28 May 2021 01:41:08 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9584DE09C8; Fri, 28 May 2021 01:41:07 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 7AD4CE09C8 for ; Fri, 28 May 2021 01:41:07 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 6C098340CFE for ; Fri, 28 May 2021 01:41:06 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1340975B for ; Fri, 28 May 2021 01:41:05 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1622166055.ea51e2e8a9c0270df46484e214f0e9e6e86a45f2.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/colm/, dev-util/colm/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-util/colm/colm-0.14.7.ebuild dev-util/colm/files/colm-0.14.7-drop-julia-check.patch X-VCS-Directories: dev-util/colm/ dev-util/colm/files/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: ea51e2e8a9c0270df46484e214f0e9e6e86a45f2 X-VCS-Branch: master Date: Fri, 28 May 2021 01:41:05 +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: 10258687-5563-4375-a28f-9756bedb6bd1 X-Archives-Hash: 76a7b315dc4b5356d282ed881738d892 commit: ea51e2e8a9c0270df46484e214f0e9e6e86a45f2 Author: Sam James gentoo org> AuthorDate: Fri May 28 01:29:47 2021 +0000 Commit: Sam James gentoo org> CommitDate: Fri May 28 01:40:55 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ea51e2e8 dev-util/colm: drop Julia check which causes sandbox failure Closes: https://bugs.gentoo.org/776688 Signed-off-by: Sam James gentoo.org> dev-util/colm/colm-0.14.7.ebuild | 4 ++ .../colm/files/colm-0.14.7-drop-julia-check.patch | 45 ++++++++++++++++++++++ 2 files changed, 49 insertions(+) diff --git a/dev-util/colm/colm-0.14.7.ebuild b/dev-util/colm/colm-0.14.7.ebuild index a22badfbe4d..b1ab5f7a252 100644 --- a/dev-util/colm/colm-0.14.7.ebuild +++ b/dev-util/colm/colm-0.14.7.ebuild @@ -23,6 +23,10 @@ BDEPEND=" # libfsm moved from ragel -> colm, bug #766108 RDEPEND="! conftest.jl +- AC_MSG_CHECKING([checking if julia is able to run programs ... ]) +- if sh -c "$JULIA_BIN conftest.jl" >>config.log 2>&1; then +- AC_MSG_RESULT([yes]) +- else +- AC_MSG_RESULT([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 +- AC_MSG_CHECKING([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 +- AC_MSG_RESULT([yes]) +- else +- AC_MSG_RESULT([no]) +- JULIA_BIN="" +- fi +-fi ++JULIA_BIN="" + + AC_PATH_PROG([GNUSTEP_CONFIG], [gnustep-config]) +