Bug#938617: syslinux: Python2 removal in sid/bullseye

2019-08-30 Thread Matthias Klose
Package: src:syslinux
Version: 3:6.04~git20190206.bf6db5b4+dfsg1-1
Severity: normal
Tags: sid bullseye
User: debian-pyt...@lists.debian.org
Usertags: py2removal

Python2 becomes end-of-live upstream, and Debian aims to remove
Python2 from the distribution, as discussed in
https://lists.debian.org/debian-python/2019/07/msg00080.html

Your package either build-depends, depends on Python2, or uses Python2
in the autopkg tests.  Please stop using Python2, and fix this issue
by one of the following actions.

- Convert your Package to Python3. This is the preferred option.  In
  case you are providing a Python module foo, please consider dropping
  the python-foo package, and only build a python3-foo package.  Please
  don't drop Python2 modules, which still have reverse dependencies,
  just document them.
  
  This is the preferred option.

- If the package is dead upstream, cannot be converted or maintained
  in Debian, it should be removed from the distribution.  If the
  package still has reverse dependencies, raise the severity to
  "serious" and document the reverse dependencies with the BTS affects
  command.  If the package has no reverse dependencies, confirm that
  the package can be removed, reassign this issue to ftp.debian.org,
  make sure that the bug priority is set to normal and retitle the
  issue to "RM: PKG -- removal triggered by the Python2 removal".

- If the package has still many users (popcon >= 300), or is needed to
  build another package which cannot be removed, document that by
  adding the "py2keep" user tag (not replacing the py2remove tag),
  using the debian-pyt...@lists.debian.org user.  Also any
  dependencies on an unversioned python package (python, python-dev)
  must not be used, same with the python shebang.  These have to be
  replaced by python2/python2.7 dependencies and shebang.

  This is the least preferred option.

If the conversion or removal needs action on another package first,
please document the blocking by using the BTS affects command, like

  affects  + src:syslinux

If there is no py2removal bug for that reverse-dependency, please file
a bug on this package (similar to this bug report).

If there are questions, please refer to the wiki page for the removal:
https://wiki.debian.org/Python/2Removal, or ask for help on IRC
#debian-python, or the debian-pyt...@lists.debian.org mailing list.



Bug#957858: syslinux: ftbfs with GCC-10

2020-04-17 Thread Matthias Klose
Package: src:syslinux
Version: 3:6.04~git20190206.bf6db5b4+dfsg1-2
Severity: normal
Tags: sid bullseye
User: debian-...@lists.debian.org
Usertags: ftbfs-gcc-10

Please keep this issue open in the bug tracker for the package it
was filed for.  If a fix in another package is required, please
file a bug for the other package (or clone), and add a block in this
package. Please keep the issue open until the package can be built in
a follow-up test rebuild.

The package fails to build in a test rebuild on at least amd64 with
gcc-10/g++-10, but succeeds to build with gcc-9/g++-9. The
severity of this report will be raised before the bullseye release,
so nothing has to be done for the buster release.

The full build log can be found at:
http://people.debian.org/~doko/logs/gcc10-20200225/syslinux_6.04~git20190206.bf6db5b4+dfsg1-2_unstable_gcc10.log
The last lines of the build log are at the end of this report.

To build with GCC 10, either set CC=gcc-10 CXX=g++-10 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.

  apt-get -t=experimental install g++ 

Common build failures are new warnings resulting in build failures with
-Werror turned on, or new/dropped symbols in Debian symbols files.
For other C/C++ related build failures see the porting guide at
http://gcc.gnu.org/gcc-10/porting_to.html

[...]
  225 |  snprintf(connection, sizeof_connection, "%s%u", connection, code & 
0x0F);
  |  
^~~~
/<>/com32/gpllib/dmi/dmi_memory.c:217:56: note: destination object 
referenced by ‘restrict’-qualified argument 1 was declared here
  217 | void dmi_memory_module_connections(uint8_t code, char *connection, int 
sizeof_connection)
  |  ~~^~
/<>/com32/gpllib/dmi/dmi_memory.c: In function 
‘dmi_memory_module_size’:
/<>/com32/gpllib/dmi/dmi_memory.c:257:2: warning: ‘snprintf’ 
argument 4 overlaps destination object ‘size’ [-Wrestrict]
  257 |  snprintf(size, sizeof_size, "%s %s", size, "(Single-bank Connection)");
  |  ^~
/<>/com32/gpllib/dmi/dmi_memory.c:237:49: note: destination object 
referenced by ‘restrict’-qualified argument 1 was declared here
  237 | void dmi_memory_module_size(uint8_t code, char *size, int sizeof_size)
  |   ~~^~~~
/<>/com32/gpllib/dmi/dmi_memory.c:255:2: warning: ‘snprintf’ 
argument 4 overlaps destination object ‘size’ [-Wrestrict]
  255 |  snprintf(size, sizeof_size, "%s %s", size, "(Double-bank Connection)");
  |  ^~
/<>/com32/gpllib/dmi/dmi_memory.c:237:49: note: destination object 
referenced by ‘restrict’-qualified argument 1 was declared here
  237 | void dmi_memory_module_size(uint8_t code, char *size, int sizeof_size)
  |   ~~^~~~
gcc -MT dmi/dmi_processor.o -MD -MF dmi/.dmi_processor.o.d -Os -march=i386 
-falign-functions=0 -falign-jumps=0 -falign-labels=0 -ffast-math 
-fomit-frame-pointer -std=gnu99 -m32 -mpreferred-stack-boundary=2 
-fno-stack-protector -fwrapv -freg-struct-return -fPIC -fno-exceptions 
-fno-asynchronous-unwind-tables -fno-strict-aliasing -falign-functions=0 
-falign-jumps=0 -falign-labels=0 -falign-loops=0 -g -D__COM32__ 
-D__FIRMWARE_BIOS__ -nostdinc -iwithprefix include -I. 
-I/<>/com32/gpllib/sys -I/<>/com32/gpllib/../include 
-I/<>/com32/include/sys -I/<>/core/include 
-I/<>/com32/lib/ -I/<>/com32/lib/sys/module 
-I/<>/bios/com32/gpllib//../.. 
-I/<>/com32/gpllib/../gplinclude 
-I/<>/com32/gpllib/../gplinclude/zzjson -W -Wall 
-Wstrict-prototypes  -Wpointer-arith -Wwrite-strings -Wstrict-prototypes 
-Winline -DDYNAMIC_CRC_TABLE -mregparm=3 -DREGPARM=3 -c -o dmi/dmi_processor.o 
/<>/com32/gpllib/dmi/dmi_processor.c
gcc -MT vpd/vpd.o -MD -MF vpd/.vpd.o.d -Os -march=i386 -falign-functions=0 
-falign-jumps=0 -falign-labels=0 -ffast-math -fomit-frame-pointer -std=gnu99 
-m32 -mpreferred-stack-boundary=2 -fno-stack-protector -fwrapv 
-freg-struct-return -fPIC -fno-exceptions -fno-asynchronous-unwind-tables 
-fno-strict-aliasing -falign-functions=0 -falign-jumps=0 -falign-labels=0 
-falign-loops=0 -g -D__COM32__ -D__FIRMWARE_BIOS__ -nostdinc -iwithprefix 
include -I. -I/<>/com32/gpllib/sys 
-I/<>/com32/gpllib/../include -I/<>/com32/include/sys 
-I/<>/core/include -I/<>/com32/lib/ 
-I/<>/com32/lib/sys/module 
-I/<>/bios/com32/gpllib//../.. 
-I/<>/com32/gpllib/../gplinclude 
-I/<>/com32/gpllib/../gplinclude/zzjson -W -Wall 
-Wstrict-prototypes  -Wpointer-arith -Wwrite-strings -Wstrict-prototypes 
-Winline -DDYNAMIC_CRC_TABLE -mregparm=3 -DREGPARM=3 -c -o vpd/vpd.o 
/<>/com32/gpllib/vpd/vpd
 .c
gcc -MT acpi/acpi.o -MD -MF acpi/.acpi.o.d -Os -march=i386 -falign-functions=0 
-falign-jumps=0 -falign-labels=0 -ffast-math -fomit-frame-pointer -std=gnu99 
-m32 -mpreferred-stack-