New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #25043 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

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

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

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)

Changed 3 years ago by xcingix@…

Changed 3 years ago by xcingix@…

comment:2 Changed 3 years ago by jmr@…

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

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.

comment:8 Changed 3 years ago by ryandesign@…

  • Status changed from assigned to closed
  • Resolution set to fixed

Fixed by updating to 0.25 in r68187.

Note: See TracTickets for help on using tickets.