Source: python3-stdlib-extensions
Version: 3.10.5-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20220716 ftbfs-bookworm

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
>  debian/rules build
> dh_testdir
> ln -sf /usr/lib/libBLT.2.4.so.8.6 3.9/libBLT86.so
> ln -sf /usr/lib/libBLT.2.4.so.8.6 3.9/libBLT86.so.8.6
> cd 3.9 && PYTHONPATH=/<<PKGBUILDDIR>>/3.9/Lib python3.9 setup.py build
> /<<PKGBUILDDIR>>/3.9/setup.py:4: DeprecationWarning: the imp module is 
> deprecated in favour of importlib; see the module's documentation for 
> alternative uses
>   import sys, os, imp, re, optparse
> /<<PKGBUILDDIR>>/3.9/setup.py:787: DeprecationWarning: SO is deprecated, use 
> EXT_SUFFIX
>   so_ext = sysconfig.get_config_var("SO")
> running build
> running build_ext
> building '_gdbm' extension
> creating build/temp.linux-x86_64-3.9/Modules
> x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g 
> -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat 
> -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat 
> -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I. 
> -I/usr/include/x86_64-linux-gnu -I/usr/include/python3.9 -c 
> Modules/_gdbmmodule.c -o build/temp.linux-x86_64-3.9/Modules/_gdbmmodule.o
> creating build/lib.linux-x86_64-3.9
> x86_64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -g 
> -fwrapv -O2 -g -fwrapv -O2 -g -fstack-protector-strong -Wformat 
> -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 
> build/temp.linux-x86_64-3.9/Modules/_gdbmmodule.o -lgdbm -o 
> build/lib.linux-x86_64-3.9/_gdbm.cpython-39-x86_64-linux-gnu.so
> building '_tkinter' extension
> x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g 
> -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat 
> -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat 
> -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC 
> -DWITH_APPINIT=1 -DWITH_BLT=1 -I/usr/include/tcl8.6 -I/usr/X11/include -I. 
> -I/usr/include/x86_64-linux-gnu -I/usr/include/python3.9 -c 
> Modules/_tkinter.c -o build/temp.linux-x86_64-3.9/Modules/_tkinter.o
> x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g 
> -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat 
> -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat 
> -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC 
> -DWITH_APPINIT=1 -DWITH_BLT=1 -I/usr/include/tcl8.6 -I/usr/X11/include -I. 
> -I/usr/include/x86_64-linux-gnu -I/usr/include/python3.9 -c 
> Modules/tkappinit.c -o build/temp.linux-x86_64-3.9/Modules/tkappinit.o
> x86_64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -g 
> -fwrapv -O2 -g -fwrapv -O2 -g -fstack-protector-strong -Wformat 
> -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 
> build/temp.linux-x86_64-3.9/Modules/_tkinter.o 
> build/temp.linux-x86_64-3.9/Modules/tkappinit.o -L/usr/X11/lib -lBLT -ltk8.6 
> -ltcl8.6 -lX11 -o 
> build/lib.linux-x86_64-3.9/_tkinter.cpython-39-x86_64-linux-gnu.so
> touch build-stamp-py3.9
> dh_testdir
> ln -sf /usr/lib/libBLT.2.4.so.8.6 3.10/libBLT86.so
> ln -sf /usr/lib/libBLT.2.4.so.8.6 3.10/libBLT86.so.8.6
> cd 3.10 && PYTHONPATH=/<<PKGBUILDDIR>>/3.10/Lib python3.10 setup.py build
> /<<PKGBUILDDIR>>/3.10/setup.py:4: DeprecationWarning: the imp module is 
> deprecated in favour of importlib and slated for removal in Python 3.12; see 
> the module's documentation for alternative uses
>   import sys, os, imp, re, optparse
> /<<PKGBUILDDIR>>/3.10/setup.py:8: DeprecationWarning: The distutils package 
> is deprecated and slated for removal in Python 3.12. Use setuptools or check 
> PEP 632 for potential alternatives
>   from distutils import log
> /<<PKGBUILDDIR>>/3.10/setup.py:850: DeprecationWarning: SO is deprecated, use 
> EXT_SUFFIX
>   so_ext = sysconfig.get_config_var("SO")
> running build
> running build_ext
> building '_gdbm' extension
> creating build/temp.linux-x86_64-3.10/Modules
> x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g 
> -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat 
> -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat 
> -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I. 
> -I/usr/include/x86_64-linux-gnu -I/usr/include/python3.10 -c 
> Modules/_gdbmmodule.c -o build/temp.linux-x86_64-3.10/Modules/_gdbmmodule.o
> creating build/lib.linux-x86_64-3.10
> x86_64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -g 
> -fwrapv -O2 -g -fwrapv -O2 -g -fstack-protector-strong -Wformat 
> -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 
> build/temp.linux-x86_64-3.10/Modules/_gdbmmodule.o -lgdbm -o 
> build/lib.linux-x86_64-3.10/_gdbm.cpython-310-x86_64-linux-gnu.so
> building '_tkinter' extension
> x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g 
> -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat 
> -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat 
> -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC 
> -DWITH_APPINIT=1 -DWITH_BLT=1 -I/usr/include/tcl8.6 -I/usr/X11/include -I. 
> -I/usr/include/x86_64-linux-gnu -I/usr/include/python3.10 -c 
> Modules/_tkinter.c -o build/temp.linux-x86_64-3.10/Modules/_tkinter.o
> x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g 
> -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat 
> -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat 
> -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC 
> -DWITH_APPINIT=1 -DWITH_BLT=1 -I/usr/include/tcl8.6 -I/usr/X11/include -I. 
> -I/usr/include/x86_64-linux-gnu -I/usr/include/python3.10 -c 
> Modules/tkappinit.c -o build/temp.linux-x86_64-3.10/Modules/tkappinit.o
> x86_64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -g 
> -fwrapv -O2 -g -fwrapv -O2 -g -fstack-protector-strong -Wformat 
> -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 
> build/temp.linux-x86_64-3.10/Modules/_tkinter.o 
> build/temp.linux-x86_64-3.10/Modules/tkappinit.o -L/usr/X11/lib -lBLT -ltk8.6 
> -ltcl8.6 -lX11 -o 
> build/lib.linux-x86_64-3.10/_tkinter.cpython-310-x86_64-linux-gnu.so
> touch build-stamp-py3.10
> dh_testdir
> ln -sf /usr/lib/libBLT.2.4.so.8.6 3.11/libBLT86.so
> ln -sf /usr/lib/libBLT.2.4.so.8.6 3.11/libBLT86.so.8.6
> cd 3.11 && PYTHONPATH=/<<PKGBUILDDIR>>/3.11/Lib python3.11 setup.py build
> /<<PKGBUILDDIR>>/3.11/setup.py:4: DeprecationWarning: the imp module is 
> deprecated in favour of importlib and slated for removal in Python 3.12; see 
> the module's documentation for alternative uses
>   import sys, os, imp, re, optparse
> /<<PKGBUILDDIR>>/3.11/setup.py:8: DeprecationWarning: The distutils package 
> is deprecated and slated for removal in Python 3.12. Use setuptools or check 
> PEP 632 for potential alternatives
>   from distutils import log
> Traceback (most recent call last):
>   File "/<<PKGBUILDDIR>>/3.11/setup.py", line 12, in <module>
>     from distutils.command.build_ext import build_ext
>   File "/<<PKGBUILDDIR>>/3.11/Lib/distutils/command/build_ext.py", line 13, 
> in <module>
>     from distutils.sysconfig import customize_compiler, get_python_version
>   File "/<<PKGBUILDDIR>>/3.11/Lib/distutils/sysconfig.py", line 23, in 
> <module>
>     from sysconfig import (
> ImportError: cannot import name '_is_python_source_dir' from 'sysconfig' 
> (/usr/lib/python3.11/sysconfig.py)
> make: *** [debian/rules:65: build-stamp-py3.11] Error 1


The full build log is available from:
http://qa-logs.debian.net/2022/07/16/python3-stdlib-extensions_3.10.5-1_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20220716;users=lu...@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20220716&fusertaguser=lu...@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.

Reply via email to