From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lisp/clisp/
Date: Mon, 28 Apr 2025 02:41:21 +0000 (UTC) [thread overview]
Message-ID: <1745808002.be73c7ef71ee9fc93015a39f305a85972d7cc8f5.sam@gentoo> (raw)
commit: be73c7ef71ee9fc93015a39f305a85972d7cc8f5
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Apr 28 02:40:02 2025 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Apr 28 02:40:02 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=be73c7ef
dev-lisp/clisp: pass further workarounds
My earlier workaround was insufficient. While here, make sure we
respect CC/CFLAGS/LDFLAGS, and wire up src_test (while restricted, as
at least one test (socket?) segfaults).
Bug: https://bugs.gentoo.org/932564
Closes: https://bugs.gentoo.org/954892
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-lisp/clisp/clisp-2.49.92-r2.ebuild | 32 ++++++++++++++++++++++++++------
1 file changed, 26 insertions(+), 6 deletions(-)
diff --git a/dev-lisp/clisp/clisp-2.49.92-r2.ebuild b/dev-lisp/clisp/clisp-2.49.92-r2.ebuild
index 8573be8fc5fe..5e8634dd7b5d 100644
--- a/dev-lisp/clisp/clisp-2.49.92-r2.ebuild
+++ b/dev-lisp/clisp/clisp-2.49.92-r2.ebuild
@@ -3,7 +3,7 @@
EAPI=8
-inherit edo flag-o-matic xdg-utils
+inherit edo flag-o-matic toolchain-funcs xdg-utils
DESCRIPTION="Portable, bytecode-compiled implementation of Common Lisp"
HOMEPAGE="https://clisp.sourceforge.io/"
@@ -12,8 +12,10 @@ SRC_URI="mirror://gentoo/${P}.tar.bz2"
LICENSE="GPL-2+"
SLOT="2/8"
KEYWORDS="~alpha ~amd64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
-IUSE="hyperspec X berkdb dbus fastcgi gdbm gtk +pcre postgres +readline svm threads +unicode +zlib"
# "jit" disabled ATM
+IUSE="hyperspec X berkdb dbus fastcgi gdbm gtk +pcre postgres +readline svm threads +unicode +zlib"
+# Needs work still
+RESTRICT="test"
RDEPEND="
>=dev-lisp/asdf-2.33-r3
@@ -40,6 +42,10 @@ DEPEND="
"
BDEPEND="X? ( x11-misc/imake )"
+PATCHES=(
+ "${FILESDIR}"/${P}-after_glibc_cfree_bdb.patch
+)
+
BUILDDIR="builddir"
enable_modules() {
@@ -47,18 +53,18 @@ enable_modules() {
local m
for m in "$@" ; do
- einfo "Enabling module $m"
+ einfo "Enabling module ${m}"
myconf+=( --with-module=${m} )
done
}
src_prepare() {
+ default
+
# More than -O1 breaks alpha
if use alpha; then
sed -i -e 's/-O2//g' src/makemake.in || die
fi
- eapply "${FILESDIR}"/"${P}"-after_glibc_cfree_bdb.patch
- eapply_user
xdg_environment_reset
}
@@ -76,7 +82,8 @@ src_configure() {
# Temporary workaround for bug #932564 with GCC 15
# This can be dropped with a new release.
- append-flags -fno-tree-dce
+ strip-flags
+ append-flags -fno-tree-dce -fno-tree-dse -fno-tree-pta
# -Werror=lto-type-mismatch
# https://bugs.gentoo.org/856103
@@ -139,6 +146,13 @@ src_configure() {
CLHSROOT="http://www.lispworks.com/reference/HyperSpec/"
fi
+ myconf+=(
+ --config
+ CC="$(tc-getCC)"
+ CFLAGS="${CFLAGS}"
+ LDFLAGS="${LDFLAGS}"
+ )
+
# configure chokes on --sysconfdir option
edo ./configure "${myconf[@]}" ${BUILDDIR}
@@ -153,6 +167,12 @@ src_compile() {
emake -C "${BUILDDIR}" -j1
}
+src_test() {
+ emake -C "${BUILDDIR}" -j1 check
+ # Test non-portable features and modules
+ emake -C "${BUILDDIR}" -j1 extracheck mod-check
+}
+
src_install() {
pushd "${BUILDDIR}" || die
emake -j1 DESTDIR="${D}" prefix="${EPREFIX}"/usr install-bin
next reply other threads:[~2025-04-28 2:41 UTC|newest]
Thread overview: 41+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-04-28 2:41 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-04-28 4:44 [gentoo-commits] repo/gentoo:master commit in: dev-lisp/clisp/ Sam James
2025-04-28 4:37 Sam James
2025-04-27 23:17 Sam James
2024-05-02 4:32 Sam James
2024-05-02 4:32 Sam James
2023-09-16 14:06 Ulrich Müller
2022-10-15 15:13 Sam James
2022-05-14 21:52 Jakov Smolić
2022-04-28 15:05 Jakov Smolić
2022-02-28 5:04 Sam James
2022-02-28 5:03 Sam James
2022-02-17 11:00 Jakov Smolić
2022-01-19 1:12 Sam James
2021-06-03 19:15 Sam James
2020-10-10 17:55 Pacho Ramos
2019-06-16 18:30 Ulrich Müller
2019-06-16 17:15 Tobias Klausmann
2019-06-14 15:01 Agostino Sarubbo
2019-06-14 9:26 Agostino Sarubbo
2019-06-14 9:25 Agostino Sarubbo
2019-06-14 9:18 Agostino Sarubbo
2018-10-16 9:18 Tobias Klausmann
2018-08-19 22:52 Patrice Clement
2018-08-19 22:52 Patrice Clement
2018-05-12 0:32 Matt Turner
2018-04-20 8:02 David Seifert
2018-03-28 14:47 José María Alonso
2018-03-25 1:30 Sergei Trofimovich
2018-03-18 18:04 David Seifert
2018-03-08 9:29 José María Alonso
2018-03-07 12:45 José María Alonso
2018-03-07 9:36 José María Alonso
2018-03-06 15:35 José María Alonso
2018-03-05 17:21 José María Alonso
2018-03-05 16:17 José María Alonso
2017-10-25 13:53 Andreas Hüttel
2017-10-24 18:47 Andreas Hüttel
2016-12-18 4:54 Andrey Grozin
2016-10-12 18:11 Pacho Ramos
2016-10-02 2:55 Andrey Grozin
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=1745808002.be73c7ef71ee9fc93015a39f305a85972d7cc8f5.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