Opened 10 years ago

Closed 10 years ago

#41247 closed defect (fixed)

OS X 10.9: libplist: error: 'long' to 'iterator' (aka '__map_iterator<typename __base::iterator>')

Reported by: tombombadil@… Owned by: rmstonecipher@…
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: Cc: raimue (Rainer Müller), lars@…, m214089, faustinroman@…
Port: libplist

Description

error: no matching conversion for functional-style cast from 'long' to 'iterator' (aka 'map_iterator<typename base::iterator>')

:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_libplist/libplist/work/libplist-1.10/src/Dictionary.cpp:154:12: error: no matching conversion for functional-style cast from 'long' to 'iterator' (aka '__map_iterator<typename __base::iterator>')
:info:build 1 error generated.
:error:build org.macports.build for port libplist returned: command execution failed
:info:build make[2]: *** [src/CMakeFiles/plist++.dir/Dictionary.cpp.o] Error 1
:info:build make[1]: *** [src/CMakeFiles/plist++.dir/all] Error 2
:info:build make: *** [all] Error 2

Attachments (2)

main.log (49.6 KB) - added by tombombadil@… 10 years ago.
libplist-mavericks.diff (970 bytes) - added by raimue (Rainer Müller) 10 years ago.
Proposed port update

Download all attachments as: .zip

Change History (9)

Changed 10 years ago by tombombadil@…

Attachment: main.log added

comment:1 Changed 10 years ago by raimue (Rainer Müller)

Cc: raimue@… added
Owner: changed from macports-tickets@… to rmstonecipher@…
Port: libplist added

Changed 10 years ago by raimue (Rainer Müller)

Attachment: libplist-mavericks.diff added

Proposed port update

comment:2 Changed 10 years ago by lars@…

Cc: lars@… added

Cc Me!

comment:3 Changed 10 years ago by m214089

Cc: luis.kornblueh@… added

Cc Me!

comment:4 Changed 10 years ago by faustinroman@…

working for me is solution from [33431]:

sudo port clean libplist
sudo port install libplist configure.compiler=llvm-gcc-4.2

comment:5 Changed 10 years ago by faustinroman@…

Cc: faustinroman@… added

Cc Me!

comment:6 in reply to:  4 Changed 10 years ago by larryv (Lawrence Velázquez)

Replying to faustinroman@…:

working for me is solution from [33431]:

sudo port clean libplist
sudo port install libplist configure.compiler=llvm-gcc-4.2

Xcode 5 does not provide LLVM-GCC, so this is not a viable fix.

comment:7 Changed 10 years ago by raimue (Rainer Müller)

Resolution: fixed
Status: newclosed

Maintainer timeout, fix committed in r113163.

Note: See TracTickets for help on using tickets.