Running nixpkgs-update (https://github.com/NixOS/infra/blob/main/non-critical-infra/modules/nixpkgs-update/README.md) with UPDATE_INFO: emgucv 4.13.0 -> 5.0.0 https://github.com/emgucv/emgucv/releases attrpath: emgucv Checking auto update branch... [version] [version] generic version rewriter does not support multiple hashes [rustCrateVersion] [rustCrateVersion] No cargoHash found [golangModuleVersion] [golangModuleVersion] Not a buildGoModule package with vendorHash [npmDepsVersion] [npmDepsVersion] No npmDepsHash [updateScript] [updateScript] Success [updateScript] these 2 derivations will be built: /nix/store/za1a8n4cn1wffjzmijanfxq5l0xw4jiw-update-emgucv.drv /nix/store/dcqjlagwjg0wxrvwy6s8vp1smaafsy34-packages.json.drv building '/nix/store/za1a8n4cn1wffjzmijanfxq5l0xw4jiw-update-emgucv.drv'... building '/nix/store/dcqjlagwjg0wxrvwy6s8vp1smaafsy34-packages.json.drv'... Going to be running update for following packages: - emgucv-4.13.0 Press Enter key to continue... Running update for: Enqueuing group of 1 packages - emgucv-4.13.0: UPDATING ... - emgucv-4.13.0: DONE. Packages updated! Diff after rewrites: diff --git a/pkgs/by-name/em/emgucv/package.nix b/pkgs/by-name/em/emgucv/package.nix index 8770d9ef8673..0c252091fea3 100644 --- a/pkgs/by-name/em/emgucv/package.nix +++ b/pkgs/by-name/em/emgucv/package.nix @@ -29,13 +29,13 @@ let opencv = fetchFromGitHub { owner = "emgucv"; repo = "opencv"; - rev = "156f87e379445f631f646ebb26b566114fa5074c"; - hash = "sha256-JftBAzHsnk3U+6PZhk0/Q+5E8KHLNaYx69R+SE+Lr8U="; + rev = "2b862f17fc625948d75840300a3837c4d0defa7a"; + hash = "sha256-/kJUplXlrVK0Vl/nWD6+lzrKxHC90FLI26RwXSIfPUk="; }; in stdenv.mkDerivation (finalAttrs: { pname = "emgucv"; - version = "4.13.0"; + version = "5.0.0"; __structuredAttrs = true; strictDeps = true; @@ -44,7 +44,7 @@ stdenv.mkDerivation (finalAttrs: { owner = "emgucv"; repo = "emgucv"; tag = finalAttrs.version; - hash = "sha256-SDI+QWAK4bNtto4WkC7ii48MW9qlhJUdlfR50hhuk5Y="; + hash = "sha256-Obhp4cMkgCBKKdU6e1Q3bxBn/MUaVSqhRfeNGEvzxq8="; }; postUnpack = '' No auto update branch exists Received ExitFailure 1 when running Raw command: nix-build --option sandbox true --arg config "{ allowUnfree = true; allowAliases = false; }" --arg overlays "[ ]" -A emgucv nix build failed. In file included from /build/source/Emgu.CV.Extern/stitching/stitching_c.h:14, from /build/source/Emgu.CV.Extern/vector_CameraParams.h:17, from /build/source/Emgu.CV.Extern/vector_CameraParams.cpp:12: /build/source/Emgu.CV.Extern/features/features_c.h:12:10: fatal error: opencv2/imgproc/imgproc.hpp: No such file or directory 12 | #include "opencv2/imgproc/imgproc.hpp" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ compilation terminated. In file included from /build/source/Emgu.CV.Extern/emgu_c.cpp:7: /build/source/Emgu.CV.Extern/emgu_c.h:15:10: fatal error: opencv2/imgproc/imgproc.hpp: No such file or directory 15 | #include "opencv2/imgproc/imgproc.hpp" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ compilation terminated. make[3]: *** [Emgu.CV.Extern/CMakeFiles/cvextern.dir/build.make:93: Emgu.CV.Extern/CMakeFiles/cvextern.dir/emgu_c.cpp.o] Error 1 make[3]: *** Waiting for unfinished jobs.... make[3]: *** [Emgu.CV.Extern/CMakeFiles/cvextern.dir/build.make:191: Emgu.CV.Extern/CMakeFiles/cvextern.dir/vector_CameraParams.cpp.o] Error 1 /build/source/Emgu.CV.Extern/tiffio.cpp: In function 'void tiffWriteImageInfo(TIFF*, int, int)': /build/source/Emgu.CV.Extern/tiffio.cpp:82:48: warning: 'uint16' is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc-16.2.0/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;] 82 | uint16 extraSampleType[] = { EXTRASAMPLE_UNASSALPHA }; | ^ In file included from /nix/store/g8fj05d70cswkrqc46dv60f9898z2hhj-libtiff-4.7.2-dev/include/tiffio.h:31, from /nix/store/bailkdlcm5cpv4yjw3jbdii4j51lbgq2-libgeotiff-1.7.4-dev/include/xtiffio.h:10, from /nix/store/bailkdlcm5cpv4yjw3jbdii4j51lbgq2-libgeotiff-1.7.4-dev/include/geo_tiffp.h:33, from /build/source/Emgu.CV.Extern/tiffio_c.h:18, from /build/source/Emgu.CV.Extern/tiffio.cpp:7: /nix/store/g8fj05d70cswkrqc46dv60f9898z2hhj-libtiff-4.7.2-dev/include/tiff.h:83:38: note: declared here 83 | typedef TIFF_MSC_DEPRECATED uint16_t uint16 TIFF_GCC_DEPRECATED; | ^~~~~~ make[2]: *** [CMakeFiles/Makefile2:2388: Emgu.CV.Extern/CMakeFiles/cvextern.dir/all] Error 2 make[1]: *** [CMakeFiles/Makefile2:2395: Emgu.CV.Extern/CMakeFiles/cvextern.dir/rule] Error 2 make: *** [Makefile:329: cvextern] Error 2