Bug#1114408: tilem: FTBFS: ./macro.c:73:22: error: too many arguments to function 'tilem_macro_new'; expected 0, have 1
Santiago Vila
sanvila at debian.org
Fri Sep 5 19:27:20 BST 2025
Package: src:tilem
Version: 2.0-5.1
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:tilem, so that this is still
visible in the BTS web page for this package.
Thanks.
--------------------------------------------------------------------------------
[...]
debian/rules build
dh build
dh_update_autotools_config
dh_autoreconf
configure.ac:154: warning: The macro 'AC_HEADER_STDC' is obsolete.
configure.ac:154: You should run autoupdate.
./lib/autoconf/headers.m4:663: AC_HEADER_STDC is expanded from...
configure.ac:154: the top level
dh_auto_configure
./configure --build=x86_64-linux-gnu --prefix=/usr --includedir=\${prefix}/include --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-option-checking --disable-silent-rules --libdir=\${prefix}/lib/x86_64-linux-gnu --runstatedir=/run --disable-maintainer-mode --disable-dependency-tracking
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
[... snipped ...]
from /usr/include/gtk-2.0/gtk/gtk.h:33,
from ./icons.c:25:
/usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: âGTypeDebugFlagsâ is deprecated [-Wdeprecated-declarations]
236 | void gtk_type_init (GTypeDebugFlags debug_flags);
| ^~~~
In file included from /usr/include/glib-2.0/gobject/gobject.h:26,
from /usr/include/glib-2.0/gobject/gbinding.h:31,
from /usr/include/glib-2.0/glib-object.h:24,
from /usr/include/glib-2.0/gio/gioenums.h:30,
from /usr/include/glib-2.0/gio/giotypes.h:30,
from /usr/include/glib-2.0/gio/gio.h:28,
from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30,
from /usr/include/gtk-2.0/gdk/gdk.h:32,
from /usr/include/gtk-2.0/gtk/gtk.h:32:
/usr/include/glib-2.0/gobject/gtype.h:725:1: note: declared here
725 | {
| ^
In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37,
from /usr/include/gtk-2.0/gtk/gtkwidget.h:36,
from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35,
from /usr/include/gtk-2.0/gtk/gtkbin.h:35,
from /usr/include/gtk-2.0/gtk/gtkwindow.h:36,
from /usr/include/gtk-2.0/gtk/gtkdialog.h:35,
from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32,
from /usr/include/gtk-2.0/gtk/gtk.h:33,
from ./keybindings.c:27:
/usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: âGTypeDebugFlagsâ is deprecated [-Wdeprecated-declarations]
236 | void gtk_type_init (GTypeDebugFlags debug_flags);
| ^~~~
In file included from /usr/include/glib-2.0/gobject/gobject.h:26,
from /usr/include/glib-2.0/gobject/gbinding.h:31,
from /usr/include/glib-2.0/glib-object.h:24,
from /usr/include/glib-2.0/gio/gioenums.h:30,
from /usr/include/glib-2.0/gio/giotypes.h:30,
from /usr/include/glib-2.0/gio/gio.h:28,
from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30,
from /usr/include/gtk-2.0/gdk/gdk.h:32,
from /usr/include/gtk-2.0/gtk/gtk.h:32:
/usr/include/glib-2.0/gobject/gtype.h:725:1: note: declared here
725 | {
| ^
In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31,
from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30,
from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30,
from /usr/include/gtk-2.0/gtk/gtk.h:126:
/usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: âGTimeValâ is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations]
73 | GTimeVal last_popdown;
| ^~~~~~~~
In file included from /usr/include/glib-2.0/glib/galloca.h:34,
from /usr/include/glib-2.0/glib.h:32,
from /usr/include/glib-2.0/gobject/gbinding.h:30:
/usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here
580 | struct _GTimeVal
| ^~~~~~~~~
In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31,
from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30,
from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30,
from /usr/include/gtk-2.0/gtk/gtk.h:126:
/usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: âGTimeValâ is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations]
73 | GTimeVal last_popdown;
| ^~~~~~~~
In file included from /usr/include/glib-2.0/glib/galloca.h:34,
from /usr/include/glib-2.0/glib.h:32,
from /usr/include/glib-2.0/gobject/gbinding.h:30:
/usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here
580 | struct _GTimeVal
| ^~~~~~~~~
gcc -I.. -I. -g -O2 -Werror=implicit-function-declaration -f [too-long-redacted] -1.0 -pthread -c ./keypaddlg.c
gcc -I.. -I. -g -O2 -Werror=implicit-function-declaration -f [too-long-redacted] ibusb-1.0 -pthread -c ./link.c
In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37,
from /usr/include/gtk-2.0/gtk/gtkwidget.h:36,
from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35,
from /usr/include/gtk-2.0/gtk/gtkbin.h:35,
from /usr/include/gtk-2.0/gtk/gtkwindow.h:36,
from /usr/include/gtk-2.0/gtk/gtkdialog.h:35,
from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32,
from /usr/include/gtk-2.0/gtk/gtk.h:33,
from ./keypaddlg.c:26:
/usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: âGTypeDebugFlagsâ is deprecated [-Wdeprecated-declarations]
236 | void gtk_type_init (GTypeDebugFlags debug_flags);
| ^~~~
In file included from /usr/include/glib-2.0/gobject/gobject.h:26,
from /usr/include/glib-2.0/gobject/gbinding.h:31,
from /usr/include/glib-2.0/glib-object.h:24,
from /usr/include/glib-2.0/gio/gioenums.h:30,
from /usr/include/glib-2.0/gio/giotypes.h:30,
from /usr/include/glib-2.0/gio/gio.h:28,
from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30,
from /usr/include/gtk-2.0/gdk/gdk.h:32,
from /usr/include/gtk-2.0/gtk/gtk.h:32:
/usr/include/glib-2.0/gobject/gtype.h:725:1: note: declared here
725 | {
| ^
In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31,
from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30,
from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30,
from /usr/include/gtk-2.0/gtk/gtk.h:126:
/usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: âGTimeValâ is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations]
73 | GTimeVal last_popdown;
| ^~~~~~~~
In file included from /usr/include/glib-2.0/glib/galloca.h:34,
from /usr/include/glib-2.0/glib.h:32,
from /usr/include/glib-2.0/gobject/gbinding.h:30:
/usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here
580 | struct _GTimeVal
| ^~~~~~~~~
In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37,
from /usr/include/gtk-2.0/gtk/gtkwidget.h:36,
from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35,
from /usr/include/gtk-2.0/gtk/gtkbin.h:35,
from /usr/include/gtk-2.0/gtk/gtkwindow.h:36,
from /usr/include/gtk-2.0/gtk/gtkdialog.h:35,
from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32,
from /usr/include/gtk-2.0/gtk/gtk.h:33,
from ./link.c:29:
/usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: âGTypeDebugFlagsâ is deprecated [-Wdeprecated-declarations]
236 | void gtk_type_init (GTypeDebugFlags debug_flags);
| ^~~~
In file included from /usr/include/glib-2.0/gobject/gobject.h:26,
from /usr/include/glib-2.0/gobject/gbinding.h:31,
from /usr/include/glib-2.0/glib-object.h:24,
from /usr/include/glib-2.0/gio/gioenums.h:30,
from /usr/include/glib-2.0/gio/giotypes.h:30,
from /usr/include/glib-2.0/gio/gio.h:28,
from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30,
from /usr/include/gtk-2.0/gdk/gdk.h:32,
from /usr/include/gtk-2.0/gtk/gtk.h:32:
/usr/include/glib-2.0/gobject/gtype.h:725:1: note: declared here
725 | {
| ^
In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31,
from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30,
from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30,
from /usr/include/gtk-2.0/gtk/gtk.h:126:
/usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: âGTimeValâ is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations]
73 | GTimeVal last_popdown;
| ^~~~~~~~
In file included from /usr/include/glib-2.0/glib/galloca.h:34,
from /usr/include/glib-2.0/glib.h:32,
from /usr/include/glib-2.0/gobject/gbinding.h:30:
/usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here
580 | struct _GTimeVal
| ^~~~~~~~~
./link.c:245:1: warning: âGStaticPrivateâ is deprecated: Use 'GPrivate' instead [-Wdeprecated-declarations]
245 | static GStaticPrivate current_emu_key = G_STATIC_PRIVATE_INIT;
| ^~~~~~
In file included from /usr/include/glib-2.0/glib.h:115:
/usr/include/glib-2.0/glib/deprecated/gthread.h:246:8: note: declared here
246 | struct _GStaticPrivate
| ^~~~~~~~~~~~~~~
In file included from /usr/lib/x86_64-linux-gnu/glib-2.0/include/glibconfig.h:9,
from /usr/include/glib-2.0/glib/gtypes.h:34:
/usr/include/glib-2.0/glib/gmacros.h:1301:33: warning: Deprecated pre-processor symbol: replace with "G_PRIVATE_INIT"
1301 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x))
| ^~~~~~~
/usr/include/glib-2.0/glib/gmacros.h:1304:3: note: in expansion of macro â_GLIB_GNUC_DO_PRAGMAâ
1304 | _GLIB_GNUC_DO_PRAGMA(GCC warning G_STRINGIFY (Deprecated pre-processor symbol: replace with #f))
| ^~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/glib-visibility.h:142:46: note: in expansion of macro âGLIB_DEPRECATED_MACRO_FORâ
142 | #define GLIB_DEPRECATED_MACRO_IN_2_32_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f)
| ^~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/deprecated/gthread.h:252:37: note: in expansion of macro âGLIB_DEPRECATED_MACRO_IN_2_32_FORâ
252 | #define G_STATIC_PRIVATE_INIT { 0 } GLIB_DEPRECATED_MACRO_IN_2_32_FOR(G_PRIVATE_INIT)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./link.c:245:41: note: in expansion of macro âG_STATIC_PRIVATE_INITâ
245 | static GStaticPrivate current_emu_key = G_STATIC_PRIVATE_INIT;
| ^~~~~~~~~~~~~~~~~~~~~
./link.c: In function âpbar_do_updateâ:
./link.c:250:9: warning: âg_static_private_getâ is deprecated: Use 'g_private_get' instead [-Wdeprecated-declarations]
250 | TilemCalcEmulator *emu = g_static_private_get(¤t_emu_key);
| ^~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/deprecated/gthread.h:257:10: note: declared here
257 | gpointer g_static_private_get (GStaticPrivate *private_key);
| ^~~~~~~~~~~~~~~~~~~~
./link.c: In function âbegin_linkâ:
./link.c:287:9: warning: âg_static_private_setâ is deprecated: Use 'g_private_set' instead [-Wdeprecated-declarations]
287 | g_static_private_set(¤t_emu_key, emu, NULL);
| ^~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/deprecated/gthread.h:260:10: note: declared here
260 | void g_static_private_set (GStaticPrivate *private_key,
| ^~~~~~~~~~~~~~~~~~~~
./link.c: In function âtilem_var_entry_copyâ:
./link.c:625:17: warning: âg_memdupâ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations]
625 | nve->ve->data = g_memdup(tve->ve->data, tve->ve->size);
| ^~~
In file included from /usr/include/glib-2.0/glib/gstring.h:37,
from /usr/include/glib-2.0/glib/giochannel.h:36,
from /usr/include/glib-2.0/glib.h:56:
/usr/include/glib-2.0/glib/gstrfuncs.h:338:23: note: declared here
338 | gpointer g_memdup (gconstpointer mem,
| ^~~~~~~~
./link.c: In function âconvert_veâ:
./link.c:679:17: warning: âg_memdupâ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations]
679 | tve->ve->data = g_memdup(ve->data, ve->size);
| ^~~
/usr/include/glib-2.0/glib/gstrfuncs.h:338:23: note: declared here
338 | gpointer g_memdup (gconstpointer mem,
| ^~~~~~~~
./link.c: In function âget_dirlist_nonsilentâ:
./link.c:776:31: warning: comparison of integer expressions of different signedness: âintâ and âunsigned intâ [-Wsign-compare]
776 | for (i = 0; i < fc->num_entries; i++) {
| ^
./link.c: In function âreceive_matching_mainâ:
./link.c:1221:17: warning: âg_pattern_matchâ is deprecated: Use 'g_pattern_spec_match' instead [-Wdeprecated-declarations]
1221 | if (g_pattern_match(pat, strlen(defname_r), defname_r, NULL))
| ^~
In file included from /usr/include/glib-2.0/glib.h:68:
/usr/include/glib-2.0/glib/gpattern.h:52:15: note: declared here
52 | gboolean g_pattern_match (GPatternSpec *pspec,
| ^~~~~~~~~~~~~~~
gcc -I.. -I. -g -O2 -Werror=implicit-function-declaration -f [too-long-redacted] busb-1.0 -pthread -c ./macro.c
In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37,
from /usr/include/gtk-2.0/gtk/gtkwidget.h:36,
from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35,
from /usr/include/gtk-2.0/gtk/gtkbin.h:35,
from /usr/include/gtk-2.0/gtk/gtkwindow.h:36,
from /usr/include/gtk-2.0/gtk/gtkdialog.h:35,
from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32,
from /usr/include/gtk-2.0/gtk/gtk.h:33,
from ./macro.c:26:
/usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: âGTypeDebugFlagsâ is deprecated [-Wdeprecated-declarations]
236 | void gtk_type_init (GTypeDebugFlags debug_flags);
| ^~~~
In file included from /usr/include/glib-2.0/gobject/gobject.h:26,
from /usr/include/glib-2.0/gobject/gbinding.h:31,
from /usr/include/glib-2.0/glib-object.h:24,
from /usr/include/glib-2.0/gio/gioenums.h:30,
from /usr/include/glib-2.0/gio/giotypes.h:30,
from /usr/include/glib-2.0/gio/gio.h:28,
from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30,
from /usr/include/gtk-2.0/gdk/gdk.h:32,
from /usr/include/gtk-2.0/gtk/gtk.h:32:
/usr/include/glib-2.0/gobject/gtype.h:725:1: note: declared here
725 | {
| ^
In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31,
from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30,
from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30,
from /usr/include/gtk-2.0/gtk/gtk.h:126:
/usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: âGTimeValâ is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations]
73 | GTimeVal last_popdown;
| ^~~~~~~~
In file included from /usr/include/glib-2.0/glib/galloca.h:34,
from /usr/include/glib-2.0/glib.h:32,
from /usr/include/glib-2.0/gobject/gbinding.h:30:
/usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here
580 | struct _GTimeVal
| ^~~~~~~~~
./macro.c: In function âtilem_macro_startâ:
./macro.c:73:22: error: too many arguments to function âtilem_macro_newâ; expected 0, have 1
73 | emu->macro = tilem_macro_new(emu);
| ^~~~~~~~~~~~~~~ ~~~
./macro.c:37:20: note: declared here
37 | static TilemMacro* tilem_macro_new() {
| ^~~~~~~~~~~~~~~
./macro.c: In function âtilem_macro_write_fileâ:
./macro.c:137:65: warning: format â%dâ expects argument of type âintâ, but argument 3 has type âsize_tâ {aka âlong unsigned intâ} [-Wformat=]
137 | sprintf(lengthchar, "%04d", strlen(emu->macro->actions[i]->value));
| ~~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| | |
| int size_t {aka long unsigned int}
| %04ld
./macro.c: In function âtilem_macro_load_mainâ:
./macro.c:218:25: warning: ignoring return value of âfreadâ declared with attribute âwarn_unused_resultâ [-Wunused-result]
218 | fread(codechar, 1, 4, fp);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
./macro.c:222:33: warning: ignoring return value of âfreadâ declared with attribute âwarn_unused_resultâ [-Wunused-result]
222 | fread(lengthchar, 1, 4, fp);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
./macro.c:226:33: warning: ignoring return value of âfreadâ declared with attribute âwarn_unused_resultâ [-Wunused-result]
226 | fread(filetoload, 1, length, fp);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[2]: *** [Makefile:171: macro.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/<<PKGBUILDDIR>>/gui'
make[1]: *** [Makefile:41: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j2 returned exit code 2
make: *** [debian/rules:10: build] Error 25
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
--------------------------------------------------------------------------------
More information about the debian-science-maintainers
mailing list