[MacPorts] #37235: gobject-introspection 1.34.1.1 ignores configure.cc and chooses gcc compiler
#37235: gobject-introspection 1.34.1.1 ignores configure.cc and chooses gcc compiler ----------------------------+-------------------------------- Reporter: thijsvermeir@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: | Port: ----------------------------+-------------------------------- gobject-introspection is not using configure.cc as the compiler for internal commands, it defaults to using gcc. This lets other ports fail e.g. GStreamer. -- Ticket URL: <https://trac.macports.org/ticket/37235> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37235: gobject-introspection 1.34.1.1 ignores configure.cc and chooses gcc compiler ------------------------------------+-------------------------------- Reporter: thijsvermeir@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: gobject-introspection | ------------------------------------+-------------------------------- Changes (by jmr@…): * port: => gobject-introspection -- Ticket URL: <https://trac.macports.org/ticket/37235#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37235: gobject-introspection 1.34.1.1 ignores configure.cc and chooses gcc compiler ------------------------------------+---------------------- Reporter: thijsvermeir@… | Owner: cal@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: gobject-introspection | ------------------------------------+---------------------- Changes (by cal@…): * owner: macports-tickets@… => cal@… * status: new => assigned -- Ticket URL: <https://trac.macports.org/ticket/37235#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37235: gobject-introspection 1.34.1.1 ignores configure.cc and chooses gcc compiler ------------------------------------+-------------------- Reporter: thijsvermeir@… | Owner: cal@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: fixed | Keywords: Port: gobject-introspection | ------------------------------------+-------------------- Changes (by cal@…): * status: assigned => closed * resolution: => fixed Comment: Thanks for the patch, commited in r100297. I've previously fixed this in other ports by setting `$CC`; it might still be preferable to set `$CC` because the compiler used in a dependent port might not be the one used when building `gobject-introspection`. -- Ticket URL: <https://trac.macports.org/ticket/37235#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37235: gobject-introspection 1.34.1.1 ignores configure.cc and chooses gcc compiler ------------------------------------+-------------------- Reporter: thijsvermeir@… | Owner: cal@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: fixed | Keywords: Port: gobject-introspection | ------------------------------------+-------------------- Comment (by ryandesign@…): Replying to [comment:3 cal@…]:
Thanks for the patch, commited in r100297.
I've previously fixed this in other ports by setting `$CC`; it might still be preferable to set `$CC` because the compiler used in a dependent port might not be the one used when building `gobject-introspection`.
Yes, we still need to set CC at build time in every port using gobject- introspection. Consider a user who is on Snow Leopard with Xcode 4.2 (which does not provide /usr/bin/gcc-4.2) and he receives a binary of gobject-introspection as compiled by our Snow Leopard buildbot, which runs Xcode 3.2.6 and therefore defaults to /usr/bin/gcc-4.2. The only thing committing this patch does is make it harder for us to realize when we need to set CC other ports. Previously, following the instructions at UsingTheRightCompiler would allow you to discover the problem on any system; now, it's only discoverable on the above rare configuration. -- Ticket URL: <https://trac.macports.org/ticket/37235#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts