-
-
Notifications
You must be signed in to change notification settings - Fork 14.1k
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
phantomjs2: set QT_QPA_PLATFORM to allow use in daemons #34069
Conversation
resolves issues with Grafana email attachments Suggested in ariya/phantomjs#15217 (comment)
Better is to wait for phantomjs v2.1.3 which includes internal fix ariya/phantomjs@db349b4 I'll leave this open since I have no idea how long until 2.1.3 is released if anybody hits the issue though the commit in this PR can be cherry picked |
@GrahamcOfBorg build phantomjs2 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Success for system: x86_64-linux
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/bpjpk19hzfhxx1zqahiah0nldr1v75m7-phantomjs-2.1.1
shrinking /nix/store/bpjpk19hzfhxx1zqahiah0nldr1v75m7-phantomjs-2.1.1/bin/.phantomjs-wrapped
strip is /nix/store/mdyy001q67hiks0g24ra53z7ckm4jfr4-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/bpjpk19hzfhxx1zqahiah0nldr1v75m7-phantomjs-2.1.1/bin
patching script interpreter paths in /nix/store/bpjpk19hzfhxx1zqahiah0nldr1v75m7-phantomjs-2.1.1
checking for references to /tmp/nix-build-phantomjs-2.1.1.drv-0 in /nix/store/bpjpk19hzfhxx1zqahiah0nldr1v75m7-phantomjs-2.1.1...
postPatchMkspecs
postPatchMkspecs
/nix/store/bpjpk19hzfhxx1zqahiah0nldr1v75m7-phantomjs-2.1.1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Success for system: aarch64-linux
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/m40gy35d88nz4s9cknfnqpkzsvdbf93y-phantomjs-2.1.1
shrinking /nix/store/m40gy35d88nz4s9cknfnqpkzsvdbf93y-phantomjs-2.1.1/bin/.phantomjs-wrapped
strip is /nix/store/jwz859pxqj7sl2dbwvmxkx68jp774izb-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/m40gy35d88nz4s9cknfnqpkzsvdbf93y-phantomjs-2.1.1/bin
patching script interpreter paths in /nix/store/m40gy35d88nz4s9cknfnqpkzsvdbf93y-phantomjs-2.1.1
checking for references to /build in /nix/store/m40gy35d88nz4s9cknfnqpkzsvdbf93y-phantomjs-2.1.1...
postPatchMkspecs
postPatchMkspecs
/nix/store/m40gy35d88nz4s9cknfnqpkzsvdbf93y-phantomjs-2.1.1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Failure for system: x86_64-darwin
cannot build derivation '/nix/store/3bz85dj54hys06ls0fs97qkf834wydzy-hook.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/skgxashafxad1cl9gfvqrbazv5m2k33b-qtsvg-5.10.0.drv': 2 dependencies couldn't be built
cannot build derivation '/nix/store/rxlvjn7fqh223264wwyirlpldygin11v-qtxmlpatterns-5.10.0.drv': 2 dependencies couldn't be built
cannot build derivation '/nix/store/px4nnajjnmzhrzgihq2gxjklf7vfd6h0-qtdeclarative-5.10.0.drv': 4 dependencies couldn't be built
cannot build derivation '/nix/store/nnz50r45pcl2qkjwnln6mh2pwwh8f8zh-qtmultimedia-5.10.0.drv': 3 dependencies couldn't be built
cannot build derivation '/nix/store/5vzsv5dw9bvgcyysc3b3ckpl0w8asrwg-qtsensors-5.10.0.drv': 3 dependencies couldn't be built
cannot build derivation '/nix/store/29iivkf5q5a0iivf6d969224bqgjf1q1-qtlocation-5.10.0.drv': 3 dependencies couldn't be built
cannot build derivation '/nix/store/8df9j7znk1dgzza1hpvh729rqkzbjx50-qtwebkit-5.9.1.drv': 5 dependencies couldn't be built
cannot build derivation '/nix/store/d9j10a178v2xfz80s2qiwc3skr3d70j3-phantomjs-2.1.1.drv': 3 dependencies couldn't be built
error: build of '/nix/store/d9j10a178v2xfz80s2qiwc3skr3d70j3-phantomjs-2.1.1.drv' failed
Your fix can be removed then after the next upgrade of phantomjs. |
resolves issues with Grafana alert image attachments
Suggested in ariya/phantomjs#15217 (comment)
Grafana logs showed this:
Things done
build-use-sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)