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

gpx: init at 2.5.2 #37150

Merged
merged 1 commit into from Mar 30, 2018
Merged

gpx: init at 2.5.2 #37150

merged 1 commit into from Mar 30, 2018

Conversation

leo60228
Copy link
Member

@leo60228 leo60228 commented Mar 15, 2018

Motivation for this change

I added GPX, a tool to convert Gcode to x3g files.

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
  • (N/A) Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • (N/A) 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.

@leo60228
Copy link
Member Author

The error seems like a problem in master; GPX is a standard autotools package with no dependencies AFAIK.



gpx = callPackage ../applications/misc/gpx { };

Copy link
Member

Choose a reason for hiding this comment

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

Trailing whitespace here.

name = "gpx-${version}";
version = "2.5.2";

buildInputs = [ autoreconfHook ];
Copy link
Member

Choose a reason for hiding this comment

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

Use nativeBuildInputs instead.

Copy link
Member Author

Choose a reason for hiding this comment

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

Sorry, I was following the example on the wiki.

Copy link
Member

Choose a reason for hiding this comment

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

Got a link to it, so we can fix it?

Copy link
Member Author

Choose a reason for hiding this comment

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

In https://nixos.wiki/wiki/Packaging_Software the code sample is fine, but the link to a file that I based gpx off of is pinned to a version of nixpkgs using buildInputs.

Copy link
Member Author

Choose a reason for hiding this comment

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

Checked, this still isn't fixed

leo60228 = {
github = "leo60228";
name = "leo60228";
};
Copy link
Member

Choose a reason for hiding this comment

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

According to the head of this file an email address is mandatory.

Copy link
Member Author

Choose a reason for hiding this comment

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

I misread it.

@leo60228
Copy link
Member Author

Is the new commit good?

@jfrankenau
Copy link
Member

Looks good to me. Just squash those commits.

@leo60228
Copy link
Member Author

Should I force push?

@jfrankenau
Copy link
Member

That is inevitable as squashing is destructive.

@leo60228
Copy link
Member Author

Done.

@grahamc
Copy link
Member

grahamc commented Mar 16, 2018

@GrahamcOfBorg eval

homepage = https://github.com/markwal/GPX/;
license = stdenv.lib.licenses.gpl2;
platforms = stdenv.lib.platforms.unix;
maintainers = stdenv.lib.maintainers.leo60228;
Copy link
Member

Choose a reason for hiding this comment

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

I think it's failing to evaluate because maintainers should be an array.

@leo60228
Copy link
Member Author

Checks are fixed @ryantm

@ryantm
Copy link
Member

ryantm commented Mar 16, 2018

@GrahamcOfBorg build gpx

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: gpx

Partial log (click to expand)

post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/kvgfwq661w5x6ciszm69yi1g9srqydls-gpx-2.5.2
shrinking /nix/store/kvgfwq661w5x6ciszm69yi1g9srqydls-gpx-2.5.2/bin/gpx
shrinking /nix/store/kvgfwq661w5x6ciszm69yi1g9srqydls-gpx-2.5.2/bin/machines
shrinking /nix/store/kvgfwq661w5x6ciszm69yi1g9srqydls-gpx-2.5.2/bin/s3gdump
strip is /nix/store/fzcs0fn6bb04m82frhlb78nc03ny3w55-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/kvgfwq661w5x6ciszm69yi1g9srqydls-gpx-2.5.2/bin 
patching script interpreter paths in /nix/store/kvgfwq661w5x6ciszm69yi1g9srqydls-gpx-2.5.2
checking for references to /tmp/nix-build-gpx-2.5.2.drv-0 in /nix/store/kvgfwq661w5x6ciszm69yi1g9srqydls-gpx-2.5.2...
/nix/store/kvgfwq661w5x6ciszm69yi1g9srqydls-gpx-2.5.2

@GrahamcOfBorg
Copy link

Success on x86_64-darwin (full log)

Attempted: gpx

Partial log (click to expand)

make[2]: Entering directory '/private/tmp/nix-build-gpx-2.5.2.drv-0/source'
make[2]: Nothing to be done for 'install-exec-am'.
make[2]: Nothing to be done for 'install-data-am'.
make[2]: Leaving directory '/private/tmp/nix-build-gpx-2.5.2.drv-0/source'
make[1]: Leaving directory '/private/tmp/nix-build-gpx-2.5.2.drv-0/source'
post-installation fixup
strip is /nix/store/vb6mgjqgd9h11nbv60fvrp1ls9nxck2y-cctools-binutils-darwin/bin/strip
stripping (with command strip and flags -S) in /nix/store/6s00h8zdhz73szm77w4wpgqi622mj6ai-gpx-2.5.2/bin
patching script interpreter paths in /nix/store/6s00h8zdhz73szm77w4wpgqi622mj6ai-gpx-2.5.2
/nix/store/6s00h8zdhz73szm77w4wpgqi622mj6ai-gpx-2.5.2

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Attempted: gpx

Partial log (click to expand)

post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/3j4gk5k0s059a923myylj4rpfgp9gfcl-gpx-2.5.2
shrinking /nix/store/3j4gk5k0s059a923myylj4rpfgp9gfcl-gpx-2.5.2/bin/machines
shrinking /nix/store/3j4gk5k0s059a923myylj4rpfgp9gfcl-gpx-2.5.2/bin/s3gdump
shrinking /nix/store/3j4gk5k0s059a923myylj4rpfgp9gfcl-gpx-2.5.2/bin/gpx
strip is /nix/store/3zq400fri5dv7d30lpxlqm2v9y1iis6j-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/3j4gk5k0s059a923myylj4rpfgp9gfcl-gpx-2.5.2/bin
patching script interpreter paths in /nix/store/3j4gk5k0s059a923myylj4rpfgp9gfcl-gpx-2.5.2
checking for references to /build in /nix/store/3j4gk5k0s059a923myylj4rpfgp9gfcl-gpx-2.5.2...
/nix/store/3j4gk5k0s059a923myylj4rpfgp9gfcl-gpx-2.5.2

Copy link
Member

@ryantm ryantm left a comment

Choose a reason for hiding this comment

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

LGTM

@globin globin merged commit 5de6ee2 into NixOS:master Mar 30, 2018
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

7 participants