Bug#1057602: scm: FTBFS: error: invalid use of incomplete typedef ‘WINDOW’ {aka ‘struct _win_st’}
Package: src:scm
Version: 5f3-4
Severity: serious
Tags: ftbfs
Dear maintainer:
During a rebuild of all packages in unstable, your package failed to build:
--------------------------------------------------------------------------------
[...]
debian/rules binary
dh binary
debian/rules override_dh_testdir
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_testdir
test -e /usr/share/slib || \
(echo "Must have slib installed for compile" && exit 1)
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_update_autotools_config
dh_autoreconf
debian/rules override_dh_auto_configure
make[1]: Entering directory '/<<PKGBUILDDIR>>'
./configure
#! /bin/cat
[... snipped ...]
from scm.c:26:
scm.c: In function ‘scm_init_extensions’:
scmflags.h:3:116: warning: implicit declaration of function ‘init_unix’; did you mean ‘init_unif’? [-Wimplicit-function-declaration]
3 | #define COMPILED_INITS init_ramap();init_record();init_gsubr();init_edline();init_rgx();init_socket();init_posix();init_unix();init_crs();init_x();init_differ();
| ^~~~~~~~~
scm.c:110:3: note: in expansion of macro ‘COMPILED_INITS’
110 | COMPILED_INITS; /* initialize statically linked add-ons */
| ^~~~~~~~~~~~~~
scmflags.h:3:128: warning: implicit declaration of function ‘init_crs’; did you mean ‘init_subrs’? [-Wimplicit-function-declaration]
3 | #define COMPILED_INITS init_ramap();init_record();init_gsubr();init_edline();init_rgx();init_socket();init_posix();init_unix();init_crs();init_x();init_differ();
| ^~~~~~~~
scm.c:110:3: note: in expansion of macro ‘COMPILED_INITS’
110 | COMPILED_INITS; /* initialize statically linked add-ons */
| ^~~~~~~~~~~~~~
scmflags.h:3:139: warning: implicit declaration of function ‘init_x’; did you mean ‘init_rgx’? [-Wimplicit-function-declaration]
3 | #define COMPILED_INITS init_ramap();init_record();init_gsubr();init_edline();init_rgx();init_socket();init_posix();init_unix();init_crs();init_x();init_differ();
| ^~~~~~
scm.c:110:3: note: in expansion of macro ‘COMPILED_INITS’
110 | COMPILED_INITS; /* initialize statically linked add-ons */
| ^~~~~~~~~~~~~~
scmflags.h:3:148: warning: implicit declaration of function ‘init_differ’ [-Wimplicit-function-declaration]
3 | #define COMPILED_INITS init_ramap();init_record();init_gsubr();init_edline();init_rgx();init_socket();init_posix();init_unix();init_crs();init_x();init_differ();
| ^~~~~~~~~~~
scm.c:110:3: note: in expansion of macro ‘COMPILED_INITS’
110 | COMPILED_INITS; /* initialize statically linked add-ons */
| ^~~~~~~~~~~~~~
scm.c: In function ‘process_signals’:
scm.c:176:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
176 | wta(UNDEFINED, (char *)i, "");
| ^
scm.c: In function ‘scmable_signal’:
scm.c:290:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
290 | wta(UNDEFINED, (char *)i, "");
| ^
scmmain.c: In function ‘main’:
scmmain.c:109:32: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
109 | if (0==argc) {argc = 1; argv = generic_name;} /* for macintosh */
| ^
scmmain.c:119:16: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
119 | script_arg = argv[2]; /* Save for scm_find_execpath() call */
| ^
scmmain.c:120:31: warning: passing argument 1 of ‘script_count_argv’ from incompatible pointer type [-Wincompatible-pointer-types]
120 | nargc = script_count_argv(nargv);
| ^~~~~
| |
| char **
In file included from scmmain.c:30:
scm.h:1081:51: note: expected ‘const char **’ but argument is of type ‘char **’
1081 | SCM_EXPORT int script_count_argv P((const char **argv));
| ~~~~~~~~~~~~~^~~~
scm.h:80:15: note: in definition of macro ‘P’
80 | # define P(s) s
| ^
scmmain.c:122:15: warning: assignment to ‘char **’ from incompatible pointer type ‘const char **’ [-Wincompatible-pointer-types]
122 | else {nargv = argv; nargc = argc;}
| ^
scmmain.c:124:39: warning: passing argument 2 of ‘scm_find_execpath’ from incompatible pointer type [-Wincompatible-pointer-types]
124 | execpath = scm_find_execpath(nargc, nargv, script_arg);
| ^~~~~
| |
| char **
scm.h:776:69: note: expected ‘const char * const*’ but argument is of type ‘char **’
776 | SCM_EXPORT char *scm_find_execpath P((int argc, const char * const *argv, const char *script_arg));
| ~~~~~~~~~~~~~~~~~~~~^~~~
scm.h:80:15: note: in definition of macro ‘P’
80 | # define P(s) s
| ^
scmmain.c:131:31: warning: passing argument 2 of ‘scm_init_from_argv’ from incompatible pointer type [-Wincompatible-pointer-types]
131 | scm_init_from_argv(nargc, nargv, script_arg, iverbose, buf0stdin);
| ^~~~~
| |
| char **
scm.h:769:69: note: expected ‘const char * const*’ but argument is of type ‘char **’
769 | SCM_EXPORT void scm_init_from_argv P((int argc, const char * const *argv, char *script_arg,
| ~~~~~~~~~~~~~~~~~~~~^~~~
scm.h:80:15: note: in definition of macro ‘P’
80 | # define P(s) s
| ^
script.c: In function ‘find_impl_file’:
script.c:149:18: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
149 | char *extptr = exec_path + strlen(exec_path);
| ^~~~~~~~~
script.c:165:10: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
165 | extptr = exec_path + strlen(exec_path);
| ^
script.c: In function ‘script_process_argv’:
script.c:362:12: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
362 | nargv[0] = argv[0];
| ^
script.c:377:22: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
377 | nargv[nargi++] = argv[argi++];
| ^
script.c:380:39: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
380 | while (argi <= argc) nargv[nargi++] = argv[argi++];
| ^
repl.c: In function ‘handle_it’:
repl.c:1270:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
1270 | wta(UNDEFINED, (char *)i, ""); /* sends it to def_err_response */
| ^
repl.c: In function ‘def_err_response’:
repl.c:2077:47: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
2077 | lputc((long)err_pos <= ARGn ? ' ' : '1' + (int)err_pos - ARG1, cur_errp);
| ^
repl.c:2080:23: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
2080 | else lputs(errmsgs[((int)err_pos)-WNA].msg, cur_errp);
| ^
repl.c: In function ‘everr’:
repl.c:2133:11: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
2133 | err_pos = pos;
| ^
repl.c:2134:14: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
2134 | err_s_subr = s_subr;
| ^
In file included from repl.c:21:
repl.c:2139:31: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
2139 | COOKIE(1) : COOKIE((int)pos));
| ^
scm.h:260:21: note: in definition of macro ‘COOKIE’
260 | # define COOKIE(n) (n)
| ^
In file included from scl.c:21:
scl.c: In function ‘pmantexp2dbl’:
scm.h:1117:25: warning: passing argument 2 of ‘num2dbl’ makes pointer from integer without a cast [-Wint-conversion]
1117 | #define ARG1 2L
| ^~
| |
| long int
scl.c:687:34: note: in expansion of macro ‘ARG1’
687 | return ldexp(num2dbl(bmant,ARG1,s_str2number) * dpows5[point], point);
| ^~~~
scm.h:1036:56: note: expected ‘char *’ but argument is of type ‘long int’
1036 | SCM_EXPORT double num2dbl P((SCM num, char *pos, char *s_caller));
| ~~~~~~^~~
scm.h:80:15: note: in definition of macro ‘P’
80 | # define P(s) s
| ^
scm.h:1117:25: warning: passing argument 2 of ‘num2dbl’ makes pointer from integer without a cast [-Wint-conversion]
1117 | #define ARG1 2L
| ^~
| |
| long int
scl.c:717:32: note: in expansion of macro ‘ARG1’
717 | return ldexp(num2dbl(bmant,ARG1,s_str2number) / dpows5[-point], point);
| ^~~~
scm.h:1036:56: note: expected ‘char *’ but argument is of type ‘long int’
1036 | SCM_EXPORT double num2dbl P((SCM num, char *pos, char *s_caller));
| ~~~~~~^~~
scm.h:80:15: note: in definition of macro ‘P’
80 | # define P(s) s
| ^
unexelf.c: In function ‘find_section’:
unexelf.c:406:51: warning: implicit declaration of function ‘exit’ [-Wimplicit-function-declaration]
406 | #define fatal(a, b, c) fprintf (stderr, a, b, c), exit (1)
| ^~~~
unexelf.c:634:9: note: in expansion of macro ‘fatal’
634 | fatal ("Can't find %s in %s.\n", name, file_name);
| ^~~~~
unexelf.c:525:1: note: include ‘<stdlib.h>’ or provide a declaration of ‘exit’
524 | # include <link.h> /* get ElfW etc */
+++ |+#include <stdlib.h>
525 | #endif
unexelf.c:406:51: warning: incompatible implicit declaration of built-in function ‘exit’ [-Wbuiltin-declaration-mismatch]
406 | #define fatal(a, b, c) fprintf (stderr, a, b, c), exit (1)
| ^~~~
unexelf.c:634:9: note: in expansion of macro ‘fatal’
634 | fatal ("Can't find %s in %s.\n", name, file_name);
| ^~~~~
unexelf.c:406:51: note: include ‘<stdlib.h>’ or provide a declaration of ‘exit’
406 | #define fatal(a, b, c) fprintf (stderr, a, b, c), exit (1)
| ^~~~
unexelf.c:634:9: note: in expansion of macro ‘fatal’
634 | fatal ("Can't find %s in %s.\n", name, file_name);
| ^~~~~
unexelf.c: In function ‘unexec’:
unexelf.c:406:51: warning: incompatible implicit declaration of built-in function ‘exit’ [-Wbuiltin-declaration-mismatch]
406 | #define fatal(a, b, c) fprintf (stderr, a, b, c), exit (1)
| ^~~~
unexelf.c:692:5: note: in expansion of macro ‘fatal’
692 | fatal ("Can't open %s for reading: errno %d\n", old_name, errno);
| ^~~~~
unexelf.c:406:51: note: include ‘<stdlib.h>’ or provide a declaration of ‘exit’
406 | #define fatal(a, b, c) fprintf (stderr, a, b, c), exit (1)
| ^~~~
unexelf.c:692:5: note: in expansion of macro ‘fatal’
692 | fatal ("Can't open %s for reading: errno %d\n", old_name, errno);
| ^~~~~
unexelf.c:406:51: warning: incompatible implicit declaration of built-in function ‘exit’ [-Wbuiltin-declaration-mismatch]
406 | #define fatal(a, b, c) fprintf (stderr, a, b, c), exit (1)
| ^~~~
unexelf.c:695:5: note: in expansion of macro ‘fatal’
695 | fatal ("Can't fstat (%s): errno %d\n", old_name, errno);
| ^~~~~
unexelf.c:406:51: note: include ‘<stdlib.h>’ or provide a declaration of ‘exit’
406 | #define fatal(a, b, c) fprintf (stderr, a, b, c), exit (1)
| ^~~~
unexelf.c:695:5: note: in expansion of macro ‘fatal’
695 | fatal ("Can't fstat (%s): errno %d\n", old_name, errno);
| ^~~~~
unexelf.c:711:12: warning: too many arguments for format [-Wformat-extra-args]
711 | fatal ("Can't allocate buffer for %s\n", old_name, 0);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
unexelf.c:406:41: note: in definition of macro ‘fatal’
406 | #define fatal(a, b, c) fprintf (stderr, a, b, c), exit (1)
| ^
unexelf.c:406:51: warning: incompatible implicit declaration of built-in function ‘exit’ [-Wbuiltin-declaration-mismatch]
406 | #define fatal(a, b, c) fprintf (stderr, a, b, c), exit (1)
| ^~~~
unexelf.c:711:5: note: in expansion of macro ‘fatal’
711 | fatal ("Can't allocate buffer for %s\n", old_name, 0);
| ^~~~~
unexelf.c:406:51: note: include ‘<stdlib.h>’ or provide a declaration of ‘exit’
406 | #define fatal(a, b, c) fprintf (stderr, a, b, c), exit (1)
| ^~~~
unexelf.c:711:5: note: in expansion of macro ‘fatal’
711 | fatal ("Can't allocate buffer for %s\n", old_name, 0);
| ^~~~~
unexelf.c:406:51: warning: incompatible implicit declaration of built-in function ‘exit’ [-Wbuiltin-declaration-mismatch]
406 | #define fatal(a, b, c) fprintf (stderr, a, b, c), exit (1)
| ^~~~
unexelf.c:714:5: note: in expansion of macro ‘fatal’
714 | fatal ("Didn't read all of %s: errno %d\n", old_name, errno);
| ^~~~~
unexelf.c:406:51: note: include ‘<stdlib.h>’ or provide a declaration of ‘exit’
406 | #define fatal(a, b, c) fprintf (stderr, a, b, c), exit (1)
| ^~~~
unexelf.c:714:5: note: in expansion of macro ‘fatal’
714 | fatal ("Didn't read all of %s: errno %d\n", old_name, errno);
| ^~~~~
unexelf.c:782:12: warning: too many arguments for format [-Wformat-extra-args]
782 | fatal (".bss shrank when undumping???\n", 0, 0);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
unexelf.c:406:41: note: in definition of macro ‘fatal’
406 | #define fatal(a, b, c) fprintf (stderr, a, b, c), exit (1)
| ^
unexelf.c:406:51: warning: incompatible implicit declaration of built-in function ‘exit’ [-Wbuiltin-declaration-mismatch]
406 | #define fatal(a, b, c) fprintf (stderr, a, b, c), exit (1)
| ^~~~
unexelf.c:782:5: note: in expansion of macro ‘fatal’
782 | fatal (".bss shrank when undumping???\n", 0, 0);
| ^~~~~
unexelf.c:406:51: note: include ‘<stdlib.h>’ or provide a declaration of ‘exit’
406 | #define fatal(a, b, c) fprintf (stderr, a, b, c), exit (1)
| ^~~~
unexelf.c:782:5: note: in expansion of macro ‘fatal’
782 | fatal (".bss shrank when undumping???\n", 0, 0);
| ^~~~~
unexelf.c:406:51: warning: incompatible implicit declaration of built-in function ‘exit’ [-Wbuiltin-declaration-mismatch]
406 | #define fatal(a, b, c) fprintf (stderr, a, b, c), exit (1)
| ^~~~
unexelf.c:790:5: note: in expansion of macro ‘fatal’
790 | fatal ("Can't creat (%s): errno %d\n", new_name, errno);
| ^~~~~
unexelf.c:406:51: note: include ‘<stdlib.h>’ or provide a declaration of ‘exit’
406 | #define fatal(a, b, c) fprintf (stderr, a, b, c), exit (1)
| ^~~~
unexelf.c:790:5: note: in expansion of macro ‘fatal’
790 | fatal ("Can't creat (%s): errno %d\n", new_name, errno);
| ^~~~~
unexelf.c:406:51: warning: incompatible implicit declaration of built-in function ‘exit’ [-Wbuiltin-declaration-mismatch]
406 | #define fatal(a, b, c) fprintf (stderr, a, b, c), exit (1)
| ^~~~
unexelf.c:795:5: note: in expansion of macro ‘fatal’
795 | fatal ("Can't ftruncate (%s): errno %d\n", new_name, errno);
| ^~~~~
unexelf.c:406:51: note: include ‘<stdlib.h>’ or provide a declaration of ‘exit’
406 | #define fatal(a, b, c) fprintf (stderr, a, b, c), exit (1)
| ^~~~
unexelf.c:795:5: note: in expansion of macro ‘fatal’
795 | fatal ("Can't ftruncate (%s): errno %d\n", new_name, errno);
| ^~~~~
unexelf.c:800:12: warning: too many arguments for format [-Wformat-extra-args]
800 | fatal ("Can't allocate buffer for %s\n", old_name, 0);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
unexelf.c:406:41: note: in definition of macro ‘fatal’
406 | #define fatal(a, b, c) fprintf (stderr, a, b, c), exit (1)
| ^
unexelf.c:406:51: warning: incompatible implicit declaration of built-in function ‘exit’ [-Wbuiltin-declaration-mismatch]
406 | #define fatal(a, b, c) fprintf (stderr, a, b, c), exit (1)
| ^~~~
unexelf.c:800:5: note: in expansion of macro ‘fatal’
800 | fatal ("Can't allocate buffer for %s\n", old_name, 0);
| ^~~~~
unexelf.c:406:51: note: include ‘<stdlib.h>’ or provide a declaration of ‘exit’
406 | #define fatal(a, b, c) fprintf (stderr, a, b, c), exit (1)
| ^~~~
unexelf.c:800:5: note: in expansion of macro ‘fatal’
800 | fatal ("Can't allocate buffer for %s\n", old_name, 0);
| ^~~~~
unexelf.c:855:18: warning: too many arguments for format [-Wformat-extra-args]
855 | fatal ("Program segment above .bss in %s\n", old_name, 0);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
unexelf.c:406:41: note: in definition of macro ‘fatal’
406 | #define fatal(a, b, c) fprintf (stderr, a, b, c), exit (1)
| ^
unexelf.c:406:51: warning: incompatible implicit declaration of built-in function ‘exit’ [-Wbuiltin-declaration-mismatch]
406 | #define fatal(a, b, c) fprintf (stderr, a, b, c), exit (1)
| ^~~~
unexelf.c:855:11: note: in expansion of macro ‘fatal’
855 | fatal ("Program segment above .bss in %s\n", old_name, 0);
| ^~~~~
unexelf.c:406:51: note: include ‘<stdlib.h>’ or provide a declaration of ‘exit’
406 | #define fatal(a, b, c) fprintf (stderr, a, b, c), exit (1)
| ^~~~
unexelf.c:855:11: note: in expansion of macro ‘fatal’
855 | fatal ("Program segment above .bss in %s\n", old_name, 0);
| ^~~~~
unexelf.c:865:12: warning: too many arguments for format [-Wformat-extra-args]
865 | fatal ("Couldn't find segment next to .bss in %s\n", old_name, 0);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
unexelf.c:406:41: note: in definition of macro ‘fatal’
406 | #define fatal(a, b, c) fprintf (stderr, a, b, c), exit (1)
| ^
unexelf.c:406:51: warning: incompatible implicit declaration of built-in function ‘exit’ [-Wbuiltin-declaration-mismatch]
406 | #define fatal(a, b, c) fprintf (stderr, a, b, c), exit (1)
| ^~~~
unexelf.c:865:5: note: in expansion of macro ‘fatal’
865 | fatal ("Couldn't find segment next to .bss in %s\n", old_name, 0);
| ^~~~~
unexelf.c:406:51: note: include ‘<stdlib.h>’ or provide a declaration of ‘exit’
406 | #define fatal(a, b, c) fprintf (stderr, a, b, c), exit (1)
| ^~~~
unexelf.c:865:5: note: in expansion of macro ‘fatal’
865 | fatal ("Couldn't find segment next to .bss in %s\n", old_name, 0);
| ^~~~~
unexelf.c:895:12: warning: too many arguments for format [-Wformat-extra-args]
895 | fatal ("Can't find .data in %s.\n", old_name, 0);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
unexelf.c:406:41: note: in definition of macro ‘fatal’
406 | #define fatal(a, b, c) fprintf (stderr, a, b, c), exit (1)
| ^
unexelf.c:406:51: warning: incompatible implicit declaration of built-in function ‘exit’ [-Wbuiltin-declaration-mismatch]
406 | #define fatal(a, b, c) fprintf (stderr, a, b, c), exit (1)
| ^~~~
unexelf.c:895:5: note: in expansion of macro ‘fatal’
895 | fatal ("Can't find .data in %s.\n", old_name, 0);
| ^~~~~
unexelf.c:406:51: note: include ‘<stdlib.h>’ or provide a declaration of ‘exit’
406 | #define fatal(a, b, c) fprintf (stderr, a, b, c), exit (1)
| ^~~~
unexelf.c:895:5: note: in expansion of macro ‘fatal’
895 | fatal ("Can't find .data in %s.\n", old_name, 0);
| ^~~~~
unexelf.c:406:51: warning: incompatible implicit declaration of built-in function ‘exit’ [-Wbuiltin-declaration-mismatch]
406 | #define fatal(a, b, c) fprintf (stderr, a, b, c), exit (1)
| ^~~~
unexelf.c:1256:5: note: in expansion of macro ‘fatal’
1256 | fatal ("Didn't write %d bytes: errno %d\n",
| ^~~~~
unexelf.c:406:51: note: include ‘<stdlib.h>’ or provide a declaration of ‘exit’
406 | #define fatal(a, b, c) fprintf (stderr, a, b, c), exit (1)
| ^~~~
unexelf.c:1256:5: note: in expansion of macro ‘fatal’
1256 | fatal ("Didn't write %d bytes: errno %d\n",
| ^~~~~
unexelf.c:406:51: warning: incompatible implicit declaration of built-in function ‘exit’ [-Wbuiltin-declaration-mismatch]
406 | #define fatal(a, b, c) fprintf (stderr, a, b, c), exit (1)
| ^~~~
unexelf.c:1272:5: note: in expansion of macro ‘fatal’
1272 | fatal ("Can't close (%s): errno %d\n", old_name, errno);
| ^~~~~
unexelf.c:406:51: note: include ‘<stdlib.h>’ or provide a declaration of ‘exit’
406 | #define fatal(a, b, c) fprintf (stderr, a, b, c), exit (1)
| ^~~~
unexelf.c:1272:5: note: in expansion of macro ‘fatal’
1272 | fatal ("Can't close (%s): errno %d\n", old_name, errno);
| ^~~~~
unexelf.c:406:51: warning: incompatible implicit declaration of built-in function ‘exit’ [-Wbuiltin-declaration-mismatch]
406 | #define fatal(a, b, c) fprintf (stderr, a, b, c), exit (1)
| ^~~~
unexelf.c:1275:5: note: in expansion of macro ‘fatal’
1275 | fatal ("Can't close (%s): errno %d\n", new_name, errno);
| ^~~~~
unexelf.c:406:51: note: include ‘<stdlib.h>’ or provide a declaration of ‘exit’
406 | #define fatal(a, b, c) fprintf (stderr, a, b, c), exit (1)
| ^~~~
unexelf.c:1275:5: note: in expansion of macro ‘fatal’
1275 | fatal ("Can't close (%s): errno %d\n", new_name, errno);
| ^~~~~
unexelf.c:406:51: warning: incompatible implicit declaration of built-in function ‘exit’ [-Wbuiltin-declaration-mismatch]
406 | #define fatal(a, b, c) fprintf (stderr, a, b, c), exit (1)
| ^~~~
unexelf.c:1278:5: note: in expansion of macro ‘fatal’
1278 | fatal ("Can't stat (%s): errno %d\n", new_name, errno);
| ^~~~~
unexelf.c:406:51: note: include ‘<stdlib.h>’ or provide a declaration of ‘exit’
406 | #define fatal(a, b, c) fprintf (stderr, a, b, c), exit (1)
| ^~~~
unexelf.c:1278:5: note: in expansion of macro ‘fatal’
1278 | fatal ("Can't stat (%s): errno %d\n", new_name, errno);
| ^~~~~
unexelf.c:406:51: warning: incompatible implicit declaration of built-in function ‘exit’ [-Wbuiltin-declaration-mismatch]
406 | #define fatal(a, b, c) fprintf (stderr, a, b, c), exit (1)
| ^~~~
unexelf.c:1284:5: note: in expansion of macro ‘fatal’
1284 | fatal ("Can't chmod (%s): errno %d\n", new_name, errno);
| ^~~~~
unexelf.c:406:51: note: include ‘<stdlib.h>’ or provide a declaration of ‘exit’
406 | #define fatal(a, b, c) fprintf (stderr, a, b, c), exit (1)
| ^~~~
unexelf.c:1284:5: note: in expansion of macro ‘fatal’
1284 | fatal ("Can't chmod (%s): errno %d\n", new_name, errno);
| ^~~~~
gmalloc.c: In function ‘__malloc_initialize’:
gmalloc.c:56:33: warning: implicit declaration of function ‘bzero’ [-Wimplicit-function-declaration]
56 | #define memset(s, zero, n) bzero ((s), (n))
| ^~~~~
gmalloc.c:486:3: note: in expansion of macro ‘memset’
486 | memset (_heapinfo, 0, heapsize * sizeof (malloc_info));
| ^~~~~~
gmalloc.c:56:33: warning: incompatible implicit declaration of built-in function ‘bzero’ [-Wbuiltin-declaration-mismatch]
56 | #define memset(s, zero, n) bzero ((s), (n))
| ^~~~~
gmalloc.c:486:3: note: in expansion of macro ‘memset’
486 | memset (_heapinfo, 0, heapsize * sizeof (malloc_info));
| ^~~~~~
gmalloc.c: In function ‘morecore’:
gmalloc.c:56:33: warning: incompatible implicit declaration of built-in function ‘bzero’ [-Wbuiltin-declaration-mismatch]
56 | #define memset(s, zero, n) bzero ((s), (n))
| ^~~~~
gmalloc.c:556:15: note: in expansion of macro ‘memset’
556 | memset (&newinfo[heapsize], 0,
| ^~~~~~
gmalloc.c:59:33: warning: implicit declaration of function ‘bcopy’ [-Wimplicit-function-declaration]
59 | #define memcpy(d, s, n) bcopy ((s), (d), (n))
| ^~~~~
gmalloc.c:590:7: note: in expansion of macro ‘memcpy’
590 | memcpy (newinfo, _heapinfo, heapsize * sizeof (malloc_info));
| ^~~~~~
gmalloc.c:59:33: warning: incompatible implicit declaration of built-in function ‘bcopy’ [-Wbuiltin-declaration-mismatch]
59 | #define memcpy(d, s, n) bcopy ((s), (d), (n))
| ^~~~~
gmalloc.c:590:7: note: in expansion of macro ‘memcpy’
590 | memcpy (newinfo, _heapinfo, heapsize * sizeof (malloc_info));
| ^~~~~~
gmalloc.c:56:33: warning: incompatible implicit declaration of built-in function ‘bzero’ [-Wbuiltin-declaration-mismatch]
56 | #define memset(s, zero, n) bzero ((s), (n))
| ^~~~~
gmalloc.c:591:7: note: in expansion of macro ‘memset’
591 | memset (&newinfo[heapsize], 0,
| ^~~~~~
gmalloc.c: In function ‘__malloc_safe_bcopy’:
gmalloc.c:1211:5: warning: incompatible implicit declaration of built-in function ‘bcopy’ [-Wbuiltin-declaration-mismatch]
1211 | bcopy (from, to, size);
| ^~~~~
gmalloc.c:1241:15: warning: incompatible implicit declaration of built-in function ‘bcopy’ [-Wbuiltin-declaration-mismatch]
1241 | bcopy (endf, endt, to - from);
| ^~~~~
gmalloc.c:1247:11: warning: incompatible implicit declaration of built-in function ‘bcopy’ [-Wbuiltin-declaration-mismatch]
1247 | bcopy (from, to, endt - from);
| ^~~~~
gmalloc.c: In function ‘_realloc_internal’:
gmalloc.c:59:33: warning: incompatible implicit declaration of built-in function ‘bcopy’ [-Wbuiltin-declaration-mismatch]
59 | #define memcpy(d, s, n) bcopy ((s), (d), (n))
| ^~~~~
gmalloc.c:1301:15: note: in expansion of macro ‘memcpy’
1301 | memcpy (result, ptr, size);
| ^~~~~~
gmalloc.c:59:33: warning: incompatible implicit declaration of built-in function ‘bcopy’ [-Wbuiltin-declaration-mismatch]
59 | #define memcpy(d, s, n) bcopy ((s), (d), (n))
| ^~~~~
gmalloc.c:1376:11: note: in expansion of macro ‘memcpy’
1376 | memcpy (result, ptr, min (size, (__malloc_size_t) 1 << type));
| ^~~~~~
gmalloc.c: In function ‘calloc’:
gmalloc.c:56:33: warning: incompatible implicit declaration of built-in function ‘bzero’ [-Wbuiltin-declaration-mismatch]
56 | #define memset(s, zero, n) bzero ((s), (n))
| ^~~~~
gmalloc.c:1431:12: note: in expansion of macro ‘memset’
1431 | (void) memset (result, 0, nmemb * size);
| ^~~~~~
gmalloc.c: In function ‘valloc’:
gmalloc.c:1646:16: warning: implicit declaration of function ‘__getpagesize’ [-Wimplicit-function-declaration]
1646 | pagesize = __getpagesize ();
| ^~~~~~~~~~~~~
; ================ Compilation failed!
; program args: ("./scmlit" "-no-init-file" "-f" "./build" "-e(bi)" "build" "-p" "linux" "-hsystem" "-f" "libscm.opt")
make[1]: *** [debian/rules:34: override_dh_auto_build] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:19: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:
https://people.debian.org/~sanvila/build-logs/202312/
About the archive rebuild: The build was made using virtual machines
from AWS, with enough memory, enough disk, and either one or two
CPUs, using 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 affects, so that this is still visible in the BTS web
page for this package.
Thanks.
Reply to: