Ticket #25043 (closed defect: fixed)
pkgconfig 0.24 adds extra escaping
| Reported by: | xcingix@… | Owned by: | ryandesign@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 1.8.99 |
| Keywords: | Cc: | snc@…, css@…, devans@… | |
| Port: | pkgconfig |
Description (last modified by snc@…) (diff)
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
Change History
comment:1 Changed 3 years ago by snc@…
- Cc snc@… added
- Keywords libproxy,gmpc,xulrunner removed
- Milestone MacPorts 1.9.0 deleted
- Port set to libproxy
- Description modified (diff)
comment:3 Changed 3 years ago by jmr@…
- 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 3 years ago by jmr@…
- Port changed from libproxy to cmake pkgconfig orbit2 libproxy
comment:5 Changed 3 years ago by css@…
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 3 years ago by raimue@…
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 3 years ago by ryandesign@…
- Owner changed from devans@… to ryandesign@…
- Status changed from new to assigned
- Port changed from cmake pkgconfig orbit2 libproxy to pkgconfig
- Cc devans@… added; ryandesign@… removed
- Summary changed from Libproxy Install Error to pkgconfig 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.
Note: See
TracTickets for help on using
tickets.

