[Deborphan-devel] Bug#808482: deborphan: FTBFS: deborphan.h:39:14: error: expected identifier

Chris West (Faux) solo-debianbugs at goeswhere.com
Sun Dec 20 13:56:17 UTC 2015


Source: deborphan
Version: 1.7.28.8-0.2
Severity: serious
Justification: fails to build from source
Tags: sid stretch
User: reproducible-builds at lists.alioth.debian.org
Usertags: ftbfs
X-Debbugs-CC: reproducible-builds at lists.alioth.debian.org

Dear Maintainer,

The package fails to build:

Making all in src
make[2]: Entering directory '/deborphan-1.7.28.8/src'
if gcc -DLOCALEDIR=\"/usr/share/locale\" -DKEEPER_FILE=\"/var/lib/deborphan/keep\" -DHAVE_CONFIG_H -I. -I. -I../include -I../include    -O2 -g -MT deborphan.o -MD -MP -MF ".deps/deborphan.Tpo" -c -o deborphan.o deborphan.c; \
then mv -f ".deps/deborphan.Tpo" ".deps/deborphan.Po"; else rm -f ".deps/deborphan.Tpo"; exit 1; fi
In file included from /usr/include/string.h:634:0,
                 from deborphan.c:14:
../include/deborphan.h:39:14: error: expected identifier or ‘(’ before ‘__extension__’
 extern char *strsep(char **, const char *);
              ^
../include/deborphan.h:39:14: error: expected identifier or ‘(’ before ‘)’ token
 extern char *strsep(char **, const char *);
              ^
In file included from deborphan.c:35:0:
../include/xalloc.h:13:21: warning: inline function ‘xstrdup’ declared but never defined
 extern inline char *xstrdup(const char *s);
                     ^
../include/xalloc.h:12:21: warning: inline function ‘xrealloc’ declared but never defined
 extern inline void *xrealloc(void *ptr, size_t size);
                     ^
../include/xalloc.h:11:21: warning: inline function ‘xmalloc’ declared but never defined
 extern inline void *xmalloc(size_t size);
                     ^
../include/xalloc.h:10:21: warning: inline function ‘xcalloc’ declared but never defined
 extern inline void *xcalloc(size_t nmemb, size_t size);
                     ^
In file included from deborphan.c:20:0:
../include/deborphan.h:176:28: warning: inline function ‘strhash’ declared but never defined
 extern inline unsigned int strhash(const char *line);
                            ^
../include/deborphan.h:175:20: warning: inline function ‘strstripchr’ declared but never defined
 extern inline void strstripchr(char *s, int c);
                    ^
Makefile:296: recipe for target 'deborphan.o' failed
make[2]: *** [deborphan.o] Error 1
make[2]: Leaving directory '/deborphan-1.7.28.8/src'
Makefile:282: recipe for target 'all-recursive' failed

Full build log:
https://reproducible.debian.net/rb-pkg/unstable/amd64/deborphan.html

-- System Information:
Debian Release: stretch/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)



More information about the Deborphan-devel mailing list