Package: src:afdko
Version: 4.0.1+dfsg1-2
Severity: serious
Tags: ftbfs trixie sid

Dear maintainer:

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

--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean --buildsystem=pybuild
   debian/rules override_dh_auto_clean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_clean
I: pybuild base:311: python3.13 setup.py clean 
/<<PKGBUILDDIR>>/setup.py:7: DeprecationWarning: dep_util is Deprecated. Use 
functions from setuptools instead.
  from distutils.dep_util import newer
/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py:270: UserWarning: 
Unknown distribution option: 'tests_require'
  warnings.warn(msg)
WARNING setuptools_scm.pyproject_reading toml section missing 'pyproject.toml 
does not contain a tool.setuptools_scm section'
Traceback (most recent call last):
  File 
"/usr/lib/python3/dist-packages/setuptools_scm/_integration/pyproject_reading.py",
 line 36, in read_pyproject
    section = defn.get("tool", {})[tool_name]
              ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^
KeyError: 'setuptools_scm'
/usr/lib/python3/dist-packages/setuptools/__init__.py:94: _DeprecatedInstaller: 
setuptools.installer and fetch_build_eggs are deprecated.
!!

        
********************************************************************************
        Requirements should be satisfied by a PEP 517 installer.
        If you are using pip, you can try `pip install --use-pep517`.
        
********************************************************************************

!!
  dist.fetch_build_eggs(dist.setup_requires)
/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py:270: UserWarning: 
Unknown distribution option: 'tests_require'
  warnings.warn(msg)
WARNING setuptools_scm.pyproject_reading toml section missing 'pyproject.toml 
does not contain a tool.setuptools_scm section'
Traceback (most recent call last):
  File 
"/usr/lib/python3/dist-packages/setuptools_scm/_integration/pyproject_reading.py",
 line 36, in read_pyproject
    section = defn.get("tool", {})[tool_name]
              ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^
KeyError: 'setuptools_scm'
running clean
removing '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build' (and everything under 
it)
'_skbuild/linux-x86_64-3.13/setuptools/bdist.linux-x86_64' does not exist -- 
can't clean it
'_skbuild/linux-x86_64-3.13/setuptools/scripts-3.13' does not exist -- can't 
clean it
# empty directory, .gitignored
rm -rf .eggs
rm -rf _skbuild/
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_autoreconf_clean -O--buildsystem=pybuild
   dh_clean -O--buildsystem=pybuild
 debian/rules binary
dh binary --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 
/<<PKGBUILDDIR>>/setup.py:7: DeprecationWarning: dep_util is Deprecated. Use 
functions from setuptools instead.
  from distutils.dep_util import newer
/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py:270: UserWarning: 
Unknown distribution option: 'tests_require'
  warnings.warn(msg)
WARNING setuptools_scm.pyproject_reading toml section missing 'pyproject.toml 
does not contain a tool.setuptools_scm section'
Traceback (most recent call last):
  File 
"/usr/lib/python3/dist-packages/setuptools_scm/_integration/pyproject_reading.py",
 line 36, in read_pyproject
    section = defn.get("tool", {})[tool_name]
              ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^
KeyError: 'setuptools_scm'
/usr/lib/python3/dist-packages/setuptools/__init__.py:94: _DeprecatedInstaller: 
setuptools.installer and fetch_build_eggs are deprecated.
!!

        
********************************************************************************
        Requirements should be satisfied by a PEP 517 installer.
        If you are using pip, you can try `pip install --use-pep517`.
        
********************************************************************************

!!
  dist.fetch_build_eggs(dist.setup_requires)
/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py:270: UserWarning: 
Unknown distribution option: 'tests_require'
  warnings.warn(msg)
WARNING setuptools_scm.pyproject_reading toml section missing 'pyproject.toml 
does not contain a tool.setuptools_scm section'
Traceback (most recent call last):
  File 
"/usr/lib/python3/dist-packages/setuptools_scm/_integration/pyproject_reading.py",
 line 36, in read_pyproject
    section = defn.get("tool", {})[tool_name]
              ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^
KeyError: 'setuptools_scm'
running config
   debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
# rebuild generated lexer using antlr4
cd c/makeotf/lib/hotconv; python3 BuildGrammar.py -f
antlr4 -no-listener -Dlanguage=Cpp FeatLexer.g4
warning(146): FeatLexer.g4:183:0: non-fragment lexer rule STRVAL can match the 
empty string
antlr4 -no-listener -Dlanguage=Cpp -visitor FeatParser.g4
env FORCE_SYSTEM_LIBXML2=1 dh_auto_build
I: pybuild base:311: /usr/bin/python3 setup.py build 
/<<PKGBUILDDIR>>/setup.py:7: DeprecationWarning: dep_util is Deprecated. Use 
functions from setuptools instead.
  from distutils.dep_util import newer
/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py:270: UserWarning: 
Unknown distribution option: 'tests_require'
  warnings.warn(msg)
WARNING setuptools_scm.pyproject_reading toml section missing 'pyproject.toml 
does not contain a tool.setuptools_scm section'
Traceback (most recent call last):
  File 
"/usr/lib/python3/dist-packages/setuptools_scm/_integration/pyproject_reading.py",
 line 36, in read_pyproject
    section = defn.get("tool", {})[tool_name]
              ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^
KeyError: 'setuptools_scm'


--------------------------------------------------------------------------------
-- Trying 'Ninja' generator
--------------------------------
---------------------------
----------------------
-----------------
------------
-------
--
CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
  Compatibility with CMake < 3.10 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax
  to tell CMake that the project requires at least <min> but has been updated
  to work with policies introduced by <max> or earlier.

Not searching for unused variables given on the command line.

-- The C compiler identification is GNU 14.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- The CXX compiler identification is GNU 14.2.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring done (0.3s)
-- Generating done (0.0s)
-- Build files have been written to: /<<PKGBUILDDIR>>/_cmake_test_compile/build
--
-------
------------
-----------------
----------------------
---------------------------
--------------------------------
-- Trying 'Ninja' generator - success
--------------------------------------------------------------------------------

Configuring Project
  Working directory:
    /<<PKGBUILDDIR>>/_skbuild/linux-x86_64-3.13/cmake-build
  Command:
    /usr/bin/cmake /<<PKGBUILDDIR>> -G Ninja --no-warn-unused-cli 
-DCMAKE_INSTALL_PREFIX:PATH=/<<PKGBUILDDIR>>/_skbuild/linux-x86_64-3.13/cmake-install
 -DPYTHON_VERSION_STRING:STRING=3.13.2 -DSKBUILD:INTERNAL=TRUE 
-DCMAKE_MODULE_PATH:PATH=/usr/lib/python3/dist-packages/skbuild/resources/cmake 
-DPYTHON_EXECUTABLE:PATH=/usr/bin/python3 
-DPYTHON_INCLUDE_DIR:PATH=/usr/include/python3.13 
-DPython_EXECUTABLE:PATH=/usr/bin/python3 -DPython_ROOT_DIR:PATH=/usr 
-DPython_FIND_REGISTRY:STRING=NEVER 
-DPython_INCLUDE_DIR:PATH=/usr/include/python3.13 
-DPython_NumPy_INCLUDE_DIRS:PATH=/usr/lib/x86_64-linux-gnu/python3-numpy/numpy/_core/include
 -DPython3_EXECUTABLE:PATH=/usr/bin/python3 -DPython3_ROOT_DIR:PATH=/usr 
-DPython3_FIND_REGISTRY:STRING=NEVER 
-DPython3_INCLUDE_DIR:PATH=/usr/include/python3.13 
-DPython3_NumPy_INCLUDE_DIRS:PATH=/usr/lib/x86_64-linux-gnu/python3-numpy/numpy/_core/include
 -DCMAKE_BUILD_TYPE:STRING=Release

Not searching for unused variables given on the command line.
-- The C compiler identification is GNU 14.2.0
-- The CXX compiler identification is GNU 14.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Build type is Release
CMake Warning (dev) at 
/usr/lib/python3/dist-packages/skbuild/resources/cmake/FindPythonExtensions.cmake:245
 (find_package):
  Policy CMP0148 is not set: The FindPythonInterp and FindPythonLibs modules
  are removed.  Run "cmake --help-policy CMP0148" for policy details.  Use
  the cmake_policy command to set the policy and suppress this warning.

Call Stack (most recent call first):
  CMakeLists.txt:25 (find_package)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Found PythonInterp: /usr/bin/python3 (found version "3.13.2")
CMake Warning (dev) at 
/usr/lib/python3/dist-packages/skbuild/resources/cmake/FindPythonExtensions.cmake:248
 (find_package):
  Policy CMP0148 is not set: The FindPythonInterp and FindPythonLibs modules
  are removed.  Run "cmake --help-policy CMP0148" for policy details.  Use
  the cmake_policy command to set the policy and suppress this warning.

Call Stack (most recent call first):
  CMakeLists.txt:25 (find_package)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Found PythonLibs: no-library-required
-- Found LibXml2: /usr/lib/x86_64-linux-gnu/libxml2.so (found version "2.9.14")
-- Looking for floor in m
-- Looking for floor in m - found
-- Found Python3: /usr/bin/python3 (found version "3.13.2") found components: 
Interpreter
-- Configuring done (0.4s)
-- Generating done (0.0s)
-- Build files have been written to: 
/<<PKGBUILDDIR>>/_skbuild/linux-x86_64-3.13/cmake-build
[1/209] Building C object 
c/shared/source/CMakeFiles/absfont.dir/absfont/absfont_compare.c.o
[2/209] Building C object 
c/shared/source/CMakeFiles/absfont.dir/absfont/absfont_afm.c.o
[3/209] Building C object 
c/shared/source/CMakeFiles/absfont.dir/absfont/absfont_desc.c.o
[4/209] Building C object 
c/shared/source/CMakeFiles/absfont.dir/absfont/absfont.c.o
[5/209] Building C object 
c/shared/source/CMakeFiles/absfont.dir/absfont/absfont_draw.c.o
[6/209] Building C object 
c/shared/source/CMakeFiles/absfont.dir/absfont/absfont_metrics.c.o
[7/209] Building C object 
c/shared/source/CMakeFiles/absfont.dir/absfont/absfont_dump.c.o
[8/209] Building C object 
c/shared/source/CMakeFiles/cfembed.dir/cfembed/cfembed.c.o
[9/209] Building C object 
c/shared/source/CMakeFiles/absfont.dir/absfont/absfont_path.c.o
[10/209] Building C object 
c/shared/source/CMakeFiles/cffread.dir/cffread/cffread.c.o
[11/209] Building C object 
c/shared/source/CMakeFiles/cffwrite.dir/cffwrite/cffwrite.c.o
[12/209] Building C object 
c/shared/source/CMakeFiles/cffwrite.dir/cffwrite/cffwrite_charset.c.o
[13/209] Building C object 
c/shared/source/CMakeFiles/cffwrite.dir/cffwrite/cffwrite_encoding.c.o
[14/209] Building C object 
c/shared/source/CMakeFiles/cffwrite.dir/cffwrite/cffwrite_sindex.c.o
[15/209] Building C object 
c/shared/source/CMakeFiles/cffwrite.dir/cffwrite/cffwrite_fdselect.c.o
[16/209] Building C object 
c/shared/source/CMakeFiles/cffwrite.dir/cffwrite/cffwrite_dict.c.o
[17/209] Building C object 
c/shared/source/CMakeFiles/cffwrite.dir/cffwrite/cffwrite_varstore.c.o
[18/209] Building C object 
c/shared/source/CMakeFiles/ctutil.dir/ctutil/ctutil.c.o
[19/209] Building C object 
c/shared/source/CMakeFiles/dynarr.dir/dynarr/dynarr.c.o
[20/209] Building C object 
c/shared/source/CMakeFiles/nameread.dir/nameread/nameread.c.o
[21/209] Building C object 
c/shared/source/CMakeFiles/cffwrite.dir/cffwrite/cffwrite_t2cstr.c.o
[22/209] Building C object 
c/shared/source/CMakeFiles/cffwrite.dir/cffwrite/cffwrite_subr.c.o
[23/209] Building C object 
c/shared/source/CMakeFiles/sfntread.dir/sfntread/sfntread.c.o
[24/209] Building C object 
c/shared/source/CMakeFiles/pstoken.dir/pstoken/pstoken.c.o
[25/209] Building C object c/shared/source/CMakeFiles/sha1.dir/sha1/sha1.c.o
[26/209] Building C object 
c/shared/source/CMakeFiles/sfntwrite.dir/sfntwrite/sfntwrite.c.o
[27/209] Building C object 
c/shared/source/CMakeFiles/pdfwrite.dir/pdfwrite/pdfwrite.c.o
[28/209] Building C object 
c/shared/source/CMakeFiles/support.dir/support/canthappen.c.o
[29/209] Building C object 
c/shared/source/CMakeFiles/support.dir/support/except.c.o
[30/209] Building C object 
c/shared/source/CMakeFiles/support.dir/support/fixed.c.o
[31/209] Building C object 
c/shared/source/CMakeFiles/svgwrite.dir/svgwrite/svgwrite.c.o
[32/209] Building C object 
c/shared/source/CMakeFiles/svread.dir/svread/svread.c.o
In function ‘tkncmp’,
    inlined from ‘tokenEqualStr’ at 
/<<PKGBUILDDIR>>/c/shared/source/svread/svread.c:736:12,
    inlined from ‘parseSVG’ at 
/<<PKGBUILDDIR>>/c/shared/source/svread/svread.c:967:20,
    inlined from ‘svrBegFont’ at 
/<<PKGBUILDDIR>>/c/shared/source/svread/svread.c:1251:14:
/<<PKGBUILDDIR>>/c/shared/source/svread/svread.c:731:18: warning: ‘strncmp’ 
specified bound 2 exceeds source size 0 [-Wstringop-overread]
  731 |         retVal = strncmp(tk->val, str, tk->length);
      |                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[33/209] Building C object 
c/shared/source/CMakeFiles/t1cstr.dir/t1cstr/t1cstr.c.o
[34/209] Building C object 
c/shared/source/CMakeFiles/t1read.dir/t1read/t1read.c.o
/<<PKGBUILDDIR>>/c/shared/source/t1read/t1read.c: In function ‘prepMMData’:
/<<PKGBUILDDIR>>/c/shared/source/t1read/t1read.c:1607:25: warning: ‘%s’ 
directive writing up to 63 bytes into a region of size between 1 and 64 
[-Wformat-overflow=]
 1607 |         sprintf(buf, "%s%s", FontName, coords);
      |                         ^~             ~~~~~~
/<<PKGBUILDDIR>>/c/shared/source/t1read/t1read.c:1607:9: note: ‘sprintf’ 
output between 1 and 127 bytes into a destination of size 64
 1607 |         sprintf(buf, "%s%s", FontName, coords);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/c/shared/source/t1read/t1read.c:1604:29: warning: 
‘sprintf’ may write a terminating nul past the end of the destination 
[-Wformat-overflow=]
 1604 |         sprintf(buf, "%.*s%s",
      |                             ^
/<<PKGBUILDDIR>>/c/shared/source/t1read/t1read.c:1604:9: note: ‘sprintf’ 
output between 1 and 127 bytes into a destination of size 64
 1604 |         sprintf(buf, "%.*s%s",
      |         ^~~~~~~~~~~~~~~~~~~~~~
 1605 |                 (int)(sizeof(buf) - (lenCoords + 1)), FontName, coords);
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function ‘stdCDV’,
    inlined from ‘mmInit’ at 
/<<PKGBUILDDIR>>/c/shared/source/t1read/t1read.c:1538:9,
    inlined from ‘doLiteral’ at 
/<<PKGBUILDDIR>>/c/shared/source/t1read/t1read.c:2302:13:
/<<PKGBUILDDIR>>/c/shared/source/t1read/t1read.c:1397:5: warning: ‘memset’ 
specified size between 18446744071562067968 and 18446744073709551615 exceeds 
maximum object size 9223372036854775807 [-Wstringop-overflow=]
 1397 |     memset(check, 0, nMasters);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/c/shared/source/t1read/t1read.c: In function ‘doLiteral’:
/<<PKGBUILDDIR>>/c/shared/source/t1read/t1read.c:1374:10: note: destination 
object allocated here
 1374 |     char check[T1_MAX_MASTERS];
      |          ^~~~~
[35/209] Building C object 
c/shared/source/CMakeFiles/t2cstr.dir/t2cstr/t2cstr.c.o
[36/209] Building C object 
c/shared/source/CMakeFiles/t1write.dir/t1write/t1write.c.o
[37/209] Building C object 
c/shared/source/CMakeFiles/ufowrite.dir/ufowrite/ufowrite.c.o
/<<PKGBUILDDIR>>/c/shared/source/ufowrite/ufowrite.c: In function 
‘writeLibPlist’:
/<<PKGBUILDDIR>>/c/shared/source/ufowrite/ufowrite.c:687:35: warning: ‘%s’ 
directive writing up to 4095 bytes into a region of size 4089 
[-Wformat-overflow=]
  687 |         sprintf(buffer, "\t\t<key>%s</key>", 
h->glyphs.array[i].glyphName);
      |                                   ^~
In function ‘writeCIDMap’,
    inlined from ‘writeLibPlist’ at 
/<<PKGBUILDDIR>>/c/shared/source/ufowrite/ufowrite.c:730:9:
/<<PKGBUILDDIR>>/c/shared/source/ufowrite/ufowrite.c:687:9: note: ‘sprintf’ 
output between 14 and 4109 bytes into a destination of size 4096
  687 |         sprintf(buffer, "\t\t<key>%s</key>", 
h->glyphs.array[i].glyphName);
      |         
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/c/shared/source/ufowrite/ufowrite.c: In function 
‘writeLibPlist’:
/<<PKGBUILDDIR>>/c/shared/source/ufowrite/ufowrite.c:740:38: warning: ‘%s’ 
directive writing up to 4095 bytes into a region of size 4086 
[-Wformat-overflow=]
  740 |         sprintf(buffer, "\t\t<string>%s</string>", glyphRec->glyphName);
      |                                      ^~
/<<PKGBUILDDIR>>/c/shared/source/ufowrite/ufowrite.c:740:9: note: ‘sprintf’ 
output between 20 and 4115 bytes into a destination of size 4096
  740 |         sprintf(buffer, "\t\t<string>%s</string>", glyphRec->glyphName);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/c/shared/source/ufowrite/ufowrite.c: In function 
‘writeContents’:
/<<PKGBUILDDIR>>/c/shared/source/ufowrite/ufowrite.c:446:33: warning: ‘%s’ 
directive writing up to 4095 bytes into a region of size 4090 
[-Wformat-overflow=]
  446 |         sprintf(buffer, "\t<key>%s</key>", glyphRec->glyphName);
      |                                 ^~
/<<PKGBUILDDIR>>/c/shared/source/ufowrite/ufowrite.c:446:9: note: ‘sprintf’ 
output between 13 and 4108 bytes into a destination of size 4096
  446 |         sprintf(buffer, "\t<key>%s</key>", glyphRec->glyphName);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/c/shared/source/ufowrite/ufowrite.c:448:36: warning: ‘%s’ 
directive writing up to 4095 bytes into a region of size 4087 
[-Wformat-overflow=]
  448 |         sprintf(buffer, "\t<string>%s</string>", 
glyphRec->glifFileName);
      |                                    ^~
/<<PKGBUILDDIR>>/c/shared/source/ufowrite/ufowrite.c:448:9: note: ‘sprintf’ 
output between 19 and 4114 bytes into a destination of size 4096
  448 |         sprintf(buffer, "\t<string>%s</string>", 
glyphRec->glifFileName);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/c/shared/source/ufowrite/ufowrite.c: In function 
‘writeGroups’:
/<<PKGBUILDDIR>>/c/shared/source/ufowrite/ufowrite.c:773:46: warning: ‘%s’ 
directive writing up to 4095 bytes into a region of size 4086 
[-Wformat-overflow=]
  773 |                 sprintf(buffer, "\t\t<string>%s</string>", 
h->glyphs.array[glyphArrIndex].glyphName);
      |                                              ^~
In function ‘writeFDArraySelect’,
    inlined from ‘writeGroups’ at 
/<<PKGBUILDDIR>>/c/shared/source/ufowrite/ufowrite.c:801:5:
/<<PKGBUILDDIR>>/c/shared/source/ufowrite/ufowrite.c:773:17: note: 
‘sprintf’ output between 20 and 4115 bytes into a destination of size 4096
  773 |                 sprintf(buffer, "\t\t<string>%s</string>", 
h->glyphs.array[glyphArrIndex].glyphName);
      |                 
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[38/209] Building C object 
c/shared/source/CMakeFiles/uforead.dir/uforead/uforead.c.o
[39/209] Linking C static library c/shared/source/libabsfont.a
[40/209] Linking C static library c/shared/source/libcfembed.a
[41/209] Linking C static library c/shared/source/libcffread.a
[42/209] Linking C static library c/shared/source/libcffwrite.a
[43/209] Linking C static library c/shared/source/libctutil.a
[44/209] Linking C static library c/shared/source/libdynarr.a
[45/209] Building C object 
c/shared/source/CMakeFiles/varread.dir/varread/varread.c.o
[46/209] Linking C static library c/shared/source/libnameread.a
[47/209] Linking C static library c/shared/source/libpdfwrite.a
[48/209] Linking C static library c/shared/source/libpstoken.a
[49/209] Linking C static library c/shared/source/libsfntread.a
[50/209] Linking C static library c/shared/source/libsfntwrite.a
[51/209] Linking C static library c/shared/source/libsha1.a
[52/209] Linking C static library c/shared/source/libsupport.a
[53/209] Linking C static library c/shared/source/libsvgwrite.a
[54/209] Linking C static library c/shared/source/libsvread.a
[55/209] Linking C static library c/shared/source/libt1cstr.a
[56/209] Linking C static library c/shared/source/libt1read.a
[57/209] Linking C static library c/shared/source/libt2cstr.a
[58/209] Linking C static library c/shared/source/libt1write.a
[59/209] Linking C static library c/shared/source/libuforead.a
[60/209] Linking C static library c/shared/source/libufowrite.a
[61/209] Building C object 
c/shared/source/CMakeFiles/ttread.dir/ttread/ttread.c.o
/<<PKGBUILDDIR>>/c/shared/source/ttread/ttread.c: In function ‘ttrBegFont’:
/<<PKGBUILDDIR>>/c/shared/source/ttread/ttread.c:2385:28: warning: ‘%ld’ 
directive writing between 1 and 19 bytes into a region of size 9 
[-Wformat-overflow=]
 2385 |             sprintf(buf, "g%ld", gid);
      |                            ^~~
In function ‘assignGIDNames’,
    inlined from ‘assignNamesAndEncoding’ at 
/<<PKGBUILDDIR>>/c/shared/source/ttread/ttread.c:2433:5,
    inlined from ‘fillClientData’ at 
/<<PKGBUILDDIR>>/c/shared/source/ttread/ttread.c:2531:5,
    inlined from ‘ttrBegFont’ at 
/<<PKGBUILDDIR>>/c/shared/source/ttread/ttread.c:2655:5:
/<<PKGBUILDDIR>>/c/shared/source/ttread/ttread.c:2385:26: note: directive 
argument in the range [0, 9223372036854775806]
 2385 |             sprintf(buf, "g%ld", gid);
      |                          ^~~~~~
/<<PKGBUILDDIR>>/c/shared/source/ttread/ttread.c:2385:13: note: ‘sprintf’ 
output between 3 and 21 bytes into a destination of size 10
 2385 |             sprintf(buf, "g%ld", gid);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~
[62/209] Linking C static library c/shared/source/libvarread.a
[63/209] Linking C static library c/shared/source/libttread.a
[64/209] Building C object 
c/makeotf/lib/pstoken/CMakeFiles/makeotf_pstoken.dir/pstoken.c.o
[65/209] Building C object 
c/makeotf/lib/typecomp/CMakeFiles/typecomp.dir/charset.c.o
[66/209] Building C object c/makeotf/lib/typecomp/CMakeFiles/typecomp.dir/cs.c.o
[67/209] Building C object 
c/makeotf/lib/typecomp/CMakeFiles/typecomp.dir/dict.c.o
[68/209] Building C object 
c/makeotf/lib/typecomp/CMakeFiles/typecomp.dir/encoding.c.o
[69/209] Building C object 
c/makeotf/lib/typecomp/CMakeFiles/typecomp.dir/fdselect.c.o
[70/209] Building C object 
c/makeotf/lib/cffread/CMakeFiles/makeotf_cffread.dir/cffread.c.o
[71/209] Building C object 
c/makeotf/lib/typecomp/CMakeFiles/typecomp.dir/parse.c.o
/<<PKGBUILDDIR>>/c/makeotf/lib/typecomp/parse.c: In function ‘saveMM’:
/<<PKGBUILDDIR>>/c/makeotf/lib/typecomp/parse.c:1931:9: warning: ‘memset’ 
specified size between 18446744073709518848 and 18446744073709551615 exceeds 
maximum object size 9223372036854775807 [-Wstringop-overflow=]
 1931 |         memset(check, 0, g->nMasters);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/c/makeotf/lib/typecomp/parse.c:1909:13: note: destination 
object allocated here
 1909 |         int check[TX_MAX_MASTERS];
      |             ^~~~~
[72/209] Building C object 
c/makeotf/lib/typecomp/CMakeFiles/typecomp.dir/sindex.c.o
[73/209] Building C object 
c/shared/source/CMakeFiles/tx_shared.dir/tx_shared/tx_shared.c.o
/<<PKGBUILDDIR>>/c/shared/source/tx_shared/tx_shared.c: In function 
‘ufw_BegFont’:
/<<PKGBUILDDIR>>/c/shared/source/tx_shared/tx_shared.c:2823:33: warning: 
‘%s’ directive writing 6 bytes into a region of size between 0 and 4095 
[-Wformat-overflow=]
 2823 |             sprintf(buffer, "%s/%s", h->file.dst, "glyphs");
      |                                 ^~                ~~~~~~~~
/<<PKGBUILDDIR>>/c/shared/source/tx_shared/tx_shared.c:2823:13: note: 
‘sprintf’ output between 8 and 4103 bytes into a destination of size 4096
 2823 |             sprintf(buffer, "%s/%s", h->file.dst, "glyphs");
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/c/shared/source/tx_shared/tx_shared.c:2821:35: warning: 
‘sprintf’ may write a terminating nul past the end of the destination 
[-Wformat-overflow=]
 2821 |             sprintf(buffer, "%s/%s", h->file.dst, h->ufr.altLayerDir);
      |                                   ^
/<<PKGBUILDDIR>>/c/shared/source/tx_shared/tx_shared.c:2821:13: note: 
‘sprintf’ output 2 or more bytes (assuming 4097) into a destination of size 
4096
 2821 |             sprintf(buffer, "%s/%s", h->file.dst, h->ufr.altLayerDir);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/c/shared/source/tx_shared/tx_shared.c: In function 
‘stm_open’:
/<<PKGBUILDDIR>>/c/shared/source/tx_shared/tx_shared.c:273:39: warning: 
‘sprintf’ may write a terminating nul past the end of the destination 
[-Wformat-overflow=]
  273 |                 sprintf(buffer, "%s/%s", h->file.dst, 
cb->clientFileName);
      |                                       ^
/<<PKGBUILDDIR>>/c/shared/source/tx_shared/tx_shared.c:273:17: note: 
‘sprintf’ output 2 or more bytes (assuming 4097) into a destination of size 
4096
  273 |                 sprintf(buffer, "%s/%s", h->file.dst, 
cb->clientFileName);
      |                 
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/c/shared/source/tx_shared/tx_shared.c:233:39: warning: 
‘sprintf’ may write a terminating nul past the end of the destination 
[-Wformat-overflow=]
  233 |                 sprintf(buffer, "%s/%s", h->file.src, 
cb->clientFileName);
      |                                       ^
/<<PKGBUILDDIR>>/c/shared/source/tx_shared/tx_shared.c:233:17: note: 
‘sprintf’ output 2 or more bytes (assuming 4097) into a destination of size 
4096
  233 |                 sprintf(buffer, "%s/%s", h->file.src, 
cb->clientFileName);
      |                 
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/c/shared/source/tx_shared/tx_shared.c: In function 
‘buildFontList’:
/<<PKGBUILDDIR>>/c/shared/source/tx_shared/tx_shared.c:5499:34: warning: 
‘/glyphs/contents.plist’ directive writing 22 bytes into a region of size 
between 1 and 4096 [-Wformat-overflow=]
 5499 |         sprintf(tempFileName, "%s/glyphs/contents.plist", h->file.src);
      |                                  ^~~~~~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/c/shared/source/tx_shared/tx_shared.c:5499:9: note: 
‘sprintf’ output between 23 and 4118 bytes into a destination of size 4096
 5499 |         sprintf(tempFileName, "%s/glyphs/contents.plist", h->file.src);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[74/209] Building C object 
c/makeotf/lib/typecomp/CMakeFiles/typecomp.dir/t13.c.o
[75/209] Building C object c/makeotf/lib/typecomp/CMakeFiles/typecomp.dir/tc.c.o
[76/209] Building C object c/makeotf/lib/hotconv/CMakeFiles/hotconv.dir/anon.c.o
[77/209] Building C object c/makeotf/lib/hotconv/CMakeFiles/hotconv.dir/BASE.c.o
[78/209] Building C object c/makeotf/lib/hotconv/CMakeFiles/hotconv.dir/CFF_.c.o
[79/209] Building C object 
c/makeotf/lib/typecomp/CMakeFiles/typecomp.dir/subr.c.o
[80/209] Building C object c/makeotf/lib/hotconv/CMakeFiles/hotconv.dir/cmap.c.o
[81/209] Building C object 
c/makeotf/lib/typecomp/CMakeFiles/typecomp.dir/recode.c.o
[82/209] Building CXX object 
c/makeotf/lib/hotconv/CMakeFiles/hotconv.dir/FeatCtx.cpp.o
FAILED: c/makeotf/lib/hotconv/CMakeFiles/hotconv.dir/FeatCtx.cpp.o 
/usr/bin/c++  -I/usr/include/libxml2 -I/<<PKGBUILDDIR>>/c/makeotf/include 
-I/<<PKGBUILDDIR>>/c/makeotf/resource 
-I/<<PKGBUILDDIR>>/c/makeotf/../shared/include 
-I/<<PKGBUILDDIR>>/c/makeotf/lib/../../shared/resource 
-I/<<PKGBUILDDIR>>/c/makeotf/lib/hotconv/AFTER -I/usr/include/antlr4-runtime -g 
-O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -O3 
-DNDEBUG -std=gnu++11 -Wall -Wno-attributes -MD -MT 
c/makeotf/lib/hotconv/CMakeFiles/hotconv.dir/FeatCtx.cpp.o -MF 
c/makeotf/lib/hotconv/CMakeFiles/hotconv.dir/FeatCtx.cpp.o.d -o 
c/makeotf/lib/hotconv/CMakeFiles/hotconv.dir/FeatCtx.cpp.o -c 
/<<PKGBUILDDIR>>/c/makeotf/lib/hotconv/FeatCtx.cpp
In file included from /usr/include/unicode/uenum.h:25,
                 from /usr/include/unicode/ucnv.h:52,
                 from /usr/include/libxml2/libxml/encoding.h:31,
                 from /usr/include/libxml2/libxml/parser.h:812,
                 from /usr/include/libxml2/libxml/globals.h:18,
                 from /usr/include/libxml2/libxml/threads.h:35,
                 from /usr/include/libxml2/libxml/xmlmemory.h:218,
                 from /usr/include/libxml2/libxml/tree.h:1307,
                 from 
/<<PKGBUILDDIR>>/c/makeotf/../shared/include/ctlshare.h:18,
                 from /<<PKGBUILDDIR>>/c/makeotf/../shared/include/dynarr.h:8,
                 from /<<PKGBUILDDIR>>/c/makeotf/lib/hotconv/common.h:15,
                 from /<<PKGBUILDDIR>>/c/makeotf/lib/hotconv/feat.h:8,
                 from /<<PKGBUILDDIR>>/c/makeotf/lib/hotconv/FeatCtx.h:8,
                 from /<<PKGBUILDDIR>>/c/makeotf/lib/hotconv/FeatCtx.cpp:6:
/usr/include/unicode/localpointer.h:561:26: error: parameter declared ‘auto’
  561 | template <typename Type, auto closeFunction>
      |                          ^~~~
/usr/include/unicode/localpointer.h:573:76: error: template argument 2 is 
invalid
  573 |     explicit LocalOpenPointer(std::unique_ptr<Type, 
decltype(closeFunction)> &&p)
      |                                                                         
   ^
/usr/include/unicode/localpointer.h:583:78: error: template argument 2 is 
invalid
  583 |     LocalOpenPointer &operator=(std::unique_ptr<Type, 
decltype(closeFunction)> &&p) {
      |                                                                         
     ^
/usr/include/unicode/localpointer.h:599:59: error: template argument 2 is 
invalid
  599 |     operator std::unique_ptr<Type, decltype(closeFunction)> () && {
      |                                                           ^
/usr/include/unicode/uenum.h:69:1: note: invalid template non-type parameter
   69 | U_DEFINE_LOCAL_OPEN_POINTER(LocalUEnumerationPointer, UEnumeration, 
uenum_close);
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/unicode/ucnv.h:597:1: note: invalid template non-type parameter
  597 | U_DEFINE_LOCAL_OPEN_POINTER(LocalUConverterPointer, UConverter, 
ucnv_close);
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/antlr4-runtime/tree/ParseTree.h:8,
                 from /usr/include/antlr4-runtime/RuleContext.h:8,
                 from /usr/include/antlr4-runtime/ParserRuleContext.h:8,
                 from /usr/include/antlr4-runtime/InterpreterRuleContext.h:8,
                 from /usr/include/antlr4-runtime/antlr4-runtime.h:30,
                 from /<<PKGBUILDDIR>>/c/makeotf/lib/hotconv/FeatParser.h:7,
                 from /<<PKGBUILDDIR>>/c/makeotf/lib/hotconv/FeatCtx.h:9:
/usr/include/antlr4-runtime/support/Any.h:125:51: warning: self-comparison 
always evaluates to true [-Wtautological-compare]
  125 |     template<int N = 0, typename std::enable_if<N == N && 
std::is_nothrow_copy_constructible<T>::value, int>::type = 0>
      |                                                 ~~^~~~
/usr/include/antlr4-runtime/support/Any.h:130:51: warning: self-comparison 
always evaluates to true [-Wtautological-compare]
  130 |     template<int N = 0, typename std::enable_if<N == N && 
!std::is_nothrow_copy_constructible<T>::value, int>::type = 0>
      |                                                 ~~^~~~
/usr/include/antlr4-runtime/tree/ParseTree.h:49:18: warning: ‘virtual bool 
antlr4::tree::ParseTree::operator==(const antlr4::tree::ParseTree&) const’ 
was hidden [-Woverloaded-virtual=]
   49 |     virtual bool operator == (const ParseTree &other) const;
      |                  ^~~~~~~~
/usr/include/antlr4-runtime/RuleContext.h:131:10: note:   by ‘bool 
antlr4::RuleContext::operator==(const antlr4::RuleContext&)’
  131 |     bool operator == (const RuleContext &other) { return this == 
&other; } // Simple address comparison.
      |          ^~~~~~~~
[83/209] Building CXX object 
c/makeotf/lib/hotconv/CMakeFiles/hotconv.dir/FeatParserBaseVisitor.cpp.o
In file included from /usr/include/antlr4-runtime/tree/ParseTree.h:8,
                 from /usr/include/antlr4-runtime/RuleContext.h:8,
                 from /usr/include/antlr4-runtime/ParserRuleContext.h:8,
                 from /usr/include/antlr4-runtime/InterpreterRuleContext.h:8,
                 from /usr/include/antlr4-runtime/antlr4-runtime.h:30,
                 from 
/<<PKGBUILDDIR>>/c/makeotf/lib/hotconv/FeatParserBaseVisitor.h:7,
                 from 
/<<PKGBUILDDIR>>/c/makeotf/lib/hotconv/FeatParserBaseVisitor.cpp:5:
/usr/include/antlr4-runtime/support/Any.h:125:51: warning: self-comparison 
always evaluates to true [-Wtautological-compare]
  125 |     template<int N = 0, typename std::enable_if<N == N && 
std::is_nothrow_copy_constructible<T>::value, int>::type = 0>
      |                                                 ~~^~~~
/usr/include/antlr4-runtime/support/Any.h:130:51: warning: self-comparison 
always evaluates to true [-Wtautological-compare]
  130 |     template<int N = 0, typename std::enable_if<N == N && 
!std::is_nothrow_copy_constructible<T>::value, int>::type = 0>
      |                                                 ~~^~~~
/usr/include/antlr4-runtime/tree/ParseTree.h:49:18: warning: ‘virtual bool 
antlr4::tree::ParseTree::operator==(const antlr4::tree::ParseTree&) const’ 
was hidden [-Woverloaded-virtual=]
   49 |     virtual bool operator == (const ParseTree &other) const;
      |                  ^~~~~~~~
/usr/include/antlr4-runtime/RuleContext.h:131:10: note:   by ‘bool 
antlr4::RuleContext::operator==(const antlr4::RuleContext&)’
  131 |     bool operator == (const RuleContext &other) { return this == 
&other; } // Simple address comparison.
      |          ^~~~~~~~
[84/209] Building CXX object 
c/makeotf/lib/hotconv/CMakeFiles/hotconv.dir/FeatLexer.cpp.o
In file included from /usr/include/antlr4-runtime/tree/ParseTree.h:8,
                 from /usr/include/antlr4-runtime/RuleContext.h:8,
                 from /usr/include/antlr4-runtime/ParserRuleContext.h:8,
                 from /usr/include/antlr4-runtime/InterpreterRuleContext.h:8,
                 from /usr/include/antlr4-runtime/antlr4-runtime.h:30,
                 from /<<PKGBUILDDIR>>/c/makeotf/lib/hotconv/FeatLexer.h:7,
                 from /<<PKGBUILDDIR>>/c/makeotf/lib/hotconv/FeatLexer.cpp:5:
/usr/include/antlr4-runtime/support/Any.h:125:51: warning: self-comparison 
always evaluates to true [-Wtautological-compare]
  125 |     template<int N = 0, typename std::enable_if<N == N && 
std::is_nothrow_copy_constructible<T>::value, int>::type = 0>
      |                                                 ~~^~~~
/usr/include/antlr4-runtime/support/Any.h:130:51: warning: self-comparison 
always evaluates to true [-Wtautological-compare]
  130 |     template<int N = 0, typename std::enable_if<N == N && 
!std::is_nothrow_copy_constructible<T>::value, int>::type = 0>
      |                                                 ~~^~~~
/usr/include/antlr4-runtime/tree/ParseTree.h:49:18: warning: ‘virtual bool 
antlr4::tree::ParseTree::operator==(const antlr4::tree::ParseTree&) const’ 
was hidden [-Woverloaded-virtual=]
   49 |     virtual bool operator == (const ParseTree &other) const;
      |                  ^~~~~~~~
/usr/include/antlr4-runtime/RuleContext.h:131:10: note:   by ‘bool 
antlr4::RuleContext::operator==(const antlr4::RuleContext&)’
  131 |     bool operator == (const RuleContext &other) { return this == 
&other; } // Simple address comparison.
      |          ^~~~~~~~
ninja: build stopped: subcommand failed.
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/skbuild/setuptools_wrap.py", line 668, 
in setup
    cmkr.make(make_args, install_target=cmake_install_target, env=env)
    ~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/skbuild/cmaker.py", line 696, in make
    self.make_impl(clargs=clargs, config=config, source_dir=source_dir, 
install_target=install_target, env=env)
    
~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/skbuild/cmaker.py", line 741, in 
make_impl
    raise SKBuildError(msg)

An error occurred while building with CMake.
  Command:
    /usr/bin/cmake --build . --target install --config Release --
  Install target:
    install
  Source directory:
    /<<PKGBUILDDIR>>
  Working directory:
    /<<PKGBUILDDIR>>/_skbuild/linux-x86_64-3.13/cmake-build
Please check the install target is valid and see CMake's output for more 
information.

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.13 returned exit 
code 13
make[1]: *** [debian/rules:20: override_dh_auto_build] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:15: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:

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

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:afdko, so that this is still
visible in the BTS web page for this package.

Thanks.

Reply via email to