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

memtester: fix cross build #36207

Merged
merged 1 commit into from
Mar 2, 2018
Merged

memtester: fix cross build #36207

merged 1 commit into from
Mar 2, 2018

Conversation

lheckemann
Copy link
Member

Motivation for this change

Cross compilation didn't work, now it does

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.

Sorry, something went wrong.

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Partial log (click to expand)

post-installation fixup
moving /nix/store/65c55863x0ax8m471zn023vwdzgn0ys0-memtester-4.3.0/man to /nix/store/65c55863x0ax8m471zn023vwdzgn0ys0-memtester-4.3.0/share/man
shrinking RPATHs of ELF executables and libraries in /nix/store/65c55863x0ax8m471zn023vwdzgn0ys0-memtester-4.3.0
shrinking /nix/store/65c55863x0ax8m471zn023vwdzgn0ys0-memtester-4.3.0/bin/memtester
gzipping man pages under /nix/store/65c55863x0ax8m471zn023vwdzgn0ys0-memtester-4.3.0/share/man/
strip is /nix/store/b0zlxla7dmy1iwc3g459rjznx59797xy-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/65c55863x0ax8m471zn023vwdzgn0ys0-memtester-4.3.0/bin 
patching script interpreter paths in /nix/store/65c55863x0ax8m471zn023vwdzgn0ys0-memtester-4.3.0
checking for references to /tmp/nix-build-memtester-4.3.0.drv-0 in /nix/store/65c55863x0ax8m471zn023vwdzgn0ys0-memtester-4.3.0...
/nix/store/65c55863x0ax8m471zn023vwdzgn0ys0-memtester-4.3.0

@GrahamcOfBorg
Copy link

Success on x86_64-darwin (full log)

Partial log (click to expand)

mkdir -m 755 -p /nix/store/c4kh55jyc8lf6yl8rhn5z0ibvc27hr68-memtester-4.3.0/{bin,man/man8}
install -m 755 memtester /nix/store/c4kh55jyc8lf6yl8rhn5z0ibvc27hr68-memtester-4.3.0/bin/
gzip -c memtester.8 >memtester.8.gz ; install -m 644 memtester.8.gz /nix/store/c4kh55jyc8lf6yl8rhn5z0ibvc27hr68-memtester-4.3.0/man/man8/
post-installation fixup
moving /nix/store/c4kh55jyc8lf6yl8rhn5z0ibvc27hr68-memtester-4.3.0/man to /nix/store/c4kh55jyc8lf6yl8rhn5z0ibvc27hr68-memtester-4.3.0/share/man
gzipping man pages under /nix/store/c4kh55jyc8lf6yl8rhn5z0ibvc27hr68-memtester-4.3.0/share/man/
strip is /nix/store/4sdh09gmvl15cy0zb6i7mbvxh5syz206-cctools-binutils-darwin/bin/strip
stripping (with command strip and flags -S) in /nix/store/c4kh55jyc8lf6yl8rhn5z0ibvc27hr68-memtester-4.3.0/bin
patching script interpreter paths in /nix/store/c4kh55jyc8lf6yl8rhn5z0ibvc27hr68-memtester-4.3.0
/nix/store/c4kh55jyc8lf6yl8rhn5z0ibvc27hr68-memtester-4.3.0

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Partial log (click to expand)

post-installation fixup
moving /nix/store/ga67pifij7np7p02aka6lp6v4ydqs9ky-memtester-4.3.0/man to /nix/store/ga67pifij7np7p02aka6lp6v4ydqs9ky-memtester-4.3.0/share/man
shrinking RPATHs of ELF executables and libraries in /nix/store/ga67pifij7np7p02aka6lp6v4ydqs9ky-memtester-4.3.0
shrinking /nix/store/ga67pifij7np7p02aka6lp6v4ydqs9ky-memtester-4.3.0/bin/memtester
gzipping man pages under /nix/store/ga67pifij7np7p02aka6lp6v4ydqs9ky-memtester-4.3.0/share/man/
strip is /nix/store/lvx1acn1ig1j2km8jds5x3ggh3f2wa8v-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/ga67pifij7np7p02aka6lp6v4ydqs9ky-memtester-4.3.0/bin
patching script interpreter paths in /nix/store/ga67pifij7np7p02aka6lp6v4ydqs9ky-memtester-4.3.0
checking for references to /build in /nix/store/ga67pifij7np7p02aka6lp6v4ydqs9ky-memtester-4.3.0...
/nix/store/ga67pifij7np7p02aka6lp6v4ydqs9ky-memtester-4.3.0

@lheckemann
Copy link
Member Author

cc @dezgeg

@Mic92
Copy link
Member

Mic92 commented Mar 2, 2018

Thanks!

@Mic92 Mic92 merged commit 336eb53 into NixOS:master Mar 2, 2018
@lheckemann lheckemann deleted the mips branch March 2, 2018 14:32
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