Ticket #30439 (closed defect: fixed)
ldapvi build fails on Lion
|Reported by:||dyoung@…||Owned by:||macports-tickets@…|
Description (last modified by ryandesign@…) (diff)
$ sudo port install ldapvi ---> Computing dependencies for ldapvi ---> Building ldapvi Error: Target org.macports.build returned: shell command failed (see log for details) Log for ldapvi is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_ldapvi/ldapvi/main.log Error: Status 1 encountered during processing. To report a bug, see <http://guide.macports.org/#project.tickets>
main.log is attached.
Looks like the "getline" function in ldapvi.c is colliding with that of /usr/include/stdio.h, which wasn't there in 10.6
$ grep getline /usr/include/stdio.h ssize_t getline(char ** __restrict, size_t * __restrict, FILE * __restrict) __OSX_AVAILABLE_STARTING(__MAC_10_7, __IPHONE_4_3);
Note: See TracTickets for help on using tickets.