Opened 11 years ago

Closed 9 years ago

#41948 closed defect (fixed)

libplist @1.10_0+python27: build error

Reported by: slask@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: Cc: kurthindenburg (Kurt Hindenburg)
Port: libplist

Description

When installing libplist the compilation errors out at the following (snip from main.log)

:info:build [ 20%] Building C object src/CMakeFiles/plist.dir/plist.c.o:info:build cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_libplist/libplist/work/libplist-1.10/src && /usr/bin/gcc-4.2  -Dplist_EXPORTS -pipe -Os -I/opt/local/include -arch x86_64  -DPLIST_BYTE_ORDER=0 -DNDEBUG -arch x86_64 -fPIC -I/opt/local/var/macpor
ts/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_libplist/libplist/work/libplist-1.10/include -I/opt/local/include/libxml2 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_libplist/libplist/work/libplist-1.10/libcnary/inclu
de    -o CMakeFiles/plist.dir/plist.c.o   -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_libplist/libplist/work/libplist-1.10/src/plist.c
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_libplist/libplist/work/libplist-1.10/src/plist.c: In function ‘plist_new_uid’:
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_libplist/libplist/work/libplist-1.10/src/plist.c:144: error: ‘PLIST_UID’ undeclared (first use in this function)

Googling the defect reveals this problem seem to happen to others, here is a link with a possible patch: http://openbsd.7691.n7.nabble.com/PATCH-devel-libplist-Wrong-order-of-include-dirs-td227103.html

Attachments (1)

main.log (56.2 KB) - added by slask@… 11 years ago.
proposed patch

Download all attachments as: .zip

Change History (6)

Changed 11 years ago by slask@…

Attachment: main.log added

proposed patch

comment:1 Changed 11 years ago by slask@…

well that was the log, not a patch and I do not seem to be able to modify the description.

comment:2 Changed 11 years ago by larryv (Lawrence Velázquez)

Owner: changed from macports-tickets@… to rmstonecipher@…
Summary: libplist 1.10_0 +python27 compile errorlibplist @1.10_0+python27: build error

comment:3 Changed 10 years ago by mf2k (Frank Schima)

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

comment:4 Changed 9 years ago by kurthindenburg (Kurt Hindenburg)

Cc: khindenburg@… added

Cc Me!

comment:5 Changed 9 years ago by kurthindenburg (Kurt Hindenburg)

Resolution: fixed
Status: newclosed

I update this to 0.12 - try it out and re-open this if you still have issues.

Note: See TracTickets for help on using tickets.