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

tesseract: 3.05.00 -> 3.05.01 #33705

Closed
wants to merge 1 commit into from

Conversation

matthiasbeyer
Copy link
Contributor

Not sure whether the tesserdata attribute needs an update as well...

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.

@lheckemann
Copy link
Member

@GrahamcOfBorg build tesseract

Copy link

@GrahamcOfBorg GrahamcOfBorg left a 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-darwin

 /nix/store/il2k7rxpq10wjvl11q44hjrhvgjqcflw-coreutils-8.29/bin/install -c -m 644 unicharambigs.5 unicharset.5 '/nix/store/qz12q7n72gjsclvxwg8aimrw73135pdi-tesseract-3.05.01/share/man/man5'
make[2]: Leaving directory '/private/tmp/nix-build-tesseract-3.05.01.drv-0/source/doc'
make[1]: Leaving directory '/private/tmp/nix-build-tesseract-3.05.01.drv-0/source/doc'
glibPreFixupPhase
post-installation fixup
gzipping man pages under /nix/store/qz12q7n72gjsclvxwg8aimrw73135pdi-tesseract-3.05.01/share/man/
strip is /nix/store/bhfkh37smh9lc5bngdha6zx98k6w6cgd-cctools-binutils-darwin/bin/strip
stripping (with command strip and flags -S) in /nix/store/qz12q7n72gjsclvxwg8aimrw73135pdi-tesseract-3.05.01/lib  /nix/store/qz12q7n72gjsclvxwg8aimrw73135pdi-tesseract-3.05.01/bin
patching script interpreter paths in /nix/store/qz12q7n72gjsclvxwg8aimrw73135pdi-tesseract-3.05.01
/nix/store/qz12q7n72gjsclvxwg8aimrw73135pdi-tesseract-3.05.01

Copy link

@GrahamcOfBorg GrahamcOfBorg left a 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/3f2dx6r2yb48d6ca6n6dw21wcxc8r0dp-tesseract-3.05.01
shrinking /nix/store/3f2dx6r2yb48d6ca6n6dw21wcxc8r0dp-tesseract-3.05.01/bin/tesseract
shrinking /nix/store/3f2dx6r2yb48d6ca6n6dw21wcxc8r0dp-tesseract-3.05.01/lib/libtesseract.so.3.0.5
gzipping man pages under /nix/store/3f2dx6r2yb48d6ca6n6dw21wcxc8r0dp-tesseract-3.05.01/share/man/
strip is /nix/store/wxn5gn8amxm1w0ikcx4gbs8a17wvss4j-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/3f2dx6r2yb48d6ca6n6dw21wcxc8r0dp-tesseract-3.05.01/lib  /nix/store/3f2dx6r2yb48d6ca6n6dw21wcxc8r0dp-tesseract-3.05.01/bin 
patching script interpreter paths in /nix/store/3f2dx6r2yb48d6ca6n6dw21wcxc8r0dp-tesseract-3.05.01
checking for references to /tmp/nix-build-tesseract-3.05.01.drv-0 in /nix/store/3f2dx6r2yb48d6ca6n6dw21wcxc8r0dp-tesseract-3.05.01...
/nix/store/3f2dx6r2yb48d6ca6n6dw21wcxc8r0dp-tesseract-3.05.01

Copy link

@GrahamcOfBorg GrahamcOfBorg left a 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/w85vnagdh6m3ix347xmk66nhzw1xyk16-tesseract-3.05.01
shrinking /nix/store/w85vnagdh6m3ix347xmk66nhzw1xyk16-tesseract-3.05.01/bin/tesseract
shrinking /nix/store/w85vnagdh6m3ix347xmk66nhzw1xyk16-tesseract-3.05.01/lib/libtesseract.so.3.0.5
gzipping man pages under /nix/store/w85vnagdh6m3ix347xmk66nhzw1xyk16-tesseract-3.05.01/share/man/
strip is /nix/store/c6qj0j45xizkrx58i65j75a5ysmqhgrs-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/w85vnagdh6m3ix347xmk66nhzw1xyk16-tesseract-3.05.01/lib  /nix/store/w85vnagdh6m3ix347xmk66nhzw1xyk16-tesseract-3.05.01/bin
patching script interpreter paths in /nix/store/w85vnagdh6m3ix347xmk66nhzw1xyk16-tesseract-3.05.01
checking for references to /build in /nix/store/w85vnagdh6m3ix347xmk66nhzw1xyk16-tesseract-3.05.01...
/nix/store/w85vnagdh6m3ix347xmk66nhzw1xyk16-tesseract-3.05.01

@Mic92
Copy link
Member

Mic92 commented Jan 13, 2018

@GrahamcOfBorg build python3Packages.pyocr

Copy link

@GrahamcOfBorg GrahamcOfBorg left a 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-linux



----------------------------------------------------------------------
Ran 65 tests in 42.227s

FAILED (failures=6)
Test failed: <unittest.runner.TextTestResult run=65 errors=0 failures=6>
error: Test failed: <unittest.runner.TextTestResult run=65 errors=0 failures=6>
builder for ‘/nix/store/7j2ffq871p84cz3nxfpi5prrvxsmpfxd-python3.6-pyocr-0.4.7.drv’ failed with exit code 1
error: build of ‘/nix/store/7j2ffq871p84cz3nxfpi5prrvxsmpfxd-python3.6-pyocr-0.4.7.drv’ failed

@Mic92
Copy link
Member

Mic92 commented Jan 13, 2018

Was pyocr broken before?

Copy link

@GrahamcOfBorg GrahamcOfBorg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Failure for system: aarch64-linux

AssertionError: False is not true : English training does not appear to be installed. (required for the tests)

----------------------------------------------------------------------
Ran 65 tests in 103.533s

FAILED (failures=7, errors=1)
Test failed: <unittest.runner.TextTestResult run=65 errors=1 failures=7>
error: Test failed: <unittest.runner.TextTestResult run=65 errors=1 failures=7>
builder for '/nix/store/rkwv0n930a09rxihhiq9fk55qrmndv0f-python3.6-pyocr-0.4.7.drv' failed with exit code 1
error: build of '/nix/store/rkwv0n930a09rxihhiq9fk55qrmndv0f-python3.6-pyocr-0.4.7.drv' failed

Copy link

@GrahamcOfBorg GrahamcOfBorg left a 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

Package ‘cuneiform-1.1.0’ in /Users/graham/nix-borg/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-zoidberg/pkgs/tools/graphics/cuneiform/default.nix:28 is not supported on ‘x86_64-darwin’, refusing to evaluate.

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

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

@dotlambda
Copy link
Member

Updating pyocr to 0.5.1 might help.

@samueldr
Copy link
Member

samueldr commented Aug 8, 2018

Meanwhile, 3.05.02 was released.

Any updates to this? (a nox-review confirms that there are issues with pyocr still)

@matthiasbeyer
Copy link
Contributor Author

Outdated.

@matthiasbeyer matthiasbeyer deleted the update-tesseract branch February 27, 2019 15:42
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

7 participants