Package: src:scm
Version: 5f3-6
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
# Generated by configure for scm 5f3.
# This file (config.status) is included by the (scm) Makefile.

PACKAGE_NAME=scm
PACKAGE_TARNAME=scm
PACKAGE_VERSION=5f3
PACKAGE_STRING=scm 5f3
PACKAGE_BUGREPORT=scm-disc...@gnu.org
srcdir=/<<PKGBUILDDIR>>/
prefix=/usr/local/
exec_prefix=${prefix}
bindir=${exec_prefix}bin/
sbindir=${exec_prefix}sbin/
libexecdir=${exec_prefix}libexec/
datarootdir=${prefix}share/
datadir=${datarootdir}
sysconfdir=${prefix}etc/
sharedstatedir=${prefix}com/
localstatedir=${prefix}var/
includedir=${prefix}include/
oldincludedir=/usr/include/
docdir=${datarootdir}doc/${PACKAGE_TARNAME}/
infodir=${datarootdir}info/
htmldir=${docdir}
dvidir=${docdir}
pdfdir=${docdir}
psdir=${docdir}
libdir=${exec_prefix}lib/
localedir=${datarootdir}locale/
mandir=${datarootdir}man/
distdir=${srcdir}
snapdir=${srcdir}
cp debian/require.scm.debian require.scm
cp debian/scm.opt.debian libscm.opt
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
make scmlit
make[2]: Entering directory '/<<PKGBUILDDIR>>'
echo "#ifndef IMPLINIT" > newflags.h
echo "#define IMPLINIT \"/<<PKGBUILDDIR>>/Init5f3.scm\"" >> newflags.h
echo "#endif" >> newflags.h
echo "#define CHEAP_CONTINUATIONS" >> newflags.h
echo "#define CAUTIOUS" >> newflags.h
if (cmp -s newflags.h scmflags.h) then rm newflags.h; \
         else mv newflags.h scmflags.h; fi
cc -c -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 -O0 scm.c -o scm.o
scm.c: In function ‘process_signals’:
scm.c:180:24: warning: cast to pointer from integer of different size 
[-Wint-to-pointer-cast]
  180 |         wta(UNDEFINED, (char *)i, "");
      |                        ^
scm.c: In function ‘scmable_signal’:
scm.c:294:22: warning: cast to pointer from integer of different size 
[-Wint-to-pointer-cast]
  294 |       wta(UNDEFINED, (char *)i, "");
      |                      ^
cc -c -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 -O0 time.c -o 
time.o
cc -c -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 -O0 repl.c -o 
repl.o
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)
      |                     ^
cc -c -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 -O0 scl.c -o scl.o
cc -c -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 -O0 sys.c -o sys.o
cc -c -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 -O0 eval.c -o 
eval.o
cc -c -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 -O0 subr.c -o 
subr.o
cc -c -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 -O0 unif.c -o 
unif.o
cc -c -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 -O0 rope.c -o 
rope.o
cc -c -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 -O0 continue.c -o 
continue.o
cc -c -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 -O0 findexec.c -o 
findexec.o
cc -c -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 -O0 script.c -o 
script.o
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++];
      |                                       ^
cc -c -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 -O0 debug.c -o 
debug.o
cc -c -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 -O0 scmmain.c -o 
scmmain.o
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: error: 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: error: assignment to ‘char **’ from incompatible pointer type 
‘const char **’ [-Wincompatible-pointer-types]
  122 |   else {nargv = argv; nargc = argc;}
      |               ^
scmmain.c:124:39: error: 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: error: 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
      |               ^
make[2]: *** [Makefile:365: scmmain.o] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: *** [debian/rules:32: override_dh_auto_build] Error 2
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/202409/

About the archive rebuild: The build was made on virtual machines
of type m6a.large and r6a.large 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 affects, so that this is still visible in the BTS web
page for this package.

Thanks.

Reply via email to