Bug#1074802: afdko: ftbfs with GCC-14
Package: src:afdko
Version: 3.6.2+dfsg1-1
Severity: important
Tags: sid trixie
User: debian-gcc@lists.debian.org
Usertags: ftbfs-gcc-14
[This bug is targeted to the upcoming trixie release]
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-14/g++-14, but succeeds to build with gcc-13/g++-13. The
severity of this report will be raised before the trixie release.
The full build log can be found at:
http://qa-logs.debian.net/2024/07/01/afdko_3.6.2+dfsg1-1_unstable_gccexp.log
The last lines of the build log are at the end of this report.
To build with GCC 14, either set CC=gcc-14 CXX=g++-14 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-14/porting_to.html
[...]
reading manifest file 'python/afdko.egg-info/SOURCES.txt'
adding license file 'LICENSE.md'
writing manifest file 'python/afdko.egg-info/SOURCES.txt'
/usr/lib/python3/dist-packages/setuptools/command/build_py.py:204: _Warning: Package 'afdko.resources' is absent from the `packages` configuration.
!!
********************************************************************************
############################
# Package would be ignored #
############################
Python recognizes 'afdko.resources' as an importable package[^1],
but it is absent from setuptools' `packages` configuration.
This leads to an ambiguous overall configuration. If you want to distribute this
package, please make sure that 'afdko.resources' is explicitly added
to the `packages` configuration field.
Alternatively, you can also rely on setuptools' discovery methods
(for example by using `find_namespace_packages(...)`/`find_namespace:`
instead of `find_packages(...)`/`find:`).
You can read more about "package discovery" on setuptools documentation page:
- https://setuptools.pypa.io/en/latest/userguide/package_discovery.html
If you don't want 'afdko.resources' to be distributed and are
already explicitly excluding 'afdko.resources' via
`find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`,
you can try to use `exclude_package_data`, or `include-package-data=False` in
combination with a more fine grained `package-data` configuration.
You can read more about "package data files" on setuptools documentation page:
- https://setuptools.pypa.io/en/latest/userguide/datafiles.html
[^1]: For Python, any directory (with suitable naming) can be imported,
even if it does not contain any `.py` files.
On the other hand, currently there is no concept of package data
directory, all directories are treated like packages.
********************************************************************************
!!
check.warn(importable)
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/afdko/resources
copying python/afdko/resources/AGD.txt -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/afdko/resources
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/afdko/resources/Adobe-CNS1
copying python/afdko/resources/Adobe-CNS1/Adobe-CNS1_sequences.txt -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/afdko/resources/Adobe-CNS1
copying python/afdko/resources/Adobe-CNS1/B5pc-H -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/afdko/resources/Adobe-CNS1
copying python/afdko/resources/Adobe-CNS1/UniCNS-UTF32-H -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/afdko/resources/Adobe-CNS1
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/afdko/resources/Adobe-GB1
copying python/afdko/resources/Adobe-GB1/Adobe-GB1_sequences.txt -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/afdko/resources/Adobe-GB1
copying python/afdko/resources/Adobe-GB1/GBpc-EUC-H -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/afdko/resources/Adobe-GB1
copying python/afdko/resources/Adobe-GB1/UniGB-UTF32-H -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/afdko/resources/Adobe-GB1
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/afdko/resources/Adobe-Japan1
copying python/afdko/resources/Adobe-Japan1/83pv-RKSJ-H -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/afdko/resources/Adobe-Japan1
copying python/afdko/resources/Adobe-Japan1/Adobe-Japan1_sequences.txt -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/afdko/resources/Adobe-Japan1
copying python/afdko/resources/Adobe-Japan1/UniJIS2004-UTF32-H -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/afdko/resources/Adobe-Japan1
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/afdko/resources/Adobe-Korea1
copying python/afdko/resources/Adobe-Korea1/Adobe-Korea1_sequences.txt -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/afdko/resources/Adobe-Korea1
copying python/afdko/resources/Adobe-Korea1/KSCpc-EUC-H -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/afdko/resources/Adobe-Korea1
copying python/afdko/resources/Adobe-Korea1/UniKS-UTF32-H -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/afdko/resources/Adobe-Korea1
running build_scripts
creating build/scripts-3.12
copying c/build_all/detype1 -> build/scripts-3.12
error: file '/<<PKGBUILDDIR>>/c/build_all/makeotfexe' does not exist
E: pybuild pybuild:389: build: plugin distutils failed with: exit code=1: /usr/bin/python3 setup.py build
dh_auto_build: error: pybuild --build -i python{version} -p "3.11 3.12" returned exit code 13
make: *** [debian/rules:15: build] Error 25
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
Reply to: