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

xidlehook: 0.4.6 -> 0.4.8 #41094

Merged
merged 1 commit into from Jun 9, 2018
Merged

xidlehook: 0.4.6 -> 0.4.8 #41094

merged 1 commit into from Jun 9, 2018

Conversation

jD91mZM2
Copy link
Member

This does not build yet.
Blocked by #40356.

@xeji
Copy link
Contributor

xeji commented May 26, 2018

marking this as WIP, see above.

@jD91mZM2
Copy link
Member Author

jD91mZM2 commented Jun 8, 2018

Should be possible now since we merged rustc 1.26.2

@xeji
Copy link
Contributor

xeji commented Jun 8, 2018

@GrahamcOfBorg build xidlehook

@GrahamcOfBorg
Copy link

Failure on x86_64-darwin (full log)

Attempted: xidlehook

Partial log (click to expand)

   |     ^^^^^^^^ Could not find `signalfd` in `sys`

error: aborting due to previous error

For more information about this error, try `rustc --explain E0432`.
error: Could not compile `xidlehook`.

To learn more, run the command again with --verbose.
builder for '/nix/store/qjsx56zv43yv4r9rppcxnm2fs58px62c-xidlehook-0.4.7.drv' failed with exit code 101
error: build of '/nix/store/qjsx56zv43yv4r9rppcxnm2fs58px62c-xidlehook-0.4.7.drv' failed

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: xidlehook

Partial log (click to expand)

shrinking RPATHs of ELF executables and libraries in /nix/store/yg1aimcv9s5ark96kfpyifswj4kmgzqi-xidlehook-0.4.7
shrinking /nix/store/yg1aimcv9s5ark96kfpyifswj4kmgzqi-xidlehook-0.4.7/bin/xidlehook
shrinking RPATHs of ELF executables and libraries in /nix/store/yg1aimcv9s5ark96kfpyifswj4kmgzqi-xidlehook-0.4.7
shrinking /nix/store/yg1aimcv9s5ark96kfpyifswj4kmgzqi-xidlehook-0.4.7/bin/xidlehook
strip is /nix/store/21ymadblbmsbb2bk4q7gl4kjasp8zmgd-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/yg1aimcv9s5ark96kfpyifswj4kmgzqi-xidlehook-0.4.7/bin
patching script interpreter paths in /nix/store/yg1aimcv9s5ark96kfpyifswj4kmgzqi-xidlehook-0.4.7
checking for references to /build in /nix/store/yg1aimcv9s5ark96kfpyifswj4kmgzqi-xidlehook-0.4.7...
warning: working around a Linux kernel bug by creating a hole of 1826816 bytes in ‘/nix/store/yg1aimcv9s5ark96kfpyifswj4kmgzqi-xidlehook-0.4.7/bin/xidlehook’
/nix/store/yg1aimcv9s5ark96kfpyifswj4kmgzqi-xidlehook-0.4.7

@xeji
Copy link
Contributor

xeji commented Jun 8, 2018

@jD91mZM2 please have a look at the darwin failure.

@GrahamcOfBorg
Copy link

Failure on aarch64-linux (full log)

Attempted: xidlehook

Partial log (click to expand)

cannot build derivation '/nix/store/d3rwisc8c7v8014h4xb7fcgz8rbcqbfp-rust_serde_derive-1.0.18.drv': 6 dependencies couldn't be built
cannot build derivation '/nix/store/9sa8yv3xwz2sb2n27gpsilrixp3q9sp5-rust_crates-io-0.11.0.drv': 30 dependencies couldn't be built
cannot build derivation '/nix/store/shby75cn3sfr3d0jjm00m1qcg1lq4gyk-rust_docopt-0.8.1.drv': 19 dependencies couldn't be built
cannot build derivation '/nix/store/1rq5aq6mm6lq4h4ks532xfgh02yk3gwn-rust_git2-curl-0.7.0.drv': 20 dependencies couldn't be built
cannot build derivation '/nix/store/9mj7md06x9xwy73nv7msk2l50np8yzzn-rust_ignore-0.2.2.drv': 18 dependencies couldn't be built
cannot build derivation '/nix/store/fws2aw2iw7r0fbsfjz5gy9nbck5m98ff-rust_cargo-0.22.0.drv': 78 dependencies couldn't be built
cannot build derivation '/nix/store/kss3l6r2xhbaa00jdwz0r09ggdcfkhf9-rust_cargo-vendor-0.1.13.drv': 79 dependencies couldn't be built
cannot build derivation '/nix/store/f1zj46fhzy7wa5myqv4axafp4hns1kcl-xidlehook-0.4.7-vendor.drv': 2 dependencies couldn't be built
cannot build derivation '/nix/store/yyasmqhmd362p417720bgmwj3m061yaj-xidlehook-0.4.7.drv': 3 dependencies couldn't be built
error: build of '/nix/store/yyasmqhmd362p417720bgmwj3m061yaj-xidlehook-0.4.7.drv' failed

@jD91mZM2
Copy link
Member Author

jD91mZM2 commented Jun 8, 2018

Thank you, I will. Sorry for the delay.

@jD91mZM2 jD91mZM2 force-pushed the xidlehook branch 2 times, most recently from 1642db1 to 09d2d30 Compare June 8, 2018 19:58
@jD91mZM2 jD91mZM2 changed the title xidlehook: 0.4.6 -> 0.4.7 xidlehook: 0.4.6 -> 0.4.8 Jun 8, 2018
@jD91mZM2
Copy link
Member Author

jD91mZM2 commented Jun 8, 2018

Made the signalfd stuff optional. Although maybe I should just disable darwin support. You can't use X11 on darwin either way, right?

@xeji
Copy link
Contributor

xeji commented Jun 8, 2018

Actually there's the xquartz X11 server for MacOS.

@xeji
Copy link
Contributor

xeji commented Jun 8, 2018

@GrahamcOfBorg build xidlehook

@GrahamcOfBorg
Copy link

Failure on x86_64-darwin (full log)

Attempted: xidlehook

Partial log (click to expand)

   |     ^^^^^^^^ Could not find `signalfd` in `sys`

error: aborting due to previous error

For more information about this error, try `rustc --explain E0432`.
error: Could not compile `xidlehook`.

To learn more, run the command again with --verbose.
builder for '/nix/store/53968v91zg8y174ja3d9rl66kq8bbhx0-xidlehook-0.4.8.drv' failed with exit code 101
error: build of '/nix/store/53968v91zg8y174ja3d9rl66kq8bbhx0-xidlehook-0.4.8.drv' failed

@jD91mZM2
Copy link
Member Author

jD91mZM2 commented Jun 8, 2018

Hmm, how do you pass the cargoBuildFlags to testing?

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: xidlehook

Partial log (click to expand)

shrinking RPATHs of ELF executables and libraries in /nix/store/acyf28yzzdgck1nls6c0dzy4midrnamg-xidlehook-0.4.8
shrinking /nix/store/acyf28yzzdgck1nls6c0dzy4midrnamg-xidlehook-0.4.8/bin/xidlehook
shrinking RPATHs of ELF executables and libraries in /nix/store/acyf28yzzdgck1nls6c0dzy4midrnamg-xidlehook-0.4.8
shrinking /nix/store/acyf28yzzdgck1nls6c0dzy4midrnamg-xidlehook-0.4.8/bin/xidlehook
strip is /nix/store/21ymadblbmsbb2bk4q7gl4kjasp8zmgd-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/acyf28yzzdgck1nls6c0dzy4midrnamg-xidlehook-0.4.8/bin
patching script interpreter paths in /nix/store/acyf28yzzdgck1nls6c0dzy4midrnamg-xidlehook-0.4.8
checking for references to /build in /nix/store/acyf28yzzdgck1nls6c0dzy4midrnamg-xidlehook-0.4.8...
warning: working around a Linux kernel bug by creating a hole of 1826816 bytes in ‘/nix/store/acyf28yzzdgck1nls6c0dzy4midrnamg-xidlehook-0.4.8/bin/xidlehook’
/nix/store/acyf28yzzdgck1nls6c0dzy4midrnamg-xidlehook-0.4.8

@xeji
Copy link
Contributor

xeji commented Jun 8, 2018

According to

checkPhase = args.checkPhase or ''
cargoBuildFlags are ignored in checkPhase. Don't know if that's a bug or a feature.
Anyway, you would probably have to override checkPhase and try to pass the flags to cargo test directly. Not idea if that would work though. Can't find anything similar in nixpkgs.

@GrahamcOfBorg
Copy link

Failure on aarch64-linux (full log)

Attempted: xidlehook

Partial log (click to expand)

cannot build derivation '/nix/store/d3rwisc8c7v8014h4xb7fcgz8rbcqbfp-rust_serde_derive-1.0.18.drv': 6 dependencies couldn't be built
cannot build derivation '/nix/store/9sa8yv3xwz2sb2n27gpsilrixp3q9sp5-rust_crates-io-0.11.0.drv': 30 dependencies couldn't be built
cannot build derivation '/nix/store/shby75cn3sfr3d0jjm00m1qcg1lq4gyk-rust_docopt-0.8.1.drv': 19 dependencies couldn't be built
cannot build derivation '/nix/store/1rq5aq6mm6lq4h4ks532xfgh02yk3gwn-rust_git2-curl-0.7.0.drv': 20 dependencies couldn't be built
cannot build derivation '/nix/store/9mj7md06x9xwy73nv7msk2l50np8yzzn-rust_ignore-0.2.2.drv': 18 dependencies couldn't be built
cannot build derivation '/nix/store/fws2aw2iw7r0fbsfjz5gy9nbck5m98ff-rust_cargo-0.22.0.drv': 78 dependencies couldn't be built
cannot build derivation '/nix/store/kss3l6r2xhbaa00jdwz0r09ggdcfkhf9-rust_cargo-vendor-0.1.13.drv': 79 dependencies couldn't be built
cannot build derivation '/nix/store/b1f9ac8b3390hky2lbjyxbg11knv92ks-xidlehook-0.4.8-vendor.drv': 2 dependencies couldn't be built
cannot build derivation '/nix/store/ws3lj916xh3h2p0wlzjnr4bs7clq01af-xidlehook-0.4.8.drv': 3 dependencies couldn't be built
error: build of '/nix/store/ws3lj916xh3h2p0wlzjnr4bs7clq01af-xidlehook-0.4.8.drv' failed

@jD91mZM2
Copy link
Member Author

jD91mZM2 commented Jun 9, 2018

Sorry for being so late once again, had to head off to bed. Timezones suck. Disabled tests since I don't have any anyway

@xeji
Copy link
Contributor

xeji commented Jun 9, 2018

@GrahamcOfBorg build xidlehook

@GrahamcOfBorg
Copy link

Success on x86_64-darwin (full log)

Attempted: xidlehook

Partial log (click to expand)

   Compiling failure v0.1.1
   Compiling xidlehook v0.4.8 (file:///private/tmp/nix-build-xidlehook-0.4.8.drv-0/source)
    Finished release [optimized] target(s) in 22.26 secs
installing
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/r8hmgqk6alahk2wsaq2ag04z2hiam3wr-xidlehook-0.4.8
strip is /nix/store/yyak5sjv68n9vdgnkd2cb5djk1l9sqj5-cctools-binutils-darwin/bin/strip
stripping (with command strip and flags -S) in /nix/store/r8hmgqk6alahk2wsaq2ag04z2hiam3wr-xidlehook-0.4.8/bin
patching script interpreter paths in /nix/store/r8hmgqk6alahk2wsaq2ag04z2hiam3wr-xidlehook-0.4.8
/nix/store/r8hmgqk6alahk2wsaq2ag04z2hiam3wr-xidlehook-0.4.8

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: xidlehook

Partial log (click to expand)

shrinking RPATHs of ELF executables and libraries in /nix/store/krnnxqqn4sw32jqrjybzhcjg3p4z480i-xidlehook-0.4.8
shrinking /nix/store/krnnxqqn4sw32jqrjybzhcjg3p4z480i-xidlehook-0.4.8/bin/xidlehook
shrinking RPATHs of ELF executables and libraries in /nix/store/krnnxqqn4sw32jqrjybzhcjg3p4z480i-xidlehook-0.4.8
shrinking /nix/store/krnnxqqn4sw32jqrjybzhcjg3p4z480i-xidlehook-0.4.8/bin/xidlehook
strip is /nix/store/21ymadblbmsbb2bk4q7gl4kjasp8zmgd-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/krnnxqqn4sw32jqrjybzhcjg3p4z480i-xidlehook-0.4.8/bin
patching script interpreter paths in /nix/store/krnnxqqn4sw32jqrjybzhcjg3p4z480i-xidlehook-0.4.8
checking for references to /build in /nix/store/krnnxqqn4sw32jqrjybzhcjg3p4z480i-xidlehook-0.4.8...
warning: working around a Linux kernel bug by creating a hole of 1826816 bytes in ‘/nix/store/krnnxqqn4sw32jqrjybzhcjg3p4z480i-xidlehook-0.4.8/bin/xidlehook’
/nix/store/krnnxqqn4sw32jqrjybzhcjg3p4z480i-xidlehook-0.4.8

@xeji xeji merged commit b707632 into NixOS:master Jun 9, 2018
@GrahamcOfBorg
Copy link

Failure on aarch64-linux (full log)

Attempted: xidlehook

Partial log (click to expand)

cannot build derivation '/nix/store/d3rwisc8c7v8014h4xb7fcgz8rbcqbfp-rust_serde_derive-1.0.18.drv': 6 dependencies couldn't be built
cannot build derivation '/nix/store/9sa8yv3xwz2sb2n27gpsilrixp3q9sp5-rust_crates-io-0.11.0.drv': 30 dependencies couldn't be built
cannot build derivation '/nix/store/shby75cn3sfr3d0jjm00m1qcg1lq4gyk-rust_docopt-0.8.1.drv': 19 dependencies couldn't be built
cannot build derivation '/nix/store/1rq5aq6mm6lq4h4ks532xfgh02yk3gwn-rust_git2-curl-0.7.0.drv': 20 dependencies couldn't be built
cannot build derivation '/nix/store/9mj7md06x9xwy73nv7msk2l50np8yzzn-rust_ignore-0.2.2.drv': 18 dependencies couldn't be built
cannot build derivation '/nix/store/fws2aw2iw7r0fbsfjz5gy9nbck5m98ff-rust_cargo-0.22.0.drv': 78 dependencies couldn't be built
cannot build derivation '/nix/store/kss3l6r2xhbaa00jdwz0r09ggdcfkhf9-rust_cargo-vendor-0.1.13.drv': 79 dependencies couldn't be built
cannot build derivation '/nix/store/b1f9ac8b3390hky2lbjyxbg11knv92ks-xidlehook-0.4.8-vendor.drv': 2 dependencies couldn't be built
cannot build derivation '/nix/store/9xqf54lzwmg5x136m4lw77nf5i4rpvjw-xidlehook-0.4.8.drv': 3 dependencies couldn't be built
error: build of '/nix/store/9xqf54lzwmg5x136m4lw77nf5i4rpvjw-xidlehook-0.4.8.drv' failed

orivej added a commit that referenced this pull request Jun 9, 2018
* master: (71 commits)
  xen: enable parallel building
  spice: 0.13.3 -> 0.14.0
  powerline-rs: 0.1.7 -> 0.1.8 (#41736)
  xidlehook: 0.4.6 -> 0.4.8 (#41094)
  serf: update scons patch, enable kerberos on darwin
  firefox-bin: Add ffmpeg to lib path
  firefox-beta-bin: 61.0b10 -> 61.0b12
  firefox-devedition-bin: 61.0b10 -> 61.0b12
  wireguard-go: assign yegortimoshenko as maintainer
  wireguard-go: 0.0.20180519 -> 0.0.20180531
  zfs: Fix "zfs-sync" for modern systemd
  nixos/memcached: added simple set/get test
  jenkins: 2.89.4 -> 2.107.3 (#41618)
  focuswriter: 1.6.12 -> 1.6.13 (#41567)
  ne: 3.0.1 -> 3.1.1 (#41536)
  libpqxx: 6.2.3 -> 6.2.4 (#41547)
  mate.mate-applets: 1.20.1 -> 1.20.2 (#41546)
  mate.mate-themes: 3.22.16 -> 3.22.17 (#41541)
  nixos/munge: run munge as user munge instead of root. (#41509)
  pstoedit: 3.71 -> 3.73 (#41528)
  ...
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