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

Bug#1022452: marked as done (fontmake: FTBFS: dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.10 returned exit code 13)



Your message dated Sat, 29 Oct 2022 13:04:38 +0000
with message-id <E1oolVu-00Dj3g-8z@fasolo.debian.org>
and subject line Bug#1022452: fixed in fontmake 2.4.1-2
has caused the Debian Bug report #1022452,
regarding fontmake: FTBFS: dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.10 returned exit code 13
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
1022452: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1022452
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: fontmake
Version: 2.4.1-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas@debian.org
Usertags: ftbfs-20221023 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>>'
> dh_auto_test
> I: pybuild base:240: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build; python3.10 -m pytest tests
> ============================= test session starts ==============================
> platform linux -- Python 3.10.7, pytest-7.1.2, pluggy-1.0.0+repack
> rootdir: /<<PKGBUILDDIR>>, configfile: setup.cfg
> collected 52 items
> 
> tests/test_instantiator.py ............................                  [ 53%]
> tests/test_main.py FF.F....................                              [100%]
> 
> =================================== FAILURES ===================================
> ______________________________ test_interpolation ______________________________
> 
> data_dir = PosixPath('/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/tests/data')
> tmp_path = PosixPath('/tmp/pytest-of-user42/pytest-1/test_interpolation0')
> 
>     def test_interpolation(data_dir, tmp_path):
>         shutil.copytree(data_dir / "DesignspaceTest", tmp_path / "sources")
>     
>         fontmake.__main__.main(
>             [
>                 "-m",
>                 str(tmp_path / "sources" / "DesignspaceTest.designspace"),
>                 "-i",
>                 "--output-dir",
>                 str(tmp_path),
>             ]
>         )
>     
>         assert {p.name for p in tmp_path.glob("*.*")} == {
>             "MyFont-Regular.ttf",
>             "MyFont-Regular.otf",
>         }
>     
>         test_output_ttf = fontTools.ttLib.TTFont(tmp_path / "MyFont-Regular.ttf")
>         assert test_output_ttf["OS/2"].usWeightClass == 400
> >       glyph = test_output_ttf.getGlyphSet()["l"]._glyph
> E       AttributeError: '_TTGlyphGlyf' object has no attribute '_glyph'
> 
> tests/test_main.py:31: AttributeError
> ________________________ test_interpolation_mutatormath ________________________
> 
> data_dir = PosixPath('/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/tests/data')
> tmp_path = PosixPath('/tmp/pytest-of-user42/pytest-1/test_interpolation_mutatormath0')
> 
>     def test_interpolation_mutatormath(data_dir, tmp_path):
>         shutil.copytree(data_dir / "DesignspaceTest", tmp_path / "sources")
>     
>         fontmake.__main__.main(
>             [
>                 "-m",
>                 str(tmp_path / "sources" / "DesignspaceTest.designspace"),
>                 "-i",
>                 "--use-mutatormath",
>                 "--output-dir",
>                 str(tmp_path),
>             ]
>         )
>     
>         assert {p.name for p in tmp_path.glob("*.*")} == {
>             "MyFont-Regular.ttf",
>             "MyFont-Regular.otf",
>         }
>     
>         test_output_ttf = fontTools.ttLib.TTFont(tmp_path / "MyFont-Regular.ttf")
>         assert test_output_ttf["OS/2"].usWeightClass == 400
> >       glyph = test_output_ttf.getGlyphSet()["l"]._glyph
> E       AttributeError: '_TTGlyphGlyf' object has no attribute '_glyph'
> 
> tests/test_main.py:65: AttributeError
> _________________ test_interpolation_and_masters_as_instances __________________
> 
> data_dir = PosixPath('/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/tests/data')
> tmp_path = PosixPath('/tmp/pytest-of-user42/pytest-1/test_interpolation_and_masters0')
> 
>     def test_interpolation_and_masters_as_instances(data_dir, tmp_path):
>         shutil.copytree(data_dir / "DesignspaceTest", tmp_path / "sources")
>     
>         fontmake.__main__.main(
>             [
>                 "-m",
>                 str(tmp_path / "sources" / "DesignspaceTest.designspace"),
>                 "-i",
>                 "-M",
>                 "--output-dir",
>                 str(tmp_path),
>             ]
>         )
>     
>         assert {p.name for p in tmp_path.glob("*.*")} == {
>             "MyFont-Bold.otf",
>             "MyFont-Bold.ttf",
>             "MyFont-Light.otf",
>             "MyFont-Light.ttf",
>             "MyFont-Regular.otf",
>             "MyFont-Regular.ttf",
>         }
>     
>         test_output_ttf = fontTools.ttLib.TTFont(tmp_path / "MyFont-Regular.ttf")
>         assert test_output_ttf["OS/2"].usWeightClass == 400
> >       glyph = test_output_ttf.getGlyphSet()["l"]._glyph
> E       AttributeError: '_TTGlyphGlyf' object has no attribute '_glyph'
> 
> tests/test_main.py:122: AttributeError
> =========================== short test summary info ============================
> FAILED tests/test_main.py::test_interpolation - AttributeError: '_TTGlyphGlyf...
> FAILED tests/test_main.py::test_interpolation_mutatormath - AttributeError: '...
> FAILED tests/test_main.py::test_interpolation_and_masters_as_instances - Attr...
> ========================= 3 failed, 49 passed in 3.75s =========================
> E: pybuild pybuild:379: test: plugin distutils failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build; python3.10 -m pytest tests
> dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.10 returned exit code 13


The full build log is available from:
http://qa-logs.debian.net/2022/10/23/fontmake_2.4.1-1_unstable.log

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

--- End Message ---
--- Begin Message ---
Source: fontmake
Source-Version: 2.4.1-2
Done: Nilesh Patra <nilesh@debian.org>

We believe that the bug you reported is fixed in the latest version of
fontmake, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1022452@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Nilesh Patra <nilesh@debian.org> (supplier of updated fontmake package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Sat, 29 Oct 2022 18:11:53 +0530
Source: fontmake
Architecture: source
Version: 2.4.1-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Fonts Task Force <debian-fonts@lists.debian.org>
Changed-By: Nilesh Patra <nilesh@debian.org>
Closes: 1022452
Changes:
 fontmake (2.4.1-2) unstable; urgency=medium
 .
   * Team Upload.
   * Cherry-pick upstream patch to fix FTBFS (Closes: #1022452)
   * Bump Standards-Version to 4.6.1 (no changes needed)
Checksums-Sha1:
 4a6e14caf6e83ea9d55ce2972ead63845d6ec20f 1835 fontmake_2.4.1-2.dsc
 bf6e49761392515520badae981bc62bdfbe570d7 4424 fontmake_2.4.1-2.debian.tar.xz
 46e5e74fd97842f1b8f9982248f4743cf4420fb7 8193 fontmake_2.4.1-2_amd64.buildinfo
Checksums-Sha256:
 56e0c232a2852ee8dba6f61443ec1750bdcaa0498fe115108672caee260c3607 1835 fontmake_2.4.1-2.dsc
 d75ab9a828f7a8f5c714fe324f873f0999bf93061417f3eda36309d17bd1b2e5 4424 fontmake_2.4.1-2.debian.tar.xz
 0a5a0ecafac9b81c0c135efc4ad4e85b7634cd608f01067fbe9a9a94a19e6a2f 8193 fontmake_2.4.1-2_amd64.buildinfo
Files:
 68c5708e51af72e5161868bef9dfbd8d 1835 devel optional fontmake_2.4.1-2.dsc
 afec747f74812d80eea176ce9f451241 4424 devel optional fontmake_2.4.1-2.debian.tar.xz
 abb58ad18855be2c0b23945e109939a9 8193 devel optional fontmake_2.4.1-2_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iHUEARYIAB0WIQSglbZu4JAkvuai8HIqJ5BL1yQ+2gUCY10hNwAKCRAqJ5BL1yQ+
2ss5AP9/WeO1vATD3ZehnSa3C8/xBrbf50uewinODcp657zhYAD/fVp4iMezW/lC
MnCIE7ADhfSVRQGLga1map5zQEuzKQg=
=aZYc
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: