-
-
Notifications
You must be signed in to change notification settings - Fork 14.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
clisp doesn't build on Darwin #20062
Comments
I see the same failure:
|
For now I disabled the xindy binary on Darwin, so any texlive installations should avoid this problem. |
Thank you! How log do commits generally take to get into latest nixpkgs channel? Is there a way to trace your commit through to the channel? (apologies for the dumb questions....) |
It won't get into a channel yet; see http://howoldis.herokuapp.com/ You can checkout a nixpkgs tree and |
Maintainers: @7c6f434c @tohl – if you have no idea what to do about it, I suggest to switch |
Maintainers: @7c6f434c @tohl – if you have no idea what to do about it, I suggest
to switch clisp.meta.platform = platforms.linux;.
The last change switched platforms from linux to unix and tried to fix
it on darwin.
commit 6f7504d
Author: Mike Sperber <[email protected]>
Date: Sun Oct 23 16:10:31 2016 +0200
I don't know if it was successful. Maybe Mike Sperber could shed some
light on this? I don't have a darwin machine available.
|
Actually, is it possible that there was a problem with the build slave
rather than the clisp package?
The build log seems to be cut off:
https://hydra.nixos.org/build/44199489/log/tail-reload
configure: ** I18N (Common)
checking how to remove colons from paths... (cached) echo $x
checking for CLISP version... building of ‘/nix/store/9lfq33q56knrd2wabak304gv1wxsgg57-clisp-2.49’ timed out after 7200 seconds of silence
|
@mikesperber ping |
Before the change referenced above, CLisp refused to build because some of the dependencies and configuration options were Linux-only. After that, it did. I'll take a look at this, but it won't be until Saturday. |
Apart from Hydra, two people above reported it won't build. It might be an elusive problem that doesn't happen for everyone, but Hydra can reproduce the failure pretty reliably: https://hydra.nixos.org/job/nixpkgs/trunk/clisp.x86_64-darwin/all |
So I can now reproduce this to the point where it dumps core. This is a longstanding problem that occurs not just on the Mac, and that is fixed in current development builds. Since the release 2.49 in Nix is the latest available and is from 2010, would it be acceptable to change the package to build a current development version? I'd gladly provide that. |
I would say that adding a development version should be a definitely good idea, but the latest release should probably be an available option for those who want it. |
(triage) has this been fixed? |
No, but it's probably not worth fixing, given that the original problem has been worked around. |
Technically speaking |
@7c6f434c awesome, go ahead. |
Okay, clisp still doesn’t build on Darwin (see link) and is marked as such. |
Issue description
Attempting to install texlive.combined.scheme-full on macOS Sierra fails during clisp compilation step with following message:
Welcome to GNU CLISP 2.49 (2010-07-07) http://clisp.cons.org/
.... lots of messages about loading file xxx.lisp
;; Loading file /private/var/folders/t7/p76q77kx7m55wtpsswwmb8sw0000gn/T/nix-build-clisp-2.49.drv-0/clisp-2.49/builddir/config.lisp ...
;; Loaded file /private/var/folders/t7/p76q77kx7m55wtpsswwmb8sw0000gn/T/nix-build-clisp-2.49.drv-0/clisp-2.49/builddir/config.lisp
Bytes permanently allocated: 182,360
Bytes currently in use: 10,030,400
Bytes available until next GC: 2,507,600
Bye.
mv lispimag.mem interpreted.mem
./lisp.run -B . -N locale -E UTF-8 -Epathname 1:1 -Emisc 1:1 -norc -m 2MW -M interpreted.mem -q -c ../src/compiler.lisp -o ./
;; Compiling file /private/var/folders/t7/p76q77kx7m55wtpsswwmb8sw0000gn/T/nix-build-clisp-2.49.drv-0/clisp-2.49/src/compiler.lisp ...
;; Wrote file /private/var/folders/t7/p76q77kx7m55wtpsswwmb8sw0000gn/T/nix-build-clisp-2.49.drv-0/clisp-2.49/builddir/compiler.fas
0 errors, 0 warnings
*** - handle_fault error2 ! address = 0x106c25ff8 not in [0x200000000,0x200296800) !
SIGSEGV cannot be cured. Fault address = 0x106c25ff8.
GC count: 62
Space collected by GC: 154829416
Run time: 84 163342
Real time: 85 271810
GC time: 0 396006
Permanently allocated: 182360 bytes.
Currently in use: 12672456 bytes.
Free space: 504432 bytes.
*** - handle_fault error2 ! address = 0x10499bf75 not in [0x200000000,0x200296800) !
SIGSEGV cannot be cured. Fault address = 0x10499bf75.
GC count: 62
Space collected by GC: 154829416
Run time: 84 163422
Real time: 85 271892
GC time: 0 396006
Permanently allocated: 182360 bytes.
Currently in use: 12672456 bytes.
Free space: 504432 bytes.
make: *** [Makefile:1817: compiler.fas] Segmentation fault: 11
make: *** Deleting file 'compiler.fas'
builder for ‘/nix/store/qshf5fqyb0wird2bc80m5nivj32277cx-clisp-2.49.drv’ failed with exit code 2
building path(s) ‘/nix/store/kkq647kjq0j4212ayrdglz442ivbv2q0-clrscode-1.7’
cannot build derivation ‘/nix/store/my981psq7c22djikz1s6rl52pqbg7vx0-texlive-xindy.bin-2016.drv’: 1 dependencies couldn't be built
killing process 90918
cannot build derivation ‘/nix/store/9mg8hacnshqqd0hpfpnygac0paflnagm-texlive-combined-full-2016.drv’: 1 dependencies couldn't be built
error: build of ‘/nix/store/9mg8hacnshqqd0hpfpnygac0paflnagm-texlive-combined-full-2016.drv’ failed
Steps to reproduce
Try to install texlive full package on macOS Sierra, i.e.
nix-env -f '' -iA texlive.combined.scheme-full
Technical details
System: (NixOS:
nixos-version
, Ubuntu/Fedora:lsb_release -a
, ...)macOS Sierra 10.12.1 on macBook Pro 16Gb
Nix version: (run
nix-env --version
)nix-env (Nix) 1.11.4
Nixpkgs version: (run
nix-instantiate --eval '<nixpkgs>' -A lib.nixpkgsVersion
)"17.03pre94812.3c6e0f1"
The text was updated successfully, but these errors were encountered: