[MacPorts] #61321: apr-util @1.6.1_2 +no_bdb fails to build (due to wrong sysroot?)

MacPorts noreply at macports.org
Wed Oct 14 17:18:42 UTC 2020


#61321: apr-util @1.6.1_2 +no_bdb fails to build (due to wrong sysroot?)
-------------------------+----------------------
 Reporter:  pierswalter  |      Owner:  (none)
     Type:  defect       |     Status:  new
 Priority:  Normal       |  Milestone:
Component:  ports        |    Version:  2.6.3
 Keywords:               |       Port:  apr-util
-------------------------+----------------------
 MacPorts 2.6.3, Xcode 12.0.1, macOS 10.15.7

 I'm trying to install ''subversion +no_bdb''.
 This fails in trying to build the dependency ''apr-util''.

 I can reproduce this when just building ''apr-util'' on its own:\\
 Trying to build ''apr-util'' without using the ''+no_bdb'' variant works
 fine.\\
 Trying to build ''apr-util +no_bdb'' fails just like the subversion build
 did.

 I'll attach the build log.

 The root cause seems to be that the build at one point starts to use this
 non-existing folder as sysroot:

 {{{
 /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk
 }}}

 This is puzzling because initially it seems to use the correct folder:

 {{{
 /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk
 }}}

 Please note that I've just opened ticket #61320 about an installer error
 message that appeared when I tried to install MacPorts on this computer. I
 am not sure whether or not that error was indicative of a real problem or
 not (MacPorts seems to work). I hope that the ''apr-util'' problem is not
 a  followup error of #61320.

-- 
Ticket URL: <https://trac.macports.org/ticket/61321>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list