Commit Graph

67 Commits

Author SHA1 Message Date
Hraban Luyat
3dea08030b sbcl, ecl, clisp: set meta.mainProgram 2024-02-29 11:16:55 -05:00
Philip Taron
baed870448
clisp: fix build
Without this patch, the following build error occurs for me on NixOS:

```
$ nix-build -A clisp --check
<snipped>
Running phase: buildPhase
build flags: SHELL=/nix/store/q8qq40xg2grfh9ry1d9x4g7lq4ra7n81-bash-5.2-p21/bin/bash
ln -s ../src/.gdbinit .gdbinit
rm -f build-aux
ln -s ../src/build-aux build-aux
mkdir -p gllib
test -f gllib/Makefile || sh config.status gllib/Makefile depfiles
cd gllib && make CFLAGS="-g -O2 -no-integrated-cpp -W -Wswitch -Wcomment -Wpointer-arith -Wreturn-type -Wmissing-declarations -Wimplicit -Wno-sign-compare -Wno-format-nonliteral -Wno-shift-negative-value -O -fwrapv -pthread -fno-strict-aliasing -DNO_ASM -DENABLE_UNICODE -DMULTITHREAD -DPOSIX_THREADS -DDYNAMIC_FFI -DDYNAMIC_MODULES  -fPIC -DPIC " top_srcdir="/build/source/src"
make[1]: Entering directory '/build/source/builddir/gllib'
 cd /build/source/src && /nix/store/q8qq40xg2grfh9ry1d9x4g7lq4ra7n81-bash-5.2-p21/bin/bash /build/source/src/build-aux/missing automake-1.16 --gnits gllib/Makefile
/build/source/src/build-aux/missing: line 81: automake-1.16: command not found
WARNING: 'automake-1.16' is missing on your system.
         You should only need it if you modified 'Makefile.am' or
         'configure.ac' or m4 files included by 'configure.ac'.
         The 'automake' program is part of the GNU Automake package:
         <https://www.gnu.org/software/automake>
         It also requires GNU Autoconf, GNU m4 and Perl in order to run:
         <https://www.gnu.org/software/autoconf>
         <https://www.gnu.org/software/m4/>
         <https://www.perl.org/>
make[1]: *** [Makefile:1333: ../../src/gllib/Makefile.in] Error 127
make[1]: Leaving directory '/build/source/builddir/gllib'
make: *** [Makefile:648: gllib/libgnu.a] Error 2
```

This message was also reproduced by @2xsaiko on their NAS machine.

I don't know why this error sometimes occurs and sometimes does not.
On my Ubuntu machines, this error does not occur, and instead it does this:

```
Running phase: buildPhase
build flags: SHELL=/nix/store/q8qq40xg2grfh9ry1d9x4g7lq4ra7n81-bash-5.2-p21/bin/bash
ln -s ../src/.gdbinit .gdbinit
rm -f build-aux
ln -s ../src/build-aux build-aux
mkdir -p gllib
test -f gllib/Makefile || sh config.status gllib/Makefile depfiles
cd gllib && make CFLAGS="-g -O2 -no-integrated-cpp -W -Wswitch -Wcomment -Wpointer-arith -Wreturn-type -Wmissing-declarations -Wimplicit -Wno-sign-compare -Wno-format-nonliteral -Wno-shift-negative-value -O -fwrapv -pthread -fno-strict-aliasing -DNO_ASM -DENABLE_UNICODE -DMULTITHREAD -DPOSIX_THREADS -DDYNAMIC_FFI -DDYNAMIC_MODULES  -fPIC -DPIC " top_srcdir="/build/source/src"
make[1]: Entering directory '/build/source/builddir/gllib'
make[2]: Entering directory '/build/source/builddir'
make[2]: Nothing to be done for 'am--refresh'.
make[2]: Leaving directory '/build/source/builddir'
cd .. && make  am--refresh
make[2]: Entering directory '/build/source/builddir'
make[2]: Nothing to be done for 'am--refresh'.
make[2]: Leaving directory '/build/source/builddir'
<snipped>
```

In any case, these changes work successfully on all platforms I've tested them on:

1. NixOS
2. Ubuntu 22.04
3. MacOS x86_64
4. MacOS aarch64
2023-12-11 16:28:32 -08:00
Hraban Luyat
731dffef22 clisp: doCheck = true 2023-10-24 00:33:56 -04:00
Hraban Luyat
b64a221abf clisp: enable ASDF module
This is useful and expected by most downstream packages
2023-10-16 01:45:05 -03:00
Hraban Luyat
bd4ddddd9c clisp: disable unsupported modules on x86_64-darwin
Modules enabled only on "x86_64" systems were actually implicitly
linux-only. Disable them entirely on Darwin, regardless of architecture.

Fixes #258050
2023-09-29 14:40:08 -04:00
Hraban Luyat
d34bc5bd3a clisp: fix preconfigure phase on x86_64-darwin
One of the module names has a `/` in it so the hard-coded technique to "jump
back to the previous directory" by using `../..` doesn't work.

N.B.: build is still broken. This only fixes the preconfigure phase.
2023-09-29 13:41:48 -04:00
Tobias Mayer
7c6811713c
clisp: 2.49 -> 2.50pre2023-01-12 2023-09-26 10:52:04 +02:00
Vincenzo Mantova
830a98d346
Revert "clisp: remove broken status on Darwin" 2023-05-16 00:14:29 +01:00
Vincenzo Mantova
207731e3e3 clisp: enable ffcall on Darwin 2023-05-14 19:58:38 +01:00
Vincenzo Mantova
9d4e72cd73 clisp-tip: mark Darwin as broken instead of restricting platforms 2023-05-14 19:20:22 +01:00
Vincenzo Mantova
afd2bbf22c clisp: remove broken status on Darwin 2023-05-14 19:01:10 +01:00
Kasper Gałkowski
6817b72ca3 lisp-modules: set maintainers to the lisp team 2023-04-05 20:52:27 +02:00
Artturin
f9fdf2d402 treewide: move NIX_CFLAGS_COMPILE to the env attrset
with structuredAttrs lists will be bash arrays which cannot be exported
which will be a issue with some patches and some wrappers like cc-wrapper

this makes it clearer that NIX_CFLAGS_COMPILE must be a string as lists
in env cause a eval failure
2023-02-22 21:23:04 +02:00
AndersonTorres
e93d594a4c clisp hg: remove tohl from meta.maintainers list
Because tohl disappeared (last seen 2021-01-28).
2022-10-23 01:19:49 -03:00
AndersonTorres
023b6ea7c7 clisp default: remove tohl from meta.maintainers list
Because tohl disappeared (last seen 2021-01-28).
2022-10-23 01:18:48 -03:00
Felix Buehler
595e6f522a clisp,clisp-tip: rename name to pname&version 2022-03-01 12:00:54 +01:00
Ryan Burns
2175b157ac treewide: refactor isi686 && isx86_64 -> isx86 2021-11-20 17:50:41 -08:00
Sergei Trofimovich
2aa37af32d clisp: explicitly disable build parallelism due to missing depends 2021-11-08 07:43:27 +00:00
Ben Siraphob
001c0cbe54 pkgs/development/interpreters: stdenv.lib -> lib 2021-01-23 20:29:03 +07:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Matthias Beyer
60752bebcb clisp: Add license
Source: http://ftp.gnu.org/pub/gnu/clisp/release/latest/clisp-2.49.tar.gz
File: GNU-GPL

Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-04-09 13:23:55 +02:00
Lengyel Balazs
f4a53ff3bc treewide/xorg: replace *proto with xorgproto 2019-01-04 14:38:57 +01:00
Silvan Mosberger
1b4e48ab2b
clisp: Mark as broken for aarch64 2018-10-14 14:41:40 +02:00
John Ericson
db965063b3 treewide: Make configureFlags lists 2018-08-03 17:06:03 -04:00
Michael Raskin
c127e94bf7 clisp-tip: 2.50pre20170130 -> 2.50pre20171114; progress on #31696 2017-11-15 19:05:58 +01:00
Orivej Desh
c3b6a63961 clisp_2_44_1, libsigsegv_25: delete 2017-11-13 18:36:25 +00:00
aszlig
845aae9c10
clisp: Add patch to remove reference to cfree
Fixes the build failure after the upgrade to glibc 2.26 in
9bb67d5c1e.

From the cfree(3) manpage:

This function should never be used. Use free(3) instead. Starting with
version 2.26, it has been removed from glibc.

From the glibc 2.26 release notes[1]:

* The obsolete function cfree has been removed.  Applications should use
  free instead.

[1]: https://sourceware.org/ml/libc-alpha/2017-08/msg00010.html

Signed-off-by: aszlig <aszlig@nix.build>
Cc: @7c6f434c, @tohl
2017-11-08 15:52:25 +01:00
Michael Raskin
54b7c3b63f clisp-git: update to the upstream fix of 32-bit builds
The current exact tip fails to build on x86_64, there probably is a
fresher safe commit, but I haven't try bisecting.
2017-03-13 00:00:13 +01:00
Vladimír Čunát
848423f223
clisp-tip: make the build more reliable
Hydra shows it sometimes fails without autoconf:
http://hydra.nixos.org/job/nixos/trunk-combined/nixpkgs.clisp-tip.x86_64-linux
I can't say I understand why this happened.
2017-03-12 23:07:55 +01:00
Michael Raskin
d7bda1ed40 clisp-tip: init at 2.50pre20161201. There hasn't been a release for quite some time, but there has been some development. It is rumored that the fresh version can be built on darwin, but I don't know and cannot test 2016-12-29 17:37:10 +01:00
Vladimír Čunát
84d737cfe9
clisp: remove Darwin from meta.platforms for now
It's problematic.  See #20062.
2016-12-04 10:01:08 +01:00
Mike Sperber
6f7504d450 clisp: Unbreak on Darwin
Clisp depended on libffcall, which does not compile on Darwin.  The
dependency is optional though, so omit it on Darwin.  Also, make
conditional transitive dependencies on libffcall.
2016-10-25 10:45:46 +02:00
Robin Gloster
3e68106afd Merge remote-tracking branch 'upstream/master' into hardened-stdenv 2016-04-07 21:52:26 +00:00
Tomas Hlavaty
106d0f6b51 clisp: control build options and fix non x86* architectures 2016-04-04 22:22:30 +02:00
Robin Gloster
f60c9df0ba Merge remote-tracking branch 'upstream/master' into hardened-stdenv 2016-03-28 15:16:29 +00:00
Joachim Fasting
1972c5aa17 clisp: fix i686 build
Requires -falign-functions=4

See https://hydra.nixos.org/build/33256640/nixlog/1/raw
2016-03-23 13:54:58 +01:00
Franz Pletz
aff1f4ab94 Use general hardening flag toggle lists
The following parameters are now available:

  * hardeningDisable
    To disable specific hardening flags
  * hardeningEnable
    To enable specific hardening flags

Only the cc-wrapper supports this right now, but these may be reused by
other wrappers, builders or setup hooks.

cc-wrapper supports the following flags:

  * fortify
  * stackprotector
  * pie (disabled by default)
  * pic
  * strictoverflow
  * format
  * relro
  * bindnow
2016-03-05 18:55:26 +01:00
Robin Gloster
85515f0be8 clisp_2_44_1: disable format hardening 2016-02-29 09:44:42 +00:00
Michael Raskin
fac3c95ce6 Add clisp 2.33.2 — for testing SBCL bootstrap 2014-10-18 19:52:59 +04:00
Michael Raskin
1be33f81d1 Specify meta.branch for CLisp-2.44.1 2014-10-07 16:23:27 +04:00
Michael Raskin
02e221eb11 Fix the version 2014-10-06 02:43:57 +04:00
Nixpkgs Monitor
74488f2ade clisp_2_44_1: update from 2.44.1 to 2.49 2014-03-14 11:16:56 +01:00
Michael Raskin
dbc9d7f862 Add full linking-set to clisp 2.49 2013-10-13 10:34:22 +04:00
Moritz Ulrich
ff4d3d88d2 Fix clisp 2.44.1 (needed by stumpwm).
This fix applies the patch used for the newest clisp to the old,
fixing errors with new glibc.

Signed-off-by: Moritz Ulrich <moritz@tarn-vedra.de>
2013-05-01 14:33:00 +02:00
Vladimír Čunát
bb7f1f38c2 clisp: fix after glibc update 2013-02-05 15:23:09 +01:00
Michael Raskin
29980e0d54 Add threads support to CLisp 2012-10-14 22:28:49 +04:00
Michael Raskin
618e45c0f3 Adding ipmiutil
svn path=/nixpkgs/trunk/; revision=25660
2011-01-21 19:15:10 +00:00
Michael Raskin
c1e384b3eb Tests fail for a reason that tells more about tests than sabout built binary
svn path=/nixpkgs/trunk/; revision=24949
2010-12-01 21:11:28 +00:00
Michael Raskin
4394b2d1ae Update CLisp
svn path=/nixpkgs/trunk/; revision=24649
2010-11-10 17:55:43 +00:00
Eelco Dolstra
f1598a8941 * More cleanup.
svn path=/nixpkgs/trunk/; revision=22798
2010-07-28 18:01:17 +00:00