dbus-glib will not upgrade

Ryan Schmidt ryandesign at macports.org
Tue Apr 13 23:37:51 PDT 2010


On Apr 14, 2010, at 00:54, nam wrote:

> I have problem in upgrading dbus-glib 0.80 to 0.86.
> 
> Macbook 2.16G mid2007 10.5.8
> 
> Any idea?

> DEBUG: new fully merged portvariants: universal +

Ok, you're building universal.

> --->  Configuring dbus-glib for architecture ppc

> checking for BSD- or MS-compatible name lister (nm)... no

> --->  Configuring dbus-glib for architecture i386

> checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -p
> checking the name lister (/usr/bin/nm -p) interface... BSD nm

And when doing the ppc part, it couldn't figure out where the "nm" command is (while for the i386 part it could).

> --->  Building dbus-glib for architecture ppc

> ../libtool: eval: line 941: syntax error near unexpected token `|'


You'll probably find that on line 941 of the libtool, it uses the $NM variable between two pipes; since the $NM variable is empty here, that makes two pipes in a row, which is a syntax error.

We've seen this several times before in several other ports that use the muniversal portgroup, so we just have to apply the same fix to the dbus-glib port. You should file a ticket in the issue tracker.



More information about the macports-users mailing list