Bug 36320

Summary: FTBFS: FT_Outline_Done_Internal is no more
Product: Sisyphus Reporter: Dmitry V. Levin <ldv>
Component: python-module-freetypeAssignee: Grigory Ustinov <grenka>
Status: CLOSED FIXED QA Contact: qa-sisyphus
Severity: normal    
Priority: P3 CC: aen, antohami, cas, cow, darktemplar, enp, evg, george, grenka, imz, lav, mithraen, nbr, obirvalger, qa_viy, rider, sem, shaba, sin, slev, vitty, viy
Version: unstable   
Hardware: all   
OS: Linux   

Description Dmitry V. Levin 2019-03-20 17:22:28 MSK
$ rpmsodiff libfreetype-2.9.1-alt1.S1.x86_64.rpm libfreetype-2.10.0-alt1.x86_64.rpm
[...]
        2 symbols removed
T FT_Outline_Done_Internal
T FT_Outline_New_Internal

As result, the build fails with
ERROR: freetype (unittest.loader._FailedTest)
----------------------------------------------------------------------
ImportError: Failed to import test module: freetype
Traceback (most recent call last):
  File "/usr/lib64/python3.6/unittest/loader.py", line 462, in _find_test_path
    package = self._get_module_from_name(name)
  File "/usr/lib64/python3.6/unittest/loader.py", line 369, in _get_module_from_name
    __import__(name)
  File "/usr/src/RPM/BUILD/python3/freetype/__init__.py", line 21, in <module>
    from freetype.raw import *
  File "/usr/src/RPM/BUILD/python3/freetype/raw.py", line 249, in <module>
    FT_Outline_Done_Internal       = _lib.FT_Outline_Done_Internal
  File "/usr/lib64/python3.6/ctypes/__init__.py", line 356, in __getattr__
    func = self.__getitem__(name)
  File "/usr/lib64/python3.6/ctypes/__init__.py", line 361, in __getitem__
    func = self._FuncPtr((name_or_ordinal, self))
AttributeError: /usr/lib64/libfreetype.so.6: undefined symbol: FT_Outline_Done_Internal
Comment 1 AEN 2019-03-20 20:44:56 MSK
FYI: https://github.com/rougier/freetype-py/issues/107
Fixed in 2.1.0
Comment 2 Grigory Ustinov 2019-05-13 21:15:52 MSK
*** Bug 36543 has been marked as a duplicate of this bug. ***
Comment 3 Repository Robot 2019-05-15 16:28:04 MSK
python-module-freetype-2.1.0.post1-alt1 -> sisyphus:

Wed May 15 2019 Grigory Ustinov <grenka@altlinux> 2.1.0.post1-alt1
- Build new version (Closes: #36320).
Comment 4 AEN 2019-05-15 16:36:30 MSK
Спасибо!