apr-1-config does not use xcrun prefix

Originator:zwaldowski
Number:rdar://18776349 Date Originated:26 Oct 2014
Status:Duplicate Resolved:false
Product:OS X SDK Product Version:Mac OS 10.10.0 14A389, Xcode 6.1 6A1052d
Classification:Serious Bug Reproducible:Always
 
Summary:
/usr/bin/apr-1-config in OS X Yosemite is hard-coded (line 24) to use "/usr" as the prefix on an Xcode-only system. Additionally, it is hard-coded to use a presumably Apple-internal toolchain (lines 33-34).

Steps to Reproduce:
1. Fresh install Yosemite, Xcode. Do not install the CLT.
2. Attempt to build software requiring apr (say serf, for subversion)
3. Build errors

Expected Results:
Like xml2-config, apr-1-config should use xcrun to determine its toolchain and Unix path prefix.

Actual Results:
apr-1-config is hard-coded for "/usr" and an Xcode toolchain at /Applications that is not provided in public releases.

Notes:


Configuration:
Occurs under every release thus far of Mac OS X Yosemite. 

Attachments:

Comments

Duplicate of 14678725 (Open/Closed)

By zwaldowski at Oct. 30, 2014, 5:29 a.m. (reply...)

Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!