Skip to content
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: fails to build on Darwin #19088

Closed
cresh opened this issue Sep 29, 2016 · 5 comments
Closed

clisp: fails to build on Darwin #19088

cresh opened this issue Sep 29, 2016 · 5 comments
Labels
6.topic: darwin Running or building packages on Darwin

Comments

@cresh
Copy link
Contributor

cresh commented Sep 29, 2016

Issue description

nix-env -iA texlive with current master of nixpkgs fails with:

building path(s) ‘/nix/store/cwf7i0acg7cw539niy3xvs57y05nakhq-libffcall-2009-05-27’
unpacking sources
unpacking source archive /nix/store/wqhxl08gk85zg8zix47brhnslix38wbw-cvs-export
source root is cvs-export
patching sources
configuring
[...]
building
make flags: SHELL=/nix/store/0v7gmvykijxqpvm730xkg9a1s3rwvq7z-bash-4.3-p46/bin/bash
cd avcall && make all
make[1]: Entering directory '/private/tmp/nix-build-libffcall-2009-05-27.drv-0/cvs-export/avcall'
clang -E `if test true = true; then echo '-DASM_UNDERSCORE'; fi` ./avcall-i386-macro.S | grep -v '^ *#line' | grep -v '^#ident' | grep -v '^#' | sed -e 's,% ,%,g' -e 's,% ,%,g' -e 's,\. ,.,g' > avcall-i386.s
/nix/store/0v7gmvykijxqpvm730xkg9a1s3rwvq7z-bash-4.3-p46/bin/bash ./libtool --mode=compile clang -x none -c avcall-i386.s
 clang -x none -c avcall-i386.s -o avcall-i386.o
avcall-i386.s:7:2: error: instruction requires: Not 64-bit mode
 pushl %ebp
 ^
avcall-i386.s:9:2: error: instruction requires: Not 64-bit mode
 pushl %esi
 ^
avcall-i386.s:10:2: error: instruction requires: Not 64-bit mode
 pushl %ebx
 ^
avcall-i386.s:39:2: error: instruction requires: Not 64-bit mode
 call *%eax
 ^
avcall-i386.s:47:2: error: instruction requires: Not 64-bit mode
 call *%eax
 ^
avcall-i386.s:53:2: error: instruction requires: Not 64-bit mode
 call *%eax
 ^
avcall-i386.s:168:2: error: instruction requires: Not 64-bit mode
 popl %ebx
 ^
avcall-i386.s:169:2: error: instruction requires: Not 64-bit mode
 popl %esi
 ^
avcall-i386.s:171:2: error: instruction requires: Not 64-bit mode
 popl %ebp
 ^
make[1]: *** [Makefile:64: avcall-i386.lo] Error 1
make[1]: Leaving directory '/private/tmp/nix-build-libffcall-2009-05-27.drv-0/cvs-export/avcall'
make: *** [Makefile:23: all] Error 2
builder for ‘/nix/store/n4bzbgz30a5sj0qa7q62qy7sy3fcqznc-libffcall-2009-05-27.drv’ failed with exit code 2
cannot build derivation ‘/nix/store/bmgz5pdsnm6jlsbdgy352scl60w9w1pm-clisp-2.49.drv’: 1 dependencies couldn't be built
building path(s) ‘/nix/store/w9h0dl7ir58slw0l2mq6qd7pykf85fxp-libgreek-1.0’
cannot build derivation ‘/nix/store/xyxrfdw92j8bdn4ljpcmrf1923kg6hb1-texlive-xindy.bin-2016.drv’: 1 dependencies couldn't be built
killing process 30404
building path(s) ‘/nix/store/ml2qkjh6bv3w66z6vvxz5vm42n155hlr-lithuanian-2016’
cannot build derivation ‘/nix/store/b115ygfa485ziczm7bpr3d7c2n561yhh-texlive-combined-full-2016.drv’: 1 dependencies couldn't be built
killing process 30460
error: build of ‘/nix/store/b115ygfa485ziczm7bpr3d7c2n561yhh-texlive-combined-full-2016.drv’ failed

Technical details

  • System: macOS Sierra (darwin-16.0.0)
  • Nix version: nix-env (Nix) 1.11.4
  • Nixpkgs version: "17.03pre91637.3afe206"
@LnL7 LnL7 added the 6.topic: darwin Running or building packages on Darwin label Sep 29, 2016
@LnL7
Copy link
Member

LnL7 commented Sep 29, 2016

I've noticed there are a bunch of issues on darwin related to derivations that try to build things i386 .

@acowley
Copy link
Contributor

acowley commented Oct 21, 2016

This discussion might be relevant.

@vcunat vcunat changed the title texlive on macOS Sierra fails to install clisp on macOS Sierra fails to install Oct 22, 2016
@vcunat vcunat changed the title clisp on macOS Sierra fails to install clisp: fails to build on Darwin Oct 22, 2016
@vcunat
Copy link
Member

vcunat commented Oct 22, 2016

Well, this error is due to xindy depending on clisp, which is rather niche stuff in texlive. As a work-around, it's well possible that smaller parts than the full texlive may work. Docs: http://nixos.org/nixpkgs/manual/#sec-language-texlive

@cresh
Copy link
Contributor Author

cresh commented Oct 23, 2016

PR #19800 fixes this.

@joachifm
Copy link
Contributor

joachifm commented Dec 1, 2016

Closing in favor of #20062

@joachifm joachifm closed this as completed Dec 1, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
6.topic: darwin Running or building packages on Darwin
Projects
None yet
Development

No branches or pull requests

5 participants