Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 167632 - app-emulation/emul-linux-x86-xlibs-10.0 breaks all fonts in 32-bit binaries
Summary: app-emulation/emul-linux-x86-xlibs-10.0 breaks all fonts in 32-bit binaries
Status: RESOLVED DUPLICATE of bug 139776
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: AMD64 Project
URL:
Whiteboard:
Keywords:
: 168604 169385 170193 172724 183002 (view as bug list)
Depends on:
Blocks: emul-tracker
  Show dependency tree
 
Reported: 2007-02-19 15:52 UTC by Niklas Närhinen
Modified: 2008-09-16 16:36 UTC (History)
5 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Niklas Närhinen 2007-02-19 15:52:11 UTC
Upgraded to  app-emulation/emul-linux-x86-xlibs-10.0 and all my fonts became blurry and almost unreadable.

Reproducible: Always

Steps to Reproduce:
1. Upgrade to app-emulation/emul-linux-x86-xlibs-10.0
2. Restart applications using the libraries
3.
Comment 1 Niklas Närhinen 2007-02-19 16:42:22 UTC
chade ~ # emerge --info
Portage 2.1.2-r9 (default-linux/amd64/2006.1/desktop, gcc-4.1.2, glibc-2.5-r0, 2.6.18-gentoo-r2 x86_64)
=================================================================
System uname: 2.6.18-gentoo-r2 x86_64 AMD Athlon(tm) 64 Processor 3400+
Gentoo Base System version 1.12.9
Timestamp of tree: Mon, 19 Feb 2007 09:20:01 +0000
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.31-r3
dev-lang/python:     2.4.4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.20
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O3 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=k8 -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.public.fix.fi/gentoo/"
LANG="en_US.utf-8"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1,--as-needed"
LINGUAS="fi en en_GB en_US"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.fi.gentoo.org/gentoo-portage"
USE="X acpi alsa amd64 apache2 automount bash-completion berkdb binary-drivers bitmap-fonts bootsplash cairo ccache cdparanoia cdr cdrom cgi cli cracklib crypt cups curl curlwrappers dbus dlloader dri dvd dvdr eds emacs emboss encode esd fam firefox foomaticdb fortran gdbm gif glibc-compat20 gpm gstreamer gtk gtk2 hal hddtemp iconv imlib java jpeg kde kdeenablefinal kdehiddenvisibility ldap libg++ logitech-mouse mad midi mikmod mp3 mpeg msn mysql ncurses nls no-old-linux nptl nptlonly nsplugin ogg opengl oss pam pcre perl png ppds pppd python qt3 qt4 quicktime readline reflection samba sdl session spell spl ssl symlink tcpd tiff truetype truetype-fonts type1-fonts unicode usb vorbis winbind xinerama xml xorg xprint xscreensaver xv zlib" ALSA_CARDS="emu10k1" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="fi en en_GB en_US" USERLAND="GNU" VIDEO_CARDS="fbdev nv nvidia vesa v4l vga"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Simon Stelling (RETIRED) gentoo-dev 2007-02-19 22:10:26 UTC
That's because the included media-fonts/freetype-2.1.10-r2 was built with USE=bindist. I don't think we can build it with USE=-bindist because of license reasons. Either way, this is not related to the emul-packages but freetype itself, so there's nothing the AMD64 team could do about. I'm sorry.

*** This bug has been marked as a duplicate of bug 139776 ***
Comment 3 Simon Stelling (RETIRED) gentoo-dev 2007-02-27 17:42:11 UTC
*** Bug 168604 has been marked as a duplicate of this bug. ***
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2007-03-05 00:31:21 UTC
*** Bug 169385 has been marked as a duplicate of this bug. ***
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2007-03-05 00:42:30 UTC
*** Bug 169385 has been marked as a duplicate of this bug. ***
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2007-03-09 22:49:08 UTC
*** Bug 170193 has been marked as a duplicate of this bug. ***
Comment 7 Maik-Oliver Rutz 2007-03-11 19:08:05 UTC
Reemerging app-emulation/emul-linux-x86-gtklibs with the qt3 useflag solved this one for me.
Comment 8 Jakub Moc (RETIRED) gentoo-dev 2007-03-30 06:34:32 UTC
*** Bug 172724 has been marked as a duplicate of this bug. ***
Comment 9 Jakub Moc (RETIRED) gentoo-dev 2007-06-23 20:09:42 UTC
*** Bug 183002 has been marked as a duplicate of this bug. ***
Comment 10 Jan Kuemmel 2007-06-23 20:22:28 UTC
Why not create an ebuild for building a 32bit freetype from source inside a 64bit system? Or modify the freetype ebuild to also create a 32bit version on amd64?
Comment 11 Jakub Moc (RETIRED) gentoo-dev 2007-06-24 11:57:32 UTC
(In reply to comment #10)
> Why not create an ebuild for building a 32bit freetype from source inside a
> 64bit system? Or modify the freetype ebuild to also create a 32bit version on
> amd64?

Because it's damn non-trivial, as Bug 145737 and previous attempts suggest :P
Comment 12 Krists Krilovs 2008-09-16 16:36:21 UTC
Instructions to compile 32 bit version of free type library with patented algorithms:

1) Install emul-linux-x86-libs.
2) Unpack freetype-2.3.7 source code.
3) Edit file include/freetype/config/ftoption.h
  uncomment #define TT_CONFIG_OPTION_BYTECODE_INTERPRETER
  uncomment #define FT_CONFIG_OPTION_SUBPIXEL_RENDERING
  comment out #define TT_CONFIG_OPTION_UNPATENTED_HINTING
4) Run following commands
  CC="gcc -m32" ./configure --target=i686-linux --libdir=/usr/lib32
  make
  strip objs/.libs/libfreetype.so.6.3.18
  cp objs/.libs/libfreetype.so.6.3.18 /usr/lib32

Fixed the unusable fonts for me. I used emul-linux-x86-libs-20080810 and freetype 2.3.7, but it should work with any version (with minor tweaks).