[Debian-med-packaging] Bug#789829: Debian packaged seqprep fails on i386 architecture (Was: Bug#789829: seqprep: FTBFS on *i386: pe_*.txt checksum mismatch)
Graham Inggs
ginggs at debian.org
Sun Sep 27 21:28:43 UTC 2015
Hi Andreas
On 27 September 2015 at 21:50, Andreas Tille <tille at debian.org> wrote:
> ...gcc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -c -Wall -Werror -O0 -g SeqPrep.c -o SeqPrep.o
> SeqPrep.c:108:5: error: 'spcount' is static but used in inline function 'update_spinner' which is not static [-Werror]
> spcount++;
> ^
> SeqPrep.c:90:12: error: 'spcount' is static but used in inline function 'update_spinner' which is not static [-Werror]
> switch(spcount % 4){
> ^
> In file included from SeqPrep.c:10:0:
> utils.h:80:13: error: inline function 'rev_qual' declared but never defined [-Werror]
> inline void rev_qual( char q[], int len );
> ^
>
> How did you managed to build at all?
To get it to build with gcc5, I did the following (and a little bit of
extra cleaning):
--- seqprep-1.1/debian/rules 2015-06-21 17:12:26.000000000 +0200
+++ seqprep-1.1/debian/rules 2015-09-27 23:20:29.000000000 +0200
@@ -1,6 +1,8 @@
#!/usr/bin/make -f
#export DH_VERBOSE=1
+export DEB_CFLAGS_MAINT_APPEND=-std=gnu90
+
%:
dh $@
@@ -14,6 +16,7 @@
dh_clean
rm -f seqprep
rm -f debian/*.1
+ rm -f README.html
Regards
Graham
More information about the Debian-med-packaging
mailing list