Bug#1020090: python-unicodedata2: FTBFS: make[1]: *** [debian/rules:16: override_dh_auto_build] Error 1
Source: python-unicodedata2
Version: 14.0.0+ds-8
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas@debian.org
Usertags: ftbfs-20220917 ftbfs-bookworm
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> 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 1349, in <module>
> maketables(1)
> File "/<<PKGBUILDDIR>>/makeunicodedata.py", line 117, in maketables
> unicode = UnicodeData(UNIDATA_VERSION)
> File "/<<PKGBUILDDIR>>/makeunicodedata.py", line 997, in __init__
> for s in UcdFile(UNICODE_DATA, version):
> File "/<<PKGBUILDDIR>>/makeunicodedata.py", line 927, in records
> with open_data(self.template, self.version) as file:
> File "/<<PKGBUILDDIR>>/makeunicodedata.py", line 891, in open_data
> raise Exception(f'file not found: {local}')
> Exception: file not found: data/UnicodeData-14.0.0.txt
> make[1]: *** [debian/rules:16: override_dh_auto_build] Error 1
The full build log is available from:
http://qa-logs.debian.net/2022/09/17/python-unicodedata2_14.0.0+ds-8_unstable.log
All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20220917;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20220917&fusertaguser=lucas@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 to: