Opened 14 years ago

Last modified 11 years ago

#24477 closed defect

dbus-glib will not upgrade — at Version 1

Reported by: drnamba@… Owned by: jwa@…
Priority: Normal Milestone:
Component: ports Version: 1.8.2
Keywords: muniversal Cc: ryandesign@…
Port: dbus-glib

Description (last modified by ryandesign (Ryan Carsten Schmidt))

I have problem in upgrading dbus-glib 0.80 to 0.86.

Macbook 2.16G mid2007 10.5.8

I consulted this problem in a mailing list and Ryan suggested as follows:


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.

Change History (2)

Changed 14 years ago by drnamba@…

Attachment: dbus-glib.txt added

Debug message

comment:1 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added
Description: modified (diff)
Owner: changed from macports-tickets@… to jwa@…

For example, this same problem was solved in the pango port in r50606. So this same fix could presumably be applied to dbus-glib. (Ignore the lines about ac_cv_header_Carbon_Carbon_h which were specific to pango.)

Note: See TracTickets for help on using tickets.