Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 921611 - dev-python/fonttools-4.47.0 fails test WOFF2ReaderTest::test_get_normal_tables
Summary: dev-python/fonttools-4.47.0 fails test WOFF2ReaderTest::test_get_normal_tables
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-01-08 13:08 UTC by Paolo Pedroni
Modified: 2024-01-09 11:47 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
fonttools-4.47.0:20240108-130400.log.gz (fonttools-4.47.0:20240108-130400.log.gz,162.70 KB, application/gzip)
2024-01-08 13:08 UTC, Paolo Pedroni
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Paolo Pedroni 2024-01-08 13:08:30 UTC
Created attachment 881673 [details]
fonttools-4.47.0:20240108-130400.log.gz

============================================================= FAILURES =============================================================
______________________________________________ WOFF2ReaderTest.test_get_normal_tables ______________________________________________
[gw3] linux -- Python 3.11.7 /var/tmp/portage/dev-python/fonttools-4.47.0/work/fonttools-4.47.0-python3_11/install/usr/bin/python3.11

self = <woff2_test.WOFF2ReaderTest testMethod=test_get_normal_tables>

    def test_get_normal_tables(self):
>       woff2Reader = WOFF2Reader(self.file)

self       = <woff2_test.WOFF2ReaderTest testMethod=test_get_normal_tables>

Tests/ttLib/woff2_test.py:143: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <fontTools.ttLib.woff2.WOFF2Reader object at 0x7f5a644e6290>, file = <_io.BytesIO object at 0x7f5a647cc6d0>
checkChecksums = 0, fontNumber = -1

    def __init__(self, file, checkChecksums=0, fontNumber=-1):
        if not haveBrotli:
            log.error(
                "The WOFF2 decoder requires the Brotli Python extension, available at: "
                "https://github.com/google/brotli"
            )
            raise ImportError("No module named brotli")
    
        self.file = file
    
        signature = Tag(self.file.read(4))
        if signature != b"wOF2":
            raise TTLibError("Not a WOFF2 font (bad signature)")
    
        self.file.seek(0)
        self.DirectoryEntry = WOFF2DirectoryEntry
        data = self.file.read(woff2DirectorySize)
        if len(data) != woff2DirectorySize:
            raise TTLibError("Not a WOFF2 font (not enough data)")
        sstruct.unpack(woff2DirectoryFormat, data, self)
    
        self.tables = OrderedDict()
        offset = 0
        for i in range(self.numTables):
            entry = self.DirectoryEntry()
            entry.fromFile(self.file)
            tag = Tag(entry.tag)
            self.tables[tag] = entry
            entry.offset = offset
            offset += entry.length
    
        totalUncompressedSize = offset
        compressedData = self.file.read(self.totalCompressedSize)
        decompressedData = brotli.decompress(compressedData)
        if len(decompressedData) != totalUncompressedSize:
            raise TTLibError(
                "unexpected size for decompressed font data: expected %d, found %d"
                % (totalUncompressedSize, len(decompressedData))
            )
        self.transformBuffer = BytesIO(decompressedData)
    
        self.file.seek(0, 2)
        if self.length != self.file.tell():
>           raise TTLibError("reported 'length' doesn't match the actual file size")
E           fontTools.ttLib.TTLibError: reported 'length' doesn't match the actual file size

checkChecksums = 0
compressedData = (b"\x1bF\x08\x11\x15\x9cq\x00~\x1c\xe4d\x8f\xa6'\xcc3;\xed|\xc1\x92Fr"
 b'J\x1f\x96\x83\x1e~-\x9d\xf7\xf7/]\x92\xbd\x0bq\x89Y\x11\xabF\xa6\x0eQ'
 b'E\x15m\x15;\x04UvD\np\xefB\x1b\x00\x16\xe8YL\xcb\x8de\xa4\xb5'
 b'\xc6\x1e\xf1\x03Z\xb6\x9c\xfd\x7f\x8a\xd1u\x82F\xb8\x8f\x07\xe7\xbfU'
 b"G\xf3\xe4\x85YIm\n#\x89'\xbeIr\n\xba$H\x87\x90\x10_\x84Bx\x86\xb1\x8b"
 b'\x1e`\xb5\xb0BR\xe6\x14\xa9\xe0\xf1\xdd\xafo^\xa4\xe4_\xd21\x9b![\xab'
 b'l\x9dQ\xd79\xd9\n{\xedPn@n\xa7\x1bwH\x1f\x89\x1b\x8a\xe2\xde\x85'
 b'X\xc9\x0b\xc6M{k\x84\x99\xcd\xbb\x9edy\x8fu\xcb\xe7\x1d\xde\xbdM9\x05'
 b'K\xfd%\xc1\xf9y[wg\x18-\xe20\r\xb7A\xcf\x1a\x81\xf6i?"\xcd6<\xa9\xa2'
 b'\xaa\xb6C\xf71\xd9\xfd\xd9een\xa7\xd6.m;\xfdk\xd7Jsu\xf1\xcd\xb6:?:'
 b'\x14\xc5Gq\xd5\x9e\xdbeHE\xb9M\xc9t\xbc\xa7%*\xbdCt\xa4\x18Ia\\\x1eG'
 b'-\xe5^\x1eV\xfbu\x1c\x17\xccUs\x108Lo\xa0\xd7\x0c\xa290&\xcf\xb3\xd6\xf8\x81'
 b"\xecv\x10\x00\x00\xc0\x0b'\x7f\xf0\xd1M\xe8\xd0\xcd|O\xbc\x87\xce"
 b'n\xf5\x01\x04\xa0\xbf\xe6*\xd0\x01\x00\x07p\x80\x1a\x04\xc0r\x1c\x04'
 b'\xd4`\x99\x00\xe4\x13`\xb0@\x01\x1d\xe8\xd7\xa1[\x92\x90\xe7%R\xf2/\xf9\x98'
 b'\xbcz\xfb\x16\x01\x00\x00\xe0\xe9\x14\x00\x8f\x11A\xce\x86,\x1d\xfen'
 b'K\xf0]\xb9\x08\x10\xdc\xff\xb8{\xc0\xaa\xf4\x98\x7f\x81\xe3|\x03x\xdaT8\x1c'
 b'\xe0\xe9\x87Y/\x07\x819a\xbe\x03!\x06\x00\x81\xb3\xbb\xfd\x05\x98'
 b'\xe7\x0cb\x909\x81`\xc87\xfee\x10\x00\xcd>\xf6\x8b\xe1\xe69\x03\x16\x80\x07'
 b'Tk\x96 k\x08 \x00D\xc0\x90l\x18|\xc6\xc0\xa1\x92\xc9\xe3\xb6<\xb8\x14'
 b"\xb0\x1c\x1ei\xb6\xc0\xa7'\x8d\x08\x089;\x1eB\xe4\xd1\x8ds\xe2|D\x8c\xe0"
 b'\t\xbb\x88@\x01\x0e\xb2!\xb0Y\x19\x00\x91Q#\x0c\x91\xf6\xc3a\x90\x9a\xc6-'
 b'\x84K\x95\x1e\xc2\xa3N\x1f\xe0\xb3\xc8\x80\x80"\xb3h<\x84\xc8c\x8eY/\xce'
 b'\x9f\x8bh0\xe7g_\x12\x19*\xd1\xe7\x9af\x05E\x8f\x81\xa2\xaeQ7}\x93'
 b'\xaf\xcc3\\\xd0mVk\x94\x1d \xac\xf0\xe9\x87\xea\xa1^\xe54\xae\xb6\x960'
 b'\xb3:\xde\x99\x97\xf8a\x1d4\xd6\xdfmRg\xf9F\xd6P\xca$\xac\x95\x90\xc5.K|\xf6'
 b'\x076\xab\xed\xc4}\xdf\xe6hC\xf9P\x86~Pcf\xcf!p\xbc\x0ck\xc0\x9e\xb2\xfaK'
 b'\x94T\x0c\xee\x84z\xb8U\x1e\xdbM\xf3nu\xeb:\xcc7\xaf\xda\x84Gz|\xf7o\xd7o'
 b'\x12\xb3\xac;gt\xafn\xdch/\xe7\x8f+U\x08)x\x86\x0b\x8d*\xf5\xea'
 b'\xa6\xac\x9b\xd6\xbd\xbe\x9b\x10V\xc8\x08n3Q\x97\xa6\xe3\xa6x\x11'
 b'1\xc8\xeb\x0b\xbd\xf2\xd3\xa0\xae\xf3.\xc9`Y?d\x07\x8d\xc5\xd8\x94\xb2^\xb5'
 b'\xd1\xba#\xff\xef\xd5\xef\xe9\xb1VB\x16\x9b\x9aa\xc6^O\x9b\xdd'
 b'\xfd\xb3\x9b\x02$W\x84\x00')
data       = (b'wOF2OTTO\x00\x00\x03T\x00\t\x00\x00\x00\x00\x08\xec\x00\x00\x03\x0c'
 b'\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
 b'\x00\x00\x00\x00\x00\x00\x00\x00')
decompressedData = (b'\x01\x00\x04\x01\x00\x01\x01\x01\x10TestOTF-Regular\x00\x01\x01\x01'
 b'!\xf8\x10\x00\xf8\x1d\x01\xf8\x1e\x02\xf8\x1e\x03\xf8\x18\x04\xbd\x8b\xf90'
 b'\xf9\x82\x05\xf7 \x0f\x8d\xf7p\x12\xf7+\x11\x00\x04\x01\x01\x06\x08>F.nullCR'
 b'Copyright \\(c\\) 2015 by FontTools. No rights reserved.Test OTF\x00\x00'
 b"\x00\x01\x87\x01\x88\x00\x01\x00\x0f\x00y\x00\x06\x01\x01\x18\x1a\x1d '"
 b'<\xf8\x88\xf8V\x16\xf9\x82\xfc$\xfd\x82\x07\xbd\xbd\x15\xf9\x1e\xf7\xc0'
 b'\xfd\x1e\x07\x0e\x8b\x0e\xf7\x8e\x0e\xf7\x8e\x0e\xf7\x85\xc2\x16 \n\x0e\xf9'
 b'g\xc2\x16 \n\xf7\x85\xfb\x0e\x15 \n\xf7\x85\xfb\x0e\x15 \n\x0e'
 b'\x8d\x13\x00\x01\x01\x01\t\xf7\x17\xf7\x0e\xfb\x17\x06\x0b\x00'
 b'\x04\x01\x88\x01\x90\x00\x05\x00\x00\x02\xbc\x02\x8a\x00\x00\x00'
 b'\x8c\x02\xbc\x02\x8a\x00\x00\x01\xdd\x002\x00\xfa\x08\x02\x02'
 b'\x0b\x06\x04\x04\x02\x07\x08\x01\x04\x80\x00\x00\x01\x00\x00\x00'
 b'\x00\x00\x00\x00\x00\x00\x00\x00\x00NONE\x00\xc0\x00\x00 &\x02'
 b'\xee\xff\x06\x00\xc8\x03\x84\x01,\x00\x00\x00\x01\x00\x00\x00'
 b'\x00\x01\xf4\x02\xbc\x00\x00\x00 \x00\x00\x00\x00\x00\x03\x00'
 b'\x00\x00\x03\x00\x00\x00\x1c\x00\x01\x00\x00\x00\x00\x00\\\x00'
 b'\x03\x00\x01\x00\x00\x00\x1c\x00\x04\x00@\x00\x00\x00\x0c\x00'
 b'\x08\x00\x02\x00\x04\x00\x00\x00\r\x00 \x00. &\xff\xff\x00\x00\x00'
 b'\x00\x00\r\x00 \x00. &\xff\xff\x00\x01\xff\xf5\xff\xe3\xff\xd6\xdf'
 b'\xdf\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
 b'\x06\x01\x9e\x00\x00\x00\x00\x00\xca\x00\x01\x00\x00\x00\x00\x00'
 b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
 b'\x00\x00\x00\x00\x02\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
 b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
 b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x03\x00\x00\x00\x00\x00'
 b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
 b'\x00\x00\x00\x00\x00\x00\x04\x00\x00\x00\x00\x00\x00\x00\x00\x00'
 b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
 b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
 b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
 b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
 b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
 b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
 b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
 b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
 b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
 b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
 b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
 b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
 b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
 b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
 b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
 b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
 b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
 b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
 b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x05\x00\x01\x00'
 b'\x00\x00\x01\x00\x00\xc6\xe3\x840_\x0f<\xf5\x08\x03\x03\xe8\x00\x00\x00'
 b'\x00\xd1\x96\x117\x00\x00\x00\x00\xd1\xe2J\xd5\x002\x00\x00\x02\x9c\x02'
 b'\xee\x00\x00\x00\t\x00\x02\x00\x00\x00\x00\x00\x01\x00\x00\x03'
 b'\x84\xfe\xd4\x00\x00\x02\xd3\x002\x002\x02\x9c\x00\x01\x00\x00\x00\x00\x00'
 b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x06\x01\xf4\x002\x00'
 b'\x00\x00\x00\x00\xfa\x00\x00\x00\xfa\x00\x00\x00\xf1\x007\x02\xd3\x007\x00'
 b'\x00P\x00\x00\x06\x00\x00\x00\x1b\x01J\x00\x01\x00\x00\x00\x00\x00\x00\x00'
 b'4\x00\x00\x00\x01\x00\x00\x00\x00\x00\x01\x00\x08\x004\x00\x01\x00\x00\x00'
 b'\x00\x00\x02\x00\x07\x00<\x00\x01\x00\x00\x00\x00\x00\x03\x00\x19\x00C\x00'
 b'\x01\x00\x00\x00\x00\x00\x04\x00\x08\x004\x00\x01\x00\x00\x00'
 b'\x00\x00\x05\x00\r\x00\\\x00\x01\x00\x00\x00\x00\x00\x06\x00\x0f\x00i\x00'
 b'\x01\x00\x00\x00\x00\x00\x07\x00)\x00x\x00\x01\x00\x00\x00\x00\x00\x08\x00'
 b'\t\x00\xa1\x00\x01\x00\x00\x00\x00\x00\t\x00\t\x00\xa1\x00\x01\x00\x00\x00'
 b'\x00\x00\x0b\x00&\x00\xaa\x00\x01\x00\x00\x00\x00\x00\x0c\x00&\x00\xaa\x00'
 b'\x01\x00\x00\x00\x00\x00\x0e\x008\x00\xd0\x00\x01\x00\x00\x00'
 b'\x00\x00\x12\x00\x08\x01\x08\x00\x03\x00\x01\x04\t\x00\x00\x00h\x01\x10\x00'
 b'\x03\x00\x01\x04\t\x00\x01\x00\x10\x01x\x00\x03\x00\x01\x04\t\x00\x02\x00'
 b'\x0e\x01\x88\x00\x03\x00\x01\x04\t\x00\x03\x002\x01\x96\x00\x03\x00\x01\x04'
 b'\t\x00\x04\x00\x10\x01x\x00\x03\x00\x01\x04\t\x00\x05\x00\x1a\x01\xc8\x00'
 b'\x03\x00\x01\x04\t\x00\x06\x00\x1e\x01\xe2\x00\x03\x00\x01\x04\t\x00\x07\x00'
 b'R\x02\x00\x00\x03\x00\x01\x04\t\x00\x08\x00\x12\x02R\x00\x03\x00\x01\x04'
 b'\t\x00\t\x00\x12\x02R\x00\x03\x00\x01\x04\t\x00\x0b\x00L\x02d\x00'
 b'\x03\x00\x01\x04\t\x00\x0c\x00L\x02d\x00\x03\x00\x01\x04\t\x00\x0e\x00'
 b'p\x02\xb0Copyright (c) 2015 by FontTools. No rights reserved.Test OTFRegul'
 b'arFontTools: Test OTF: 2015Version 1.000TestOTF-RegularTest OTF is not a tra'
 b'demark of FontTools.FontToolshttps://github.com/fonttools/fonttoolshttps://g'
 b'ithub.com/fonttools/fonttools/blob/main/LICENSETest TTF\x00C\x00o\x00'
 b'p\x00y\x00r\x00i\x00g\x00h\x00t\x00 \x00(\x00c\x00)\x00 \x002\x000\x00'
 b'1\x005\x00 \x00b\x00y\x00 \x00F\x00o\x00n\x00t\x00T\x00o\x00o\x00l\x00'
 b's\x00.\x00 \x00N\x00o\x00 \x00r\x00i\x00g\x00h\x00t\x00s\x00 \x00r\x00'
 b'e\x00s\x00e\x00r\x00v\x00e\x00d\x00.\x00T\x00e\x00s\x00t\x00 \x00O\x00'
 b'T\x00F\x00R\x00e\x00g\x00u\x00l\x00a\x00r\x00F\x00o\x00n\x00t\x00T\x00'
 b'o\x00o\x00l\x00s\x00:\x00 \x00T\x00e\x00s\x00t\x00 \x00O\x00T\x00F\x00'
 b':\x00 \x002\x000\x001\x005\x00V\x00e\x00r\x00s\x00i\x00o\x00n\x00 \x00'
 b'1\x00.\x000\x000\x000\x00T\x00e\x00s\x00t\x00O\x00T\x00F\x00-\x00R\x00'
 b'e\x00g\x00u\x00l\x00a\x00r\x00T\x00e\x00s\x00t\x00 \x00O\x00T\x00F\x00'
 b' \x00i\x00s\x00 \x00n\x00o\x00t\x00 \x00a\x00 \x00t\x00r\x00a\x00d\x00'
 b'e\x00m\x00a\x00r\x00k\x00 \x00o\x00f\x00 \x00F\x00o\x00n\x00t\x00T\x00'
 b'o\x00o\x00l\x00s\x00.\x00F\x00o\x00n\x00t\x00T\x00o\x00o\x00l\x00s\x00'
 b'h\x00t\x00t\x00p\x00s\x00:\x00/\x00/\x00g\x00i\x00t\x00h\x00u\x00b\x00'
 b'.\x00c\x00o\x00m\x00/\x00f\x00o\x00n\x00t\x00t\x00o\x00o\x00l\x00s\x00'
 b'/\x00f\x00o\x00n\x00t\x00t\x00o\x00o\x00l\x00s\x00h\x00t\x00t\x00p\x00'
 b's\x00:\x00/\x00/\x00g\x00i\x00t\x00h\x00u\x00b\x00.\x00c\x00o\x00m\x00'
 b'/\x00f\x00o\x00n\x00t\x00t\x00o\x00o\x00l\x00s\x00/\x00f\x00o\x00n\x00'
 b't\x00t\x00o\x00o\x00l\x00s\x00/\x00b\x00l\x00o\x00b\x00/\x00m\x00a\x00'
 b'i\x00n\x00/\x00L\x00I\x00C\x00E\x00N\x00S\x00E\x00\x03\x00\x00\x00'
 b'\x00\x00\x00\xff\xb5\x002\x00\x00\x00\x00\x00\x00\x00\x00\x00'
 b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00')
entry      = <WOFF2DirectoryEntry 'post' at 7f5a64421650>
file       = <_io.BytesIO object at 0x7f5a647cc6d0>
fontNumber = -1
i          = 8
offset     = 2119
self       = <fontTools.ttLib.woff2.WOFF2Reader object at 0x7f5a644e6290>
signature  = 'wOF2'
tag        = 'post'
totalUncompressedSize = 2119

../fonttools-4.47.0-python3_11/install/usr/lib/python3.11/site-packages/fontTools/ttLib/woff2.py:90: TTLibError
[...]
FAILED Tests/ttLib/woff2_test.py::WOFF2ReaderTest::test_get_normal_tables - fontTools.ttLib.TTLibError: reported 'length' doesn't match the actual file size
=========================== 1 failed, 4334 passed, 59 skipped, 2 xfailed, 68 warnings, 5 rerun in 35.27s ===========================
 * pytest failed with python3.11
 * Tests failed with python3.11
 * ERROR: dev-python/fonttools-4.47.0::gentoo failed (test phase)
Comment 1 Paolo Pedroni 2024-01-08 13:08:35 UTC
# emerge --info =dev-python/fonttools-4.47.0
Portage 3.0.59 (python 3.11.7-final-0, default/linux/amd64/17.1/desktop/plasma/systemd/merged-usr, gcc-13, glibc-2.38-r9, 6.1.67-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-6.1.67-gentoo-x86_64-Intel-R-_Core-TM-_i5-8400_CPU_@_2.80GHz-with-glibc2.38
KiB Mem:    16175012 total,    201556 free
KiB Swap:   16777212 total,  16120060 free
Timestamp of repository gentoo: Mon, 08 Jan 2024 08:15:01 +0000
Head commit of repository gentoo: 7a07bd04711224dcd58871fa04ee7bed44750aac
sh dash 0.5.12
ld GNU ld (Gentoo 2.41 p4) 2.41.0
distcc 3.4 x86_64-pc-linux-gnu [disabled]
ccache version 4.8.3 [disabled]
app-misc/pax-utils:        1.3.5::gentoo
app-shells/bash:           5.1_p16-r6::gentoo
dev-java/java-config:      2.3.3-r1::gentoo
dev-lang/perl:             5.38.2-r1::gentoo
dev-lang/python:           3.11.7::gentoo, 3.12.1::gentoo
dev-lang/rust:             1.71.1::gentoo
dev-util/ccache:           4.8.3::gentoo
dev-util/cmake:            3.27.9::gentoo
dev-util/meson:            1.3.0-r2::gentoo
sys-apps/baselayout:       2.14-r1::gentoo
sys-apps/sandbox:          2.38::gentoo
sys-apps/systemd:          254.7::gentoo
sys-devel/autoconf:        2.71-r6::gentoo
sys-devel/automake:        1.16.5-r1::gentoo
sys-devel/binutils:        2.41-r3::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang:           15.0.7-r3::gentoo, 16.0.6::gentoo
sys-devel/gcc:             13.2.1_p20230826::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/libtool:         2.4.7-r1::gentoo
sys-devel/lld:             15.0.7::gentoo, 16.0.6::gentoo
sys-devel/llvm:            15.0.7-r3::gentoo, 16.0.6::gentoo
sys-devel/make:            4.4.1-r1::gentoo
sys-kernel/linux-headers:  6.1::gentoo (virtual/os-headers)
sys-libs/glibc:            2.38-r9::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.europe.gentoo.org/gentoo-portage
    priority: -1000
    volatile: True
    sync-rsync-extra-opts: 
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-max-age: 24

x-portage
    location: /usr/local/portage
    masters: gentoo
    priority: 0
    volatile: True

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE"
AR="/usr/bin/gcc-ar"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -frecord-gcc-switches -march=skylake -mabm -ftree-vectorize -flto=6"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/easy-rsa /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d"
CXXFLAGS="-O2 -pipe -frecord-gcc-switches -march=skylake -mabm -ftree-vectorize -flto=6"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="--keep-going y --with-bdeps y"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME"
FCFLAGS="-O2 -pipe -frecord-gcc-switches -march=skylake -mabm -ftree-vectorize -flto=6"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg-live compress-build-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms sign split-elog split-log strict strict-keepdir test unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync warn-on-large-env xattr"
FFLAGS="-O2 -pipe -frecord-gcc-switches -march=skylake -mabm -ftree-vectorize -flto=6"
GENTOO_MIRRORS="http://tux.rainside.sk/gentoo/ http://gentoo.mirror.root.lu/ http://ftp.vectranet.pl/gentoo/ ftp://ftp.vectranet.pl/gentoo/"
LANG="it_IT.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -Wl,--sort-common -ftree-vectorize -flto=6"
LEX="flex"
LINGUAS="it it_IT"
MAKEOPTS="-j7 -l6"
NM="/usr/bin/gcc-nm"
PKGDIR="/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
RANLIB="/usr/bin/gcc-ranlib"
SHELL="/bin/bash"
USE="X a52 aac aalib acl acpi activities adns alsa amd64 ao audiofile avif bash-completion bluetooth branding brotli bzip2 cairo caps cdda cddb cdparanoia cdr cli colord crypt css cups curl dbus declarative dga djvu dri dts dvd dvdr encode exif expat fbcon ffmpeg fftw flac fontconfig foomaticdb fortran ftp gd gdbm geoip gif gimp gles2 gmp gnutls gphoto2 gpm graphviz gstreamer gtk gui guile handbook heif iconv icu idn imagemagick imlib introspection ipv6 java javascript jbig jemalloc jpeg jpeg2k jpegxl kde kwallet lame lapack lcms libass libnotify libsamplerate libtirpc lm-sensors lto lua lz4 lzma lzo mad magic man mhash mmap mng mp3 mp4 mpeg multilib musicbrainz ncurses nls nptl offensive ogg openal opencl opengl openmp opus pam pango pcre pdf pipewire plasma png policykit postscript ppds pulseaudio qml qt5 qt6 rdesktop readline recode samba screencast sctp sdl seccomp sndfile sockets sound speex spell sqlite ssl startup-notification svg symlink syslog systemd sysvipc taglib telemetry test test-rust theora threads tidy tiff truetype udev udisks unicode upower usb v4l vaapi vala verify-sig vim-syntax vnc vorbis vulkan wavpack wayland webp widgets win32codecs wmf wxwidgets x264 xattr xcb xft xinerama xml xpm xscreensaver xv xvid yahoo zip zlib zstd" ABI_X86="64" ADA_TARGET="gnat_2021" ALSA_CARDS="hda-intel virmidi" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_anon authn_dbm authn_file authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt rdrand sse sse2 sse3 sse4_1 sse4_2 ssse3" CURL_SSL="gnutls" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 ntrip navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" INPUT_DEVICES="libinput" KERNEL="linux" L10N="it en" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-1" POSTGRES_TARGETS="postgres15" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_11" RUBY_TARGETS="ruby31" VIDEO_CARDS="intel i965 iris" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipp2p iface geoip fuzzy condition tarpit sysrq proto logmark ipmark dhcpmac delude chaos account"
Unset:  ADDR2LINE, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, MAKE, MAKEFLAGS, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS

# emerge -1pqv =dev-python/fonttools-4.47.0
[ebuild     U ] dev-python/fonttools-4.47.0 [4.46.0] USE="native-extensions test -debug" PYTHON_TARGETS="python3_11 (-pypy3) -python3_10 (-python3_12)"
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2024-01-08 18:46:32 UTC
Could you try again?  I think it may be a flaky test.
Comment 3 Paolo Pedroni 2024-01-09 08:16:47 UTC
(In reply to Michał Górny from comment #2)
> Could you try again?  I think it may be a flaky test.

I know it's flaky, and in general it's failing about 50% of the time, but on that specific PC, I've tried six times in a row, without succeeding (1.5% probability with that, more or less), while on another it succeeds almost always.
Comment 4 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2024-01-09 09:54:21 UTC
Is it just that one test or more of them?  I'm going to simply deselect them, just need to know if just this one, or the whole class, or …
Comment 5 Paolo Pedroni 2024-01-09 10:59:41 UTC
(In reply to Michał Górny from comment #4)
> Is it just that one test or more of them?  I'm going to simply deselect
> them, just need to know if just this one, or the whole class, or …

Just this, AFAICD.

Thanks for all you work.
Comment 6 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2024-01-09 11:44:04 UTC
Thanks!
Comment 7 Larry the Git Cow gentoo-dev 2024-01-09 11:47:15 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c317d85ef5412ff230332a2ce2d7d92e221ffda

commit 2c317d85ef5412ff230332a2ce2d7d92e221ffda
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2024-01-09 11:43:52 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2024-01-09 11:47:12 +0000

    dev-python/fonttools: Deselect a flaky test
    
    Closes: https://bugs.gentoo.org/921611
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 dev-python/fonttools/fonttools-4.47.0.ebuild | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)