New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #28472 (closed defect: fixed)

Opened 3 years ago

Last modified 2 years ago

gobject-introspection should be using ${configure.cc}

Reported by: ryandesign@… Owned by: singingwolfboy@…
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: Cc: gale@…, suv-sf@…, soehn@…
Port: gobject-introspection

Description

gobject-introspection should ensure it's UsingTheRightCompiler:

Making all in gir
  GISCAN GLib-2.0.gir
  GICOMP cairo-1.0.gir
  GICOMP DBus-1.0.gir
  GICOMP fontconfig-2.0.gir
  GICOMP freetype2-2.0.gir
  GICOMP GL-1.0.gir
  GICOMP libxml2-2.0.gir
  GICOMP xft-2.0.gir
  GICOMP xlib-2.0.gir
  GICOMP xfixes-4.0.gir
  GICOMP xrandr-1.3.gir
cc -E -C -I. - -I.. -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -DGETTEXT_PACKAGE=Dummy -DGLIB_COMPILATION -D__G_I18N_LIB_H__
cc: Error: You should be using ${configure.cc}
See http://trac.macports.org/wiki/UsingTheRightCompiler
Error while processing the source.

Change History

comment:1 follow-up: ↓ 2 Changed 3 years ago by rmstonecipher@…

  • Owner changed from rmstonecipher@… to ryandesign@…

Ryan Schmidt,
Most programs that build .gir files fail similarly, but I cannot figure out where in the gobject-introspection source this error occurs.
Moments before I saw you had posted this ticket I gave up entirely on gobject-introspection in r76238.
I initially ported gobject-introspection when a new version of something I used (perhaps py2x-gtk?) required gobject-introspection; later I found that the --disable-introspection configure flag allows one to sidestep this ornery dependency.
I wish you the best of luck in solving this issue but do not have the investigative skills necessary to assist you.

Ryan Stonecipher

comment:2 in reply to: ↑ 1 Changed 3 years ago by gale@…

Replying to rmstonecipher@…:

Moments before I saw you had posted this ticket I gave up entirely on gobject-introspection in r76238.
I initially ported gobject-introspection when a new version of something I used (perhaps py2x-gtk?) required gobject-introspection; later I found that the --disable-introspection configure flag allows one to sidestep this ornery dependency.

Unfortunately, gobject-introspection seems to be an indirect dependency of a vast swath of ports. On my system, gobject-introspection is tripping over #28479. As a result, I am unable to upgrade atk, gdk-pixbuf2, and pagno, all of which are in turn dependencies of various other ports.

It would be great if we could remove all of those dependencies on this port with strategic use of --disable-introspection, but I have my doubts.

comment:3 Changed 3 years ago by gale@…

  • Cc gale@… added

Cc Me!

comment:4 Changed 3 years ago by suv-sf@…

  • Cc suv-sf@… added

Cc Me!

comment:5 Changed 3 years ago by soehn@…

  • Cc soehn@… added

Cc Me!

comment:6 Changed 3 years ago by jmr@…

  • Owner changed from ryandesign@… to singingwolfboy@…

comment:7 Changed 2 years ago by ryandesign@…

  • Status changed from new to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.