Opened 12 years ago

Closed 12 years ago

Last modified 11 years ago

#32358 closed defect (fixed)

gobject-introspection: Makefile:2712: *** Need to define GLib_2_0_gir_LIBS or GLib_2_0_gir_PROGRAM. Stop.

Reported by: rudloff@… Owned by: singingwolfboy@…
Priority: Normal Milestone:
Component: ports Version: 2.0.3
Keywords: tiger Cc: dgonyier (Dwaine Gonyier), neverpanic (Clemens Lang), ballapete (Peter "Pete" Dyballa), cooljeanius (Eric Gallager)
Port: gobject-introspection

Description

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.

Attachments (1)

main.log (50.4 KB) - added by rudloff@… 12 years ago.

Download all attachments as: .zip

Change History (15)

Changed 12 years ago by rudloff@…

Attachment: main.log added

comment:1 Changed 12 years ago by dgonyier (Dwaine Gonyier)

Cc: dgonyier@… added

Cc Me!

comment:2 Changed 12 years ago by jmroot (Joshua Root)

Cc: singingwolfboy@… removed
Owner: changed from macports-tickets@… to singingwolfboy@…

Does using the gmake port for build.cmd help?

comment:3 Changed 12 years ago by neverpanic (Clemens Lang)

Cc: cal@… Peter_Dyballa@… added

comment:4 in reply to:  2 Changed 12 years ago by ballapete (Peter "Pete" Dyballa)

Replying to 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…

comment:5 Changed 12 years ago 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.

comment:6 in reply to:  5 Changed 12 years ago by ballapete (Peter "Pete" Dyballa)

Replying to 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.)

comment:7 Changed 12 years ago by neverpanic (Clemens Lang)

Resolution: fixed
Status: newclosed

Fixed in r95523.

comment:8 in reply to:  7 ; Changed 12 years ago by ccarey@…

Resolution: fixed
Status: closedreopened

Replying to 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?

comment:9 in reply to:  8 ; Changed 12 years ago by ballapete (Peter "Pete" Dyballa)

Replying to 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.

comment:10 in reply to:  9 Changed 12 years ago by darylew@…

Replying to Peter_Dyballa@…:

Replying to 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.

comment:11 in reply to:  9 ; Changed 12 years ago by ccarey@…

Replying to Peter_Dyballa@…:

Replying to 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?

comment:12 in reply to:  11 Changed 12 years ago by neverpanic (Clemens Lang)

Replying to 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.

comment:13 Changed 12 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: reopenedclosed

comment:14 Changed 11 years ago by cooljeanius (Eric Gallager)

Cc: egall@… added

Cc Me!

Note: See TracTickets for help on using tickets.