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

Enable Chez Scheme on Darwin #32177

Merged
merged 1 commit into from Nov 29, 2017
Merged

Enable Chez Scheme on Darwin #32177

merged 1 commit into from Nov 29, 2017

Conversation

eraserhd
Copy link
Contributor

Motivation for this change

I want Chez on my dev laptop!

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option build-use-sandbox in nix.conf on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Fits CONTRIBUTING.md.

This change should have no effect on non-Darwin platforms. The comments in libiconv's expression and epic5 suggest this is the right handling for libiconv. But hey, this is my first PR, so, you know...

@globin
Copy link
Member

globin commented Nov 29, 2017

@GrahamcOfBorg build chez

Copy link

@GrahamcOfBorg GrahamcOfBorg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Success for system: x86_64-linux

post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/hha9pyz1h6q4w46iw2wwx4701rjifv26-chez-scheme-9.5-20171109
shrinking /nix/store/hha9pyz1h6q4w46iw2wwx4701rjifv26-chez-scheme-9.5-20171109/bin/petite
shrinking /nix/store/hha9pyz1h6q4w46iw2wwx4701rjifv26-chez-scheme-9.5-20171109/bin/scheme-script
shrinking /nix/store/hha9pyz1h6q4w46iw2wwx4701rjifv26-chez-scheme-9.5-20171109/bin/scheme
gzipping man pages under /nix/store/hha9pyz1h6q4w46iw2wwx4701rjifv26-chez-scheme-9.5-20171109/share/man/
stripping (with flags -S) in /nix/store/hha9pyz1h6q4w46iw2wwx4701rjifv26-chez-scheme-9.5-20171109/lib  /nix/store/hha9pyz1h6q4w46iw2wwx4701rjifv26-chez-scheme-9.5-20171109/bin 
patching script interpreter paths in /nix/store/hha9pyz1h6q4w46iw2wwx4701rjifv26-chez-scheme-9.5-20171109
checking for references to /tmp/nix-build-chez-scheme-9.5-20171109.drv-0 in /nix/store/hha9pyz1h6q4w46iw2wwx4701rjifv26-chez-scheme-9.5-20171109...
/nix/store/hha9pyz1h6q4w46iw2wwx4701rjifv26-chez-scheme-9.5-20171109

Copy link

@GrahamcOfBorg GrahamcOfBorg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Failure for system: x86_64-darwin

these derivations will be built:
  /nix/store/02iy5ccnj9nyazda7x2pck4ciqf9lddl-chez-scheme-9.5-20171109.drv
these paths will be fetched (26.76 MiB download, 48.90 MiB unpacked):
  /nix/store/0x45qzbcdsrhjygm2ll68krlcikz609p-chezscheme-bc117fd
copying path '/nix/store/0x45qzbcdsrhjygm2ll68krlcikz609p-chezscheme-bc117fd' from 'https://cache.nixos.org'...
error: a 'x86_64-darwin' is required to build '/nix/store/02iy5ccnj9nyazda7x2pck4ciqf9lddl-chez-scheme-9.5-20171109.drv', but I am a 'x86_64-linux'

Copy link
Contributor

@orivej orivej left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have replaced system /usr/bin/libtool with libtool from cctools.

@LnL7
Copy link
Member

LnL7 commented Nov 29, 2017

@GrahamcOfBorg build chez

Copy link

@GrahamcOfBorg GrahamcOfBorg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Success for system: x86_64-linux

post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/jp6hddw3rv1amwg4262niyas93k1hyd3-chez-scheme-9.5-20171109
shrinking /nix/store/jp6hddw3rv1amwg4262niyas93k1hyd3-chez-scheme-9.5-20171109/bin/petite
shrinking /nix/store/jp6hddw3rv1amwg4262niyas93k1hyd3-chez-scheme-9.5-20171109/bin/scheme-script
shrinking /nix/store/jp6hddw3rv1amwg4262niyas93k1hyd3-chez-scheme-9.5-20171109/bin/scheme
gzipping man pages under /nix/store/jp6hddw3rv1amwg4262niyas93k1hyd3-chez-scheme-9.5-20171109/share/man/
stripping (with flags -S) in /nix/store/jp6hddw3rv1amwg4262niyas93k1hyd3-chez-scheme-9.5-20171109/lib  /nix/store/jp6hddw3rv1amwg4262niyas93k1hyd3-chez-scheme-9.5-20171109/bin 
patching script interpreter paths in /nix/store/jp6hddw3rv1amwg4262niyas93k1hyd3-chez-scheme-9.5-20171109
checking for references to /tmp/nix-build-chez-scheme-9.5-20171109.drv-0 in /nix/store/jp6hddw3rv1amwg4262niyas93k1hyd3-chez-scheme-9.5-20171109...
/nix/store/jp6hddw3rv1amwg4262niyas93k1hyd3-chez-scheme-9.5-20171109

Copy link

@GrahamcOfBorg GrahamcOfBorg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Success for system: x86_64-darwin

if [ yes = yes ] ; then gzip -f /nix/store/dqjv5846kdfrfb5zdcdqbsiw401fgmhr-chez-scheme-9.5-20171109/share/man/man1/petite.1 ; fi
./installsh -o "" -g "" -d -m 755 /nix/store/dqjv5846kdfrfb5zdcdqbsiw401fgmhr-chez-scheme-9.5-20171109/lib/csv9.5.1/examples
./installsh -o "" -g "" -m 444 ../examples/* /nix/store/dqjv5846kdfrfb5zdcdqbsiw401fgmhr-chez-scheme-9.5-20171109/lib/csv9.5.1/examples
post-installation fixup
gzipping man pages under /nix/store/dqjv5846kdfrfb5zdcdqbsiw401fgmhr-chez-scheme-9.5-20171109/share/man/
stripping (with flags -S) in /nix/store/dqjv5846kdfrfb5zdcdqbsiw401fgmhr-chez-scheme-9.5-20171109/lib  /nix/store/dqjv5846kdfrfb5zdcdqbsiw401fgmhr-chez-scheme-9.5-20171109/bin
patching script interpreter paths in /nix/store/dqjv5846kdfrfb5zdcdqbsiw401fgmhr-chez-scheme-9.5-20171109
copying 1 paths...
copying path '/nix/store/dqjv5846kdfrfb5zdcdqbsiw401fgmhr-chez-scheme-9.5-20171109' from 'ssh://mac1'...
/nix/store/dqjv5846kdfrfb5zdcdqbsiw401fgmhr-chez-scheme-9.5-20171109

@LnL7 LnL7 merged commit a125946 into NixOS:master Nov 29, 2017
@LnL7 LnL7 added the 6.topic: darwin Running or building packages on Darwin label Nov 29, 2017
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

6 participants