Package Details: python-rife-ncnn-vulkan-git 1.1.3.r0.g320e625-1

Git Clone URL: https://aur.archlinux.org/python-rife-ncnn-vulkan-git.git (read-only, click to copy)
Package Base: python-rife-ncnn-vulkan-git
Description: A Python FFI of nihui/rife-ncnn-vulkan achieved with SWIG
Upstream URL: https://github.com/media2x/rife-ncnn-vulkan-python
Licenses: MIT
Conflicts: python-rife-ncnn-vulkan
Provides: python-rife-ncnn-vulkan
Submitter: jopejoe1
Maintainer: None
Last Packager: jopejoe1
Votes: 0
Popularity: 0.000000
First Submitted: 2022-09-14 21:15 (UTC)
Last Updated: 2022-09-28 16:12 (UTC)

Latest Comments

gardotd426 commented on 2023-02-26 03:11 (UTC)

The way this PKGBUILD is configured causes the package to fail, as none of the submodules are where setup.py expects them to be (and yes, I know you did indeed technically follow the Arch Wiki's instructions on how to checkout submodules).

They can't be placed in $srcdir. They have to be placed where the main project expects them to be. Otherwise, you get this:

==> Extracting sources...
  -> Creating working copy of rife-ncnn-vulkan-python git repo...
Reset branch 'makepkg'
  -> Creating working copy of rife-ncnn-vulkan git repo...
Cloning into 'rife-ncnn-vulkan'...
done.
Updating files: 100% (100/100), done.
  -> Creating working copy of ncnn git repo...
Cloning into 'ncnn'...
done.
  -> Creating working copy of libwebp git repo...
Cloning into 'libwebp'...
done.
  -> Creating working copy of pybind11 git repo...
Cloning into 'pybind11'...
done.
  -> Creating working copy of glslang git repo...
Cloning into 'glslang'...
done.
==> Starting prepare()...
Submodule 'src/libwebp' (https://github.com/webmproject/libwebp.git) registered for path 'src/libwebp'
Submodule 'src/ncnn' (https://github.com/Tencent/ncnn.git) registered for path 'src/ncnn'
Cloning into '/home/matt/tmp/makepkg/python-rife-ncnn-vulkan-git/src/rife-ncnn-vulkan-python/rife_ncnn_vulkan_python/rife-ncnn-vulkan/src/libwebp'...
fatal: transport 'file' not allowed
fatal: clone of '/home/matt/tmp/makepkg/python-rife-ncnn-vulkan-git/src/libwebp' into submodule path '/home/matt/tmp/makepkg/python-rife-ncnn-vulkan-git/src/rife-ncnn-vulkan-python/rife_ncnn_vulkan_python/rife-ncnn-vulkan/src/libwebp' failed
Failed to clone 'src/libwebp'. Retry scheduled
Cloning into '/home/matt/tmp/makepkg/python-rife-ncnn-vulkan-git/src/rife-ncnn-vulkan-python/rife_ncnn_vulkan_python/rife-ncnn-vulkan/src/ncnn'...
fatal: transport 'file' not allowed
fatal: clone of '/home/matt/tmp/makepkg/python-rife-ncnn-vulkan-git/src/ncnn' into submodule path '/home/matt/tmp/makepkg/python-rife-ncnn-vulkan-git/src/rife-ncnn-vulkan-python/rife_ncnn_vulkan_python/rife-ncnn-vulkan/src/ncnn' failed
Failed to clone 'src/ncnn'. Retry scheduled
Cloning into '/home/matt/tmp/makepkg/python-rife-ncnn-vulkan-git/src/rife-ncnn-vulkan-python/rife_ncnn_vulkan_python/rife-ncnn-vulkan/src/libwebp'...
fatal: transport 'file' not allowed
fatal: clone of '/home/matt/tmp/makepkg/python-rife-ncnn-vulkan-git/src/libwebp' into submodule path '/home/matt/tmp/makepkg/python-rife-ncnn-vulkan-git/src/rife-ncnn-vulkan-python/rife_ncnn_vulkan_python/rife-ncnn-vulkan/src/libwebp' failed
Failed to clone 'src/libwebp' a second time, aborting
==> ERROR: A failure occurred in prepare().
    Aborting...

I'm almost done with a slightly revised prepare() section that will work, I'll post the diff here when I've finished.

jopejoe1 commented on 2022-09-28 16:17 (UTC)

Updated to include missing dependencies.

Lucki commented on 2022-09-28 15:31 (UTC)

Building isn't possible, it's missing setuptools and then requests (at least) in the build environment.