Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Nov 2022 13:12:20 +0000
From:      bugzilla-noreply@freebsd.org
To:        desktop@FreeBSD.org
Subject:   [Bug 267809] graphics/opencv: does not link with lapacke
Message-ID:  <bug-267809-39348@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D267809

            Bug ID: 267809
           Summary: graphics/opencv: does not link with lapacke
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: desktop@FreeBSD.org
          Reporter: thierry@FreeBSD.org
          Assignee: desktop@FreeBSD.org
             Flags: maintainer-feedback?(desktop@FreeBSD.org)

Created attachment 238119
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D238119&action=
=3Dedit
Replace LIB_DEPENDS on lapacke by a BUILD_DEPENDS on cblas+lapacke

Testing an upgrade to the blas/lapack ports, I noticed that opencv depends =
on
liblapacke, but it does not use it:

Just try the output of:
$ ldd /usr/local/bin/opencv_annotation | grep lapacke

Actually it only checks for the headers, cblas.h and lapacke.h, so that we =
can
replace LIB_DEPENDS by a BUILD_DEPENDS.

=3D>> Checking shared library dependencies
 0x0000000000000001 NEEDED               Shared library: [libOpenEXR-3_1.so=
.30]
 0x0000000000000001 NEEDED               Shared library: [libc++.so.1]
 0x0000000000000001 NEEDED               Shared library: [libc.so.7]
 0x0000000000000001 NEEDED               Shared library: [libcxxrt.so.1]
 0x0000000000000001 NEEDED               Shared library: [libdc1394.so.25]
 0x0000000000000001 NEEDED               Shared library: [libdl.so.1]
 0x0000000000000001 NEEDED               Shared library: [libfreetype.so.6]
 0x0000000000000001 NEEDED               Shared library: [libgcc_s.so.1]
 0x0000000000000001 NEEDED               Shared library: [libgdal.so.3]
 0x0000000000000001 NEEDED               Shared library: [libgdcmDSED.so.3.=
0]
 0x0000000000000001 NEEDED               Shared library: [libgdcmMSFF.so.3.=
0]
 0x0000000000000001 NEEDED               Shared library: [libglib-2.0.so.0]
 0x0000000000000001 NEEDED               Shared library: [libglog.so.1]
 0x0000000000000001 NEEDED               Shared library: [libgobject-2.0.so=
.0]
 0x0000000000000001 NEEDED               Shared library: [libgphoto2.so.6]
 0x0000000000000001 NEEDED               Shared library:
[libgphoto2_port.so.12]
 0x0000000000000001 NEEDED               Shared library: [libgstapp-1.0.so.=
0]
 0x0000000000000001 NEEDED               Shared library: [libgstaudio-1.0.s=
o.0]
 0x0000000000000001 NEEDED               Shared library: [libgstbase-1.0.so=
.0]
 0x0000000000000001 NEEDED               Shared library:
[libgstpbutils-1.0.so.0]
 0x0000000000000001 NEEDED               Shared library:
[libgstreamer-1.0.so.0]
 0x0000000000000001 NEEDED               Shared library: [libgstriff-1.0.so=
.0]
 0x0000000000000001 NEEDED               Shared library: [libgstvideo-1.0.s=
o.0]
 0x0000000000000001 NEEDED               Shared library: [libharfbuzz.so.0]
 0x0000000000000001 NEEDED               Shared library: [libhdf5.so.200]
 0x0000000000000001 NEEDED               Shared library: [libjpeg.so.8]
 0x0000000000000001 NEEDED               Shared library: [libm.so.5]
 0x0000000000000001 NEEDED               Shared library: [libopenblas.so.0]
 0x0000000000000001 NEEDED               Shared library:
[libopencv_alphamat.so.406]
 0x0000000000000001 NEEDED               Shared library:
[libopencv_aruco.so.406]
 0x0000000000000001 NEEDED               Shared library:
[libopencv_barcode.so.406]
 0x0000000000000001 NEEDED               Shared library:
[libopencv_bgsegm.so.406]
 0x0000000000000001 NEEDED               Shared library:
[libopencv_bioinspired.so.406]
 0x0000000000000001 NEEDED               Shared library:
[libopencv_calib3d.so.406]
 0x0000000000000001 NEEDED               Shared library:
[libopencv_ccalib.so.406]
 0x0000000000000001 NEEDED               Shared library:
[libopencv_core.so.406]
 0x0000000000000001 NEEDED               Shared library: [libopencv_dnn.so.=
406]
 0x0000000000000001 NEEDED               Shared library:
[libopencv_dnn_superres.so.406]
 0x0000000000000001 NEEDED               Shared library:
[libopencv_face.so.406]
 0x0000000000000001 NEEDED               Shared library:
[libopencv_features2d.so.406]
 0x0000000000000001 NEEDED               Shared library:
[libopencv_flann.so.406]
 0x0000000000000001 NEEDED               Shared library:
[libopencv_freetype.so.406]
 0x0000000000000001 NEEDED               Shared library:
[libopencv_fuzzy.so.406]
 0x0000000000000001 NEEDED               Shared library:
[libopencv_gapi.so.406]
 0x0000000000000001 NEEDED               Shared library: [libopencv_hdf.so.=
406]
 0x0000000000000001 NEEDED               Shared library: [libopencv_hfs.so.=
406]
 0x0000000000000001 NEEDED               Shared library:
[libopencv_highgui.so.406]
 0x0000000000000001 NEEDED               Shared library:
[libopencv_img_hash.so.406]
 0x0000000000000001 NEEDED               Shared library:
[libopencv_imgcodecs.so.406]
 0x0000000000000001 NEEDED               Shared library:
[libopencv_imgproc.so.406]
 0x0000000000000001 NEEDED               Shared library:
[libopencv_intensity_transform.so.406]
 0x0000000000000001 NEEDED               Shared library:
[libopencv_line_descriptor.so.406]
 0x0000000000000001 NEEDED               Shared library: [libopencv_mcc.so.=
406]
 0x0000000000000001 NEEDED               Shared library: [libopencv_ml.so.4=
06]
 0x0000000000000001 NEEDED               Shared library:
[libopencv_objdetect.so.406]
 0x0000000000000001 NEEDED               Shared library:
[libopencv_optflow.so.406]
 0x0000000000000001 NEEDED               Shared library:
[libopencv_phase_unwrapping.so.406]
 0x0000000000000001 NEEDED               Shared library:
[libopencv_photo.so.406]
 0x0000000000000001 NEEDED               Shared library:
[libopencv_plot.so.406]
 0x0000000000000001 NEEDED               Shared library:
[libopencv_quality.so.406]
 0x0000000000000001 NEEDED               Shared library:
[libopencv_rapid.so.406]
 0x0000000000000001 NEEDED               Shared library: [libopencv_reg.so.=
406]
 0x0000000000000001 NEEDED               Shared library:
[libopencv_rgbd.so.406]
 0x0000000000000001 NEEDED               Shared library:
[libopencv_saliency.so.406]
 0x0000000000000001 NEEDED               Shared library: [libopencv_sfm.so.=
406]
 0x0000000000000001 NEEDED               Shared library:
[libopencv_shape.so.406]
 0x0000000000000001 NEEDED               Shared library:
[libopencv_stereo.so.406]
 0x0000000000000001 NEEDED               Shared library:
[libopencv_stitching.so.406]
 0x0000000000000001 NEEDED               Shared library:
[libopencv_structured_light.so.406]
 0x0000000000000001 NEEDED               Shared library:
[libopencv_surface_matching.so.406]
 0x0000000000000001 NEEDED               Shared library:
[libopencv_text.so.406]
 0x0000000000000001 NEEDED               Shared library:
[libopencv_tracking.so.406]
 0x0000000000000001 NEEDED               Shared library:
[libopencv_video.so.406]
 0x0000000000000001 NEEDED               Shared library:
[libopencv_videoio.so.406]
 0x0000000000000001 NEEDED               Shared library:
[libopencv_wechat_qrcode.so.406]
 0x0000000000000001 NEEDED               Shared library:
[libopencv_xfeatures2d.so.406]
 0x0000000000000001 NEEDED               Shared library:
[libopencv_ximgproc.so.406]
 0x0000000000000001 NEEDED               Shared library:
[libopencv_xobjdetect.so.406]
 0x0000000000000001 NEEDED               Shared library:
[libopencv_xphoto.so.406]
 0x0000000000000001 NEEDED               Shared library: [libopenjp2.so.7]
 0x0000000000000001 NEEDED               Shared library: [libpng16.so.16]
 0x0000000000000001 NEEDED               Shared library: [libthr.so.3]
 0x0000000000000001 NEEDED               Shared library: [libtiff.so.5]
 0x0000000000000001 NEEDED               Shared library: [libwebp.so.7]
 0x0000000000000001 NEEDED               Shared library: [libz.so.6]

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-267809-39348>