[MacPorts] #64150: fcl @0.7.0: No rule to make target `.../libm.tbd', needed by `lib/libfcl.0.7.0.dylib'

MacPorts noreply at macports.org
Wed Dec 8 09:08:33 UTC 2021


#64150: fcl @0.7.0: No rule to make target `.../libm.tbd', needed by
`lib/libfcl.0.7.0.dylib'
-------------------------+----------------------
  Reporter:  ryandesign  |      Owner:  mamoll
      Type:  defect      |     Status:  assigned
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.7.1
Resolution:              |   Keywords:  bigsur
      Port:  fcl         |
-------------------------+----------------------

Comment (by kencu):

 The (incorrect) path is (incorrectly) burned into the cmake files of the
 {{{libccd}}} port.

 In this file:
 {{{
 ccd-targets-macports.cmake
 }}}
 we have:
 {{{
 set_target_properties(ccd PROPERTIES
   IMPORTED_LINK_INTERFACE_LIBRARIES_MACPORTS
 "/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk/usr/lib/libm.tbd"
 }}}

 and that gets picked up by fcl during it's build.

 Yet another example of the errors of burning in the path to the SDK in
 installed files.

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


More information about the macports-tickets mailing list