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

feedgnuplot: init at 1.49 #42668

Merged
merged 3 commits into from Jun 28, 2018
Merged

feedgnuplot: init at 1.49 #42668

merged 3 commits into from Jun 28, 2018

Conversation

mnacamura
Copy link
Contributor

Motivation for this change

It is a nice tool for doing data-science things in command line.

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option 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/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Fits CONTRIBUTING.md.

@xeji
Copy link
Contributor

xeji commented Jun 27, 2018

@GrahamcOfBorg build feedgnuplot

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: feedgnuplot

Partial log (click to expand)

strip is /nix/store/4qvrxzxa535y8304mk195x50b6p9607d-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/rhixlgl7pb4q764gp5g8smzpqs3bvn2i-perl-feedgnuplot-1.49/lib  /nix/store/rhixlgl7pb4q764gp5g8smzpqs3bvn2i-perl-feedgnuplot-1.49/bin
patching script interpreter paths in /nix/store/rhixlgl7pb4q764gp5g8smzpqs3bvn2i-perl-feedgnuplot-1.49
checking for references to /build in /nix/store/rhixlgl7pb4q764gp5g8smzpqs3bvn2i-perl-feedgnuplot-1.49...
shrinking RPATHs of ELF executables and libraries in /nix/store/r5m5hy8i2dg4d9v06iiyfh2k8gyvwcm2-perl-feedgnuplot-1.49-devdoc
gzipping man pages under /nix/store/r5m5hy8i2dg4d9v06iiyfh2k8gyvwcm2-perl-feedgnuplot-1.49-devdoc/share/man/
strip is /nix/store/4qvrxzxa535y8304mk195x50b6p9607d-binutils-2.30/bin/strip
patching script interpreter paths in /nix/store/r5m5hy8i2dg4d9v06iiyfh2k8gyvwcm2-perl-feedgnuplot-1.49-devdoc
checking for references to /build in /nix/store/r5m5hy8i2dg4d9v06iiyfh2k8gyvwcm2-perl-feedgnuplot-1.49-devdoc...
/nix/store/rhixlgl7pb4q764gp5g8smzpqs3bvn2i-perl-feedgnuplot-1.49

@GrahamcOfBorg
Copy link

Success on x86_64-darwin (full log)

Attempted: feedgnuplot

Partial log (click to expand)

Moving /nix/store/llh4ksjb83zlvssq4pkrl8v8v3igq1br-perl-feedgnuplot-1.49/share/man/man3 to /nix/store/s81p9jbg1xd172z880zazxgxnkhmbzgg-perl-feedgnuplot-1.49-devdoc/share/man/man3
rmdir: failed to remove '/nix/store/llh4ksjb83zlvssq4pkrl8v8v3igq1br-perl-feedgnuplot-1.49/share/man': Directory not empty
gzipping man pages under /nix/store/llh4ksjb83zlvssq4pkrl8v8v3igq1br-perl-feedgnuplot-1.49/share/man/
strip is /nix/store/7ddbq63v97nk8gkbf7gcsfmby37h6gbl-cctools-binutils-darwin/bin/strip
stripping (with command strip and flags -S) in /nix/store/llh4ksjb83zlvssq4pkrl8v8v3igq1br-perl-feedgnuplot-1.49/lib  /nix/store/llh4ksjb83zlvssq4pkrl8v8v3igq1br-perl-feedgnuplot-1.49/bin
patching script interpreter paths in /nix/store/llh4ksjb83zlvssq4pkrl8v8v3igq1br-perl-feedgnuplot-1.49
gzipping man pages under /nix/store/s81p9jbg1xd172z880zazxgxnkhmbzgg-perl-feedgnuplot-1.49-devdoc/share/man/
strip is /nix/store/7ddbq63v97nk8gkbf7gcsfmby37h6gbl-cctools-binutils-darwin/bin/strip
patching script interpreter paths in /nix/store/s81p9jbg1xd172z880zazxgxnkhmbzgg-perl-feedgnuplot-1.49-devdoc
/nix/store/llh4ksjb83zlvssq4pkrl8v8v3igq1br-perl-feedgnuplot-1.49

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Attempted: feedgnuplot

Partial log (click to expand)

strip is /nix/store/0pjsgkxz0rp5baycq5sp2s72lrr5q9sg-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/8dc8la9ws1qabalr0fslklg3ggqvks3z-perl-feedgnuplot-1.49/lib  /nix/store/8dc8la9ws1qabalr0fslklg3ggqvks3z-perl-feedgnuplot-1.49/bin
patching script interpreter paths in /nix/store/8dc8la9ws1qabalr0fslklg3ggqvks3z-perl-feedgnuplot-1.49
checking for references to /build in /nix/store/8dc8la9ws1qabalr0fslklg3ggqvks3z-perl-feedgnuplot-1.49...
shrinking RPATHs of ELF executables and libraries in /nix/store/9jh9sb1m9yx8k22cp1wapn7lxvabyk5b-perl-feedgnuplot-1.49-devdoc
gzipping man pages under /nix/store/9jh9sb1m9yx8k22cp1wapn7lxvabyk5b-perl-feedgnuplot-1.49-devdoc/share/man/
strip is /nix/store/0pjsgkxz0rp5baycq5sp2s72lrr5q9sg-binutils-2.30/bin/strip
patching script interpreter paths in /nix/store/9jh9sb1m9yx8k22cp1wapn7lxvabyk5b-perl-feedgnuplot-1.49-devdoc
checking for references to /build in /nix/store/9jh9sb1m9yx8k22cp1wapn7lxvabyk5b-perl-feedgnuplot-1.49-devdoc...
/nix/store/8dc8la9ws1qabalr0fslklg3ggqvks3z-perl-feedgnuplot-1.49

@xeji
Copy link
Contributor

xeji commented Jun 27, 2018

Looks like this doesn't really run any tests because of a gnuplot version mismatch:

running tests
check flags: SHELL=/nix/store/8zkg9ac4s4alzyf4a8kfrig1j73z66dw-bash-4.4-p23/bin/bash VERBOSE=y test
PERL_DL_NONLAZY=1 "/nix/store/vawc9a89l53mf05yq0k1910q7dakd99w-perl-5.24.3/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/manifest.t .. skipped: Author tests not required for installation
t/plots.t ..... skipped: tests require gnuplot 4.6.4. Instead I detected 'gnuplot 5.2 patchlevel 4'.
Files=2, Tests=0,  0 wallclock secs ( 0.02 usr  0.01 sys +  0.07 cusr  0.02 csys =  0.12 CPU)
Result: NOTESTS

So I suggest you either try get the tests to run, or disable them with a comment explaining why.
Does feedgnuplot support the current nixpkgs version of gnuplot ?

@mnacamura
Copy link
Contributor Author

I tried to run the plot tests but they fail because they check if rendered outputs are precisely equal to those expected using gnuplot 4.6.4. gnuplot 5's rendering slightly changed. That's why the tests are skipped.
Should I disable tests even if they are skipped in upstream?

Does feedgnuplot support the current nixpkgs version of gnuplot ?

Looking at the homepage and manual, they do not mention about gnuplot's version requirement. Actually it runs fine with gnuplot 5 in my environment.

@xeji
Copy link
Contributor

xeji commented Jun 28, 2018

Should I disable tests even if they are skipped in upstream?

In this situation I would suggest to disable tests with a comment explaning why. This saves other people a little time to understand what's going on.

# tests require gnuplot 4.6.4 and are completely skipped with gnuplot 5
doCheck = false; 

@mnacamura
Copy link
Contributor Author

Got it. Disabled tests.

@xeji
Copy link
Contributor

xeji commented Jun 28, 2018

Thank you.
@GrahamcOfBorg build feedgnuplot

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: feedgnuplot

Partial log (click to expand)

strip is /nix/store/4qvrxzxa535y8304mk195x50b6p9607d-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/fr43khbrizdrgpvkpl1rzvdgv3i3lwvh-perl-feedgnuplot-1.49/lib  /nix/store/fr43khbrizdrgpvkpl1rzvdgv3i3lwvh-perl-feedgnuplot-1.49/bin
patching script interpreter paths in /nix/store/fr43khbrizdrgpvkpl1rzvdgv3i3lwvh-perl-feedgnuplot-1.49
checking for references to /build in /nix/store/fr43khbrizdrgpvkpl1rzvdgv3i3lwvh-perl-feedgnuplot-1.49...
shrinking RPATHs of ELF executables and libraries in /nix/store/p8l0h7fgz9cq5p9wyjjv4jiizind2yr2-perl-feedgnuplot-1.49-devdoc
gzipping man pages under /nix/store/p8l0h7fgz9cq5p9wyjjv4jiizind2yr2-perl-feedgnuplot-1.49-devdoc/share/man/
strip is /nix/store/4qvrxzxa535y8304mk195x50b6p9607d-binutils-2.30/bin/strip
patching script interpreter paths in /nix/store/p8l0h7fgz9cq5p9wyjjv4jiizind2yr2-perl-feedgnuplot-1.49-devdoc
checking for references to /build in /nix/store/p8l0h7fgz9cq5p9wyjjv4jiizind2yr2-perl-feedgnuplot-1.49-devdoc...
/nix/store/fr43khbrizdrgpvkpl1rzvdgv3i3lwvh-perl-feedgnuplot-1.49

@GrahamcOfBorg
Copy link

Success on x86_64-darwin (full log)

Attempted: feedgnuplot

Partial log (click to expand)

Moving /nix/store/d1021mhbmwx9iijd2rp3nkwv0vlvl79v-perl-feedgnuplot-1.49/share/man/man3 to /nix/store/gcas0c13wng2jqfw7vmhfrmn3z9hi20l-perl-feedgnuplot-1.49-devdoc/share/man/man3
rmdir: failed to remove '/nix/store/d1021mhbmwx9iijd2rp3nkwv0vlvl79v-perl-feedgnuplot-1.49/share/man': Directory not empty
gzipping man pages under /nix/store/d1021mhbmwx9iijd2rp3nkwv0vlvl79v-perl-feedgnuplot-1.49/share/man/
strip is /nix/store/7ddbq63v97nk8gkbf7gcsfmby37h6gbl-cctools-binutils-darwin/bin/strip
stripping (with command strip and flags -S) in /nix/store/d1021mhbmwx9iijd2rp3nkwv0vlvl79v-perl-feedgnuplot-1.49/lib  /nix/store/d1021mhbmwx9iijd2rp3nkwv0vlvl79v-perl-feedgnuplot-1.49/bin
patching script interpreter paths in /nix/store/d1021mhbmwx9iijd2rp3nkwv0vlvl79v-perl-feedgnuplot-1.49
gzipping man pages under /nix/store/gcas0c13wng2jqfw7vmhfrmn3z9hi20l-perl-feedgnuplot-1.49-devdoc/share/man/
strip is /nix/store/7ddbq63v97nk8gkbf7gcsfmby37h6gbl-cctools-binutils-darwin/bin/strip
patching script interpreter paths in /nix/store/gcas0c13wng2jqfw7vmhfrmn3z9hi20l-perl-feedgnuplot-1.49-devdoc
/nix/store/d1021mhbmwx9iijd2rp3nkwv0vlvl79v-perl-feedgnuplot-1.49

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Attempted: feedgnuplot

Partial log (click to expand)

strip is /nix/store/0pjsgkxz0rp5baycq5sp2s72lrr5q9sg-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/y34gl3k1vny317d1kq13smshpqhyb5j1-perl-feedgnuplot-1.49/lib  /nix/store/y34gl3k1vny317d1kq13smshpqhyb5j1-perl-feedgnuplot-1.49/bin
patching script interpreter paths in /nix/store/y34gl3k1vny317d1kq13smshpqhyb5j1-perl-feedgnuplot-1.49
checking for references to /build in /nix/store/y34gl3k1vny317d1kq13smshpqhyb5j1-perl-feedgnuplot-1.49...
shrinking RPATHs of ELF executables and libraries in /nix/store/63i6aym8r632rlflvwr375k50s29rg4w-perl-feedgnuplot-1.49-devdoc
gzipping man pages under /nix/store/63i6aym8r632rlflvwr375k50s29rg4w-perl-feedgnuplot-1.49-devdoc/share/man/
strip is /nix/store/0pjsgkxz0rp5baycq5sp2s72lrr5q9sg-binutils-2.30/bin/strip
patching script interpreter paths in /nix/store/63i6aym8r632rlflvwr375k50s29rg4w-perl-feedgnuplot-1.49-devdoc
checking for references to /build in /nix/store/63i6aym8r632rlflvwr375k50s29rg4w-perl-feedgnuplot-1.49-devdoc...
/nix/store/y34gl3k1vny317d1kq13smshpqhyb5j1-perl-feedgnuplot-1.49

@xeji xeji merged commit c2eb9b4 into NixOS:master Jun 28, 2018
@mnacamura mnacamura deleted the feedgnuplot branch June 29, 2018 13:43
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