Opened 13 years ago
Last modified 13 years ago
#30439 closed defect
ldapvi build fails on Lion — at Initial Version
Reported by: | dyoung@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.0.0 |
Keywords: | lion | Cc: | |
Port: | ldapvi |
Description
$ 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
On 10.7: $ 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);
ldapvi main.log