Package: mongrel2 Version: 1.9.1-3 Severity: normal Tags: pending On kfreebsd, build fails with the following message:
src/bsd_specific.c:82:5: error: conflicting types for 'bsd_sendfile' int bsd_sendfile(int out_fd, int in_fd, off_t *offset, size_t count) { ^ In file included from /usr/include/i386-kfreebsd-gnu/sys/socket.h:38:0, from src/bsd_specific.c:37: /usr/include/i386-kfreebsd-gnu/bits/socket.h:412:12: note: previous declaration of 'bsd_sendfile' was here extern int bsd_sendfile (int __in_fd, int __out_sock, ^ <builtin>: recipe for target 'src/bsd_specific.o' failed This just seems to be a naming conflict. Renaming the local function bsd_sendfile to my_bsd_sendfile fixed it. -- System Information: Debian Release: 7.5 APT prefers stable APT policy: (989, 'stable'), (500, 'oldstable'), (99, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.15.4-smapi-x61s-amd64-00007-gbb36811 (SMP w/4 CPU cores) Locale: LANG=C, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages mongrel2 depends on: pn mongrel2-core <none> mongrel2 recommends no packages. mongrel2 suggests no packages. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org