New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #30439 (closed defect: fixed)

Opened 23 months ago

Last modified 14 months ago

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@…) (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

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

main.log (28.4 KB) - added by dyoung@… 23 months ago.
ldapvi main.log

Change History

Changed 23 months ago by dyoung@…

ldapvi main.log

comment:1 Changed 23 months ago by ryandesign@…

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

Use WikiFormatting please.

comment:2 Changed 14 months ago by jmr@…

  • Status changed from new to closed
  • Cc yeled@… added
  • Resolution set to fixed

This was fixed in r84082.

Note: See TracTickets for help on using tickets.