Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 145128 - Some SDL apps fail with media-libs/freetype-2.1.10-r2
Summary: Some SDL apps fail with media-libs/freetype-2.1.10-r2
Status: RESOLVED DUPLICATE of bug 142453
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-25 16:29 UTC by Edge
Modified: 2006-09-03 20:00 UTC (History)
1 user (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 Edge 2006-08-25 16:29:02 UTC
User-Agent:       Mozilla/5.0 (X11; U; Linux x86_64; en-GB; rv:1.8.0.5) Gecko/20060806 Galeon/2.0.1 Firefox/1.5.0.5
Build Identifier: 

some SDL applications fail with freetype-2.1.10-r2 

See also http://bugs.gentoo.org/show_bug.cgi?id=142453

older freetype fixes the problem.
emerge -av =freetype-2.1.9-r1

Reproducible: Always

Steps to Reproduce:
1.emerge pygame
2.cd /usr/share/doc/pygame/examples
3.python aliens.py

or

1. emerge pydance
2. pydance

or 

1. emerge tuxtype2
2. tuxtype2
Actual Results:  
examples # python aliens.py
Traceback (most recent call last):
  File "aliens.py", line 319, in ?
    if __name__ == '__main__': main()
  File "aliens.py", line 248, in main
    all.add(Score())
  File "aliens.py", line 167, in __init__
    self.update()
  File "aliens.py", line 174, in update
    self.image = self.font.render(msg, 0, self.color)
pygame.error: SDL_ttf render failed

The same error occurs in pydance
$ pydance
0 joystick(s) found.
Loaded input configuration.
pydance 1.0.3 <pyddr-discuss@icculus.org> - irc.freenode.net/#pyddr
W: Psyco optimizing compiler not found.
Searching for songs in /usr/share/games/pydance/songs
Searching for songs in ~/.pydance/songs
Searching for songs in /usr/local/share/games/pydance/songs
Searching for courses in /usr/share/games/pydance/courses
Searching for courses in ~/.pydance/courses
Searching for courses in /usr/local/share/games/pydance/courses
Traceback (most recent call last):
  File "./pydance.py", line 205, in ?
    if __name__ == '__main__': main()
  File "./pydance.py", line 159, in main
    songs = load_files(screen, song_list, "songs", SongItem, (False,))
  File "./pydance.py", line 86, in load_files
    pbar = TextProgress(FONTS[60], message, colors.WHITE, colors.BLACK)
  File "/usr/share/games/pydance/fontfx.py", line 147, in __init__
    self.text = font.render(message, False, [255, 0, 0], self.notcolor)
pygame.error: SDL_ttf render failed

and

tuxtype2
LoadSettings: Settings file does not exist! settings not loaded
Fatal signal: Segmentation Fault (SDL Parachute Deployed)


Expected Results:  
Run

# emerge --info
Portage 2.1-r2 (default-linux/amd64/2005.0, gcc-3.4.6, glibc-2.3.6-r4,
2.6.17-gentoo-r4 x86_64)
=================================================================
System uname: 2.6.17-gentoo-r4 x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.12.4
ccache version 2.3 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -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/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=k8 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="file:/home/portage/ http://mirror.isp.net.au/ftp/pub/gentoo/
ftp://mirror.isp.net.au/pub/gentoo/ ftp://ftp.swin.edu.au/gentoo
http://ftp.swin.edu.au/gentoo "
LANG="en_AU"
LC_ALL="en_AU"
LINGUAS="en_GB"
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.au.gentoo.org/gentoo-portage"
USE="S3TC X alsa amd64 avi berkdb bitmap-fonts bzip2 cli crypt cups dlloader dri
dvd eds emboss encode firefox flac foomaticdb fortran galeon gg gif gimp
gimpprint gnome gpm gstreamer gtk gtk2 imlib isdnlog java jpeg ldap lzw lzw-tiff
menubar mozplugger mp3 mpeg mplayer mysql nas ncurses network nls nocd nowin
nptl nptlonly nsplugin nv nvida offensive ogg oggvorbis opengl oss pam pcre
pdflib perl png ppds pppd profile python qt3 qt4 quicktime readline reflection
sdl session spell spl ssl tcpd tiff truetype truetype-fonts type1-fonts unicode
usb vesa vorbis xmms xorg xpm xv zlib elibc_glibc input_devices_keyboard
input_devices_mouse input_devices_evdev kernel_linux linguas_en_GB userland_GNU
video_cards_nvidia video_cards_vesa video_cards_nv"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS,
PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Edge 2006-08-26 01:06:06 UTC
Just discovered that using the older freetype means openoffice-bin doesn't emerge.

# emerge -av openoffice-bin

These are the packages that would be merged, in order:

Calculating dependencies -
!!! All ebuilds that could satisfy ">=media-libs/freetype-2.1.10-r2" have been masked.
Comment 2 SpanKY gentoo-dev 2006-09-03 20:00:02 UTC

*** This bug has been marked as a duplicate of 142453 ***