Bug#1114416: triangle: FTBFS: ./triangle.c:10690:15: error: too many arguments to function 'readline'; expected 0, have 3
Santiago Vila
sanvila at debian.org
Fri Sep 5 19:27:38 BST 2025
Package: src:triangle
Version: 1.6-6
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:triangle, so that this is still
visible in the BTS web page for this package.
Thanks.
--------------------------------------------------------------------------------
[...]
debian/rules clean
dh clean
dh_auto_clean
make -j2 distclean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
/bin/rm -f ./triangle ./triangle.o ./tricall ./showme
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_clean
debian/rules binary
dh binary
dh_update_autotools_config
dh_autoreconf
dh_auto_configure
debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
make tricall
make[2]: Entering directory '/<<PKGBUILDDIR>>'
cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -O -DLINUX -I/usr/X11R6/include -L/usr/X11R6/lib -DTRILIBRARY -c -o ./triangle.o \
./triangle.c
cc -Wdate-time -D_FORTIFY_SOURCE=2 -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 -O -DLINUX -I/usr/X11R6/include -L/usr/X11R6/lib -o ./tricall ./tricall.c \
./triangle.o -lm
./tricall.c: In function âreportâ:
./tricall.c:40:6: warning: old-style function definition [-Wold-style-definition]
40 | void report(io, markers, reporttriangles, reportneighbors, reportsegments,
| ^~~~~~
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make triangle
make[2]: Entering directory '/<<PKGBUILDDIR>>'
cc -Wdate-time -D_FORTIFY_SOURCE=2 -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 -O -DLINUX -I/usr/X11R6/include -L/usr/X11R6/lib -o ./triangle ./triangle.c -lm
./triangle.c: In function âreconstructâ:
./triangle.c:10690:15: error: too many arguments to function âreadlineâ; expected 0, have 3
10690 | stringptr = readline(inputline, elefile, elefilename);
| ^~~~~~~~ ~~~~~~~~~
./triangle.c:322:7: note: declared here
322 | char *readline();
| ^~~~~~~~
./triangle.c:10692:15: error: too many arguments to function âfindfieldâ; expected 0, have 1
10692 | stringptr = findfield(stringptr);
| ^~~~~~~~~ ~~~~~~~~~
./triangle.c:323:7: note: declared here
323 | char *findfield();
| ^~~~~~~~~
./triangle.c:10703:15: error: too many arguments to function âfindfieldâ; expected 0, have 1
10703 | stringptr = findfield(stringptr);
| ^~~~~~~~~ ~~~~~~~~~
./triangle.c:323:7: note: declared here
323 | char *findfield();
| ^~~~~~~~~
./triangle.c:10728:17: error: too many arguments to function âreadlineâ; expected 0, have 3
10728 | stringptr = readline(inputline, polyfile, b->inpolyfilename);
| ^~~~~~~~ ~~~~~~~~~
./triangle.c:322:7: note: declared here
322 | char *readline();
| ^~~~~~~~
./triangle.c:10730:17: error: too many arguments to function âfindfieldâ; expected 0, have 1
10730 | stringptr = findfield(stringptr);
| ^~~~~~~~~ ~~~~~~~~~
./triangle.c:323:7: note: declared here
323 | char *findfield();
| ^~~~~~~~~
./triangle.c:10758:17: error: too many arguments to function âreadlineâ; expected 0, have 3
10758 | stringptr = readline(inputline, areafile, areafilename);
| ^~~~~~~~ ~~~~~~~~~
./triangle.c:322:7: note: declared here
322 | char *readline();
| ^~~~~~~~
./triangle.c:10803:17: error: too many arguments to function âreadlineâ; expected 0, have 3
10803 | stringptr = readline(inputline, elefile, elefilename);
| ^~~~~~~~ ~~~~~~~~~
./triangle.c:322:7: note: declared here
322 | char *readline();
| ^~~~~~~~
./triangle.c:10805:19: error: too many arguments to function âfindfieldâ; expected 0, have 1
10805 | stringptr = findfield(stringptr);
| ^~~~~~~~~ ~~~~~~~~~
./triangle.c:323:7: note: declared here
323 | char *findfield();
| ^~~~~~~~~
./triangle.c:10827:19: error: too many arguments to function âfindfieldâ; expected 0, have 1
10827 | stringptr = findfield(stringptr);
| ^~~~~~~~~ ~~~~~~~~~
./triangle.c:323:7: note: declared here
323 | char *findfield();
| ^~~~~~~~~
./triangle.c:10849:19: error: too many arguments to function âfindfieldâ; expected 0, have 1
10849 | stringptr = findfield(stringptr);
| ^~~~~~~~~ ~~~~~~~~~
./triangle.c:323:7: note: declared here
323 | char *findfield();
| ^~~~~~~~~
./triangle.c:10864:19: error: too many arguments to function âreadlineâ; expected 0, have 3
10864 | stringptr = readline(inputline, areafile, areafilename);
| ^~~~~~~~ ~~~~~~~~~
./triangle.c:322:7: note: declared here
322 | char *readline();
| ^~~~~~~~
./triangle.c:10865:19: error: too many arguments to function âfindfieldâ; expected 0, have 1
10865 | stringptr = findfield(stringptr);
| ^~~~~~~~~ ~~~~~~~~~
./triangle.c:323:7: note: declared here
323 | char *findfield();
| ^~~~~~~~~
./triangle.c:10948:19: error: too many arguments to function âreadlineâ; expected 0, have 3
10948 | stringptr = readline(inputline, polyfile, b->inpolyfilename);
| ^~~~~~~~ ~~~~~~~~~
./triangle.c:322:7: note: declared here
322 | char *readline();
| ^~~~~~~~
./triangle.c:10950:19: error: too many arguments to function âfindfieldâ; expected 0, have 1
10950 | stringptr = findfield(stringptr);
| ^~~~~~~~~ ~~~~~~~~~
./triangle.c:323:7: note: declared here
323 | char *findfield();
| ^~~~~~~~~
./triangle.c:10958:19: error: too many arguments to function âfindfieldâ; expected 0, have 1
10958 | stringptr = findfield(stringptr);
| ^~~~~~~~~ ~~~~~~~~~
./triangle.c:323:7: note: declared here
323 | char *findfield();
| ^~~~~~~~~
./triangle.c:10967:21: error: too many arguments to function âfindfieldâ; expected 0, have 1
10967 | stringptr = findfield(stringptr);
| ^~~~~~~~~ ~~~~~~~~~
./triangle.c:323:7: note: declared here
323 | char *findfield();
| ^~~~~~~~~
./triangle.c: In function âformskeletonâ:
./triangle.c:11961:17: error: too many arguments to function âreadlineâ; expected 0, have 3
11961 | stringptr = readline(inputline, polyfile, polyfilename);
| ^~~~~~~~ ~~~~~~~~~
./triangle.c:322:7: note: declared here
322 | char *readline();
| ^~~~~~~~
./triangle.c:11963:17: error: too many arguments to function âfindfieldâ; expected 0, have 1
11963 | stringptr = findfield(stringptr);
| ^~~~~~~~~ ~~~~~~~~~
./triangle.c:323:7: note: declared here
323 | char *findfield();
| ^~~~~~~~~
./triangle.c:11995:19: error: too many arguments to function âreadlineâ; expected 0, have 3
11995 | stringptr = readline(inputline, polyfile, b->inpolyfilename);
| ^~~~~~~~ ~~~~~~~~~
./triangle.c:322:7: note: declared here
322 | char *readline();
| ^~~~~~~~
./triangle.c:11996:19: error: too many arguments to function âfindfieldâ; expected 0, have 1
11996 | stringptr = findfield(stringptr);
| ^~~~~~~~~ ~~~~~~~~~
./triangle.c:323:7: note: declared here
323 | char *findfield();
| ^~~~~~~~~
./triangle.c:12004:19: error: too many arguments to function âfindfieldâ; expected 0, have 1
12004 | stringptr = findfield(stringptr);
| ^~~~~~~~~ ~~~~~~~~~
./triangle.c:323:7: note: declared here
323 | char *findfield();
| ^~~~~~~~~
./triangle.c:12013:21: error: too many arguments to function âfindfieldâ; expected 0, have 1
12013 | stringptr = findfield(stringptr);
| ^~~~~~~~~ ~~~~~~~~~
./triangle.c:323:7: note: declared here
323 | char *findfield();
| ^~~~~~~~~
./triangle.c: At top level:
./triangle.c:13303:7: error: conflicting types for âreadlineâ; have âchar *(char *, FILE *, char *)â
13303 | char *readline(char *string, FILE *infile, char *infilename)
| ^~~~~~~~
./triangle.c:322:7: note: previous declaration of âreadlineâ with type âchar *(void)â
322 | char *readline();
| ^~~~~~~~
./triangle.c:13347:7: error: conflicting types for âfindfieldâ; have âchar *(char *)â
13347 | char *findfield(char *string)
| ^~~~~~~~~
./triangle.c:323:7: note: previous declaration of âfindfieldâ with type âchar *(void)â
323 | char *findfield();
| ^~~~~~~~~
make[2]: *** [makefile:102: triangle] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: *** [debian/rules:13: override_dh_auto_build] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:9: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
More information about the debian-science-maintainers
mailing list