[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1057602: marked as done (scm: FTBFS: error: invalid use of incomplete typedef ‘WINDOW’ {aka ‘struct _win_st’})



Your message dated Sat, 20 Apr 2024 11:24:32 +0000
with message-id <E1ry8pc-00BMUt-Ql@fasolo.debian.org>
and subject line Bug#1057602: fixed in scm 5f3-5
has caused the Debian Bug report #1057602,
regarding scm: FTBFS: error: invalid use of incomplete typedef ‘WINDOW’ {aka ‘struct _win_st’}
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
1057602: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1057602
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
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.

--- End Message ---
--- Begin Message ---
Source: scm
Source-Version: 5f3-5
Done: Gwen Weinholt <weinholt@debian.org>

We believe that the bug you reported is fixed in the latest version of
scm, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1057602@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Gwen Weinholt <weinholt@debian.org> (supplier of updated scm package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sat, 20 Apr 2024 12:25:18 +0200
Source: scm
Architecture: source
Version: 5f3-5
Distribution: unstable
Urgency: medium
Maintainer: Debian Scheme Dream Team <debian-scheme@lists.debian.org>
Changed-By: Gwen Weinholt <weinholt@debian.org>
Closes: 1057602
Changes:
 scm (5f3-5) unstable; urgency=medium
 .
   * Fix build with opaque ncurses.
     Thanks to Sven Joachim for the patch (Closes: #1057602)
   * Fix implicit declarations of some libc functions
   * Fix implicit declarations of some init_*() functions
   * debian: Fix my name
Checksums-Sha1:
 fd6caa828924a0beebb57554466edca5d9128a4e 2048 scm_5f3-5.dsc
 1f2af3ba6efc70273430d8d63ed24c6a8af99f46 15704 scm_5f3-5.debian.tar.xz
 75d7fd410de416c3a27db4c3ef36a7392a5c117c 6465 scm_5f3-5_source.buildinfo
Checksums-Sha256:
 fd4a7187d8109d970b03f1c26942bdc8dfd850f0d1aaccd4589e2f51e041fffa 2048 scm_5f3-5.dsc
 f0e72fe28c214dfe310db43e8ffcbae96ce794d0302659e5bb29e9c5ea9bb7c0 15704 scm_5f3-5.debian.tar.xz
 6ff83d86976c41b4509ad051bd8c28e4c543f181e4341d3648a398312692c89e 6465 scm_5f3-5_source.buildinfo
Files:
 ed92fc6797a7be202f148a3182d2d143 2048 interpreters optional scm_5f3-5.dsc
 27d2b205f2e0ad24e56de471392a6df5 15704 interpreters optional scm_5f3-5.debian.tar.xz
 66ad78338750cbde2ecd0280b881b486 6465 interpreters optional scm_5f3-5_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEENcUspJdnK0ANRheT3YObdI8QrU0FAmYjn/UACgkQ3YObdI8Q
rU0CjA/9FqFhMOotpgtbFRLpKBUIb6Xi4CxQTPgLhd9M1LbJ/v96cPoJO1i49YHf
4T74VFMjfNIK0LYRJLdpzrh4Yf964ijxI/Ja0R+LB1BS0gA4fOCHHjv6PppX3Xzq
qgMViP36KQAh6V+LP8jTGuYo0TzH00TLojRQLGuENQSZHTcJcFeXh5+DX1dJ/EA7
JiGXkpDJ89cgwLFDuISi02Qyy3VoKiSusZDNE696dn/KXk5v9M1uGA4avLgXDngg
mgSIRelT6s+/QgPyz3ABsOBKWQtPeeLcY9L6q68sF+bfF0gIuB+v0ZyMhAqu4yQ2
7KjlQaaeK6dyg2BeHaCkY5oJvpf2Ex3p8fHWghmN9ewIsdnGeCezCbhmZC60G9tN
Uo+8DCFXHCf+degavTB1P8d9SCV+7rTGg6FEUcpZcAnQ0Xk/KdiVQpnjLJlatik2
GZDWWBvApY8jmW7VGO5f+f/tXgI4mRE0D87Wi5FJwXWcr+OYhYI0+j3R21+vdh3F
6EiNFtpSyHqkSYqNwIe1rgchvbMd7VRoIfau9auccOhO7/+5W1VUSvGIZuWsoa1m
QOEdXqCZCsS4fPiFc845UQbe+4tze7qKOGJNhihTQ6vr21hzWxjUZ3dOn2br8++m
NObD/oXpG1VetAG0qWUzGAws8qObGVpjANJTVwnxojxorovFMY8=
=YA2w
-----END PGP SIGNATURE-----

Attachment: pgpbkRYQOch6W.pgp
Description: PGP signature


--- End Message ---

Reply to: