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

Bug#1114335: python-unicodedata2: FTBFS: dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2



Package: src:python-unicodedata2
Version: 15.1.0+ds-1
Severity: serious
Tags: ftbfs forky sid

Dear maintainer:

During a rebuild of all packages in unstable, your package failed to build.

Below you will find how the build ends (probably the most relevant part,
but not necessarily). If required, the full build log is available here:

https://people.debian.org/~sanvila/build-logs/202509/

About the archive rebuild: The build was made on virtual machines 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 add an affects on src:python-unicodedata2, so that this is still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean --with python3 --buildsystem=pybuild
   dh_auto_clean -O--buildsystem=pybuild
I: pybuild base:311: python3.13 setup.py clean 
/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py:289: UserWarning: Unknown distribution option: 'test_suite'
  warnings.warn(msg)
running clean
removing '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_unicodedata2/build' (and everything under it)
'build/bdist.linux-x86_64' does not exist -- can't clean it
'build/scripts-3.13' does not exist -- can't clean it
   dh_autoreconf_clean -O--buildsystem=pybuild
   dh_clean -O--buildsystem=pybuild
 debian/rules binary
dh binary --with python3 --buildsystem=pybuild
   dh_update_autotools_config -O--buildsystem=pybuild
   dh_autoreconf -O--buildsystem=pybuild
   dh_auto_configure -O--buildsystem=pybuild
I: pybuild base:311: python3.13 setup.py config 
/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py:289: UserWarning: Unknown distribution option: 'test_suite'
  warnings.warn(msg)
running config
   debian/rules execute_before_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
# Generate unicode data headers
mkdir -p data
unicode_ver=`dpkg -s unicode-data | grep '^Version: ' | sed 's/^Version: \(.*\)-.*$/\1/'`; \
for i in `ls /usr/share/unicode/*.txt | xargs -n1 basename`; do \
	ln -s "/usr/share/unicode/${i}" "data/${i%.txt}-${unicode_ver}.txt" ; \
done
bunzip2 -ckd /usr/share/unicode/Unihan_NumericValues.txt.bz2 > data/Unihan_NumericValues.txt
python3 makeunicodedata.py
--- Reading UnicodeData.txt ...
Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/makeunicodedata.py", line 1383, in <module>
    maketables(1)
    ~~~~~~~~~~^^^
  File "/<<PKGBUILDDIR>>/makeunicodedata.py", line 121, in maketables
    unicode = UnicodeData(UNIDATA_VERSION)
  File "/<<PKGBUILDDIR>>/makeunicodedata.py", line 1026, in __init__
    for s in UcdFile(UNICODE_DATA, version):
             ~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^
  File "/<<PKGBUILDDIR>>/makeunicodedata.py", line 958, in records
    with open_data(self.template, self.version) as file:
         ~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/<<PKGBUILDDIR>>/makeunicodedata.py", line 922, in open_data
    raise Exception(f'file not found: {local}')
Exception: file not found: data/UnicodeData-15.1.0.txt
make[1]: *** [debian/rules:16: execute_before_dh_auto_build] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:9: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------


Reply to: