Source: python-gflags
Version: 1.5.1-9
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20240702 ftbfs-trixie

Hi,

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


Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> dh_auto_install
> I: pybuild base:311: /usr/bin/python3.11 setup.py install --root 
> /<<PKGBUILDDIR>>/debian/python3-gflags 
> running install
> /usr/lib/python3/dist-packages/setuptools/_distutils/cmd.py:66: 
> SetuptoolsDeprecationWarning: setup.py install is deprecated.
> !!
> 
>         
> ********************************************************************************
>         Please avoid running ``setup.py`` directly.
>         Instead, use pypa/build, pypa/installer or other
>         standards-based tools.
> 
>         See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html 
> for details.
>         
> ********************************************************************************
> 
> !!
>   self.initialize_options()
> running build
> running build_py
> running egg_info
> writing python_gflags.egg-info/PKG-INFO
> writing dependency_links to python_gflags.egg-info/dependency_links.txt
> writing top-level names to python_gflags.egg-info/top_level.txt
> reading manifest file 'python_gflags.egg-info/SOURCES.txt'
> reading manifest template 'MANIFEST.in'
> warning: no files found matching 'debian/compat'
> adding license file 'COPYING'
> adding license file 'AUTHORS'
> writing manifest file 'python_gflags.egg-info/SOURCES.txt'
> running install_lib
> creating /<<PKGBUILDDIR>>/debian/python3-gflags/usr
> creating /<<PKGBUILDDIR>>/debian/python3-gflags/usr/lib
> creating /<<PKGBUILDDIR>>/debian/python3-gflags/usr/lib/python3.11
> creating 
> /<<PKGBUILDDIR>>/debian/python3-gflags/usr/lib/python3.11/dist-packages
> copying /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_gflags/build/gflags.py -> 
> /<<PKGBUILDDIR>>/debian/python3-gflags/usr/lib/python3.11/dist-packages
> copying 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_gflags/build/gflags_validators.py -> 
> /<<PKGBUILDDIR>>/debian/python3-gflags/usr/lib/python3.11/dist-packages
> byte-compiling 
> /<<PKGBUILDDIR>>/debian/python3-gflags/usr/lib/python3.11/dist-packages/gflags.py
>  to gflags.cpython-311.pyc
> byte-compiling 
> /<<PKGBUILDDIR>>/debian/python3-gflags/usr/lib/python3.11/dist-packages/gflags_validators.py
>  to gflags_validators.cpython-311.pyc
> running install_data
> creating /<<PKGBUILDDIR>>/debian/python3-gflags/usr/bin
> copying gflags2man.py -> /<<PKGBUILDDIR>>/debian/python3-gflags/usr/bin
> running install_egg_info
> Copying python_gflags.egg-info to 
> /<<PKGBUILDDIR>>/debian/python3-gflags/usr/lib/python3.11/dist-packages/python_gflags-1.5.1.egg-info
> Skipping SOURCES.txt
> running install_scripts
> I: pybuild base:311: /usr/bin/python3 setup.py install --root 
> /<<PKGBUILDDIR>>/debian/python3-gflags 
> running install
> /usr/lib/python3/dist-packages/setuptools/_distutils/cmd.py:66: 
> SetuptoolsDeprecationWarning: setup.py install is deprecated.
> !!
> 
>         
> ********************************************************************************
>         Please avoid running ``setup.py`` directly.
>         Instead, use pypa/build, pypa/installer or other
>         standards-based tools.
> 
>         See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html 
> for details.
>         
> ********************************************************************************
> 
> !!
>   self.initialize_options()
> running build
> running build_py
> running egg_info
> writing python_gflags.egg-info/PKG-INFO
> writing dependency_links to python_gflags.egg-info/dependency_links.txt
> writing top-level names to python_gflags.egg-info/top_level.txt
> reading manifest file 'python_gflags.egg-info/SOURCES.txt'
> reading manifest template 'MANIFEST.in'
> warning: no files found matching 'debian/compat'
> adding license file 'COPYING'
> adding license file 'AUTHORS'
> writing manifest file 'python_gflags.egg-info/SOURCES.txt'
> running install_lib
> creating /<<PKGBUILDDIR>>/debian/python3-gflags/usr/lib/python3.12
> creating 
> /<<PKGBUILDDIR>>/debian/python3-gflags/usr/lib/python3.12/dist-packages
> copying /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_gflags/build/gflags.py -> 
> /<<PKGBUILDDIR>>/debian/python3-gflags/usr/lib/python3.12/dist-packages
> copying 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_gflags/build/gflags_validators.py -> 
> /<<PKGBUILDDIR>>/debian/python3-gflags/usr/lib/python3.12/dist-packages
> byte-compiling 
> /<<PKGBUILDDIR>>/debian/python3-gflags/usr/lib/python3.12/dist-packages/gflags.py
>  to gflags.cpython-312.pyc
> /usr/lib/python3.12/dist-packages/gflags.py:683: SyntaxWarning: invalid 
> escape sequence '\S'
> byte-compiling 
> /<<PKGBUILDDIR>>/debian/python3-gflags/usr/lib/python3.12/dist-packages/gflags_validators.py
>  to gflags_validators.cpython-312.pyc
> running install_data
> copying gflags2man.py -> /<<PKGBUILDDIR>>/debian/python3-gflags/usr/bin
> running install_egg_info
> Copying python_gflags.egg-info to 
> /<<PKGBUILDDIR>>/debian/python3-gflags/usr/lib/python3.12/dist-packages/python_gflags-1.5.1.egg-info
> Skipping SOURCES.txt
> running install_scripts
> mv /<<PKGBUILDDIR>>/debian/python3-gflags/usr/bin/gflags2man.py 
> /<<PKGBUILDDIR>>/debian/python3-gflags/usr/bin/gflags2man
> PYTHONPATH=/<<PKGBUILDDIR>> python3 gflags2man.py --dest_dir /<<PKGBUILDDIR>> 
> /<<PKGBUILDDIR>>/debian/python3-gflags/usr/bin/gflags2man
> /<<PKGBUILDDIR>>/gflags2man.py:517: SyntaxWarning: invalid escape sequence 
> '\('
>   '.SH COPYRIGHT\nCopyright \(co %s Google.\n'
> /<<PKGBUILDDIR>>/gflags.py:683: SyntaxWarning: invalid escape sequence '\S'
>   doc = re.sub('(?<=\S)\n(?=\S)', ' ', doc, re.M)
> WARNING:  Never found the start of the flags section for 
> "/<<PKGBUILDDIR>>/debian/python3-gflags/usr/bin/gflags2man"!
> Running: /<<PKGBUILDDIR>>/debian/python3-gflags/usr/bin/gflags2man --help 
> </dev/null 2>&1
> Traceback (most recent call last):
>   File "/<<PKGBUILDDIR>>/gflags2man.py", line 545, in <module>
>     main(sys.argv)
>   File "/<<PKGBUILDDIR>>/gflags2man.py", line 539, in main
>     prog.Filter()
>   File "/<<PKGBUILDDIR>>/gflags2man.py", line 421, in Filter
>     word_list = self.short_desc.decode('utf-8').split(' ')
>                 ^^^^^^^^^^^^^^^^^^^^^^
> AttributeError: 'str' object has no attribute 'decode'. Did you mean: 
> 'encode'?
> make[1]: *** [debian/rules:21: override_dh_auto_install] Error 1


The full build log is available from:
http://qa-logs.debian.net/2024/07/02/python-gflags_1.5.1-9_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20240702;users=lu...@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240702&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 mark 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