That commit seems to work, after you add the flag: 
DOPENCV_GENERATE_PKGCONFIG.
It helped, thanks!

On Wednesday, January 22, 2020 at 3:29:42 PM UTC-8, Andrew Benson wrote:
>
> I had done this but I haven't tested it
>
>
> https://github.com/abenson/void-packages/commit/1a1cfe95994d37cb161a8c9a88c335d06880cbc7
>
> On Mon, Jan 20, 2020, 15:52 terrible apps <[email protected] 
> <javascript:>> wrote:
>
>> Got it!
>> needed to change 
>> vmove usr/share/OpenCV to vmove usr/share/opencv4
>>
>> Now got this error: 
>>    SONAME: libopencv_ml.so.4.2 <-> UNKNOWN PKG PLEASE FIX!
>>    SONAME: libopencv_photo.so.4.2 <-> UNKNOWN PKG PLEASE FIX!
>>    SONAME: libopencv_dnn.so.4.2 <-> UNKNOWN PKG PLEASE FIX!
>>    SONAME: libopencv_highgui.so.4.2 <-> UNKNOWN PKG PLEASE FIX!
>>    SONAME: libopencv_objdetect.so.4.2 <-> UNKNOWN PKG PLEASE FIX!
>>    SONAME: libopencv_stitching.so.4.2 <-> UNKNOWN PKG PLEASE FIX!
>>    SONAME: libopencv_video.so.4.2 <-> UNKNOWN PKG PLEASE FIX!
>>    SONAME: libopencv_videoio.so.4.2 <-> UNKNOWN PKG PLEASE FIX!
>>    SONAME: libopencv_imgcodecs.so.4.2 <-> UNKNOWN PKG PLEASE FIX!
>>    SONAME: libopencv_calib3d.so.4.2 <-> UNKNOWN PKG PLEASE FIX!
>>    SONAME: libopencv_features2d.so.4.2 <-> UNKNOWN PKG PLEASE FIX!
>>    SONAME: libopencv_flann.so.4.2 <-> UNKNOWN PKG PLEASE FIX!
>>    SONAME: libopencv_imgproc.so.4.2 <-> UNKNOWN PKG PLEASE FIX!
>>    SONAME: libopencv_core.so.4.2 <-> UNKNOWN PKG PLEASE FIX!
>>    SONAME: libstdc++.so.6 <-> libstdc++>=4.4.0_1
>>    SONAME: libm.so.6 <-> glibc>=2.29_1
>>    SONAME: libgcc_s.so.1 <-> libgcc>=4.4.0_1
>>    SONAME: libc.so.6 <-> glibc>=2.29_1
>> => ERROR: libopencv-python3-4.2.0_4: cannot guess required shlibs, 
>> aborting!
>>
>> Trying to figure this error out now.
>>
>>
>>
>> On Monday, January 20, 2020 at 12:24:23 AM UTC-8, terrible apps wrote:
>>>
>>> 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 [email protected] <javascript:>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/voidlinux/44f5762a-ab9b-4014-8cb0-0df7fc0a9f16%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/voidlinux/44f5762a-ab9b-4014-8cb0-0df7fc0a9f16%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/voidlinux/34d57bda-e4e3-43c6-a3c7-3c1d40198cc0%40googlegroups.com.

Reply via email to