Source: kdrill
Version: 6.5deb2-10
Severity: serious
Justification: fails to build from source
Tags: sid 
User: reproducible-bui...@lists.alioth.debian.org
Usertags: ftbfs
X-Debbugs-CC: reproducible-bui...@lists.alioth.debian.org

Dear Maintainer,

The package fails to build:

/usr/bin/make DICTLOCATION=/usr/share/edict/kanjidic 
EDICTLOCATION=/usr/share/edict/edict RADLOCATION=/var/lib/xjdic/radkfile
make[2]: Entering directory '/kdrill-6.5deb2'
gcc -g -O2 -fno-strict-aliasing   -g -O2 -fstack-protector-strong -Wformat 
-Werror=format-security -I/usr/include/X11     -Dlinux -D__amd64__ 
-D_POSIX_C_SOURCE=199309L                                 -D_POSIX_SOURCE 
-D_XOPEN_SOURCE                                 -D_BSD_SOURCE -D_SVID_SOURCE    
                             -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64         
                                                          -DFUNCPROTO=15 
-DNARROWPROTO  -D_FORTIFY_SOURCE=2   -D_FORTIFY_SOURCE=2  -c -o main.o main.c
In file included from /usr/include/stdio.h:27:0,
                 from main.c:2:
/usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE 
are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^
In file included from main.c:16:0:
externs.h:38:12: error: conflicting types for ‘getline’
 extern int getline(FILE *, unsigned char *);
            ^
In file included from main.c:2:0:
/usr/include/stdio.h:678:20: note: previous declaration of ‘getline’ was here
 extern _IO_ssize_t getline (char **__restrict __lineptr,
                    ^
<builtin>: recipe for target 'main.o' failed
make[2]: *** [main.o] Error 1
make[2]: Leaving directory '/kdrill-6.5deb2'
debian/rules:17: recipe for target 'override_dh_auto_build' failed
make[1]: *** [override_dh_auto_build] Error 2

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

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

Reply via email to