[MacPorts] #30439: ldapvi build fails on Lion
MacPorts
noreply at macports.org
Thu Jul 28 15:35:13 PDT 2011
#30439: ldapvi build fails on Lion
-----------------------------------+----------------------------------------
Reporter: dyoung@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.0.0
Keywords: lion | Port: ldapvi
-----------------------------------+----------------------------------------
$ 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);
--
Ticket URL: <https://trac.macports.org/ticket/30439>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list