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

leptonica: 1.78.0 -> 1.79.0 #77134

Merged
merged 1 commit into from Jan 12, 2020
Merged

Conversation

@r-ryantm
Copy link
Contributor

@r-ryantm r-ryantm commented Jan 6, 2020

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/leptonica/versions.

meta.description for leptonica is: '"Image processing and analysis library"'.

meta.homepage for leptonica is: '"http://www.leptonica.org/"

Checks done (click to expand)
Rebuild report (if merged into master) (click to expand)

103 total rebuild path(s)

29 package rebuild(s)

29 x86_64-linux rebuild(s)
28 i686-linux rebuild(s)
18 x86_64-darwin rebuild(s)
28 aarch64-linux rebuild(s)

First fifty rebuilds by attrpath
ccextractor
fmbt
gImageReader
gscan2pdf
invoice2data
jbig2enc
k2pdfopt
leptonica
ocrmypdf
paperless
paperwork
pdfsandwich
python27Packages.pytesseract
python27Packages.tesserocr
python37Packages.paperwork-backend
python37Packages.pyocr
python37Packages.pytesseract
python37Packages.tesserocr
python38Packages.paperwork-backend
python38Packages.pyocr
python38Packages.pytesseract
python38Packages.tesserocr
qt-box-editor
ripgrep-all
tesseract
tesseract3
tesseract4
utsushi
vobsub2srt

Instructions to test this update (click to expand)

Either download from Cachix:

nix-store -r /nix/store/mhss2lfkx6h50p37d5mliqxfjvjfj6nh-leptonica-1.79.0 \
  --option binary-caches 'https://cache.nixos.org/ https://r-ryantm.cachix.org/' \
  --option trusted-public-keys '
  r-ryantm.cachix.org-1:gkUbLkouDAyvBdpBX0JOdIiD2/DP1ldF3Z3Y6Gqcc4c=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(r-ryantm's Cachix cache is only trusted for this store-path realization.)

Or, build yourself:

nix-build -A leptonica https://github.com/r-ryantm/nixpkgs/archive/aa69b8e65e090b98842c364bbcb3796f96f143bb.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:

ls -la /nix/store/mhss2lfkx6h50p37d5mliqxfjvjfj6nh-leptonica-1.79.0
ls -la /nix/store/mhss2lfkx6h50p37d5mliqxfjvjfj6nh-leptonica-1.79.0/bin

@nh2
Copy link
Contributor

@nh2 nh2 commented Jan 12, 2020

nix-review output:

error: build of '/nix/store/4vk594av9y6ggzpwi0vf6lzv9d0l3jka-python3.7-django-extensions-2.2.5.drv' failed: builder for '/nix/store/4vk594av9y6ggzpwi0vf6lzv9d0l3jka-python3.7-django-extensions-2.2.5.drv' failed with exit code 1
builder for '/nix/store/4vk594av9y6ggzpwi0vf6lzv9d0l3jka-python3.7-django-extensions-2.2.5.drv' failed with exit code 1; last 10 log lines:
  django_extensions/utils/__init__.py                                       0      0   100%
  django_extensions/utils/deprecation.py                                    4      0   100%
  django_extensions/utils/dia2django.py                                   143    129    10%
  django_extensions/validators.py                                          72     21    71%
  -----------------------------------------------------------------------------------------
  TOTAL                                                                  7035   2316    67%
  Coverage HTML written to dir htmlcov
  
  =========== 1 failed, 435 passed, 26 skipped, 62 warnings in 13.99s ============
  builder for '/nix/store/4vk594av9y6ggzpwi0vf6lzv9d0l3jka-python3.7-django-extensions-2.2.5.drv' failed with exit code 1
error: build of '/nix/store/vsadprs0dwclbfpljjbz0qxv5if0667p-python3.7-numexpr-2.7.0.drv' failed: builder for '/nix/store/vsadprs0dwclbfpljjbz0qxv5if0667p-python3.7-numexpr-2.7.0.drv' failed with exit code 1
builder for '/nix/store/vsadprs0dwclbfpljjbz0qxv5if0667p-python3.7-numexpr-2.7.0.drv' failed with exit code 1; last 10 log lines:
    File "<__array_function__ internals>", line 6, in linspace
    File "/nix/store/9jl7rqxx2x5y8x2nv5h6zi93x6aw97v7-python3.7-numpy-1.18.0/lib/python3.7/site-packages/numpy/core/function_base.py", line 121, in linspace
      .format(type(num)))
  TypeError: object of type <class 'float'> cannot be safely interpreted as an integer.
  
  ----------------------------------------------------------------------
  Ran 5522 tests in 7.452s
  
  FAILED (errors=2)
  builder for '/nix/store/vsadprs0dwclbfpljjbz0qxv5if0667p-python3.7-numexpr-2.7.0.drv' failed with exit code 1
cannot build derivation '/nix/store/r6h7dax13cwn9aknhcccj4f94ym257nc-python3.7-tables-3.6.1.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/3fw21q0g56a9pcvd6cj9w91knxbyk19k-python3.7-pandas-0.25.3.drv': 2 dependencies couldn't be built
waiting for locks or build slots...
cannot build derivation '/nix/store/39lszsvh6z48pqwh8k5kanb3zi1qmf15-python3-3.7.6-env.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/vq806jmgnx4pvf8r2m2mzb1xkfyqwhx8-python3-3.7.6-env.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/s6rbbq8z9cgllnd5ib5pzybagbbsjggx-paperless-2.7.0.drv': 2 dependencies couldn't be built
error: build of '/nix/store/b6f7gpbrrpv8jj8g5zalmbaca7g643p5-python3.8-paperwork-backend-1.2.4.drv' failed: builder for '/nix/store/b6f7gpbrrpv8jj8g5zalmbaca7g643p5-python3.8-paperwork-backend-1.2.4.drv' failed with exit code 1
builder for '/nix/store/b6f7gpbrrpv8jj8g5zalmbaca7g643p5-python3.8-paperwork-backend-1.2.4.drv' failed with exit code 1; last 10 log lines:
    File "/nix/store/xws3kmarg9v56b494sm6rpk0fzvsj9kz-python3.8-paperwork-backend-1.2.4/bin/.paperwork-shell-wrapped", line 9, in <module>
      sys.exit(main())
    File "/nix/store/xws3kmarg9v56b494sm6rpk0fzvsj9kz-python3.8-paperwork-backend-1.2.4/lib/python3.8/site-packages/paperwork_backend/shell_cmd.py", line 214, in main
      sys.exit(COMMANDS[args.cmd](*args.cmd_args))
    File "/nix/store/xws3kmarg9v56b494sm6rpk0fzvsj9kz-python3.8-paperwork-backend-1.2.4/lib/python3.8/site-packages/paperwork_backend/shell_cmd.py", line 139, in chkdeps
      distribution = get_distribution()
    File "/nix/store/xws3kmarg9v56b494sm6rpk0fzvsj9kz-python3.8-paperwork-backend-1.2.4/lib/python3.8/site-packages/paperwork_backend/shell_cmd.py", line 62, in get_distribution
      distribution = platform.dist()
  AttributeError: module 'platform' has no attribute 'dist'
  builder for '/nix/store/b6f7gpbrrpv8jj8g5zalmbaca7g643p5-python3.8-paperwork-backend-1.2.4.drv' failed with exit code 1
cannot build derivation '/nix/store/n1qshyqcw5fjqjv1wd42ll5900jqrk5m-paperwork-1.2.4.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/0bqrd1mnyj4skbmif00kf01xwgl1xnjg-env.drv': 3 dependencies couldn't be built
[35 built (3 failed), 546 copied (7073.1 MiB), 1473.0 MiB DL]
error: build of '/nix/store/0bqrd1mnyj4skbmif00kf01xwgl1xnjg-env.drv' failed
https://github.com/NixOS/nixpkgs/pull/77134
1 package marked as broken and skipped:
invoice2data

3 package failed to build:
paperless paperwork python38Packages.paperwork-backend

24 package built:
ccextractor fmbt gImageReader gscan2pdf jbig2enc k2pdfopt leptonica ocrmypdf pdfsandwich python27Packages.pytesseract python27Packages.tesserocr python37Packages.paperwork-backend python37Packages.pyocr python37Packages.pytesseract python37Packages.tesserocr python38Packages.pyocr python38Packages.pytesseract python38Packages.tesserocr qt-box-editor ripgrep-all tesseract tesseract4 utsushi vobsub2srt
@nh2 nh2 mentioned this pull request Jan 12, 2020
@nh2
Copy link
Contributor

@nh2 nh2 commented Jan 12, 2020

Failures likely unrelated, they are similar to those at #77104 (comment)

@nh2
nh2 approved these changes Jan 12, 2020
@markuskowa markuskowa merged commit fee468f into NixOS:master Jan 12, 2020
16 checks passed
16 checks passed
Evaluation Performance Report Evaluator Performance Report
Details
grahamcofborg-eval ^.^!
Details
grahamcofborg-eval-check-maintainers matching changed paths to changed attrs...
Details
grahamcofborg-eval-check-meta config.nix: checkMeta = true
Details
grahamcofborg-eval-darwin nix-instantiate --arg nixpkgs { outPath=./.; revCount=999999; shortRev="ofborg"; } ./pkgs/top-level/release.nix -A darwin-tested
Details
grahamcofborg-eval-nixos nix-instantiate --arg nixpkgs { outPath=./.; revCount=999999; shortRev="ofborg"; } ./nixos/release-combined.nix -A tested
Details
grahamcofborg-eval-nixos-manual nix-instantiate --arg nixpkgs { outPath=./.; revCount=999999; shortRev="ofborg"; } ./nixos/release.nix -A manual
Details
grahamcofborg-eval-nixos-options nix-instantiate --arg nixpkgs { outPath=./.; revCount=999999; shortRev="ofborg"; } ./nixos/release.nix -A options
Details
grahamcofborg-eval-nixpkgs-manual nix-instantiate --arg nixpkgs { outPath=./.; revCount=999999; shortRev="ofborg"; } ./pkgs/top-level/release.nix -A manual
Details
grahamcofborg-eval-nixpkgs-tarball nix-instantiate --arg nixpkgs { outPath=./.; revCount=999999; shortRev="ofborg"; } ./pkgs/top-level/release.nix -A tarball
Details
grahamcofborg-eval-nixpkgs-unstable-jobset nix-instantiate --arg nixpkgs { outPath=./.; revCount=999999; shortRev="ofborg"; } ./pkgs/top-level/release.nix -A unstable
Details
grahamcofborg-eval-package-list nix-env -qa --json --file .
Details
grahamcofborg-eval-package-list-no-aliases nix-env -qa --json --file . --arg config { allowAliases = false; }
Details
leptonica on aarch64-linux Success
Details
leptonica on x86_64-darwin Success
Details
leptonica on x86_64-linux Success
Details
dtzWill added a commit to dtzWill/nixpkgs that referenced this pull request Jan 12, 2020
leptonica: 1.78.0 -> 1.79.0
(cherry picked from commit fee468f)
@r-ryantm r-ryantm deleted the r-ryantm:auto-update/leptonica branch Jan 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

3 participants
You can’t perform that action at this time.