[Debian-med-packaging] Bug#1114370: seq-gen: FTBFS: seq-gen.c:143:6: error: conflicting types for 'ReadParams'; have 'void(int, char **)'

Santiago Vila sanvila at debian.org
Fri Sep 5 19:26:02 BST 2025


Package: src:seq-gen
Version: 1.3.4-2
Severity: serious
Tags: ftbfs forky sid

Dear maintainer:

During a rebuild of all packages in unstable, your package failed to build.

Below you will find how the build ends (probably the most relevant part,
but not necessarily). If required, the full build log is available here:

https://people.debian.org/~sanvila/build-logs/202509/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you could not reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:seq-gen, so that this is still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean --sourcedirectory=source
   dh_auto_clean -O--sourcedirectory=source
	cd source && make -j2 clean
make[1]: Entering directory '/<<PKGBUILDDIR>>/source'
/bin/rm -f *~ *.o core
make[1]: Leaving directory '/<<PKGBUILDDIR>>/source'
   dh_autoreconf_clean -O--sourcedirectory=source
   debian/rules override_dh_clean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
echo -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection
-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection
[ ! -f source/seq-gen ] || rm source/seq-gen
dh_clean
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
 debian/rules binary
dh binary --sourcedirectory=source
   dh_update_autotools_config -O--sourcedirectory=source
   dh_autoreconf -O--sourcedirectory=source
   dh_auto_configure -O--sourcedirectory=source
   dh_auto_build -O--sourcedirectory=source
	cd source && make -j2 "INSTALL=install --strip-program=true"
make[1]: Entering directory '/<<PKGBUILDDIR>>/source'
cc  -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wl,-z,relro -Wl,-z,now -Wdate-time -D_FORTIFY_SOURCE=2 -c seq-gen.c 
cc  -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wl,-z,relro -Wl,-z,now -Wdate-time -D_FORTIFY_SOURCE=2 -c global.c
seq-gen.c:143:6: error: conflicting types for ‘ReadParams’; have ‘void(int,  char **)’
  143 | void ReadParams(int argc, char **argv)
      |      ^~~~~~~~~~
seq-gen.c:78:13: note: previous declaration of ‘ReadParams’ with type ‘void(void)’
   78 | static void ReadParams();
      |             ^~~~~~~~~~
seq-gen.c: In function ‘OpenTreeFile’:
seq-gen.c:690:25: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  690 |                         fgets(st, 255, stdin);
      |                         ^~~~~~~~~~~~~~~~~~~~~
seq-gen.c: In function ‘ReadFileParams’:
seq-gen.c:584:17: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  584 |                 fgets(st, 255, tree_fv);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~
make[1]: *** [Makefile:13: seq-gen.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory '/<<PKGBUILDDIR>>/source'
dh_auto_build: error: cd source && make -j2 "INSTALL=install --strip-program=true" returned exit code 2
make: *** [debian/rules:8: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------



More information about the Debian-med-packaging mailing list