[MacPorts] #64353: opencv3 has undocumented dependencies

MacPorts noreply at macports.org
Mon Jan 10 14:34:25 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 mouse07410):

 > so do this then:
 >
 > {{{
 > default_compilers clang macports-clang-13 macports-clang-12
 > }}}

 Unfortunately, while the above would correctly reflect my preferences - it
 seems to break the compiler selection algorithm (which IMHO requires some
 work):
 {{{
 $ tail /opt/local/etc/macports/macports.conf

 # Compilers that Macports will try to use to build ports from source
 #default_compilers clang macports-clang-13 macports-gcc-11 macports-
 clang-11
 #default_compilers macports-clang-13 macports-clang-12 clang
 default_compilers clang macports-clang-13 macports-clang-12
 $
 $ port deps opencv3 +openmp
 Full Name: opencv3 @3.4.16_1+openmp
 Build Dependencies:   cmake, pkgconfig
 Library Dependencies: ffmpeg, zlib, bzip2, libpng, libjpeg-turbo,
 openjpeg, tiff, webp, ilmbase, openexr
 $
 }}}

 It seems that when user's first preference is Xcode clang - selection
 algorithm fails, but when one of the Macport clang is the first -
 {{{port}}} selects the right compiler:
 {{{
 $ tail /opt/local/etc/macports/macports.conf

 # Compilers that Macports will try to use to build ports from source
 #default_compilers clang macports-clang-13 macports-gcc-11 macports-
 clang-11
 default_compilers macports-clang-13 clang macports-clang-12
 #default_compilers clang macports-clang-13 macports-clang-12
 $
 $ port deps opencv3 +openmp
 Full Name: opencv3 @3.4.16_1+openmp
 Build Dependencies:   cmake, pkgconfig, clang-13
 Library Dependencies: ffmpeg, zlib, bzip2, libpng, libjpeg-turbo,
 openjpeg, tiff, webp, ilmbase, openexr,
                       libomp
 $
 }}}


 > So -- let's move you from the "needs help" group to the "provides help"
 group.
 > . . . Welcome to the Team !!!!!!!

 Thank you! Honored to accept.

 Of course, there's a ton of stuff about Macports that I don't know
 (yet???), but I can probably help with small issues, relieving those more
 experienced to taking care of the harder ones.

-- 
Ticket URL: <https://trac.macports.org/ticket/64353#comment:33>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list