Opened 7 years ago

Closed 7 years ago

#43230 closed defect (fixed)

textmate2 @2.0-alpha.9529: error: use of undeclared identifier 'plist'; did you mean 'klist'?

Reported by: ryandesign (Ryan Schmidt) Owned by: neverpanic (Clemens Lang)
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: Cc: cooljeanius (Eric Gallager)
Port: textmate2

Description

textmate2 @2.0-alpha.9529 fails to build for me on OS X Mavericks 10.9.2 with Xcode 5.1:

Frameworks/network/src/key_chain.cc:78:2: error: use of undeclared identifier 'plist'; did you mean 'klist'?
        plist::dictionary_t identities;
        ^~~~~
        klist
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/usr/include/sys/event.h:300:12: note: 'klist' declared here
SLIST_HEAD(klist, knote);
           ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/usr/include/sys/queue.h:180:8: note: expanded from macro 'SLIST_HEAD'
struct name {                                                           \
       ^

Attachments (1)

main.log.bz2 (8.1 KB) - added by ryandesign (Ryan Schmidt) 7 years ago.

Download all attachments as: .zip

Change History (6)

Changed 7 years ago by ryandesign (Ryan Schmidt)

Attachment: main.log.bz2 added

comment:1 Changed 7 years ago by neverpanic (Clemens Lang)

plist from plist::dictionary_t is a namespace defined in Frameworks/plist/src/plist.h and is included from Frameworks/network/src/key_chain.cc using #include <plist/plist.h>. Do you happen to have a different plist.h header that shadows this one?

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

$ port provides /opt/local/include/plist/plist.h
/opt/local/include/plist/plist.h is provided by: libplist

So this is another instance of the class of problem that #40656 should solve.

comment:3 Changed 7 years ago by neverpanic (Clemens Lang)

Added a build conflict in r119073. Unfortunately I don't have time to fix the underlying issue at the moment – patches (or commits) welcome, though. I assume adding -isystem$prefix/include manually would help?

comment:4 Changed 7 years ago by cooljeanius (Eric Gallager)

Cc: egall@… added

Cc Me!

comment:5 Changed 7 years ago by neverpanic (Clemens Lang)

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.