Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 165902 - games-strategy/uqm requires libmikmod OR different configuration options
Summary: games-strategy/uqm requires libmikmod OR different configuration options
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Games
URL: http://sc2.sourceforge.net/
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-08 11:19 UTC by Antti Mäkelä
Modified: 2007-02-08 17:01 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 Antti Mäkelä 2007-02-08 11:19:52 UTC
games-strategy/uqm-0.6.2 should include libmikmod in it's dependencies. After emerge --depclean for some reason removed libmikmod, revdep-rebuild does not fix uqm:

  broken /usr/games/lib/uqm/uqm (requires  libmikmod.so.2)

...uqm cannot be fixed because libmikmod does no longer exist in the system. Emerging uqm crashes as follows. Also, note the configuration option 4.

# emerge -av uqm

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

Calculating dependencies... done!
[ebuild   R   ] games-strategy/uqm-0.6.2  USE="opengl -music -remix -voice" 0 kB

[...snip...]

libmikmod found. (HUH?)
pkg-config found.
vorbisfile found.
zlib found.

  -= Main menu =-
   1. Type of build                        Optimised release build
   2. OpenGL graphics support              Include OpenGL graphics support
   3. Sound backend                        Use MixSDL for sound (internal)
   4. Tracker music support                System libmikmod
   5. Ogg Vorbis codec                     Xiph libogg + libvorbis
   6. Network Supermelee support           IPv4 and IPv6
   7. Joystick support                     enabled
   8. Supported file i/o methods           Direct & .zip file i/o
   9. Graphics/Sound optimizations         Only plain C code
  10. Installation paths                   [...]

Press a number plus <ENTER> if you want to change something,
or just <ENTER> if everything is ok:
Configuration complete.
Saving choices...

[......snip.........]

  CC       obj/release/src/sc2code/libs/sound/decoders/wav.c.o
  CC       obj/release/src/sc2code/libs/sound/decoders/dukaud.c.o
  CC       obj/release/src/sc2code/libs/sound/decoders/modaud.c.o
src/sc2code/libs/sound/decoders/modaud.c:36:21: error: mikmod.h: No such file or directory
src/sc2code/libs/sound/decoders/modaud.c:77: error: expected specifier-qualifier-list before 'MODULE'
src/sc2code/libs/sound/decoders/modaud.c:88: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'bufsize'
src/sc2code/libs/sound/decoders/modaud.c:89: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'written'
src/sc2code/libs/sound/decoders/modaud.c:91: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
src/sc2code/libs/sound/decoders/modaud.c:101: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'moda_mmout_IsThere'
src/sc2code/libs/sound/decoders/modaud.c:107: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'moda_mmout_Init'
src/sc2code/libs/sound/decoders/modaud.c: In function 'moda_mmout_Update':
src/sc2code/libs/sound/decoders/modaud.c:122: error: 'written' undeclared (first use in this function)
src/sc2code/libs/sound/decoders/modaud.c:122: error: (Each undeclared identifier is reported only once
src/sc2code/libs/sound/decoders/modaud.c:122: error: for each function it appears in.)
src/sc2code/libs/sound/decoders/modaud.c:123: error: 'bufsize' undeclared (first use in this function)
src/sc2code/libs/sound/decoders/modaud.c: At top level:
src/sc2code/libs/sound/decoders/modaud.c:130: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'moda_mmout_Reset'
src/sc2code/libs/sound/decoders/modaud.c:135: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'moda_mmout_drv'
src/sc2code/libs/sound/decoders/modaud.c:183: error: expected specifier-qualifier-list before 'MREADER'
src/sc2code/libs/sound/decoders/modaud.c:189: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'moda_uioReader_Eof'
src/sc2code/libs/sound/decoders/modaud.c:195: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'moda_uioReader_Read'
src/sc2code/libs/sound/decoders/modaud.c:201: error: expected ')' before '*' token
src/sc2code/libs/sound/decoders/modaud.c:207: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'moda_uioReader_Seek'
src/sc2code/libs/sound/decoders/modaud.c:213: error: expected ')' before '*' token
src/sc2code/libs/sound/decoders/modaud.c:218: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
src/sc2code/libs/sound/decoders/modaud.c:235: error: expected ')' before '*' token
src/sc2code/libs/sound/decoders/modaud.c: In function 'moda_InitModule':
src/sc2code/libs/sound/decoders/modaud.c:251: error: 'moda_mmout_drv' undeclared (first use in this function)
src/sc2code/libs/sound/decoders/modaud.c:256: error: 'md_mode' undeclared (first use in this function)
src/sc2code/libs/sound/decoders/modaud.c:256: error: 'DMODE_HQMIXER' undeclared (first use in this function)
src/sc2code/libs/sound/decoders/modaud.c:256: error: 'DMODE_STEREO' undeclared (first use in this function)
src/sc2code/libs/sound/decoders/modaud.c:256: error: 'DMODE_16BITS' undeclared (first use in this function)
src/sc2code/libs/sound/decoders/modaud.c:256: error: 'DMODE_INTERP' undeclared (first use in this function)
src/sc2code/libs/sound/decoders/modaud.c:256: error: 'DMODE_SURROUND' undeclared (first use in this function)
src/sc2code/libs/sound/decoders/modaud.c:257: error: 'md_mixfreq' undeclared (first use in this function)
src/sc2code/libs/sound/decoders/modaud.c:258: error: 'md_reverb' undeclared (first use in this function)
src/sc2code/libs/sound/decoders/modaud.c:262: error: 'DMODE_SOFT_MUSIC' undeclared (first use in this function)
src/sc2code/libs/sound/decoders/modaud.c:273: error: 'md_pansep' undeclared (first use in this function)
src/sc2code/libs/sound/decoders/modaud.c:278: error: 'MikMod_errno' undeclared (first use in this function)
src/sc2code/libs/sound/decoders/modaud.c: In function 'moda_Open':
src/sc2code/libs/sound/decoders/modaud.c:329: error: 'MREADER' undeclared (first use in this function)
src/sc2code/libs/sound/decoders/modaud.c:329: error: 'reader' undeclared (first use in this function)
src/sc2code/libs/sound/decoders/modaud.c:330: error: 'MODULE' undeclared (first use in this function)
src/sc2code/libs/sound/decoders/modaud.c:330: error: 'mod' undeclared (first use in this function)
src/sc2code/libs/sound/decoders/modaud.c:358: error: 'TFB_ModSoundDecoder' has no member named 'module'
src/sc2code/libs/sound/decoders/modaud.c:365: error: 'md_mixfreq' undeclared (first use in this function)
src/sc2code/libs/sound/decoders/modaud.c: In function 'moda_Close':
src/sc2code/libs/sound/decoders/modaud.c:378: error: 'TFB_ModSoundDecoder' has no member named 'module'
src/sc2code/libs/sound/decoders/modaud.c:380: error: 'TFB_ModSoundDecoder' has no member named 'module'
src/sc2code/libs/sound/decoders/modaud.c:381: error: 'TFB_ModSoundDecoder' has no member named 'module'
src/sc2code/libs/sound/decoders/modaud.c: In function 'moda_Decode':
src/sc2code/libs/sound/decoders/modaud.c:389: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
src/sc2code/libs/sound/decoders/modaud.c:389: error: 'poutsize' undeclared (first use in this function)
src/sc2code/libs/sound/decoders/modaud.c:391: error: 'TFB_ModSoundDecoder' has no member named 'module'
src/sc2code/libs/sound/decoders/modaud.c: In function 'moda_GetFrame':
src/sc2code/libs/sound/decoders/modaud.c:419: error: 'TFB_ModSoundDecoder' has no member named 'module'
make: *** [obj/release/src/sc2code/libs/sound/decoders/modaud.c.o] Error 1

!!! ERROR: games-strategy/uqm-0.6.2 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  uqm-0.6.2.ebuild, line 74:   Called die

!!! build failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
Comment 1 Antti Mäkelä 2007-02-08 14:03:46 UTC
(Oh...and with "different config" I meant that it's possible to select "internal libmikmod" instead of "system libmikmod" at the configuration...but I don't think that's preferable)
Comment 2 Mr. Bones. (RETIRED) gentoo-dev 2007-02-08 17:01:50 UTC
fixed in CVS.  thanks for the bug report.