Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 12022 - frozen-bubble won't compile
Summary: frozen-bubble won't compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-12-12 09:45 UTC by Stuart Bouyer
Modified: 2011-09-14 20:35 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 Stuart Bouyer 2002-12-12 09:45:46 UTC
When trying to emerge frozen bubble, emerge stops with the following 

>>> Unpacking source...
>>> Unpacking frozen-bubble-0.9.3.tar.bz2
>>> Source unpacked.
make[1]: Entering directory
`/var/tmp/portage/frozen-bubble-0.9.3-r1/work/frozen-bubble-0.9.3/c_stuff'
test -e Makefile_c || perl Makefile.PL 
PREFIX=/var/tmp/portage/frozen-bubble-0.9.3-r1/image//usr

   **ERROR**: SDL_mixer is needed (and, by the way, version >= 1.2.2 will be needed)

make[1]: *** [fb_c_stuff] Error 2
make[1]: Leaving directory
`/var/tmp/portage/frozen-bubble-0.9.3-r1/work/frozen-bubble-0.9.3/c_stuff'
make: *** [dirs] Error 2

!!! ERROR: app-games/frozen-bubble-0.9.3-r1 failed.
!!! Function src_compile, Line 35, Exitcode 2
!!! (no error message)

I have the following sdl ebuild emerged
dev-perl/sdl-perl *
media-libs/libsdl *
media-libs/sdl-gfx *
media-libs/sdl-image *
media-libs/sdl-mixer *
media-libs/sdl-ttf *

I'm running perl-5.8.0-r3, and sld-config --libs gives the following

-L/usr/lib -Wl,-rpath,/usr/lib -lSDL -lSDL_mixer -lpthread

and here's the info from emerge info
Portage 2.0.45-r3 (default-x86-1.4, gcc-3.2.1, glibc-2.3.1-r2)
=================================================================
System uname: 2.4.20-mjc2 i686 AMD Athlon(tm) XP 1800+
USE="x86 oss 3dnow apm avi crypt cups encode gif jpeg libg++ mikmod mmx motif mp 
eg ncurses nls pdflib png qtmt quicktime spell truetype xml2 xmms xv zlib gtkhtm 
l gdbm berkdb slang readline arts aalib bonobo svga tcltk guile X sdl tcpd pam l 
ibwww ssl perl python esd imlib oggvorbis gtk qt opengl cdr alsa canna cjk dga d 
vd fbcon -gnome -gpm gtk2 -java -kde mbox mozilla mule tiff"
ARCH="x86"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-mcpu=athlon-xp -O3 -pipe"
CXXFLAGS="-mcpu=athlon-xp -O3 -pipe"
ACCEPT_KEYWORDS="x86 ~x86"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/confi 
g /usr/kde/3/share/config /usr/kde/3/share/config:/usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
MAKEOPTS="-j2"
JDK_HOME="/opt/blackdown-jdk-1.4.1_beta"
JAVA_HOME="/opt/blackdown-jdk-1.4.1_beta"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
GENTOO_MIRRORS="http://www.ibiblio.org/pub/Linux/distributions/gentoo"

If you need any further info pleas let me know

StuBear
Comment 1 SpanKY gentoo-dev 2002-12-20 12:18:38 UTC
could you try re-emering sdl-mixer ?
and if it still doesnt work post the versions for the packages you have 
installed
Comment 2 Stuart Bouyer 2002-12-21 08:39:12 UTC
Sorry, remerged sdl-mixer but still no dice

Here are the versions of sdl I have emerged

sys-devel/perl-5.8.0-r6 *
media-libs/sdl-mixer-1.2.4 *
media-libs/libsdl-1.2.5 *
media-libs/sdl-ttf-2.0.5 *
media-libs/sdl-image-1.2.2 *
media-libs/sdl-gfx-2.0.3 *
dev-perl/sdl-perl-1.19.0 *

The libsdl used to be 1.2.4.20020601.ebuild, until I remerged sdl-mixer, I tried
going back to the old libsdl, but still the same result. I also remerge perl and
sdl-perl, but same thing.

Anything else you need to know?

thanks

StuBear
Comment 3 Philip Walls (RETIRED) gentoo-dev 2002-12-26 12:46:46 UTC
I had a similar problem, but you have left out the most important part of the
compile log. The part where it attempts to run a test SDL program using libsmpeg.

To fix this problem, I had to 'emerge smpeg' and everything works fine.
Hope this helps! (Gotta hate all these C++ ABI problems :\)
Comment 4 Stuart Bouyer 2002-12-28 04:11:41 UTC
No, I already had smpeg installed. It failed prior to that stage anyway.

Anyway did an emerge -e frozen-bubble and it compiled and installed.

However now it segfaults.....

$ frozen-bubble
        [[ Frozen-Bubble-0.9.3 ]]

  http://www.frozen-bubble.org/

  Copyright (c) 2000, 2001, 2002 Guillaume Cottenceau.
  Artwork: Alexis Younes <73lab at free.fr>
           Amaury Amblard-Ladurantie <amaury at linuxfr.org>
  Soundtrack: Matthias Le Bidan <matthias.le_bidan at caramail.com>
  Design & Programming: Guillaume Cottenceau <guillaume.cottenceau at free.fr>

  Sponsored by MandrakeSoft <http://www.mandrakesoft.com/>

  This program is free software; you can redistribute it and/or modify
  it under the terms of the GNU General Public License version 2, as
  published by the Free Software Foundation.

[SDL Init] Segmentation fault

Before you start blaming memory, cpu, overheating etc, this is the onlt package
that segfaults nad I just finished compiling mozilla and sun-j2sdk without a
problem. Other sdl games work fine (marbles, lsdldoom come readily to mind) so I
don't think its sdl.

Do you want a trace?

StuBear
Comment 5 Tom Schumm 2003-01-04 16:11:16 UTC
I'm having the exact same segfault problem.  There are several others as well - this thread on 
the forums discusses it in more detail: 
http://forums.gentoo.org/viewtopic.php?t=23918 
Comment 6 Stuart Bouyer 2003-01-06 09:52:42 UTC
Well, I had some spare CPU cycles lyingf around so I did an emerge --emptytree
frpzen-bubble, and got 

[SDL Init] Segmentation fault

yet again, 

hmm, guess I'll just have to boot Knoppix when I want to play frozen-bubble
Comment 7 SpanKY gentoo-dev 2003-02-03 02:38:55 UTC
well if it compiles i guess we'll move on to your segfault issue ... Bug 14006

*** This bug has been marked as a duplicate of 14006 ***
Comment 8 Mr. Bones. (RETIRED) gentoo-dev 2005-05-19 09:05:43 UTC
Closing to clean up after bugzilla upgrade.  reopen if closed in error.  Thanks.
Comment 9 Mr. Bones. (RETIRED) gentoo-dev 2011-09-14 20:35:07 UTC
clean up bug list after bugzilla update