Package Details: manga-ocr-git 0.1.8.r0.g250b89f-1

Git Clone URL: https://aur.archlinux.org/manga-ocr-git.git (read-only, click to copy)
Package Base: manga-ocr-git
Description: Optical character recognition for Japanese text, trained to handle Japanese manga well
Upstream URL: https://github.com/kha-white/manga-ocr
Licenses: Apache
Conflicts: manga-ocr
Provides: manga-ocr
Submitter: atticf
Maintainer: atticf
Last Packager: atticf
Votes: 0
Popularity: 0.000000
First Submitted: 2023-01-23 08:56 (UTC)
Last Updated: 2023-01-23 08:56 (UTC)

Latest Comments

Beebo commented on 2023-12-23 16:32 (UTC)

I resolved the issue compiling the python-safetensors dependency by running the following:

rustup install stable
rustup default stable

After doing this, the manga-ocr-git package installs successfully.

Beebo commented on 2023-12-22 22:59 (UTC)

Doesn't seem to build correctly on my machine, missing dep?

Running `maturin pep517 build-wheel -i /usr/bin/python --compatibility off`
error: rustup could not choose a version of cargo to run, because one wasn't specified explicitly, and no default is configured.
help: run 'rustup default stable' to download the latest stable release of Rust and set it as your default toolchain.
💥 maturin failed
  Caused by: Cargo metadata failed. Does your crate compile with `cargo build`?
  Caused by: `cargo metadata` exited with an error: 
Error: command ['maturin', 'pep517', 'build-wheel', '-i', '/usr/bin/python', '--compatibility', 'off'] returned non-zero exit status 1

ERROR Backend subprocess exited when trying to invoke build_wheel
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: python-safetensors-exit status 4
==> Making package: python-transformers 4.36.2-1 (Fri 22 Dec 2023 05:58:32 PM EST)
==> Checking runtime dependencies...
error: could not open file /var/lib/pacman/local/libsass-3.6.5-3/desc: No such file or directory
==> Missing dependencies:
  -> python-safetensors
==> Checking buildtime dependencies...
==> ERROR: Could not resolve all dependencies.
 -> error making: python-transformers-exit status 8
==> Making package: manga-ocr-git 0.1.8.r0.g250b89f-1 (Fri 22 Dec 2023 05:58:32 PM EST)
==> Checking runtime dependencies...
==> Missing dependencies:
  -> python-transformers>=4.12.5
==> Checking buildtime dependencies...
==> ERROR: Could not resolve all dependencies.
 -> error making: manga-ocr-git-exit status 8
 -> Failed to install the following packages. Manual intervention is required:
python-safetensors - exit status 4
python-transformers - exit status 8
manga-ocr-git - exit status 8