Package Details: python-mediapipe-git v0.8.7.r0.g710fb3de-1

Git Clone URL: https://aur.archlinux.org/python-mediapipe-git.git (read-only, click to copy)
Package Base: python-mediapipe-git
Description: MediaPipe offers cross-platform, customizable ML solutions for live and streaming media.
Upstream URL: https://github.com/google/mediapipe
Licenses: Apache
Conflicts: python-mediapipe
Provides: python-mediapipe
Submitter: Premik
Maintainer: Premik
Last Packager: Premik
Votes: 0
Popularity: 0.000000
First Submitted: 2021-07-07 23:12
Last Updated: 2021-08-26 18:50

Latest Comments

nikisalli commented on 2021-09-19 12:13

same problem as @7thSon

7thSon commented on 2021-09-10 15:57

@Premik, no I'm building it for x86_64. I just tried it again and it failed just like I mentioned in my previous post. It builds for a long time, probably 10 minutes before the failure happens.

Premik commented on 2021-09-08 07:43

@7thSon I couldn't reproduce this on the x86_64 platform. Are you building this for arm ?

7thSon commented on 2021-09-01 16:22

I'm failing to update this package with this error message: error: can't copy 'mediapipe/examples/android/solutions/facemesh/src/main/res': doesn't exist or not a regular file

llabusch93 commented on 2021-08-19 07:15

Hello,

the build fails:

==> Starting prepare()... patching file third_party/opencv_linux.BUILD Hunk #1 FAILED at 12. 1 out of 1 hunk FAILED -- saving rejects to file third_party/opencv_linux.BUILD.rej ==> ERROR: A failure occurred in prepare(). Aborting...

Any fixes for that yet?

Rhinoceros commented on 2021-07-08 11:22

Thanks @Premik. Builds fine now.

Yes, the package() section sure takes ages. I think maybe it's only partially building again.

cgirard commented on 2021-07-08 10:20

Thanks.

It looks to me that it is rebuilding everything in the package phase. Not sure why.

Premik commented on 2021-07-08 10:14

I've updated the PKGBUILD to use whatever bazel version is currently available in path. Hope it helps.

Upstream actually requires bazel 3.7.0. And while there is bazel3 in AUR bazel v4 seems to build the project just fine. Bazel3 and 4 conflict bazel. Perhaps using bazelisk would allow the two to coexist. Not sure.

cgirard commented on 2021-07-08 07:27

@Rhinoceros: it is not from the upstream. It is hardcoded in the PKGBUILD: https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=python-mediapipe-git#n35

Rhinoceros commented on 2021-07-08 00:31

Fails to build for me:

fail to get bazel version by $ bazel --version: b"\x1b[31mERROR: The project you're trying to build requires Bazel 4.0.0 (specified in /tmp/python-mediapipe-git/src/python-mediapipe-git/.bazelversion), but it wasn't found in /usr/bin.

This package requires bazel, which is currently at 4.1.0, but upstream wants 4.0.0.