Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 187768 - games-arcade/stepmania-3.9 requres use flag jpeg
Summary: games-arcade/stepmania-3.9 requres use flag jpeg
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Samuli Suominen (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-05 00:17 UTC by P. Mick
Modified: 2007-08-07 14:37 UTC (History)
1 user (show)

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


Attachments
stepmania-3.9-jpeg.patch (stepmania-3.9-jpeg.patch,3.71 KB, patch)
2007-08-06 04:55 UTC, Petri Lehtinen
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description P. Mick 2007-08-05 00:17:51 UTC
games-arcade/stepmania-3.9 will not compile with USE="-jpeg" 

Work around - Make sure jpeg is enabled in use. 

Reproducible: Always

Steps to Reproduce:
1. Fail to set USE="jpeg" or set USE="-jpeg" 
2. emerge stepmania
3.

Actual Results:  
Stepmania fails to emerge. 

Expected Results:  
Successful emerge. 

jpeg use flag is required for stepmania. 

Problem encountered while installing a minimalist system. 

USE="-jpeg" emerge stepmania - 

SDL_SaveJPEG.o: In function `IMG_SaveJPG_RW(RageSurface*, RageFile&, bool)':
SDL_SaveJPEG.cpp:(.text+0x11a): undefined reference to `jpeg_std_error'
SDL_SaveJPEG.cpp:(.text+0x131): undefined reference to `jpeg_CreateCompress'
SDL_SaveJPEG.cpp:(.text+0x15d): undefined reference to `jpeg_set_defaults'
SDL_SaveJPEG.cpp:(.text+0x177): undefined reference to `jpeg_set_quality'
SDL_SaveJPEG.cpp:(.text+0x1d1): undefined reference to `jpeg_start_compress'
SDL_SaveJPEG.cpp:(.text+0x20e): undefined reference to `jpeg_write_scanlines'
SDL_SaveJPEG.cpp:(.text+0x223): undefined reference to `jpeg_finish_compress'
SDL_SaveJPEG.cpp:(.text+0x22b): undefined reference to `jpeg_destroy_compress'
SDL_SaveJPEG.cpp:(.text+0x26d): undefined reference to `jpeg_set_quality'
RageSurface_Load_JPEG.o: In function `RageSurface_Load_JPEG(RageFile*, char const*, char*)':
RageSurface_Load_JPEG.cpp:(.text+0x17f): undefined reference to `jpeg_std_error'
RageSurface_Load_JPEG.cpp:(.text+0x1d9): undefined reference to `jpeg_CreateDecompress'
RageSurface_Load_JPEG.cpp:(.text+0x20a): undefined reference to `jpeg_resync_to_restart'
RageSurface_Load_JPEG.cpp:(.text+0x22a): undefined reference to `jpeg_read_header'
RageSurface_Load_JPEG.cpp:(.text+0x260): undefined reference to `jpeg_start_decompress'
RageSurface_Load_JPEG.cpp:(.text+0x305): undefined reference to `jpeg_read_scanlines'
RageSurface_Load_JPEG.cpp:(.text+0x325): undefined reference to `jpeg_finish_decompress'
RageSurface_Load_JPEG.cpp:(.text+0x32d): undefined reference to `jpeg_destroy_decompress'
RageSurface_Load_JPEG.cpp:(.text+0x36e): undefined reference to `jpeg_destroy_decompress'
RageSurface_Load_JPEG.cpp:(.text+0x415): undefined reference to `jpeg_destroy_decompress'
Comment 1 Petri Lehtinen 2007-08-06 04:55:21 UTC
Created attachment 127027 [details, diff]
stepmania-3.9-jpeg.patch

This patch fixes the JPEG problem.  Seems that the upstream has added --without-jpeg option to configure.ac but they don't handle it in the code.
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2007-08-07 14:37:35 UTC
Fixed, thanks for reporting.