Source: ufo2ft Version: 2.28.0-1 Severity: serious Justification: FTBFS Tags: bookworm sid ftbfs User: lu...@debian.org Usertags: ftbfs-20230113 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_ufo2ft/build; > python3.10 -m pytest tests > ============================= test session starts > ============================== > platform linux -- Python 3.10.9, pytest-7.2.0, pluggy-1.0.0+repack > rootdir: /<<PKGBUILDDIR>>, configfile: setup.cfg > collected 655 items > > tests/featureCompiler_test.py ............. [ > 1%] > tests/fontInfoData_test.py ............... [ > 4%] > tests/integration_test.py .....s.s..............................F [ > 10%] > tests/outlineCompiler_test.py .......................................... [ > 16%] > ............................................... [ > 23%] > tests/preProcessor_test.py ....s.....s........... [ > 27%] > tests/featureWriters/cursFeatureWriter_test.py ... [ > 27%] > tests/featureWriters/featureWriters_test.py ........ [ > 28%] > tests/featureWriters/gdefFeatureWriter_test.py .......... [ > 30%] > tests/featureWriters/kernFeatureWriter_test.py ......................... [ > 34%] > [ > 34%] > tests/featureWriters/markFeatureWriter_test.py ......................... [ > 38%] > . [ > 38%] > tests/filters/decomposeComponents_test.py .. [ > 38%] > tests/filters/decomposeTransformedComponents_test.py ... [ > 38%] > tests/filters/dottedCircle_test.py . [ > 39%] > tests/filters/flattenComponents_test.py ........ [ > 40%] > tests/filters/propagateAnchors_test.py ............. [ > 42%] > tests/filters/sortContours_test.py .... [ > 42%] > tests/filters/transformations_test.py ............................... [ > 47%] > tests/featureCompiler_test.py ............. [ > 49%] > tests/fontInfoData_test.py ............... [ > 51%] > tests/integration_test.py .....s.s..............................F [ > 57%] > tests/outlineCompiler_test.py .......................................... [ > 64%] > ............................................... [ > 71%] > tests/preProcessor_test.py ....s.....s........... [ > 74%] > tests/featureWriters/cursFeatureWriter_test.py ... [ > 75%] > tests/featureWriters/featureWriters_test.py ........ [ > 76%] > tests/featureWriters/gdefFeatureWriter_test.py .......... [ > 78%] > tests/featureWriters/kernFeatureWriter_test.py ......................... [ > 81%] > [ > 81%] > tests/featureWriters/markFeatureWriter_test.py ......................... [ > 85%] > . [ > 85%] > tests/filters/decomposeComponents_test.py .. [ > 86%] > tests/filters/decomposeTransformedComponents_test.py ... [ > 86%] > tests/filters/dottedCircle_test.py . [ > 86%] > tests/filters/flattenComponents_test.py ........ [ > 87%] > tests/filters/propagateAnchors_test.py ............. [ > 89%] > tests/filters/sortContours_test.py .... [ > 90%] > tests/filters/transformations_test.py ............................... [ > 95%] > tests/fontInfoData_test.py .. [ > 95%] > tests/featureWriters/markFeatureWriter_test.py ......... [ > 96%] > tests/filters/filters_test.py ................... [ > 99%] > tests/filters/transformations_test.py . > [100%] > > =================================== FAILURES > =================================== > ______________ IntegrationTest.test_compileVariableCFF2s[defcon] > _______________ > > self = <tests.integration_test.IntegrationTest object at 0x7ff792fc3e20> > designspace_v5 = <fontTools.designspaceLib.DesignSpaceDocument object at > 0x7ff792fef310> > > def test_compileVariableCFF2s(self, designspace_v5): > fonts = compileVariableCFF2s(designspace_v5) > > # NOTE: Test dumps were generated like this: > # for k, font in fonts.items(): > # font.recalcTimestamp = False > # font["head"].created, font["head"].modified = 3570196637, > 3601822698 > # font["head"].checkSumAdjustment = 0x12345678 > # font.saveXML(f"tests/data/DSv5/{k}-CFF2.ttx") > > assert set(fonts.keys()) == { > "MutatorSansVariable_Weight_Width", > "MutatorSansVariable_Weight", > "MutatorSansVariable_Width", > "MutatorSerifVariable_Width", > } > # The STAT table is set to [SRIF=0, wght=[300, 700], wdth=[50, 200]] > + S1 + S2 > > expectTTX( > fonts["MutatorSansVariable_Weight_Width"], > "DSv5/MutatorSansVariable_Weight_Width-CFF2.ttx", > ) > > tests/integration_test.py:389: > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > _ > > font = <fontTools.ttLib.ttFont.TTFont object at 0x7ff792766e60> > expectedTTX = 'DSv5/MutatorSansVariable_Weight_Width-CFF2.ttx', tables = None > > def expectTTX(font, expectedTTX, tables=None): > with open(getpath(expectedTTX), encoding="utf-8") as f: > expected = readLines(f) > font.recalcTimestamp = False > font["head"].created, font["head"].modified = 3570196637, 3601822698 > font["head"].checkSumAdjustment = 0x12345678 > f = io.StringIO() > font.saveXML(f, tables=tables) > > actual = readLines(f) > if actual != expected: > for line in difflib.unified_diff( > expected, actual, fromfile=expectedTTX, tofile="<generated>" > ): > sys.stderr.write(line) > > pytest.fail("TTX output is different from expected") > E Failed: TTX output is different from expected > > tests/integration_test.py:60: Failed > ----------------------------- Captured stderr call > ----------------------------- > --- DSv5/MutatorSansVariable_Weight_Width-CFF2.ttx > +++ <generated> > @@ -384,22 +384,22 @@ > 900 300 -900 -300 vlineto > </CharString> > <CharString name="I"> > - 0 40 10 20 -10 0 14 1 blend > + 0 40 10 20 -10 0 14.30922 1 blend > hmoveto > 10 10 -10 hlineto > </CharString> > <CharString name="I.narrow"> > - 0 40 10 20 -10 0 14 1 blend > + 0 40 10 20 -10 0 14.30922 1 blend > hmoveto > 10 10 -10 hlineto > </CharString> > <CharString name="S"> > - 0 40 10 20 -10 0 14 1 blend > + 0 40 10 20 -10 0 14.30922 1 blend > hmoveto > 10 10 -10 hlineto > </CharString> > <CharString name="S.closed"> > - 0 40 10 20 -10 0 14 1 blend > + 0 40 10 20 -10 0 14.30922 1 blend > hmoveto > 10 10 -10 hlineto > </CharString> > ______________ IntegrationTest.test_compileVariableCFF2s[ufoLib2] > ______________ > > self = <tests.integration_test.IntegrationTest object at 0x7ff792fc3df0> > designspace_v5 = <fontTools.designspaceLib.DesignSpaceDocument object at > 0x7ff7925130a0> > > def test_compileVariableCFF2s(self, designspace_v5): > fonts = compileVariableCFF2s(designspace_v5) > > # NOTE: Test dumps were generated like this: > # for k, font in fonts.items(): > # font.recalcTimestamp = False > # font["head"].created, font["head"].modified = 3570196637, > 3601822698 > # font["head"].checkSumAdjustment = 0x12345678 > # font.saveXML(f"tests/data/DSv5/{k}-CFF2.ttx") > > assert set(fonts.keys()) == { > "MutatorSansVariable_Weight_Width", > "MutatorSansVariable_Weight", > "MutatorSansVariable_Width", > "MutatorSerifVariable_Width", > } > # The STAT table is set to [SRIF=0, wght=[300, 700], wdth=[50, 200]] > + S1 + S2 > > expectTTX( > fonts["MutatorSansVariable_Weight_Width"], > "DSv5/MutatorSansVariable_Weight_Width-CFF2.ttx", > ) > > tests/integration_test.py:389: > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > _ > > font = <fontTools.ttLib.ttFont.TTFont object at 0x7ff7925378b0> > expectedTTX = 'DSv5/MutatorSansVariable_Weight_Width-CFF2.ttx', tables = None > > def expectTTX(font, expectedTTX, tables=None): > with open(getpath(expectedTTX), encoding="utf-8") as f: > expected = readLines(f) > font.recalcTimestamp = False > font["head"].created, font["head"].modified = 3570196637, 3601822698 > font["head"].checkSumAdjustment = 0x12345678 > f = io.StringIO() > font.saveXML(f, tables=tables) > > actual = readLines(f) > if actual != expected: > for line in difflib.unified_diff( > expected, actual, fromfile=expectedTTX, tofile="<generated>" > ): > sys.stderr.write(line) > > pytest.fail("TTX output is different from expected") > E Failed: TTX output is different from expected > > tests/integration_test.py:60: Failed > ----------------------------- Captured stderr call > ----------------------------- > --- DSv5/MutatorSansVariable_Weight_Width-CFF2.ttx > +++ <generated> > @@ -384,22 +384,22 @@ > 900 300 -900 -300 vlineto > </CharString> > <CharString name="I"> > - 0 40 10 20 -10 0 14 1 blend > + 0 40 10 20 -10 0 14.30922 1 blend > hmoveto > 10 10 -10 hlineto > </CharString> > <CharString name="I.narrow"> > - 0 40 10 20 -10 0 14 1 blend > + 0 40 10 20 -10 0 14.30922 1 blend > hmoveto > 10 10 -10 hlineto > </CharString> > <CharString name="S"> > - 0 40 10 20 -10 0 14 1 blend > + 0 40 10 20 -10 0 14.30922 1 blend > hmoveto > 10 10 -10 hlineto > </CharString> > <CharString name="S.closed"> > - 0 40 10 20 -10 0 14 1 blend > + 0 40 10 20 -10 0 14.30922 1 blend > hmoveto > 10 10 -10 hlineto > </CharString> > =========================== short test summary info > ============================ > SKIPPED [2] tests/integration_test.py:114: skia-pathops is unavailable in > debian yet > SKIPPED [2] tests/integration_test.py:123: skia-pathops is unavailable in > debian yet > SKIPPED [2] tests/preProcessor_test.py:94: skia-pathops is unavailable in > debian yet > SKIPPED [2] tests/preProcessor_test.py:200: skia-pathops is unavailable in > debian yet > FAILED > tests/integration_test.py::IntegrationTest::test_compileVariableCFF2s[defcon] > FAILED > tests/integration_test.py::IntegrationTest::test_compileVariableCFF2s[ufoLib2] > ================== 2 failed, 645 passed, 8 skipped in 10.09s > =================== > E: pybuild pybuild:388: test: plugin distutils failed with: exit code=1: cd > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ufo2ft/build; python3.10 -m pytest > tests > I: pybuild base:240: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_ufo2ft/build; > python3.11 -m pytest tests > ============================= test session starts > ============================== > platform linux -- Python 3.11.1, pytest-7.2.0, pluggy-1.0.0+repack > rootdir: /<<PKGBUILDDIR>>, configfile: setup.cfg > collected 655 items > > tests/featureCompiler_test.py ............. [ > 1%] > tests/fontInfoData_test.py ............... [ > 4%] > tests/integration_test.py .....s.s..............................F [ > 10%] > tests/outlineCompiler_test.py .......................................... [ > 16%] > ............................................... [ > 23%] > tests/preProcessor_test.py ....s.....s........... [ > 27%] > tests/featureWriters/cursFeatureWriter_test.py ... [ > 27%] > tests/featureWriters/featureWriters_test.py ........ [ > 28%] > tests/featureWriters/gdefFeatureWriter_test.py .......... [ > 30%] > tests/featureWriters/kernFeatureWriter_test.py ......................... [ > 34%] > [ > 34%] > tests/featureWriters/markFeatureWriter_test.py ......................... [ > 38%] > . [ > 38%] > tests/filters/decomposeComponents_test.py .. [ > 38%] > tests/filters/decomposeTransformedComponents_test.py ... [ > 38%] > tests/filters/dottedCircle_test.py . [ > 39%] > tests/filters/flattenComponents_test.py ........ [ > 40%] > tests/filters/propagateAnchors_test.py ............. [ > 42%] > tests/filters/sortContours_test.py .... [ > 42%] > tests/filters/transformations_test.py ............................... [ > 47%] > tests/featureCompiler_test.py ............. [ > 49%] > tests/fontInfoData_test.py ............... [ > 51%] > tests/integration_test.py .....s.s..............................F [ > 57%] > tests/outlineCompiler_test.py .......................................... [ > 64%] > ............................................... [ > 71%] > tests/preProcessor_test.py ....s.....s........... [ > 74%] > tests/featureWriters/cursFeatureWriter_test.py ... [ > 75%] > tests/featureWriters/featureWriters_test.py ........ [ > 76%] > tests/featureWriters/gdefFeatureWriter_test.py .......... [ > 78%] > tests/featureWriters/kernFeatureWriter_test.py ......................... [ > 81%] > [ > 81%] > tests/featureWriters/markFeatureWriter_test.py ......................... [ > 85%] > . [ > 85%] > tests/filters/decomposeComponents_test.py .. [ > 86%] > tests/filters/decomposeTransformedComponents_test.py ... [ > 86%] > tests/filters/dottedCircle_test.py . [ > 86%] > tests/filters/flattenComponents_test.py ........ [ > 87%] > tests/filters/propagateAnchors_test.py ............. [ > 89%] > tests/filters/sortContours_test.py .... [ > 90%] > tests/filters/transformations_test.py ............................... [ > 95%] > tests/fontInfoData_test.py .. [ > 95%] > tests/featureWriters/markFeatureWriter_test.py ......... [ > 96%] > tests/filters/filters_test.py ................... [ > 99%] > tests/filters/transformations_test.py . > [100%] > > =================================== FAILURES > =================================== > ______________ IntegrationTest.test_compileVariableCFF2s[defcon] > _______________ > > self = <tests.integration_test.IntegrationTest object at 0x7f070ad2d550> > designspace_v5 = <fontTools.designspaceLib.DesignSpaceDocument object at > 0x7f070a7eb950> > > def test_compileVariableCFF2s(self, designspace_v5): > fonts = compileVariableCFF2s(designspace_v5) > > # NOTE: Test dumps were generated like this: > # for k, font in fonts.items(): > # font.recalcTimestamp = False > # font["head"].created, font["head"].modified = 3570196637, > 3601822698 > # font["head"].checkSumAdjustment = 0x12345678 > # font.saveXML(f"tests/data/DSv5/{k}-CFF2.ttx") > > assert set(fonts.keys()) == { > "MutatorSansVariable_Weight_Width", > "MutatorSansVariable_Weight", > "MutatorSansVariable_Width", > "MutatorSerifVariable_Width", > } > # The STAT table is set to [SRIF=0, wght=[300, 700], wdth=[50, 200]] > + S1 + S2 > > expectTTX( > fonts["MutatorSansVariable_Weight_Width"], > "DSv5/MutatorSansVariable_Weight_Width-CFF2.ttx", > ) > > tests/integration_test.py:389: > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > _ > > font = <fontTools.ttLib.ttFont.TTFont object at 0x7f070aa75dd0> > expectedTTX = 'DSv5/MutatorSansVariable_Weight_Width-CFF2.ttx', tables = None > > def expectTTX(font, expectedTTX, tables=None): > with open(getpath(expectedTTX), encoding="utf-8") as f: > expected = readLines(f) > font.recalcTimestamp = False > font["head"].created, font["head"].modified = 3570196637, 3601822698 > font["head"].checkSumAdjustment = 0x12345678 > f = io.StringIO() > font.saveXML(f, tables=tables) > > actual = readLines(f) > if actual != expected: > for line in difflib.unified_diff( > expected, actual, fromfile=expectedTTX, tofile="<generated>" > ): > sys.stderr.write(line) > > pytest.fail("TTX output is different from expected") > E Failed: TTX output is different from expected > > tests/integration_test.py:60: Failed > ----------------------------- Captured stderr call > ----------------------------- > --- DSv5/MutatorSansVariable_Weight_Width-CFF2.ttx > +++ <generated> > @@ -384,22 +384,22 @@ > 900 300 -900 -300 vlineto > </CharString> > <CharString name="I"> > - 0 40 10 20 -10 0 14 1 blend > + 0 40 10 20 -10 0 14.30922 1 blend > hmoveto > 10 10 -10 hlineto > </CharString> > <CharString name="I.narrow"> > - 0 40 10 20 -10 0 14 1 blend > + 0 40 10 20 -10 0 14.30922 1 blend > hmoveto > 10 10 -10 hlineto > </CharString> > <CharString name="S"> > - 0 40 10 20 -10 0 14 1 blend > + 0 40 10 20 -10 0 14.30922 1 blend > hmoveto > 10 10 -10 hlineto > </CharString> > <CharString name="S.closed"> > - 0 40 10 20 -10 0 14 1 blend > + 0 40 10 20 -10 0 14.30922 1 blend > hmoveto > 10 10 -10 hlineto > </CharString> > ______________ IntegrationTest.test_compileVariableCFF2s[ufoLib2] > ______________ > > self = <tests.integration_test.IntegrationTest object at 0x7f070ad2dbd0> > designspace_v5 = <fontTools.designspaceLib.DesignSpaceDocument object at > 0x7f070ab3e5d0> > > def test_compileVariableCFF2s(self, designspace_v5): > fonts = compileVariableCFF2s(designspace_v5) > > # NOTE: Test dumps were generated like this: > # for k, font in fonts.items(): > # font.recalcTimestamp = False > # font["head"].created, font["head"].modified = 3570196637, > 3601822698 > # font["head"].checkSumAdjustment = 0x12345678 > # font.saveXML(f"tests/data/DSv5/{k}-CFF2.ttx") > > assert set(fonts.keys()) == { > "MutatorSansVariable_Weight_Width", > "MutatorSansVariable_Weight", > "MutatorSansVariable_Width", > "MutatorSerifVariable_Width", > } > # The STAT table is set to [SRIF=0, wght=[300, 700], wdth=[50, 200]] > + S1 + S2 > > expectTTX( > fonts["MutatorSansVariable_Weight_Width"], > "DSv5/MutatorSansVariable_Weight_Width-CFF2.ttx", > ) > > tests/integration_test.py:389: > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > _ > > font = <fontTools.ttLib.ttFont.TTFont object at 0x7f070a476110> > expectedTTX = 'DSv5/MutatorSansVariable_Weight_Width-CFF2.ttx', tables = None > > def expectTTX(font, expectedTTX, tables=None): > with open(getpath(expectedTTX), encoding="utf-8") as f: > expected = readLines(f) > font.recalcTimestamp = False > font["head"].created, font["head"].modified = 3570196637, 3601822698 > font["head"].checkSumAdjustment = 0x12345678 > f = io.StringIO() > font.saveXML(f, tables=tables) > > actual = readLines(f) > if actual != expected: > for line in difflib.unified_diff( > expected, actual, fromfile=expectedTTX, tofile="<generated>" > ): > sys.stderr.write(line) > > pytest.fail("TTX output is different from expected") > E Failed: TTX output is different from expected > > tests/integration_test.py:60: Failed > ----------------------------- Captured stderr call > ----------------------------- > --- DSv5/MutatorSansVariable_Weight_Width-CFF2.ttx > +++ <generated> > @@ -384,22 +384,22 @@ > 900 300 -900 -300 vlineto > </CharString> > <CharString name="I"> > - 0 40 10 20 -10 0 14 1 blend > + 0 40 10 20 -10 0 14.30922 1 blend > hmoveto > 10 10 -10 hlineto > </CharString> > <CharString name="I.narrow"> > - 0 40 10 20 -10 0 14 1 blend > + 0 40 10 20 -10 0 14.30922 1 blend > hmoveto > 10 10 -10 hlineto > </CharString> > <CharString name="S"> > - 0 40 10 20 -10 0 14 1 blend > + 0 40 10 20 -10 0 14.30922 1 blend > hmoveto > 10 10 -10 hlineto > </CharString> > <CharString name="S.closed"> > - 0 40 10 20 -10 0 14 1 blend > + 0 40 10 20 -10 0 14.30922 1 blend > hmoveto > 10 10 -10 hlineto > </CharString> > =============================== warnings summary > =============================== > .pybuild/cpython3_3.11_ufo2ft/build/tests/integration_test.py: 18 warnings > .pybuild/cpython3_3.11_ufo2ft/build/tests/outlineCompiler_test.py: 6 warnings > /usr/lib/python3/dist-packages/cffsubr/__init__.py:63: DeprecationWarning: > path is deprecated. Use files() instead. Refer to > https://importlib-resources.readthedocs.io/en/latest/using.html#migrating-from-legacy > for migration advice. > with path(__name__, TX_EXE) as tx_cli: > > -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html > =========================== short test summary info > ============================ > SKIPPED [2] tests/integration_test.py:114: skia-pathops is unavailable in > debian yet > SKIPPED [2] tests/integration_test.py:123: skia-pathops is unavailable in > debian yet > SKIPPED [2] tests/preProcessor_test.py:94: skia-pathops is unavailable in > debian yet > SKIPPED [2] tests/preProcessor_test.py:200: skia-pathops is unavailable in > debian yet > FAILED > tests/integration_test.py::IntegrationTest::test_compileVariableCFF2s[defcon] > FAILED > tests/integration_test.py::IntegrationTest::test_compileVariableCFF2s[ufoLib2] > ============ 2 failed, 645 passed, 8 skipped, 24 warnings in 8.13s > ============= > E: pybuild pybuild:388: test: plugin distutils failed with: exit code=1: cd > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_ufo2ft/build; python3.11 -m pytest > tests > dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.10 > 3.11" returned exit code 13 The full build log is available from: http://qa-logs.debian.net/2023/01/13/ufo2ft_2.28.0-1_unstable.log All bugs filed during this archive rebuild are listed at: https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20230113;users=lu...@debian.org or: https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20230113&fusertaguser=lu...@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 mark 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.