At 12:29 PM -0700 9/30/12, Jeremy Huddleston Sequoia wrote:
On Sep 30, 2012, at 9:06 AM, Bradley Giesbrecht <b...@pixilla.com> wrote:

I want to fallback to macports-clang-3.0 on XCode 4.4 AND 4.5. Is that what is happening?

Yes.  It should be.

Jeremy, I believe the mythtv-core.25 port will only work (on XCode 4.5) _IF_ the user already has apple-gcc-4.2 installed.

I would classify this as a bug in the current implementation of the compiler.fallback list. MacPorts tries to use the first fallback compiler that isn't blacklisted. When apple-gcc-4.2 is chosen, there is nothing to ensure that it is installed or added to the dependencies until 32542 is fixed.

BTW, it seems to me that the compiler.fallback should be an ordered list with the port author in control of first, second and other choices? In my case, apple-gcc-4.2 works but results in some (non-fatal) errors at runtime; macports-clang-3.0 generates quieter-running code.


Bradley, I believe if we add apple-gcc-4.2 to the blacklist, mythtv-core.25 will work predictably again. Could you please change line 84 from:
                    dragonegg-3.0 dragonegg-3.1
to:
                    dragonegg-3.0 dragonegg-3.1 apple-gcc-4.2

Thanks,

Craig
_______________________________________________
macports-dev mailing list
macports-dev@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo/macports-dev

Reply via email to