[MacPorts] #32358: gobject-introspection: Makefile:2712: *** Need to define GLib_2_0_gir_LIBS or GLib_2_0_gir_PROGRAM. Stop.
#32358: gobject-introspection: Makefile:2712: *** Need to define GLib_2_0_gir_LIBS or GLib_2_0_gir_PROGRAM. Stop. ---------------------------------+------------------------------------------ Reporter: rudloff@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: tiger | Port: gobject-introspection ---------------------------------+------------------------------------------ {{{ make: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_tarballs_ports_gnome_gobject-introspection/gobject- introspection/work/gobject-introspection-0.10.8' Makefile:2712: *** Need to define GLib_2_0_gir_LIBS or GLib_2_0_gir_PROGRAM. Stop. }}} -- Ticket URL: <https://trac.macports.org/ticket/32358> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32358: gobject-introspection: Makefile:2712: *** Need to define GLib_2_0_gir_LIBS or GLib_2_0_gir_PROGRAM. Stop. ---------------------------------+------------------------------------------ Reporter: rudloff@… | Owner: singingwolfboy@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: tiger | Port: gobject-introspection ---------------------------------+------------------------------------------ Changes (by jmr@…): * owner: macports-tickets@… => singingwolfboy@… * cc: singingwolfboy@… (removed) Comment: Does using the gmake port for build.cmd help? -- Ticket URL: <https://trac.macports.org/ticket/32358#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32358: gobject-introspection: Makefile:2712: *** Need to define GLib_2_0_gir_LIBS or GLib_2_0_gir_PROGRAM. Stop. ---------------------------------+------------------------------------------ Reporter: rudloff@… | Owner: singingwolfboy@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: tiger | Port: gobject-introspection ---------------------------------+------------------------------------------ Changes (by cal@…): * cc: cal@…, Peter_Dyballa@… (added) -- Ticket URL: <https://trac.macports.org/ticket/32358#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32358: gobject-introspection: Makefile:2712: *** Need to define GLib_2_0_gir_LIBS or GLib_2_0_gir_PROGRAM. Stop. ---------------------------------+------------------------------------------ Reporter: rudloff@… | Owner: singingwolfboy@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: tiger | Port: gobject-introspection ---------------------------------+------------------------------------------ Comment(by Peter_Dyballa@…): Replying to [comment:2 jmr@…]:
Does using the gmake port for build.cmd help?
How can I convince port of using gmake instead of make? I can't find the string 'make' in Portfile… -- Ticket URL: <https://trac.macports.org/ticket/32358#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32358: gobject-introspection: Makefile:2712: *** Need to define GLib_2_0_gir_LIBS or GLib_2_0_gir_PROGRAM. Stop. ---------------------------------+------------------------------------------ Reporter: rudloff@… | Owner: singingwolfboy@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: tiger | Port: gobject-introspection ---------------------------------+------------------------------------------ Comment(by sharvey@…): I have exactly same problem as this and ticket #35186 but on OSX10.4.11. The problem was initiated by a "self update" followed by a "upgrade outdated". I have just successfully issued "install gmake". Using command line "install gobject-introspection build.cmd gmake" makes absolutely no difference. -- Ticket URL: <https://trac.macports.org/ticket/32358#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32358: gobject-introspection: Makefile:2712: *** Need to define GLib_2_0_gir_LIBS or GLib_2_0_gir_PROGRAM. Stop. ---------------------------------+------------------------------------------ Reporter: rudloff@… | Owner: singingwolfboy@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: tiger | Port: gobject-introspection ---------------------------------+------------------------------------------ Comment(by Peter_Dyballa@…): Replying to [comment:5 sharvey@…]:
I have exactly same problem as this and ticket #35186 but on OSX10.4.11. The problem was initiated by a "self update" followed by a "upgrade outdated". I have just successfully issued "install gmake". Using command line "install gobject-introspection build.cmd gmake" makes absolutely no difference.
You need to add 'build.cmd gmake" to the Portfile – which can be found by running locate Portfile | grep gobject-introspection (I did it on line #53, below the two other lines starting with 'build'). Then save Portfile or write it back. Now invoke 'port clean gobject- introspection' and then proceed to upgrade. For me upgrading the atk package led to ann error: make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_devel_atk/atk/work/atk-2.2.0/atk' /opt/local/share/gobject- introspection-1.0/Makefile.introspection:149: *** Need to define Atk_1_0_gir_LIBS or Atk_1_0_gir_PROGRAM. Stop. (Reported.) -- Ticket URL: <https://trac.macports.org/ticket/32358#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32358: gobject-introspection: Makefile:2712: *** Need to define GLib_2_0_gir_LIBS or GLib_2_0_gir_PROGRAM. Stop. ------------------------------------+--------------------------------------- Reporter: rudloff@… | Owner: singingwolfboy@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Resolution: fixed | Keywords: tiger Port: gobject-introspection | ------------------------------------+--------------------------------------- Changes (by cal@…): * status: new => closed * resolution: => fixed Comment: Fixed in r95523. -- Ticket URL: <https://trac.macports.org/ticket/32358#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32358: gobject-introspection: Makefile:2712: *** Need to define GLib_2_0_gir_LIBS or GLib_2_0_gir_PROGRAM. Stop. ------------------------------------+--------------------------------------- Reporter: rudloff@… | Owner: singingwolfboy@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Resolution: | Keywords: tiger Port: gobject-introspection | ------------------------------------+--------------------------------------- Changes (by ccarey@…): * status: closed => reopened * resolution: fixed => Comment: Replying to [comment:7 cal@…]:
Fixed in r95523.
I’m still getting the same error on Tiger with the r95523 Portfile: {{{ :debug:build Executing command line: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_ports_gnome_gobject-introspection/gobject-introspection/work /gobject-introspection-1.32.1" && /usr/bin/gnumake -w all CC=/usr/bin/gcc-4.0 V=1 :info:build gnumake: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_ports_gnome_gobject-introspection/gobject-introspection/work /gobject-introspection-1.32.1' :info:build Makefile:2833: *** Need to define GLib_2_0_gir_LIBS or GLib_2_0_gir_PROGRAM. Stop. :info:build gnumake: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_ports_gnome_gobject-introspection/gobject-introspection/work /gobject-introspection-1.32.1' :info:build Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_ports_gnome_gobject-introspection/gobject-introspection/work /gobject-introspection-1.32.1" && /usr/bin/gnumake -w all CC=/usr/bin/gcc-4.0 V=1 :info:build Exit code: 2 }}} It looks like {{{/usr/bin/gnumake}}} (version 3.80) came with Tiger. The MacPorts {{{/opt/local/bin/gmake}}} is version 3.82. Does gobject- introspection need to use the MacPorts gmake rather than Tiger’s gnumake? -- Ticket URL: <https://trac.macports.org/ticket/32358#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32358: gobject-introspection: Makefile:2712: *** Need to define GLib_2_0_gir_LIBS or GLib_2_0_gir_PROGRAM. Stop. ------------------------------------+--------------------------------------- Reporter: rudloff@… | Owner: singingwolfboy@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Resolution: | Keywords: tiger Port: gobject-introspection | ------------------------------------+--------------------------------------- Comment(by Peter_Dyballa@…): Replying to [comment:8 ccarey@…]:
It looks like {{{/usr/bin/gnumake}}} (version 3.80) came with Tiger. The MacPorts {{{/opt/local/bin/gmake}}} is version 3.82. Does gobject- introspection need to use the MacPorts gmake rather than Tiger’s gnumake?
I used MacPorts' gmake. It had to be installed first. -- Ticket URL: <https://trac.macports.org/ticket/32358#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32358: gobject-introspection: Makefile:2712: *** Need to define GLib_2_0_gir_LIBS or GLib_2_0_gir_PROGRAM. Stop. ------------------------------------+--------------------------------------- Reporter: rudloff@… | Owner: singingwolfboy@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Resolution: | Keywords: tiger Port: gobject-introspection | ------------------------------------+--------------------------------------- Comment(by darylew@…): Replying to [comment:9 Peter_Dyballa@…]:
Replying to [comment:8 ccarey@…]:
It looks like {{{/usr/bin/gnumake}}} (version 3.80) came with Tiger. The MacPorts {{{/opt/local/bin/gmake}}} is version 3.82. Does gobject- introspection need to use the MacPorts gmake rather than Tiger’s gnumake?
I used MacPorts' gmake. It had to be installed first.
Came in from #35186. Already had MacPorts' gmake installed. Still had the same error, even after changing the Portfile to match r95523. -- Ticket URL: <https://trac.macports.org/ticket/32358#comment:10> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32358: gobject-introspection: Makefile:2712: *** Need to define GLib_2_0_gir_LIBS or GLib_2_0_gir_PROGRAM. Stop. ------------------------------------+--------------------------------------- Reporter: rudloff@… | Owner: singingwolfboy@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Resolution: | Keywords: tiger Port: gobject-introspection | ------------------------------------+--------------------------------------- Comment(by ccarey@…): Replying to [comment:9 Peter_Dyballa@…]:
Replying to [comment:8 ccarey@…]:
It looks like {{{/usr/bin/gnumake}}} (version 3.80) came with Tiger. The MacPorts {{{/opt/local/bin/gmake}}} is version 3.82. Does gobject- introspection need to use the MacPorts gmake rather than Tiger’s gnumake?
I used MacPorts' gmake. It had to be installed first.
Peter, like darylew above, the MacPorts gmake was already installed on my system before trying to install gobject-introspection with r95523. My {{{$PATH}}} environment variable even has {{{/opt//local/bin}}} before {{{/usr/bin}}}, so I was surprised to see the Tiger gnumake being used in preference to the MacPorts gmake. Does some kind of {{{$PATH}}} manipulation need to be done for the {{{macports}}} user as well? -- Ticket URL: <https://trac.macports.org/ticket/32358#comment:11> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32358: gobject-introspection: Makefile:2712: *** Need to define GLib_2_0_gir_LIBS or GLib_2_0_gir_PROGRAM. Stop. ------------------------------------+--------------------------------------- Reporter: rudloff@… | Owner: singingwolfboy@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Resolution: | Keywords: tiger Port: gobject-introspection | ------------------------------------+--------------------------------------- Comment(by cal@…): Replying to [comment:11 ccarey@…]:
Does some kind of {{{$PATH}}} manipulation need to be done for the {{{macports}}} user as well?
No. I just wrongly assumed Tiger either wouldn't have `gnumake` installed or it would be sufficient. I will fix this soon. -- Ticket URL: <https://trac.macports.org/ticket/32358#comment:12> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32358: gobject-introspection: Makefile:2712: *** Need to define GLib_2_0_gir_LIBS or GLib_2_0_gir_PROGRAM. Stop. ------------------------------------+--------------------------------------- Reporter: rudloff@… | Owner: singingwolfboy@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Resolution: fixed | Keywords: tiger Port: gobject-introspection | ------------------------------------+--------------------------------------- Changes (by jmr@…): * status: reopened => closed * resolution: => fixed Comment: r95533 -- Ticket URL: <https://trac.macports.org/ticket/32358#comment:13> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts