Opened 13 years ago

Closed 12 years ago

#30439 closed defect (fixed)

ldapvi build fails on Lion

Reported by: dyoung@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.0.0
Keywords: lion Cc: dreamind@…, yeled@…
Port: ldapvi

Description (last modified by ryandesign (Ryan Carsten Schmidt))

$ 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);

Attachments (1)

main.log (28.4 KB) - added by dyoung@… 13 years ago.
ldapvi main.log

Download all attachments as: .zip

Change History (3)

Changed 13 years ago by dyoung@…

Attachment: main.log added

ldapvi main.log

comment:1 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: dreamind@… added
Description: modified (diff)

Use WikiFormatting please.

comment:2 Changed 12 years ago by jmroot (Joshua Root)

Cc: yeled@… added
Resolution: fixed
Status: newclosed

This was fixed in r84082.

Note: See TracTickets for help on using tickets.