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

various: {upgrade,drop} GStreamer 0.10 dependency #39985

Merged
merged 6 commits into from May 5, 2018

Conversation

jtojnar
Copy link
Contributor

@jtojnar jtojnar commented May 4, 2018

Motivation for this change

#39975

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.

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Attempted: libcanberra, opencv

Partial log (click to expand)

stripping (with command strip and flags -S) in /nix/store/x9ykl88b1dm2zbdhr1d6c2g36hx6fldd-opencv-2.4.13/lib  /nix/store/x9ykl88b1dm2zbdhr1d6c2g36hx6fldd-opencv-2.4.13/bin
patching script interpreter paths in /nix/store/x9ykl88b1dm2zbdhr1d6c2g36hx6fldd-opencv-2.4.13
checking for references to /build in /nix/store/x9ykl88b1dm2zbdhr1d6c2g36hx6fldd-opencv-2.4.13...
shrinking RPATHs of ELF executables and libraries in /nix/store/hb011ziqnrki1fbdr82mli3y74xng9km-opencv-2.4.13-dev
strip is /nix/store/gp7fylxwn18b7pl2c18ks89hsiaxyfvf-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/hb011ziqnrki1fbdr82mli3y74xng9km-opencv-2.4.13-dev/lib
patching script interpreter paths in /nix/store/hb011ziqnrki1fbdr82mli3y74xng9km-opencv-2.4.13-dev
checking for references to /build in /nix/store/hb011ziqnrki1fbdr82mli3y74xng9km-opencv-2.4.13-dev...
/nix/store/6vamk4695gv5s030rxvnwzza9r2gdkj0-libcanberra-0.30
/nix/store/x9ykl88b1dm2zbdhr1d6c2g36hx6fldd-opencv-2.4.13

@GrahamcOfBorg
Copy link

Success on x86_64-darwin (full log)

Attempted: opencv

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

Partial log (click to expand)

/nix/store/nslclfc12a613a6dcg307ssg0666kdis-opencv-2.4.13/lib/libopencv_ocl.2.4.13.dylib: fixing dylib
/nix/store/nslclfc12a613a6dcg307ssg0666kdis-opencv-2.4.13/lib/libopencv_photo.2.4.13.dylib: fixing dylib
/nix/store/nslclfc12a613a6dcg307ssg0666kdis-opencv-2.4.13/lib/libopencv_stitching.2.4.13.dylib: fixing dylib
/nix/store/nslclfc12a613a6dcg307ssg0666kdis-opencv-2.4.13/lib/libopencv_superres.2.4.13.dylib: fixing dylib
/nix/store/nslclfc12a613a6dcg307ssg0666kdis-opencv-2.4.13/lib/libopencv_video.2.4.13.dylib: fixing dylib
/nix/store/nslclfc12a613a6dcg307ssg0666kdis-opencv-2.4.13/lib/libopencv_videostab.2.4.13.dylib: fixing dylib
strip is /nix/store/kdff2gim6417493yha769kh00n63lnrw-cctools-binutils-darwin/bin/strip
stripping (with command strip and flags -S) in /nix/store/n6lm79cgs9rzwjm0qdfyd9wb89wjkn3x-opencv-2.4.13-dev/lib
patching script interpreter paths in /nix/store/n6lm79cgs9rzwjm0qdfyd9wb89wjkn3x-opencv-2.4.13-dev
/nix/store/nslclfc12a613a6dcg307ssg0666kdis-opencv-2.4.13

@GrahamcOfBorg
Copy link

Failure on x86_64-linux (full log)

Attempted: libcanberra, opencv

Partial log (click to expand)

[ 76%] Building CXX object modules/ocl/CMakeFiles/opencv_perf_ocl.dir/perf/perf_arithm.cpp.o
[ 76%] Building CXX object modules/ocl/CMakeFiles/opencv_perf_ocl.dir/perf/perf_bgfg.cpp.o
[ 77%] Building CXX object modules/ocl/CMakeFiles/opencv_perf_ocl.dir/perf/perf_blend.cpp.o
[ 77%] Building CXX object modules/ocl/CMakeFiles/opencv_perf_ocl.dir/perf/perf_brute_force_matcher.cpp.o
[ 77%] Building CXX object modules/ocl/CMakeFiles/opencv_perf_ocl.dir/perf/perf_calib3d.cpp.o
[ 77%] Building CXX object modules/ocl/CMakeFiles/opencv_perf_ocl.dir/perf/perf_canny.cpp.o
[ 77%] Building CXX object modules/ocl/CMakeFiles/opencv_perf_ocl.dir/perf/perf_color.cpp.o
[ 77%] Building CXX object modules/ocl/CMakeFiles/opencv_perf_ocl.dir/perf/perf_fft.cpp.o
building of '/nix/store/6f2i44g3q2mq5wga94wgpznan9yj5366-opencv-2.4.13.drv' timed out after 3600 seconds
error: build of '/nix/store/6f2i44g3q2mq5wga94wgpznan9yj5366-opencv-2.4.13.drv' failed

@jtojnar jtojnar changed the title {opencv,firefox,libcanberra}: {upgrade,drop} GStreamer 0.10 dependency various: {upgrade,drop} GStreamer 0.10 dependency May 4, 2018
According to 2.3.1 release notes: “All gstreamer grabber are removed from the application. The reason is the end of the support for gstreamer 0.10 in many distributions.”
@GrahamcOfBorg
Copy link

Success on x86_64-darwin (full log)

Attempted: opencv

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

Partial log (click to expand)

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnsupportedSystem = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnsupportedSystem = true; }
to ~/.config/nixpkgs/config.nix.


/nix/store/nslclfc12a613a6dcg307ssg0666kdis-opencv-2.4.13

@GrahamcOfBorg
Copy link

Failure on aarch64-linux (full log)

Attempted: libcanberra, opencv, qstopmotion

Partial log (click to expand)

[72/79] Building CXX object CMakeFiles/qstopmotion.dir/src/domain/animation/projectserializer.cpp.o
[73/79] Building CXX object CMakeFiles/qstopmotion.dir/src/frontends/qtfrontend/preferences/transformwidget.cpp.o
[74/79] Building CXX object CMakeFiles/qstopmotion.dir/src/frontends/qtfrontend/preferences/generalwidget.cpp.o
[75/79] Building CXX object CMakeFiles/qstopmotion.dir/src/domain/animation/scene.cpp.o
[76/79] Building CXX object CMakeFiles/qstopmotion.dir/src/frontends/qtfrontend/qtfrontend.cpp.o
[77/79] Building CXX object CMakeFiles/qstopmotion.dir/src/domain/animation/animationproject.cpp.o
[78/79] Building CXX object CMakeFiles/qstopmotion.dir/qstopmotion_autogen/mocs_compilation.cpp.o
ninja: build stopped: subcommand failed.
builder for '/nix/store/09zga2gisdjnmf0gms262kjg5480ib16-qstopmotion-2.3.2.drv' failed with exit code 1
�[31;1merror:�[0m build of '/nix/store/09zga2gisdjnmf0gms262kjg5480ib16-qstopmotion-2.3.2.drv' failed

@GrahamcOfBorg
Copy link

Success on x86_64-darwin (full log)

Attempted: opencv

The following builds were skipped because they don't evaluate on x86_64-darwin: baresip, libcanberra, qstopmotion

Partial log (click to expand)

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnsupportedSystem = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnsupportedSystem = true; }
to ~/.config/nixpkgs/config.nix.


/nix/store/nslclfc12a613a6dcg307ssg0666kdis-opencv-2.4.13

@GrahamcOfBorg
Copy link

Failure on aarch64-linux (full log)

Attempted: baresip, libcanberra, opencv, qstopmotion

Partial log (click to expand)

shrinking /nix/store/ji0fhjxawi5w445mrq7gdprl2499r84y-baresip-0.5.9/lib/baresip/modules/ice.so
shrinking /nix/store/ji0fhjxawi5w445mrq7gdprl2499r84y-baresip-0.5.9/lib/baresip/modules/turn.so
shrinking /nix/store/ji0fhjxawi5w445mrq7gdprl2499r84y-baresip-0.5.9/lib/baresip/modules/stun.so
shrinking /nix/store/ji0fhjxawi5w445mrq7gdprl2499r84y-baresip-0.5.9/lib/baresip/modules/dtmfio.so
shrinking /nix/store/ji0fhjxawi5w445mrq7gdprl2499r84y-baresip-0.5.9/bin/baresip
strip is /nix/store/gp7fylxwn18b7pl2c18ks89hsiaxyfvf-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/ji0fhjxawi5w445mrq7gdprl2499r84y-baresip-0.5.9/lib  /nix/store/ji0fhjxawi5w445mrq7gdprl2499r84y-baresip-0.5.9/bin
patching script interpreter paths in /nix/store/ji0fhjxawi5w445mrq7gdprl2499r84y-baresip-0.5.9
checking for references to /build in /nix/store/ji0fhjxawi5w445mrq7gdprl2499r84y-baresip-0.5.9...
�[31;1merror:�[0m build of '/nix/store/09zga2gisdjnmf0gms262kjg5480ib16-qstopmotion-2.3.2.drv' failed

@GrahamcOfBorg
Copy link

Failure on x86_64-linux (full log)

Attempted: libcanberra, opencv, qstopmotion

Partial log (click to expand)

In file included from /build/source/modules/core/include/opencv2/core/gpumat.hpp:49:0,
                 from /build/source/modules/ts/include/opencv2/ts/gpu_test.hpp:47,
                 from /build/source/modules/nonfree/test/test_precomp.hpp:17,
                 from /build/source/modules/nonfree/test/test_detectors.cpp:43:
/build/source/modules/core/include/opencv2/core/cuda_devptrs.hpp:138:61: note: declared here
         template <typename T> struct __CV_GPU_DEPR_BEFORE__ DevMem2D_ : public PtrStepSz<T>
                                                             ^~~~~~~~~
[ 81%] Building CXX object modules/nonfree/CMakeFiles/opencv_test_nonfree.dir/test/test_features2d.cpp.o
building of '/nix/store/6f2i44g3q2mq5wga94wgpznan9yj5366-opencv-2.4.13.drv' timed out after 3600 seconds
error: build of '/nix/store/6f2i44g3q2mq5wga94wgpznan9yj5366-opencv-2.4.13.drv' failed

@GrahamcOfBorg
Copy link

Failure on x86_64-linux (full log)

Attempted: baresip, libcanberra, opencv, qstopmotion

Partial log (click to expand)

[ 76%] Building CXX object modules/ocl/CMakeFiles/opencv_perf_ocl.dir/perf/main.cpp.o
[ 76%] Building CXX object modules/ocl/CMakeFiles/opencv_perf_ocl.dir/perf/perf_arithm.cpp.o
[ 76%] Building CXX object modules/ocl/CMakeFiles/opencv_perf_ocl.dir/perf/perf_bgfg.cpp.o
[ 77%] Building CXX object modules/ocl/CMakeFiles/opencv_perf_ocl.dir/perf/perf_blend.cpp.o
[ 77%] Building CXX object modules/ocl/CMakeFiles/opencv_perf_ocl.dir/perf/perf_brute_force_matcher.cpp.o
[ 77%] Building CXX object modules/ocl/CMakeFiles/opencv_perf_ocl.dir/perf/perf_calib3d.cpp.o
[ 77%] Building CXX object modules/ocl/CMakeFiles/opencv_perf_ocl.dir/perf/perf_canny.cpp.o
[ 77%] Building CXX object modules/ocl/CMakeFiles/opencv_perf_ocl.dir/perf/perf_color.cpp.o
building of '/nix/store/6f2i44g3q2mq5wga94wgpznan9yj5366-opencv-2.4.13.drv' timed out after 3600 seconds
error: build of '/nix/store/6f2i44g3q2mq5wga94wgpznan9yj5366-opencv-2.4.13.drv' failed

@jtojnar jtojnar merged commit 3be8954 into NixOS:master May 5, 2018
@jtojnar jtojnar deleted the drop-legacy-gst branch May 5, 2018 22:19
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

2 participants