I am trying to update the template in opencv for xbps-src. I learning linux and would like to help with development to help me learn better.

I am trying to upgrade it to opencv4.2.0.

I am running into the following error:
mv: cannot stat '/destdir//opencv-4.2.0/usr/share/OpenCV': No such file or directory
=> ERROR: libopencv-devel-4.2.0_4: pkg_install: 'mv ${_destdir}/$files ${_pkgdestdir}/${_targetdir}' exited with 1
=> ERROR:   in _vmove() at common/environment/setup/install.sh:232
=> ERROR:   in _noglob_helper() at common/environment/setup/install.sh:12
=> ERROR:   in pkg_install() at srcpkgs/libopencv-devel/template:49

I had added the following flag: DOPENCV_GENERATE_PKGCONFIG=ON
that seemed to help remove a previous error. I don't know if the error is on the void linux end or opencv end.

Would appreciate help! I posted my question on voidlinux chat but didn't get a reply before leaving the chat.
Thanks,

--
You received this message because you are subscribed to the Google Groups "voidlinux" group.
To unsubscribe from this group and stop receiving emails from it, send an email to voidlinux+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/voidlinux/9f1e2314-ee33-4ded-b77f-106cfdb072b5%40googlegroups.com.