Void Linux discussion
 help / color / Atom feed
* upgrade to opencv4.2.0 via xbps-src
@ 2020-01-20  8:24 terrible apps
  2020-01-20 22:52 ` terrible apps
  0 siblings, 1 reply; 4+ messages in thread
From: terrible apps @ 2020-01-20  8:24 UTC (permalink / raw)
  To: voidlinux

[-- Attachment #1.1: Type: text/plain, Size: 1296 bytes --]

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.

[-- Attachment #1.2: Type: text/html, Size: 1779 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: upgrade to opencv4.2.0 via xbps-src
  2020-01-20  8:24 upgrade to opencv4.2.0 via xbps-src terrible apps
@ 2020-01-20 22:52 ` terrible apps
  2020-01-22 23:29   ` Andrew Benson
  0 siblings, 1 reply; 4+ messages in thread
From: terrible apps @ 2020-01-20 22:52 UTC (permalink / raw)
  To: voidlinux

[-- Attachment #1.1: Type: text/plain, Size: 2684 bytes --]

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 voidlinux+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/voidlinux/44f5762a-ab9b-4014-8cb0-0df7fc0a9f16%40googlegroups.com.

[-- Attachment #1.2: Type: text/html, Size: 3631 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: upgrade to opencv4.2.0 via xbps-src
  2020-01-20 22:52 ` terrible apps
@ 2020-01-22 23:29   ` Andrew Benson
  2020-01-23  8:42     ` terrible apps
  0 siblings, 1 reply; 4+ messages in thread
From: Andrew Benson @ 2020-01-22 23:29 UTC (permalink / raw)
  Cc: voidlinux

[-- Attachment #1: Type: text/plain, Size: 3495 bytes --]

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 <horribleapps@gmail.com> 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 voidlinux+unsubscribe@googlegroups.com.
> 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 voidlinux+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/voidlinux/CAAyhSpWRi5FdstdASEJ7qpmqbSShGPQXsBm2%3D9LzocFn5Mspkg%40mail.gmail.com.

[-- Attachment #2: Type: text/html, Size: 4947 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: upgrade to opencv4.2.0 via xbps-src
  2020-01-22 23:29   ` Andrew Benson
@ 2020-01-23  8:42     ` terrible apps
  0 siblings, 0 replies; 4+ messages in thread
From: terrible apps @ 2020-01-23  8:42 UTC (permalink / raw)
  To: voidlinux

[-- Attachment #1.1: Type: text/plain, Size: 3761 bytes --]

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 <horrib...@gmail.com 
> <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 void...@googlegroups.com <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 voidlinux+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/voidlinux/34d57bda-e4e3-43c6-a3c7-3c1d40198cc0%40googlegroups.com.

[-- Attachment #1.2: Type: text/html, Size: 6470 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, back to index

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-20  8:24 upgrade to opencv4.2.0 via xbps-src terrible apps
2020-01-20 22:52 ` terrible apps
2020-01-22 23:29   ` Andrew Benson
2020-01-23  8:42     ` terrible apps

Void Linux discussion

Archives are clonable: git clone --mirror http://inbox.vuxu.org/voidlinux

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://inbox.vuxu.org/vuxu.archive.voidlinux


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git