[MacPorts] #64353: opencv3 has undocumented dependencies
MacPorts
noreply at macports.org
Fri Jan 7 05:38:34 UTC 2022
#64353: opencv3 has undocumented dependencies
-------------------------+----------------------
Reporter: mouse07410 | Owner: mascguy
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: opencv3 |
-------------------------+----------------------
Comment (by reneeotten):
Replying to [comment:12 mouse07410]:
> And the reason that dependency does not show on __my__ machines?
>
> {{{
> $ port installed opencv3
> The following ports are currently installed:
> opencv3 @3.4.16_1+avx2+contrib+java+nonfree+opencl+openmp+qt5+vtk
(active)
> $ port deps opencv3
> Full Name: opencv3 @3.4.16_1
> Build Dependencies: cmake, pkgconfig
> Library Dependencies: ffmpeg, zlib, bzip2, libpng, libjpeg-turbo,
openjpeg, tiff, webp, ilmbase, openexr
> $
> }}}
that's because you've installed `opencv3` with non-default variants but
are asking only for the dependencies of the port with its default
variants. You have to specify the same variants with `port deps` as you've
used with `port install` to get an accurate list of the dependencies as
Joshua showed.
> My objection was not that it was __using__ Macports clang (though there
doesn't seem much sense in doing that, having Xcode clang around) - but
that it (a) did not document it (at least on my system), and (b)
downloaded an old version of clang.
Xcode clang versions do not support `openmp`, if you remove that variant
from the `opencv3` port it will likely not install a MacPorts' version of
clang anymore.
--
Ticket URL: <https://trac.macports.org/ticket/64353#comment:13>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list