[MacPorts] #55661: libiodbc has hard conflict against unixODBC

MacPorts noreply at macports.org
Mon Aug 31 19:49:48 UTC 2020


#55661: libiodbc has hard conflict against unixODBC
--------------------------------+----------------------
  Reporter:  spodzone           |      Owner:  nerdling
      Type:  defect             |     Status:  accepted
  Priority:  Normal             |  Milestone:
 Component:  ports              |    Version:
Resolution:                     |   Keywords:
      Port:  libiodbc unixODBC  |
--------------------------------+----------------------
Changes (by nerdling):

 * status:  assigned => accepted


Comment:

 Referring to Ryan's email that had issues with the code:


 > > +variant libodbc description {install extra libodbc.so library} {

 > > +    configure.args-replace --disable-libodbc --enable-libodbc

 > > +}

 > This variant appears to install the file libodbc.a, not libodbc.so.

 libiodbc has these specific configuration flags, whose specific language
 was used for the variant descriptions:

 {{{
   --enable-libodbc        install extra libodbc.so library (default)
   --disable-libodbc       do not install extra libodbc.so library
 }}}

 I agree it appears to actually create a `.a` file as seen below and will
 swap the extension in our messaging, however I don't doubt that this file
 still created the reported conflict.

 Enable creates these `lib/lib*` files:
 {{{
 work/destroot/opt/local/lib/libiodbc.2.dylib
 work/destroot/opt/local/lib/libiodbc.a
 work/destroot/opt/local/lib/libiodbc.dylib
 work/destroot/opt/local/lib/libiodbcinst.2.dylib
 work/destroot/opt/local/lib/libiodbcinst.a
 work/destroot/opt/local/lib/libiodbcinst.dylib
 }}}

 Disable creates these `lib/lib*` files:
 {{{
 work/destroot/opt/local/lib/libiodbc.2.dylib
 work/destroot/opt/local/lib/libiodbc.a
 work/destroot/opt/local/lib/libiodbc.dylib
 work/destroot/opt/local/lib/libiodbcinst.2.dylib
 work/destroot/opt/local/lib/libiodbcinst.a
 work/destroot/opt/local/lib/libiodbcinst.dylib
 work/destroot/opt/local/lib/libodbc.a
 }}}

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


More information about the macports-tickets mailing list