Project

General

Profile

Bug #3144

extra/opencv-cuda 4.5.4-7 depends on nonfree CUDA libraries (which isn't shipped by Parabola)

GNUtoo - 7 months ago - . Updated about 2 months ago.

Status:
confirmed
Priority:
bug
Assignee:
-
% Done:

0%


Description

On Parabola x86_64, we have:

$ pacman -S -i extra/opencv-cuda
Repository      : extra
Name            : opencv-cuda
Version         : 4.5.4-7
Description     : Open Source Computer Vision Library (with CUDA support)
Architecture    : x86_64
URL             : https://opencv.org/
Licenses        : BSD
Groups          : None
Provides        : opencv=4.5.4
Depends On      : tbb  openexr  gst-plugins-base  libdc1394  cblas  lapack  libgphoto2  openjpeg2  ffmpeg  protobuf  cudnn
Optional Deps   : opencv-samples: samples
                  vtk: for the viz module
                  glew: for the viz module
                  qt5-base: for the HighGUI module
                  hdf5: for the HDF5 module
                  opencl-icd-loader: For coding with OpenCL
                  java-runtime: Java interface
[...]

Here cudnn is a CUDA library for neural networks.

Even if cudnn isn't shipped by Parabola, I've seen other bug reports about non-working packages that depends on CUDA, so I'm bugreporting for this package too.

I've no idea if extra/openvc-cuda needs to be blacklisted, or if we need to keep the package as-is.

History

#1

Updated by bill-auger 7 months ago

the "Required by" set is more significant - any dependents of a blacklisted package may also need to be blacklisted - 'digikam' and 'openshot' are two popular programs affected by this - expanding the dependency chain:

$ dependents() { for pkg in $(pacman -Sii $1 | grep Required | cut -d ':' -f 2) ; do [[ "$pkg" != None ]] && echo $pkg && foo $pkg ; done | sort -u ; }
$ dependents opencv-cuda
auto-multiple-choice
darktable
digikam
flowblade
gimp-plugin-gmic
gmic
gst-plugin-opencv
krita-plugin-gmic
libopenshot
nomacs
opencv-samples
openshot
opentoonz
performous
python-opencv
python-pytorch
ukui-biometric-auth
ukui-control-center
ukui-greeter
ukui-panel
ukui-screensaver
ukui-session-manager
yafaray

#2

Updated by Zuss about 2 months ago

Double checked the list and there's no packages that require opencv-cuda.
This was probably fixed by blacklisting the package, done by GNUtoo
Relevant commit: https://git.parabola.nu/blacklist.git/commit/?id=ec896eec5b9014257fd524149800f21b3cc8ac55

Also available in: Atom PDF