Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#52650 - python2 'import gtk' broken. Will also kill all dependencies like bleachbit.

Attached to Project: Arch Linux
Opened by Michael Duell (akurei) - Friday, 20 January 2017, 21:09 GMT
Last edited by Antonio Rojas (arojas) - Friday, 20 January 2017, 21:22 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

I first noticed the bug when I ran bleachbit:

akurei@pantalaimon: ~ $ bleachbit
Traceback (most recent call last):
File "/usr/bin/bleachbit", line 40, in <module>
import gtk
File "/usr/lib/python2.7/site-packages/gtk-2.0/gtk/__init__.py", line 40, in <module>
from gtk import _gtk
ImportError: /usr/lib/libharfbuzz.so.0: undefined symbol: FT_Get_Var_Blend_Coordinates

I first thought it must be my pyenv and then tried:

akurei@pantalaimon: ~ $ pyenv version
system (set by /home/akurei/.config/pyenv/version)
akurei@pantalaimon: ~ $ python2 --version
Python 2.7.13

But it seems to be the system one. pacman is fully updated and I have rebooted twice. Next thing I tried was:


akurei@pantalaimon: ~ $ python2
Python 2.7.13 (default, Dec 21 2016, 07:16:46)
[GCC 6.2.1 20160830] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import gtk
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python2.7/site-packages/gtk-2.0/gtk/__init__.py", line 40, in <module>
from gtk import _gtk
ImportError: /usr/lib/libharfbuzz.so.0: undefined symbol: FT_Get_Var_Blend_Coordinates
>>>

... then ...

akurei@pantalaimon: ~ $ pacman -Qi python2
Name : python2
Version : 2.7.13-1
Description : A high-level scripting language
Architecture : x86_64
URL : http://www.python.org/
Licenses : PSF
Groups : None
Provides : None
Depends On : bzip2 gdbm openssl zlib expat sqlite libffi
Optional Deps : tk: for IDLE [installed]
python2-setuptools [installed]
python2-pip [installed]
Required By : brial ceph hamlib inkscape ipython2 libieee1284 libkate libuser libvirt libvirt-python
libvolk lldb mutagen netmon-git newt-syrup pcsclite pynac python2-appdirs python2-apsw
python2-babel python2-backports python2-boto python2-cairo python2-chardet python2-cherrypy
python2-click python2-configparser python2-constantly python2-crcmod python2-crypto
python2-cssselect python2-cssutils python2-cvxopt python2-cysignals python2-dbus
python2-decorator python2-dnspython python2-ecdsa python2-enum34 python2-fudge python2-future
python2-gmpy2 python2-gobject python2-gobject2 python2-html5lib python2-idna python2-ipaddr
python2-ipaddress python2-ipy python2-itsdangerous python2-jsonrpclib python2-lxml python2-magic
python2-markupsafe python2-mccabe python2-mechanize python2-netifaces python2-numpy
python2-olefile python2-openid python2-path python2-pathlib python2-pbkdf2 python2-pexpect
python2-pickleshare python2-pillow python2-pip python2-ply python2-pmw python2-protobuf
python2-psutil python2-ptyprocess python2-pyasn1 python2-pyasn1-modules python2-pycurl
python2-pyparsing python2-pyqt5 python2-pyscard-svn python2-pyserial python2-pytz
python2-singledispatch python2-sip python2-six python2-slowaes python2-speaklater python2-tlslite
python2-urllib3 python2-virtualenv python2-wcwidth python2-webencodings python2-werkzeug
python2-zope-interface scribus smbclient urlgrabber virt-install virt-manager virtualbox
wxpython
Optional For : alsa-lib boost clang claws-mail clion distcc geany git gvim ldb libevent libffado libglade
libnewt libproxy libpwquality libuhd lv2 net-snmp npm singular subversion talloc tdb tevent
usbutils
Conflicts With : python<3
Replaces : None
Installed Size : 71.39 MiB
Packager : Felix Yan <felixonmars@archlinux.org>
Build Date : 2016-12-21T08:23:31 CET
Install Date : 2016-12-27T15:26:01 CET
Install Reason : Installed as a dependency for another package
Install Script : No
Validated By : Signature

akurei@pantalaimon: ~ $ which python2
/usr/bin/python2
This task depends upon

Closed by  Antonio Rojas (arojas)
Friday, 20 January 2017, 21:22 GMT
Reason for closing:  Not a bug
Additional comments about closing:  Unsupported freetype

Loading...