libtool, Xcode version, unable to infer tagged configuration

Joshua Root jmr at macports.org
Wed Aug 17 08:42:41 PDT 2011


On 2011-8-18 01:33 , Joshua Root wrote:
> On 2011-8-17 18:40 , Rainer Müller wrote:
>> On 2011-08-17 03:20, Ryan Schmidt wrote:
>>> Some recent MacPorts changes (using a different compiler based on the Xcode
>>> version, and distributing binaries) are causing problems for ports that use
>>> libtool (and other ports).
>>>
>>> At build time, libtool records into itself the contents of the $CC variable.
>>> And the value of the $CC variable at libtool build time must be the same as
>>> the value of the $CC variable when you're actually using libtool; if it is
>>> not, you get the error "unable to infer tagged configuration". (Many prior
>>> occurrences of this error can be found in our issue tracker.)
>>
>> Yes, this is really yet another problem with binary distribution. You would
>> either have to run the same Xcode version as the buildbot or make a choice
>> between using binaries or source only. Do we have an option yet to disable
>> fetching archives?
> 
> How is this not a bug in libtool?

A quick google indicates that Ryan's characterisation of the problem is
incorrect. The actual problem is that the affected build systems are not
passing e.g. --tag=CC to libtool when compiling C.

- Josh


More information about the macports-dev mailing list