Package: freebsd-libs Version: 10.0-6 Severity: serious Usertags: goto-cc During a rebuild of all Debian packages in a clean sid chroot (using cowbuilder and pbuilder) the build failed with the following error.
[...] /usr/include/freebsd/stdio.h:16:7: error: conflicting types for 'funopen' FILE *funopen (const void *cookie, int (*readfn)(void *, char *, int), ^ In file included from /usr/include/freebsd/stdio.h:6:0, from /srv/jenkins-slave/workspace/sid-goto-cc-freebsd-libs/freebsd-libs-10.0/lib/libsbuf/../../sys/kern/subr_sbuf.c:46: /usr/include/bsd/stdio.h:57:7: note: previous declaration of 'funopen' was here FILE *funopen(const void *cookie, ^ In file included from /usr/include/_G_config.h:15:0, from /usr/include/libio.h:31, from /usr/include/stdio.h:74, from /usr/include/freebsd/stdio.h:1, from /srv/jenkins-slave/workspace/sid-goto-cc-freebsd-libs/freebsd-libs-10.0/lib/libsbuf/../../sys/kern/subr_sbuf.c:46: /usr/include/freebsd/stdio.h:19:7: error: expected declaration specifiers or '...' before '(' token FILE *fropen (void *cookie, int (*readfn)(void *, char *, int)); ^ /usr/include/freebsd/stdio.h:19:7: error: expected declaration specifiers or '...' before '(' token FILE *fropen (void *cookie, int (*readfn)(void *, char *, int)); ^ /usr/include/freebsd/stdio.h:19:7: error: expected declaration specifiers or '...' before '(' token FILE *fropen (void *cookie, int (*readfn)(void *, char *, int)); ^ /usr/include/freebsd/stdio.h:20:7: error: expected declaration specifiers or '...' before '(' token FILE *fwopen (void *cookie, int (*writefn)(void *, const char *, int)); ^ /usr/include/freebsd/stdio.h:20:7: error: expected declaration specifiers or '...' before '(' token FILE *fwopen (void *cookie, int (*writefn)(void *, const char *, int)); ^ /usr/include/freebsd/stdio.h:20:7: error: expected declaration specifiers or '...' before '(' token FILE *fwopen (void *cookie, int (*writefn)(void *, const char *, int)); ^ *** Error code 1 Stop. bmake[1]: stopped in /srv/jenkins-slave/workspace/sid-goto-cc-freebsd-libs/freebsd-libs-10.0/lib/libsbuf debian/rules:176: recipe for target 'build-sbuf-stamp' failed make: *** [build-sbuf-stamp] Error 1 The full build log is attached; please do let me know if the problem is unreproducible, in which case I shall try to investigate further. Best, Michael
freebsd-libs-build-log.txt.gz
Description: application/gunzip
pgp1tEuV59W_v.pgp
Description: PGP signature