Nux!


Home » Repos » Report a problem or request a package » RHEL 7.6 breaks freetype-freeworld
RHEL 7.6 breaks freetype-freeworld [message #4071] Sat, 03 November 2018 21:41 Go to next message
cjschultz is currently offline  cjschultz
Messages: 7
Registered: November 2018
Junior Member
RHEL 7.6 updates freetype to 2.8. This breaks cairo when freetype-freeworld is installed:

[root:~]↥ 1 # ./terminator
You need to install the python bindings for gobject, gtk and pango to run Terminator.
Traceback (most recent call last):
File "./terminator", line 36, in <module>
import gtk, pango, gobject
File "/usr/lib64/python2.7/site-packages/gtk-2.0/gtk/__init__.py", line 40, in <module>
from gtk import _gtk
ImportError: /lib64/libcairo.so.2: undefined symbol: FT_Get_Var_Design_Coordinates
Re: RHEL 7.6 breaks freetype-freeworld [message #4072 is a reply to message #4071] Mon, 05 November 2018 09:49 Go to previous messageGo to next message
nux is currently offline  nux
Messages: 1636
Registered: January 2012
Senior Member
Administrator

Thanks for reporting, I'm going to have a look.
Re: RHEL 7.6 breaks freetype-freeworld [message #4073 is a reply to message #4071] Mon, 05 November 2018 10:32 Go to previous messageGo to next message
nux is currently offline  nux
Messages: 1636
Registered: January 2012
Senior Member
Administrator

I don't have access to RHEL, so I'll need to wait until CentOS adds the updated freetype in CR repo or CentOs 7.6 is released.
Alternatively, if you can provide freetype (S)RPMs that I could try to build against, that'd be great.

[Updated on: Mon, 05 November 2018 10:48]

Report message to a moderator

Re: RHEL 7.6 breaks freetype-freeworld [message #4074 is a reply to message #4073] Mon, 05 November 2018 23:20 Go to previous messageGo to next message
cjschultz is currently offline  cjschultz
Messages: 7
Registered: November 2018
Junior Member
Do you use Docker? I use the RHEL images in Docker containers for my latest builds:

https://github.com/chrisjschultz/docker-rhel7-rpm-build-imag e

The docker file installs dependencies I need, and adds pip for extra python stuff. Should be easy enough to tailor. You pass in your rpmbuild dir as a mount.
Re: RHEL 7.6 breaks freetype-freeworld [message #4075 is a reply to message #4071] Tue, 06 November 2018 10:04 Go to previous messageGo to next message
nux is currently offline  nux
Messages: 1636
Registered: January 2012
Senior Member
Administrator

Hi,

I use mock for building packages, works very well.
So.. do you have the freetype packages?
Re: RHEL 7.6 breaks freetype-freeworld [message #4076 is a reply to message #4071] Tue, 06 November 2018 19:23 Go to previous messageGo to next message
cjschultz is currently offline  cjschultz
Messages: 7
Registered: November 2018
Junior Member
Hi

I uploaded the SRPM (and yum config for rhel7.6) to the following repo.

https://github.com/chrisjschultz/rhel7-srpms

Cheers
Chris
Re: RHEL 7.6 breaks freetype-freeworld [message #4077 is a reply to message #4071] Wed, 07 November 2018 08:00 Go to previous messageGo to next message
nux is currently offline  nux
Messages: 1636
Registered: January 2012
Senior Member
Administrator

Hi Chris,

Thanks, I've built a newer version of freetype-freeworld against the freetype you supplied.
If you could test it, that'd be great:

http://li.nux.ro/download/nux/tmp/freetype-freeworld7/
Re: RHEL 7.6 breaks freetype-freeworld [message #4078 is a reply to message #4071] Thu, 08 November 2018 02:09 Go to previous messageGo to next message
cjschultz is currently offline  cjschultz
Messages: 7
Registered: November 2018
Junior Member
Hi

I installed the new freetype-freeworld RPM but I am still getting the same issue. I didn't install your new freetype RPM but I don't believe that is required.

.[root:~]↥ # ./terminator
You need to install the python bindings for gobject, gtk and pango to run Terminator.
Traceback (most recent call last):
File "./terminator", line 36, in <module>
import gtk, pango, gobject
File "/usr/lib64/python2.7/site-packages/gtk-2.0/gtk/__init__.py", line 40, in <module>
from gtk import _gtk
ImportError: /lib64/libcairo.so.2: undefined symbol: FT_Get_Var_Design_Coordinates
[root:~]↥ 1 # rpm -qa free
[root:~]↥ 2s # rpm -qa free*
freetype-2.8-12.el7.x86_64
freerdp-libs-1.0.2-15.el7.x86_64
freerdp-plugins-1.0.2-15.el7.x86_64
freeglut-3.0.0-8.el7.x86_64
freerdp-1.0.2-15.el7.x86_64
freetype-freeworld-2.6.5-6.el7.nux.x86_64
Re: RHEL 7.6 breaks freetype-freeworld [message #4079 is a reply to message #4071] Sat, 10 November 2018 12:34 Go to previous messageGo to next message
ildepa83 is currently offline  ildepa83
Messages: 5
Registered: November 2018
Junior Member
Hello everyone,
same problem on Oracle Linux 7.6. I've installed both freetype and freetype-freeworld from the URL provided by Nux but the issue is still present

@nux. Let me know if you need other (source) packages to test your fix

Thanks, Andrea.

kermit@euroforce:~ $ rpm -qa | grep freetype
freetype-2.8-12.el7.nux.x86_64
freetype-freeworld-2.6.5-6.el7.nux.x86_64
kermit@euroforce:~ $ tilix 
object.Exception@../../../.dub/packages/gtk-d-3.8.2/gtk-d/generated/gtkd/gtkd/Loader.d(125): Library load failed (libvte-2.91.so.0): /lib64/libcairo.so.2: undefined symbol: FT_Get_Var_Design_Coordinates

[Updated on: Sat, 10 November 2018 12:34]

Report message to a moderator

Re: RHEL 7.6 breaks freetype-freeworld [message #4080 is a reply to message #4071] Mon, 12 November 2018 13:22 Go to previous messageGo to next message
nux is currently offline  nux
Messages: 1636
Registered: January 2012
Senior Member
Administrator

Hi,

Can you two actually confirm the cairo breakage goes away once you uninstall freetype-freeworld?

If yes, can you please send the cairo SRPM from rhel 7.6 so I can build against it, as well?


Re: RHEL 7.6 breaks freetype-freeworld [message #4081 is a reply to message #4080] Tue, 13 November 2018 00:52 Go to previous messageGo to next message
ildepa83 is currently offline  ildepa83
Messages: 5
Registered: November 2018
Junior Member
Hi Nux,
I can confirm the current workaround consist in uninstalling freetype-freeworld.

These are the cairo packages installed on my systems

kermit@normandy:~$ rpm -qa | grep cairo
pycairo-1.8.10-8.el7.x86_64
cairo-1.15.12-3.el7.x86_64
cairo-gobject-1.15.12-3.el7.x86_64
cairomm-1.12.0-1.el7.x86_64


I will provide the SRPMs as soon as possibile

Thanks for your help!

[Updated on: Tue, 13 November 2018 00:53]

Report message to a moderator

Re: RHEL 7.6 breaks freetype-freeworld [message #4082 is a reply to message #4071] Tue, 13 November 2018 01:02 Go to previous messageGo to next message
ildepa83 is currently offline  ildepa83
Messages: 5
Registered: November 2018
Junior Member
You can grab the SRPM from here
Re: RHEL 7.6 breaks freetype-freeworld [message #4083 is a reply to message #4071] Tue, 13 November 2018 01:22 Go to previous messageGo to next message
cjschultz is currently offline  cjschultz
Messages: 7
Registered: November 2018
Junior Member
http://yum.oracle.com/repo/OracleLinux/OL7/optional/latest/x 86_64/getPackageSource/cairo-1.14.8-2.el7.src.rpm

I think you want this one (this is the version RHEL 7.6 installs).
Re: RHEL 7.6 breaks freetype-freeworld [message #4084 is a reply to message #4071] Tue, 13 November 2018 15:22 Go to previous messageGo to next message
nux is currently offline  nux
Messages: 1636
Registered: January 2012
Senior Member
Administrator

Thanks, I'll look into it.
Re: RHEL 7.6 breaks freetype-freeworld [message #4085 is a reply to message #4071] Tue, 13 November 2018 15:45 Go to previous messageGo to next message
nux is currently offline  nux
Messages: 1636
Registered: January 2012
Senior Member
Administrator

I've rebuilt freetype-freeworld against the new cairo.
The version has remained the same, so do a "rpm -e" or "yum clean all; yum reinstall".

http://li.nux.ro/download/nux/tmp/freetype-freeworld7/

Let me know if this fixes the issue.
Re: RHEL 7.6 breaks freetype-freeworld [message #4086 is a reply to message #4085] Tue, 13 November 2018 16:18 Go to previous messageGo to next message
ildepa83 is currently offline  ildepa83
Messages: 5
Registered: November 2018
Junior Member
Unfortunately, I get the same error

kermit@normandy:~/Downloads$ tilix 
object.Exception@../../../.dub/packages/gtk-d-3.8.2/gtk-d/generated/gtkd/gtkd/Loader.d(125): Library load failed (libvte-2.91.so.0): /lib64/libcairo.so.2: undefined symbol: FT_Get_Var_Design_Coordinates
Re: RHEL 7.6 breaks freetype-freeworld [message #4087 is a reply to message #4071] Tue, 13 November 2018 16:41 Go to previous messageGo to next message
nux is currently offline  nux
Messages: 1636
Registered: January 2012
Senior Member
Administrator

Ok, I'm at a loss right now..
Re: RHEL 7.6 breaks freetype-freeworld [message #4088 is a reply to message #4071] Wed, 14 November 2018 00:57 Go to previous messageGo to next message
cjschultz is currently offline  cjschultz
Messages: 7
Registered: November 2018
Junior Member
FT_Get_Var_Design_Coordinates is in the 2.8 version of Freetype.

The version of Freetype-freeworld you have built is 2.6, which is still missing FT_Get_Var_Design_Coordinates.

I think we need to bump freetype-freeworld to freetype 2.8.
Re: RHEL 7.6 breaks freetype-freeworld [message #4089 is a reply to message #4071] Thu, 15 November 2018 13:55 Go to previous messageGo to next message
nux is currently offline  nux
Messages: 1636
Registered: January 2012
Senior Member
Administrator

Thanks, I'll look into doing that.
Re: RHEL 7.6 breaks freetype-freeworld [message #4090 is a reply to message #4071] Mon, 26 November 2018 14:59 Go to previous messageGo to next message
nux is currently offline  nux
Messages: 1636
Registered: January 2012
Senior Member
Administrator

Hi,

Sorry for the wait, life got in the way.

Can you try http://li.nux.ro/download/nux/tmp/freetype-freeworld7/freety pe-freeworld-2.8-12.el7.nux.x86_64.rpm ?

It's the exact same version I believe.
Re: RHEL 7.6 breaks freetype-freeworld [message #4091 is a reply to message #4090] Tue, 27 November 2018 05:55 Go to previous messageGo to next message
ildepa83 is currently offline  ildepa83
Messages: 5
Registered: November 2018
Junior Member
and...it works!

Thanks! Keep and the good work!
Re: RHEL 7.6 breaks freetype-freeworld [message #4092 is a reply to message #4071] Tue, 27 November 2018 12:22 Go to previous messageGo to next message
bus-error is currently offline  bus-error
Messages: 1
Registered: November 2018
Location: Oxford, UK
Junior Member
Working well here too and gives a noticeable improvement over the stock library, thanks!

Please can you also build the equivalent 32-bit RPM as this seems to make a huge difference for apps running under under Wine?

Many thanks,

Bruce
Re: RHEL 7.6 breaks freetype-freeworld [message #4093 is a reply to message #4071] Tue, 04 December 2018 19:22 Go to previous messageGo to next message
cjschultz is currently offline  cjschultz
Messages: 7
Registered: November 2018
Junior Member
Thanks for your work on this, much appreciated!

For me, Tahoma and other old skool M$ fonts still weren't rendering correctly until I created a new file with the following, logged back in and I am working sweet as again!


[schultzch:~]↥ $ cat /etc/X11/xinit/xinitrc.d/subpixel.sh
export FREETYPE_PROPERTIES="truetype:interpreter-version=35"

Re: RHEL 7.6 breaks freetype-freeworld [message #4094 is a reply to message #4071] Wed, 05 December 2018 10:23 Go to previous messageGo to next message
nux is currently offline  nux
Messages: 1636
Registered: January 2012
Senior Member
Administrator

Thanks for the tip.
I'm tempted to include it in the RPM, but I am afraid it would be too invasive.

Re: RHEL 7.6 breaks freetype-freeworld [message #4095 is a reply to message #4071] Wed, 05 December 2018 14:03 Go to previous message
nux is currently offline  nux
Messages: 1636
Registered: January 2012
Senior Member
Administrator

BTW, I am using fontconfig-infinality and freetype-infinality and am happy with how the fonts look. Give it a try.
Previous Topic: li.nux.ro expired certificate
Next Topic: MRB media upgrade
Goto Forum:
  


Current Time: Tue Dec 11 22:58:07 GMT 2018

Total time taken to generate the page: 0.01923 seconds