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

sayonara: init at 1.0.0-git5-20180115 #35046

Merged
merged 2 commits into from Feb 19, 2018
Merged

Conversation

deepfire
Copy link
Contributor

Motivation for this change

Fix #34024

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.

@joachifm
Copy link
Contributor

@GrahamcOfBorg build sayonara

@GrahamcOfBorg
Copy link

Failure on x86_64-darwin (full log)

Partial log (click to expand)

  No known features for CXX compiler

  "Clang"

  version 5.0.1.


-- Build files have been written to: /tmp/nix-build-sayonara-player-1.0.0-git5-20180115.drv-0/sayonara-player/build
builder for '/nix/store/bk9brppzyhlk8345b664lyg58rc19nc9-sayonara-player-1.0.0-git5-20180115.drv' failed with exit code 1
error: build of '/nix/store/bk9brppzyhlk8345b664lyg58rc19nc9-sayonara-player-1.0.0-git5-20180115.drv' failed

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Partial log (click to expand)

shrinking /nix/store/qw3d5hs2i5v9qzilxxwvir2x6wap0j9b-sayonara-player-1.0.0-git5-20180115/bin/sayonara
shrinking /nix/store/qw3d5hs2i5v9qzilxxwvir2x6wap0j9b-sayonara-player-1.0.0-git5-20180115/lib/sayonara/libsayonara_somafm.so
shrinking /nix/store/qw3d5hs2i5v9qzilxxwvir2x6wap0j9b-sayonara-player-1.0.0-git5-20180115/lib/sayonara/libsayonara_soundcloud.so
gzipping man pages under /nix/store/qw3d5hs2i5v9qzilxxwvir2x6wap0j9b-sayonara-player-1.0.0-git5-20180115/share/man/
strip is /nix/store/adidfx4pa7vmvby0gjqqmiwg2x49yr27-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/qw3d5hs2i5v9qzilxxwvir2x6wap0j9b-sayonara-player-1.0.0-git5-20180115/lib  /nix/store/qw3d5hs2i5v9qzilxxwvir2x6wap0j9b-sayonara-player-1.0.0-git5-20180115/bin 
patching script interpreter paths in /nix/store/qw3d5hs2i5v9qzilxxwvir2x6wap0j9b-sayonara-player-1.0.0-git5-20180115
checking for references to /tmp/nix-build-sayonara-player-1.0.0-git5-20180115.drv-0 in /nix/store/qw3d5hs2i5v9qzilxxwvir2x6wap0j9b-sayonara-player-1.0.0-git5-20180115...
postPatchMkspecs
/nix/store/qw3d5hs2i5v9qzilxxwvir2x6wap0j9b-sayonara-player-1.0.0-git5-20180115

sha256 = "1fl7zplnrrvbv1xm4g348bpd46jj39jvbm808hyjjq92i64wqg37";
};

buildInputs = [ cmake qt5.qtbase qt5.qttools zlib taglib pkgconfig pcre gst_all_1.gstreamer gst_all_1.gst-plugins-base gst_all_1.gst-plugins-good gst_all_1.gst-plugins-ugly ];
Copy link
Contributor

Choose a reason for hiding this comment

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

At least cmake and pkgconfig can be made into nativeBuildInputs

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done..

mkdir build
cd build
runHook preConfigure
cmake .. \
Copy link
Contributor

Choose a reason for hiding this comment

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

What about setting cmakeFlags ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@joachifm, do you have any particular suggestions?

Copy link
Contributor

Choose a reason for hiding this comment

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

as in cmakeFlags = [ ... ]; & relying on the standard configure phase definition (potentially using preConfigure to create & enter build.

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Partial log (click to expand)

shrinking /nix/store/mb53xs3frahjq56wh7nkrqib76b2569v-sayonara-player-1.0.0-git5-20180115/lib/sayonara/libsayonara_somafm.so
shrinking /nix/store/mb53xs3frahjq56wh7nkrqib76b2569v-sayonara-player-1.0.0-git5-20180115/lib/sayonara/libsayonara_soundcloud.so
shrinking /nix/store/mb53xs3frahjq56wh7nkrqib76b2569v-sayonara-player-1.0.0-git5-20180115/bin/sayonara
gzipping man pages under /nix/store/mb53xs3frahjq56wh7nkrqib76b2569v-sayonara-player-1.0.0-git5-20180115/share/man/
strip is /nix/store/skd6ix5ipkyhxzq7naylj4digawakl4j-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/mb53xs3frahjq56wh7nkrqib76b2569v-sayonara-player-1.0.0-git5-20180115/lib  /nix/store/mb53xs3frahjq56wh7nkrqib76b2569v-sayonara-player-1.0.0-git5-20180115/bin
patching script interpreter paths in /nix/store/mb53xs3frahjq56wh7nkrqib76b2569v-sayonara-player-1.0.0-git5-20180115
checking for references to /build in /nix/store/mb53xs3frahjq56wh7nkrqib76b2569v-sayonara-player-1.0.0-git5-20180115...
postPatchMkspecs
/nix/store/mb53xs3frahjq56wh7nkrqib76b2569v-sayonara-player-1.0.0-git5-20180115

@deepfire deepfire force-pushed the sayonara-player branch 3 times, most recently from 54e8a20 to 86eec6f Compare February 17, 2018 22:46
@deepfire
Copy link
Contributor Author

@joachifm, all fixed now, I believe.

NIX_CFLAGS_COMPILE = "-I${gst_all_1.gst-plugins-base.dev}/include/gstreamer-1.0";

cmakeFlags = [
"-DCMAKE_BUILD_TYPE=Release"
Copy link
Contributor

Choose a reason for hiding this comment

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

This is set by default in the cmake setup hook, is it really necessary?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fixed..

@joachifm
Copy link
Contributor

@GrahamcOfBorg build sayonara

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Partial log (click to expand)

shrinking RPATHs of ELF executables and libraries in /nix/store/abaxv089731bqyjzp1vppcm8k59gni92-sayonara-player-1.0.0-git5-20180115
shrinking /nix/store/abaxv089731bqyjzp1vppcm8k59gni92-sayonara-player-1.0.0-git5-20180115/bin/sayonara
shrinking /nix/store/abaxv089731bqyjzp1vppcm8k59gni92-sayonara-player-1.0.0-git5-20180115/lib/sayonara/libsayonara_soundcloud.so
shrinking /nix/store/abaxv089731bqyjzp1vppcm8k59gni92-sayonara-player-1.0.0-git5-20180115/lib/sayonara/libsayonara_somafm.so
gzipping man pages under /nix/store/abaxv089731bqyjzp1vppcm8k59gni92-sayonara-player-1.0.0-git5-20180115/share/man/
strip is /nix/store/adidfx4pa7vmvby0gjqqmiwg2x49yr27-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/abaxv089731bqyjzp1vppcm8k59gni92-sayonara-player-1.0.0-git5-20180115/lib  /nix/store/abaxv089731bqyjzp1vppcm8k59gni92-sayonara-player-1.0.0-git5-20180115/bin
patching script interpreter paths in /nix/store/abaxv089731bqyjzp1vppcm8k59gni92-sayonara-player-1.0.0-git5-20180115
checking for references to /build in /nix/store/abaxv089731bqyjzp1vppcm8k59gni92-sayonara-player-1.0.0-git5-20180115...
postPatchMkspecs

@GrahamcOfBorg
Copy link

Failure on x86_64-darwin (full log)

Partial log (click to expand)

  No known features for CXX compiler

  "Clang"

  version 5.0.1.


-- Build files have been written to: /tmp/nix-build-sayonara-player-1.0.0-git5-20180115.drv-0/sayonara-player/build
builder for '/nix/store/nggy3hgc36b1gd8vw5rgf8maykhcmh6h-sayonara-player-1.0.0-git5-20180115.drv' failed with exit code 1
error: build of '/nix/store/nggy3hgc36b1gd8vw5rgf8maykhcmh6h-sayonara-player-1.0.0-git5-20180115.drv' failed

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Partial log (click to expand)

shrinking /nix/store/hh4crnm5sc2y20ww9071ipcqrs3j6pyp-sayonara-player-1.0.0-git5-20180115/lib/sayonara/libsayonara_somafm.so
shrinking /nix/store/hh4crnm5sc2y20ww9071ipcqrs3j6pyp-sayonara-player-1.0.0-git5-20180115/lib/sayonara/libsayonara_soundcloud.so
shrinking /nix/store/hh4crnm5sc2y20ww9071ipcqrs3j6pyp-sayonara-player-1.0.0-git5-20180115/bin/sayonara
gzipping man pages under /nix/store/hh4crnm5sc2y20ww9071ipcqrs3j6pyp-sayonara-player-1.0.0-git5-20180115/share/man/
strip is /nix/store/skd6ix5ipkyhxzq7naylj4digawakl4j-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/hh4crnm5sc2y20ww9071ipcqrs3j6pyp-sayonara-player-1.0.0-git5-20180115/lib  /nix/store/hh4crnm5sc2y20ww9071ipcqrs3j6pyp-sayonara-player-1.0.0-git5-20180115/bin
patching script interpreter paths in /nix/store/hh4crnm5sc2y20ww9071ipcqrs3j6pyp-sayonara-player-1.0.0-git5-20180115
checking for references to /build in /nix/store/hh4crnm5sc2y20ww9071ipcqrs3j6pyp-sayonara-player-1.0.0-git5-20180115...
postPatchMkspecs
/nix/store/hh4crnm5sc2y20ww9071ipcqrs3j6pyp-sayonara-player-1.0.0-git5-20180115

@deepfire
Copy link
Contributor Author

@joachifm, do you feel there are any other blockers remaining?

@joachifm joachifm merged commit f0d2baa into NixOS:master Feb 19, 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

3 participants