NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
18.35k stars 14.31k forks source link

Build failure: mauikit-imagetools #229077

Closed aktaboot closed 1 year ago

aktaboot commented 1 year ago

Steps To Reproduce

Steps to reproduce the behavior: nix build nixpkgs#libsForQt5.mauikit-imagetools

Build log

error: builder for '/nix/store/fn09y5h2gifd06yi2gbil39jg4izjcy9-mauikit-imagetools-2.2.2.drv' failed with exit code 2;
       last 10 log lines:
       >   156 |     l_uint32 *datas = pixs->data;
       >       |                           ^~
       > In file included from /nix/store/x46jysagh0qzipq1sxmqy63v73hw51ay-tesseract-5.3.0/include/tesseract/baseapi.h:25,
       >                  from /build/mauikit-imagetools-2.2.2/src/code/modules/image2text/src/ocs.cpp:5:
       > /nix/store/x46jysagh0qzipq1sxmqy63v73hw51ay-tesseract-5.3.0/include/tesseract/pageiterator.h:24:8: note: forward declaration of 'PIX' {aka 'struct Pix'}
       >    24 | struct Pix;
       >       |        ^~~
       > make[2]: *** [src/code/modules/image2text/src/CMakeFiles/Image2Text.dir/build.make:90: src/code/modules/image2text/src/CMakeFiles/Image2Text.dir/ocs.cpp.o] Error 1
       > make[1]: *** [CMakeFiles/Makefile2:396: src/code/modules/image2text/src/CMakeFiles/Image2Text.dir/all] Error 2
       > make: *** [Makefile:136: all] Error 2
       For full logs, run 'nix log /nix/store/fn09y5h2gifd06yi2gbil39jg4izjcy9-mauikit-imagetools-2.2.2.drv'.

Full logs here

Notify maintainers

@onny

Metadata

Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.

[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 6.3.0, NixOS, 23.05 (Stoat), 23.05.20230428.937a9d1`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.13.3`
 - channels(root): `""`
 - channels(aktaboot): `""`
 - nixpkgs: `/nix/store/d6yq7lszskxlpx9ijw56l50sgncbn852-source`
kirillrdy commented 1 year ago

@aktaboot greetings!

I can confirm that it fails to build on unstable but it builds on latest master

nix build github:nixos/nixpkgs?rev=1f68716877f8fde4c9f70ee2b237b3f405792b98#libsForQt5.mauikit-imagetools