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

sleepyhead: init at 1.0.0-beta #38656

Merged
merged 1 commit into from Apr 19, 2018
Merged

sleepyhead: init at 1.0.0-beta #38656

merged 1 commit into from Apr 19, 2018

Conversation

krav
Copy link
Contributor

@krav krav commented Apr 9, 2018

Motivation for this change

This adds SleepyHead, a GUI tool to review and explore data produced by CPAP and related machines.

Note that this uses a git revision instead of a release since the latest tag 1.0.0-beta2 is over a year old and doesn't seem to build with the current qt5.

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.

By git revision since last tag 1.0.0-beta2 is over a year old and
doesn't seem to build
@matthewbauer
Copy link
Member

@GrahamcOfBorg build sleepyhead

@GrahamcOfBorg
Copy link

No attempt on x86_64-darwin (full log)

The following builds were skipped because they don't evaluate on x86_64-darwin: sleepyhead

Partial log (click to expand)

error: while evaluating the attribute 'buildInputs' of the derivation 'sleepyhead-1.0.0-beta-git' at /private/var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/lnl7-mac/pkgs/stdenv/generic/make-derivation.nix:148:11:
while evaluating the attribute 'buildInputs' of the derivation 'qtwebkit-5.9.1' at /private/var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/lnl7-mac/pkgs/stdenv/generic/make-derivation.nix:148:11:
while evaluating the attribute 'buildInputs' of the derivation 'gstreamer-1.14.0' at /private/var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/lnl7-mac/pkgs/stdenv/generic/make-derivation.nix:148:11:
while evaluating 'getOutput' at /private/var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/lnl7-mac/lib/attrsets.nix:450:23, called from undefined position:
while evaluating anonymous function at /private/var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/lnl7-mac/pkgs/stdenv/generic/make-derivation.nix:97:17, called from undefined position:
while evaluating 'callPackageWith' at /private/var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/lnl7-mac/lib/customisation.nix:113:35, called from /private/var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/lnl7-mac/pkgs/top-level/all-packages.nix:13692:12:
while evaluating 'makeOverridable' at /private/var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/lnl7-mac/lib/customisation.nix:72:24, called from /private/var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/lnl7-mac/lib/customisation.nix:117:8:
while evaluating anonymous function at /private/var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/lnl7-mac/pkgs/os-specific/linux/libcap/default.nix:1:1, called from /private/var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/lnl7-mac/lib/customisation.nix:74:12:
assertion failed at /private/var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/lnl7-mac/pkgs/os-specific/linux/libcap/default.nix:2:1

@GrahamcOfBorg
Copy link

Failure on aarch64-linux (full log)

Attempted: sleepyhead

Partial log (click to expand)

make[1]: Leaving directory '/build/qtwebkit-opensource-src-5.9.1/Source/WebKit2'
cd Source/ && ( test -e Makefile.QtWebKit || /nix/store/rl71yj5vn76y3ivzlfk5rxkwh999gzxn-qtbase-5.10.1-dev/bin/qmake -o Makefile.QtWebKit /build/qtwebkit-opensource-src-5.9.1/Source/QtWebKit.pro PREFIX=/nix/store/jiixppzsl15nk0jyxfdrm7pnp8p7cv4m-qtwebkit-5.9.1 NIX_OUTPUT_OUT=/nix/store/jiixppzsl15nk0jyxfdrm7pnp8p7cv4m-qtwebkit-5.9.1 NIX_OUTPUT_DEV=/nix/store/khdd2xwms05ci1gm5kpjpmd68yvg3vc5-qtwebkit-5.9.1-dev NIX_OUTPUT_BIN=/nix/store/jiixppzsl15nk0jyxfdrm7pnp8p7cv4m-qtwebkit-5.9.1 NIX_OUTPUT_DOC=/nix/store/khdd2xwms05ci1gm5kpjpmd68yvg3vc5-qtwebkit-5.9.1-dev/share/doc/qt-5.10 NIX_OUTPUT_QML=/nix/store/jiixppzsl15nk0jyxfdrm7pnp8p7cv4m-qtwebkit-5.9.1/lib/qt-5.10/qml NIX_OUTPUT_PLUGIN=/nix/store/jiixppzsl15nk0jyxfdrm7pnp8p7cv4m-qtwebkit-5.9.1/lib/qt-5.10/plugins CONFIG+=release ) && make -f Makefile.QtWebKit
make[1]: Entering directory '/build/qtwebkit-opensource-src-5.9.1/Source'
( test -e Makefile.api || /nix/store/rl71yj5vn76y3ivzlfk5rxkwh999gzxn-qtbase-5.10.1-dev/bin/qmake -o Makefile.api /build/qtwebkit-opensource-src-5.9.1/Source/api.pri PREFIX=/nix/store/jiixppzsl15nk0jyxfdrm7pnp8p7cv4m-qtwebkit-5.9.1 NIX_OUTPUT_OUT=/nix/store/jiixppzsl15nk0jyxfdrm7pnp8p7cv4m-qtwebkit-5.9.1 NIX_OUTPUT_DEV=/nix/store/khdd2xwms05ci1gm5kpjpmd68yvg3vc5-qtwebkit-5.9.1-dev NIX_OUTPUT_BIN=/nix/store/jiixppzsl15nk0jyxfdrm7pnp8p7cv4m-qtwebkit-5.9.1 NIX_OUTPUT_DOC=/nix/store/khdd2xwms05ci1gm5kpjpmd68yvg3vc5-qtwebkit-5.9.1-dev/share/doc/qt-5.10 NIX_OUTPUT_QML=/nix/store/jiixppzsl15nk0jyxfdrm7pnp8p7cv4m-qtwebkit-5.9.1/lib/qt-5.10/qml NIX_OUTPUT_PLUGIN=/nix/store/jiixppzsl15nk0jyxfdrm7pnp8p7cv4m-qtwebkit-5.9.1/lib/qt-5.10/plugins CONFIG+=release ) && make -f Makefile.api
make[2]: Entering directory '/build/qtwebkit-opensource-src-5.9.1/Source'
rm -f libQt5WebKit.so.5.9.1 libQt5WebKit.so libQt5WebKit.so.5 libQt5WebKit.so.5.9
g++ -Wl,--gc-sections -Wl,--no-undefined -Wl,--no-undefined -fdebug-types-section -Wl,-O1 -Wl,--enable-new-dtags -Wl,-z,origin -Wl,-rpath,\$ORIGIN/../../c4qzr14895mb4clkk4jm91rpsjqhh11r-qtbase-5.10.1/lib -shared -Wl,-soname,libQt5WebKit.so.5 -o libQt5WebKit.so.5.9.1   -L/nix/store/2mh6bd3z41fbfg01fbra2ah14k3lzg5h-libGL-1.0.0/lib -L/nix/store/c4qzr14895mb4clkk4jm91rpsjqhh11r-qtbase-5.10.1/lib -lQt5Gui -L/nix/store/2mh6bd3z41fbfg01fbra2ah14k3lzg5h-libGL-1.0.0/lib -L/lib -lQt5Core -lpthread -lQt5Network -L/lib -lQt5Core -lpthread -lQt5Core -lpthread -lpthread -Wl,-whole-archive -lWebKit1 -Wl,-no-whole-archive -L/build/qtwebkit-opensource-src-5.9.1/Source/WebKit/ -Wl,-whole-archive -lWebKit2 -Wl,-no-whole-archive -L/build/qtwebkit-opensource-src-5.9.1/Source/WebKit2/ -lrt -Wl,-whole-archive -lWebCore -Wl,-no-whole-archive -L/build/qtwebkit-opensource-src-5.9.1/Source/WebCore/ -lz -lXrender -lXcomposite -lXrender -ljpeg -lpng -lwebp -Wl,-whole-archive -lANGLE -Wl,-no-whole-archive -L/build/qtwebkit-opensource-src-5.9.1/Source/ThirdParty/ANGLE/ -Wl,-whole-archive -lleveldb -Wl,-no-whole-archive -L/build/qtwebkit-opensource-src-5.9.1/Source/ThirdParty/leveldb/ -Wl,-whole-archive -lJavaScriptCore -Wl,-no-whole-archive -L/build/qtwebkit-opensource-src-5.9.1/Source/JavaScriptCore/ -Wl,-whole-archive -lWTF -Wl,-no-whole-archive -L/build/qtwebkit-opensource-src-5.9.1/Source/WTF/ -lpthread -lXext -lX11 -lm -L/nix/store/zp0v7xml248pjk51sjfpm26rjzqgvzcj-libX11-1.6.5/lib -lX11 -L/nix/store/2hzpgjiqkh4a9pq9lqszmj0w8j5806fi-libxml2-2.9.7/lib -L/nix/store/ydcrl83jy9jpzdvag5k514rmn6jqg8vw-libxslt-1.1.32/lib -lxslt -lxml2 -lz -lm -ldl -lm -lxml2 -lxml2 -L/nix/store/yn3bbw1sxg19h07wzn16k0ja58wr9yiz-glib-2.56.0/lib -lglib-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -L/nix/store/y1ayc4fzbdh5j5dv221a2xzz8xvza9pw-gstreamer-1.14.0/lib -lgstreamer-1.0 -lgobject-2.0 -lglib-2.0 -L/nix/store/68yl8986fw7qp1g06x1c8rk348m5a7h0-gst-plugins-base-1.14.0/lib -lgstapp-1.0 -lgstbase-1.0 -lgstreamer-1.0 -lgobject-2.0 -lglib-2.0 -lgstbase-1.0 -lgstreamer-1.0 -lgobject-2.0 -lglib-2.0 -lgstpbutils-1.0 -lgstreamer-1.0 -lgobject-2.0 -lglib-2.0 -lgstreamer-1.0 -lgobject-2.0 -lglib-2.0 -lgstvideo-1.0 -lgstbase-1.0 -lgstreamer-1.0 -lgobject-2.0 -lglib-2.0 -lgstaudio-1.0 -lgstbase-1.0 -lgstreamer-1.0 -lgobject-2.0 -lglib-2.0 -L/nix/store/xrlhdyzs3v7iwyqkbam6xvkgmydxlwp6-sqlite-3.22.0/lib -lsqlite3 -L/nix/store/00f60wxmk51gbmfy7qcf15l8mvcilsyk-icu4c-59.1/lib -licui18n -licuuc -licudata -L/nix/store/sb7qljp5l7n6mxrd61ia1xbjdlip3nx9-qtsensors-5.10.1/lib -lQt5Sensors -L/nix/store/c4qzr14895mb4clkk4jm91rpsjqhh11r-qtbase-5.10.1/lib -lQt5Core -lpthread -L/nix/store/nxx2c5b7hyds55x4kwrvgyrlkvj1z76l-qtlocation-5.10.1/lib -lQt5Positioning -L/nix/store/c4qzr14895mb4clkk4jm91rpsjqhh11r-qtbase-5.10.1/lib -lQt5Core -lpthread -L/nix/store/ly3pxs3hgjja1pdazklw7dpi0l82ch9m-qtdeclarative-5.10.1/lib -lQt5Quick -L/nix/store/2mh6bd3z41fbfg01fbra2ah14k3lzg5h-libGL-1.0.0/lib -L/lib -lQt5Qml -L/nix/store/c4qzr14895mb4clkk4jm91rpsjqhh11r-qtbase-5.10.1/lib -L/lib -lQt5Gui -lQt5Network -lQt5Core -lpthread -lQt5Qml -L/nix/store/c4qzr14895mb4clkk4jm91rpsjqhh11r-qtbase-5.10.1/lib -lQt5Network -L/lib -lQt5Core -lpthread -lQt5Network -L/lib -lQt5Core -lpthread -lQt5Gui -L/nix/store/2mh6bd3z41fbfg01fbra2ah14k3lzg5h-libGL-1.0.0/lib -L/lib -lQt5Core -lpthread -lQt5Sql -L/lib -lQt5Core -lpthread -lQt5Core -lpthread -L/nix/store/b6phf6p7x06i297sr2sgzlyfg0ay75rs-libglvnd-1.0.0/lib -lGL
building of '/nix/store/kc2rq5rd4086l0slrdrb140dyf8nj0pb-qtwebkit-5.9.1.drv' timed out after 3600 seconds
cannot build derivation '/nix/store/xy2zqjw29a4zlgbm730ad7cgrrxfadav-sleepyhead-1.0.0-beta-git.drv': 1 dependencies couldn't be built
�[31;1merror:�[0m build of '/nix/store/xy2zqjw29a4zlgbm730ad7cgrrxfadav-sleepyhead-1.0.0-beta-git.drv' failed

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: sleepyhead

Partial log (click to expand)

post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/a93imifwcrz114c521ax9amq5nsp51v5-sleepyhead-1.0.0-beta-git
shrinking /nix/store/a93imifwcrz114c521ax9amq5nsp51v5-sleepyhead-1.0.0-beta-git/bin/SleepyHead
strip is /nix/store/j75dgadrff2d1fyc4fczmcgqkid2imdx-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/a93imifwcrz114c521ax9amq5nsp51v5-sleepyhead-1.0.0-beta-git/bin
patching script interpreter paths in /nix/store/a93imifwcrz114c521ax9amq5nsp51v5-sleepyhead-1.0.0-beta-git
checking for references to /build in /nix/store/a93imifwcrz114c521ax9amq5nsp51v5-sleepyhead-1.0.0-beta-git...
postPatchMkspecs
postPatchMkspecs
/nix/store/a93imifwcrz114c521ax9amq5nsp51v5-sleepyhead-1.0.0-beta-git

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

4 participants