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

ocaml: default to 4.06 on aarch64 (since 4.05 is broken there) #39706

Merged
merged 1 commit into from May 7, 2018

Conversation

vbgl
Copy link
Contributor

@vbgl vbgl commented Apr 30, 2018

OCaml 4.05 (the current default in nixpkgs) is broken on aarch64. I don’t know how to fix it. Also, nixpkgs is not ready to have OCaml 4.06 as a default. Hence this workaround.

@vbgl
Copy link
Contributor Author

vbgl commented Apr 30, 2018

@GrahamcOfBorg build ocaml

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: ocaml

Partial log (click to expand)

/nix/store/j0m3482zw7vbh07qk1csbmp0j5cpjzj9-ocaml-4.05.0

@GrahamcOfBorg
Copy link

Failure on aarch64-linux (full log)

Attempted: ocaml

Partial log (click to expand)

Error: Error during linking
make[3]: *** [../Makefile:74: unix.cmxs] Error 2
make[3]: Leaving directory '/build/ocaml-4.04.2/otherlibs/unix'
make[2]: *** [Makefile:680: otherlibrariesopt] Error 2
make[2]: Leaving directory '/build/ocaml-4.04.2'
make[1]: *** [Makefile:187: opt.opt] Error 2
make[1]: Leaving directory '/build/ocaml-4.04.2'
make: *** [Makefile:49: world.opt] Error 2
builder for '/nix/store/ink9f6z9z231c4iwcgkbxnfpij825d8s-ocaml-4.04.2.drv' failed with exit code 2
�[31;1merror:�[0m build of '/nix/store/ink9f6z9z231c4iwcgkbxnfpij825d8s-ocaml-4.04.2.drv' failed

@vbgl vbgl force-pushed the ocaml-4.05-broken-on-aarch64 branch from 13fca91 to 4848f0a Compare April 30, 2018 06:51
@Mic92
Copy link
Member

Mic92 commented Apr 30, 2018

@GrahamcOfBorg build ocaml

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: ocaml

Partial log (click to expand)

/nix/store/j0m3482zw7vbh07qk1csbmp0j5cpjzj9-ocaml-4.05.0

@GrahamcOfBorg
Copy link

Success on x86_64-darwin (full log)

Attempted: ocaml

Partial log (click to expand)

these paths will be fetched (45.88 MiB download, 207.64 MiB unpacked):
  /nix/store/1916bk9yzdny1v2gqjw8acrm8j9hgp2x-ocaml-4.05.0
  /nix/store/7hc59m2qjmffk81lc5s431j5wcyli94l-x11env
copying path '/nix/store/7hc59m2qjmffk81lc5s431j5wcyli94l-x11env' from 'https://cache.nixos.org'...
copying path '/nix/store/1916bk9yzdny1v2gqjw8acrm8j9hgp2x-ocaml-4.05.0' from 'https://cache.nixos.org'...
/nix/store/1916bk9yzdny1v2gqjw8acrm8j9hgp2x-ocaml-4.05.0

@Mic92 Mic92 changed the title ocaml: default to 4.04 on aarch64 (since 4.05 is broken there) ocaml: default to 4.06 on aarch64 (since 4.05 is broken there) Apr 30, 2018
@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Attempted: ocaml

Partial log (click to expand)

shrinking /nix/store/l3mw3nn8hjlbkq77rp3bc59a0i1rj1gh-ocaml-4.06.1/bin/ocamlyacc
shrinking /nix/store/l3mw3nn8hjlbkq77rp3bc59a0i1rj1gh-ocaml-4.06.1/bin/ocamlrun
gzipping man pages under /nix/store/l3mw3nn8hjlbkq77rp3bc59a0i1rj1gh-ocaml-4.06.1/share/man/
patching script interpreter paths in /nix/store/l3mw3nn8hjlbkq77rp3bc59a0i1rj1gh-ocaml-4.06.1
checking for references to /build in /nix/store/l3mw3nn8hjlbkq77rp3bc59a0i1rj1gh-ocaml-4.06.1...
wrong ELF type
wrong ELF type
wrong ELF type
wrong ELF type
/nix/store/l3mw3nn8hjlbkq77rp3bc59a0i1rj1gh-ocaml-4.06.1

@vbgl vbgl merged commit a600e0c into NixOS:master May 7, 2018
@vbgl vbgl deleted the ocaml-4.05-broken-on-aarch64 branch May 7, 2018 05:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants