Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 311433 - games-simulation/singularity-0.30 pygame.error: JPEG loading error
Summary: games-simulation/singularity-0.30 pygame.error: JPEG loading error
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-26 12:14 UTC by Arsen Shnurkov
Modified: 2010-03-28 16:42 UTC (History)
0 users

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 Arsen Shnurkov 2010-03-26 12:14:19 UTC
Traceback (most recent call last):
  File "singularity.py", line 1, in <module>
    import code.singularity
  File "/usr/share/games/singularity/code/singularity.py", line 214, in <module>
    g.init_graphics_system()
  File "/usr/share/games/singularity/code/g.py", line 1193, in init_graphics_system
    graphics.g.load_images(data_loc)
  File "/usr/share/games/singularity/code/graphics/g.py", line 104, in load_images
    os.path.join(image_dir, image_filename)).convert()
pygame.error: JPEG loading error
FT_Done_Library: failed to free some faces
Comment 1 Rafał Mużyło 2010-03-26 12:20:21 UTC
IIRC, you should rebuild sdl-image.
Comment 2 Pacho Ramos gentoo-dev 2010-03-28 09:21:49 UTC
Did you follow revdep-rebuild instructions when updating from jpeg-7 to 8*?
Comment 3 Arsen Shnurkov 2010-03-28 13:32:29 UTC
(In reply to comment #2)
> Did you follow revdep-rebuild instructions when updating from jpeg-7 to 8*?

No, how I can obtain them?

(In reply to comment #1)
> IIRC, you should rebuild sdl-image.

sdl-image is not installed on my system
Comment 4 Andreas K. Hüttel archtester gentoo-dev 2010-03-28 15:31:57 UTC
Quote from emerge output when updating libjpeg:

Old versions of installed libraries were detected on your system.
In order to avoid breaking packages that depend on these old libs,
the libraries are not being removed.  You need to run revdep-rebuild
in order to remove these old dependencies.  If you do not have this
helper program, simply emerge the 'gentoolkit' package.

  # revdep-rebuild --library libjpeg.so.7

Once you've finished running revdep-rebuild, it should be safe to
delete the old libraries.  Here is a copy & paste for the lazy:
  # rm '/usr/lib64/libjpeg.so.7'


(In reply to comment #3)
> (In reply to comment #2)
> > Did you follow revdep-rebuild instructions when updating from jpeg-7 to 8*?
> 
> No, how I can obtain them?
> 
> (In reply to comment #1)
> > IIRC, you should rebuild sdl-image.
> 
> sdl-image is not installed on my system
> 

Comment 5 Arsen Shnurkov 2010-03-28 16:42:02 UTC
I deleted the library with 
rm '/usr/lib64/libjpeg.so.7'
and reemerge singularity, now it works with images.