Ticket #523 (closed defect: wontfix)
Opened 4 years ago
Last modified 4 years ago
git 1.7.3.5 fails to build on haiku r41287
| Reported by: | scottmc | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | Haiku Optional Packages |
| Component: | default | Version: | |
| Severity: | normal | Keywords: | |
| Cc: |
Description
CC xdiff-interface.o
CC compat/inet_ntop.o
compat/inet_ntop.c: In function 'inet_ntop':
compat/inet_ntop.c:186: error: argument 'size' doesn't match prototype
/boot/develop/headers/posix/arpa/inet.h:35: error: prototype declaration
make: *** [compat/inet_ntop.o] Error 1
Change History
comment:1 Changed 4 years ago by scottmc
comment:2 Changed 4 years ago by scottmc
- Resolution set to wontfix
- Status changed from new to closed
git-1.7.5 has a patch which gets past this error. It could probably be back ported to 1.7.3.5, but do we even need to...
closing.
Note: See
TracTickets for help on using
tickets.

note from Ingo via Haiku dev mailing list:
I could have sworn I commented on this issue before. My guess is that the configure script doesn't find Haiku's inet_ntop(), causing it to build git's fallback version which doesn't have a POSIX compliant prototype and thus clashes with the one in Haiku's <arpa/inet.h>. So, two problems here: 1. Incorrect prototype in compat/inet_ntop.c and 2. Haiku's inet_ntop() not being found. The latter is likely caused by configure not even looking for Haiku's libnetwork. The former could be reported upstream.