Package Details: python-magika 1.0.1-3

Git Clone URL: https://aur.archlinux.org/python-magika.git (read-only, click to copy)
Package Base: python-magika
Description: Detect file content types with deep learning
Upstream URL: https://github.com/google/magika
Licenses: Apache-2.0
Provides: magika-cli
Submitter: bjin
Maintainer: envolution (txtsd)
Last Packager: txtsd
Votes: 4
Popularity: 0.45
First Submitted: 2024-02-16 09:40 (UTC)
Last Updated: 2025-11-14 04:30 (UTC)

Latest Comments

1 2 Next › Last »

FabioCosta0305 commented on 2025-12-03 14:54 (UTC)

Alright... Discovered that the problem is because I had rustup instead of rust installed, and for some reason cargo was in fact a symlink to rustup

In this case, I replaced rustup for rust and now it worked

FabioCosta0305 commented on 2025-12-03 14:48 (UTC)

Trying to go via paru and that happened... Tried to do makepkg and got same result

==> Validating source files with sha256sums...
    python-magika-1.0.1.tar.gz ... Passed
==> Making package: python-magika 1.0.1-3 (qua 03 dez 2025 11:46:47)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found python-magika-1.0.1.tar.gz
==> Validating source files with sha256sums...
    python-magika-1.0.1.tar.gz ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Extracting python-magika-1.0.1.tar.gz with bsdtar
==> Starting prepare()...
error: command failed: 'cargo': Permission denied (os error 13)
==> ERROR: A failure occurred in prepare().
    Aborting...
error: failed to build 'python-magika-1.0.1-3': 
error: packages failed to build: python-magika-1.0.1-3

All my rust packages are there, and which cargo returns /usr/bin/cargo

cylobi commented on 2025-11-19 12:34 (UTC) (edited on 2025-11-19 12:35 (UTC) by cylobi)

@Kcchouette I had the same problem and clean cached and reinstalled and it went alright. If you are using paru clean the cache like this:

rm -rf ~/.cache/paru/clone/python-magika

Kcchouette commented on 2025-11-15 10:34 (UTC)

Building python-magika...
==> Making package: python-magika 1.0.1-3 (sam. 15 nov. 2025 11:34:06)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found python-magika-1.0.1.tar.gz
==> Validating source files with sha256sums...
    python-magika-1.0.1.tar.gz ... FAILED
==> ERROR: One or more files did not pass the validity check!
Failed to build python-magika

envolution commented on 2025-11-13 17:43 (UTC)

@txtsd looks good, thanks for the help! I don't think it's necessary to split the package - maybe provides=('magika-cli') would be enough

txtsd commented on 2025-11-13 16:37 (UTC)

I've pushed changes. Please take a look and see if it's alright, or if we should create a separate magika package for the rust binary instead.

txtsd commented on 2025-11-07 15:04 (UTC)

Can you also build the rust binary, or add me as co-maintainer and I'll help get it done?

<deleted-account> commented on 2024-02-17 17:55 (UTC)

why don't you increase "pkgrel"? You are required to do this whenever you update the package.

bjin commented on 2024-02-17 16:12 (UTC)

@qbammey: fixed

qbammey commented on 2024-02-17 10:19 (UTC)

python-poetry (https://archlinux.org/packages/extra/any/python-poetry/) seems to be a dependency as well.