Opened 14 years ago

Closed 14 years ago

#25043 closed defect (fixed)

pkgconfig 0.24 adds extra escaping

Reported by: xcingix@… Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 1.8.99
Keywords: Cc: nerdling (Jeremy Lavergne), cssdev, dbevans (David B. Evans)
Port: pkgconfig

Description (last modified by nerdling (Jeremy Lavergne))

I'm having trouble installing GMPC via MacPorts.

We suspected that libproxy failed due to xulrunner not being installed. Unfortunately, we couldn't get xulrunner to install on that system either (i've emailed jeremyhu).

Attachments (2)

main.log (11.4 KB) - added by xcingix@… 14 years ago.
main.2.log (73.5 KB) - added by xcingix@… 14 years ago.

Download all attachments as: .zip

Change History (10)

comment:1 Changed 14 years ago by nerdling (Jeremy Lavergne)

Cc: snc@… added
Description: modified (diff)
Keywords: libproxy gmpc xulrunner removed
Milestone: MacPorts 1.9.0
Port: libproxy added

Changed 14 years ago by xcingix@…

Attachment: main.log added

Changed 14 years ago by xcingix@…

Attachment: main.2.log added

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

Owner: changed from macports-tickets@… to devans@…

comment:3 Changed 14 years ago by jmroot (Joshua Root)

Cc: css@… ryandesign@… added

Nothing to do with missing dependencies.

Syntax error in cmake code at

    :102

  when parsing string

    -DORBIT2\=1;-D_REENTRANT;-I/opt/local/include/gconf/2;-I/opt/local/include/orbit-2.0;-I/opt/local/include/dbus-1.0;-I/opt/local/lib/dbus-1.0/include;-I/opt/local/include/glib-2.0;-I/opt/local/lib/glib-2.0/include;-I/opt/local/include

  Invalid escape sequence \=

Could be a problem with cmake, pkgconfig or orbit2. The recent pkgconfig update could be at least the proximate cause.

comment:4 Changed 14 years ago by jmroot (Joshua Root)

Port: cmake pkgconfig orbit2 added

comment:5 Changed 14 years ago by cssdev

Whatever generates that string does so incorrectly ... the compiler definition should be -DORBIT2=1. The escaped equal sign is the source of the error.

comment:6 Changed 14 years ago by raimue (Rainer Müller)

Really seems to be the fault of pkg-config:

$ grep Cflags /opt/local/lib/pkgconfig/ORBit-2.0.pc
Cflags: -I${includedir}/orbit-2.0 -DORBIT2=1
$ pkg-config --cflags ORBit-2.0
-DORBIT2\=1 -D_REENTRANT -I/opt/local/include/orbit-2.0 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include

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

Cc: devans@… added; ryandesign@… removed
Owner: changed from devans@… to ryandesign@…
Port: cmake orbit2 libproxy removed
Status: newassigned
Summary: Libproxy Install Errorpkgconfig 0.24 adds extra escaping

Agreed, pkgconfig's error. I see a discussion about it on their mailing list with a promise that version 0.25 will be out shortly to fix it.

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

Resolution: fixed
Status: assignedclosed

Fixed by updating to 0.25 in r68187.

Note: See TracTickets for help on using tickets.