Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 15852 - [updated ebuild] app-games/frozen-bubble-1.0.0
Summary: [updated ebuild] app-games/frozen-bubble-1.0.0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-02-17 12:32 UTC by TGL
Modified: 2003-03-10 20:06 UTC (History)
5 users (show)

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


Attachments
app-games/frozen-bubble-1.0.0.ebuild (frozen-bubble-1.0.0.ebuild,833 bytes, text/plain)
2003-02-17 12:34 UTC, TGL
Details
app-games/frozen-bubble-1.0.0.ebuild (frozen-bubble-1.0.0.ebuild,862 bytes, text/plain)
2003-02-17 12:38 UTC, TGL
Details
app-games/frozen-bubble-1.0.0.ebuild (frozen-bubble-1.0.0.ebuild,946 bytes, text/plain)
2003-02-17 19:24 UTC, TGL
Details
files/Makefile.fixed (Makefile.fixed,363 bytes, text/plain)
2003-02-20 10:59 UTC, TGL
Details
frozen-bubble-1.0.0.ebuild (frozen-bubble-1.0.0.ebuild,1.22 KB, application/octet-stream)
2003-03-03 08:45 UTC, Guido Bakker
Details

Note You need to log in before you can comment on or make changes to this bug.
Description TGL 2003-02-17 12:32:55 UTC
Here is an ebuild for the last version of this great game.

Changes summary:
 - download URL updated
 - depends on sdl-perl >= 1.19
 - no more need to patch anything
 - set KEYWORDS back to ~x86 because it is the only arch I can test

I've left the warning about nvidia cards, even if I've never encountered this bug. 

-- 
Thomas.
Comment 1 TGL 2003-02-17 12:34:07 UTC
Created attachment 8377 [details]
app-games/frozen-bubble-1.0.0.ebuild
Comment 2 TGL 2003-02-17 12:38:47 UTC
Created attachment 8378 [details]
app-games/frozen-bubble-1.0.0.ebuild

Ooops, sorry, the previous one was not the good one...
Comment 3 Charles Goodwin 2003-02-17 19:03:29 UTC
BEGIN failed--compilation aborted at -e line 1.

    *** I need perl-SDL installed
make: *** [dirs] Error 1

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


So I do 'emerge sdl-perl' (originally showed as R when -p) and that's fixed... now:

ACCESS DENIED  mkdir:     /usr/lib/perl5/site_perl/5.8.0/i686-linux/auto/fb_c_stuff
mkdir /usr/lib/perl5/site_perl/5.8.0/i686-linux/auto/fb_c_stuff: Permission denied at /usr/lib/perl5/5.8.0/ExtUtils/Install.pm line 136
make[2]: *** [pure_site_install] Error 255
make[2]: Leaving directory `/var/tmp/portage/frozen-bubble-1.0.0/work/frozen-bubble-1.0.0/c_stuff'
make[1]: *** [install] Error 2
make[1]: Leaving directory `/var/tmp/portage/frozen-bubble-1.0.0/work/frozen-bubble-1.0.0/c_stuff'
make: *** [install] Error 2

!!! ERROR: app-games/frozen-bubble-1.0.0 failed.
!!! Function src_install, Line 24, Exitcode 2
!!! (no error message)

From the access violation log:
mightymax mozilla # more /tmp/sandbox-frozen-bubble-1.0.0-25417.log 
mkdir:     /usr/lib/perl5/site_perl/5.8.0/i686-linux/auto/fb_c_stuff

This 'fb_c_stuff' does not exist.
Comment 4 TGL 2003-02-17 19:22:04 UTC
Ok, so it seems that this Makefile issue is not solved as I was thinking, but only occurs with perl 5.8.0, is that it ? (I run perl 5.6.1)
In that case, we should reuse the "files/Makefile.fixed" from 0.9.3-r1, and the new 1.0.0 ebuild I will send.
Comment 5 TGL 2003-02-17 19:24:37 UTC
Created attachment 8393 [details]
app-games/frozen-bubble-1.0.0.ebuild

new attempt to solve /usr/lib/perl5/site_perl/5.8.0/i686-linux/auto/fb_c_stuff
issue.
Comment 6 TGL 2003-02-17 20:51:08 UTC
I don't know how good is the "Makefile.fixed" for perl 5.8 users, but in fact it is not working for perl 5.6.... (Yes, I know, I really submit things too fast. Sorry about that.)
So, what about something like:

src_unpack() {
  unpack ${A}
  if [ `perl -v | grep 5\.8 | wc -l` = 1 ] ; then
    cp ${O}/files/Makefile.fixed ${P}/c_stuff/Makefile
  fi
}

(Any better idea from somebody who understand perl Makefile system is welcome)

And now something absolutetly unrelated: I've heard of people complaining that they need "artsdsp" or "esddsp" to run the 0.9.3 with sound AND without segfault (probably some sdl-mixer bug, so I don't think it will be different with this version). Do you think we should add some ewarning about that ?
Comment 7 Charles Goodwin 2003-02-18 04:42:23 UTC
That second ebuild worked fine.  (Although I'm sshing in and compiling stuff so I can't say yet if the app actually works!)
Comment 8 Mårten Woxberg 2003-02-18 17:45:58 UTC
I used the Ebuild ID: 8393 (the last one) and still get this error... do you want the log also? (Using libperl 5.8.0):


<snipp>
ACCESS DENIED  mkdir:     /usr/lib/perl5/site_perl/5.8.0/i686-linux/auto/fb_c_stuff
mkdir /usr/lib/perl5/site_perl/5.8.0/i686-linux/auto/fb_c_stuff: Permission denied at /usr/lib/perl5/5.8.0/ExtUtils/Install.pm line 136
make[2]: *** [pure_site_install] Error 255
<snipp>
make: *** [install] Error 2

!!! ERROR: app-games/frozen-bubble-1.0.0 failed.
!!! Function src_install, Line 29, Exitcode 2
!!! (no error message)

--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/tmp/sandbox-frozen-bubble-1.0.0-6347.log"

mkdir:     /usr/lib/perl5/site_perl/5.8.0/i686-linux/auto/fb_c_stuff
--------------------------------------------------------------------------------
Comment 9 Mårten Woxberg 2003-02-18 17:58:11 UTC
Ok I spoke too soon... I should have copied the Makefile.fixed from the 9.3-r1 release.. It now seems to install correctly but then I get this when I run it:

[*ERROR*] the datafiles seem to be missing! (could not read `@DATADIR@/frozen-bubble/gfx')
          The datafiles need to go to `@DATADIR@/frozen-bubble'.
Comment 10 André Lemos 2003-02-18 18:49:57 UTC
I've just installed it manually, and it went fine. Running ~x86
Comment 11 TGL 2003-02-20 10:59:28 UTC
Created attachment 8542 [details]
files/Makefile.fixed

Here is yet another attempt for the c_stuff/Makefile patching. This file is to
be used with the third submitted ebuild (id=8393). It works for me
(perl-5.6.1), but I need some feedback from perl-5.8 users. Thanks.
Comment 12 Vince Verleye 2003-02-21 00:21:27 UTC
TGL; 

Your Makefile.fixed doesn't work with perl-5.8, I'm still getting the ACCESS VIOLATION on fb_c_stuff like the other people reported here.

I tried with the Makefile.fixed from the fb 9.3-r1 ebuild, and it emerged fine.

Game works fine aswell now (I rebuild perl-sdl with -GL as stated in http://bugs.gentoo.org/show_bug.cgi?id=16012)
Comment 13 Joachim Blaabjerg (RETIRED) gentoo-dev 2003-02-28 14:10:55 UTC
I have the same "** I need perl-SDL installed" problem with frozen-bubble-0.9.3-r1, 
perl-5.8.0-r9 and sdl-perl-1.19.0. Perhaps this is something mcummings should look 
at? 
Comment 14 Graham Forest 2003-03-02 02:01:01 UTC
You can go ahead and mask this ~ppc whenever you get it reliable, I compiled it with Perl 5.6.1-r11, and it works nicely (bit slow, but that's not it's fault ^_^ )
Comment 15 SpanKY gentoo-dev 2003-03-03 08:25:23 UTC
*** Bug 16732 has been marked as a duplicate of this bug. ***
Comment 16 Guido Bakker 2003-03-03 08:45:49 UTC
Created attachment 8897 [details]
frozen-bubble-1.0.0.ebuild

I tested my ebuild with perl-5.8, and there seems to be no problem.

sdl-perl-1.19.0 is needed, but isn't marked stable yet. Merge sdl-perl 1.19.0
to see that this ebuild works.
Comment 17 SpanKY gentoo-dev 2003-03-05 11:46:03 UTC
ok, i version bumped frozen-bubble in cvs with your last ebuild ...
i also version bumped sdl-perl to 1.20.0, so all segfault issues *should* be gone ...

http://cvs.gentoo.org/cgi-bin/viewcvs.cgi/gentoo-x86/app-games/frozen-bubble/frozen-bubble-1.0.0.ebuild?rev=1.1&content-type=text/vnd.viewcvs-markup
Comment 18 TGL 2003-03-05 17:47:03 UTC
Sorry for reacting that late, but this last ebuild still use the original 
Makefile.fixed from frozen-bubble-0.9.3-r1 ebuild, which is wrong with 
perl-5.6.1. There  are some files installed at a wrong place, 
/usr/lib/site_perl/5.6.1/i686-linux/, and perl can't find them. We have two 
options:
 - write a correct Makefile.fixed for both perl-5.6.1 and perl-5.8.0
 (attachment #8542 [details] was an attempt but does not seems to work with perl-5.8.0)
 - only apply Makefile.fixed if perl is a 5.8 one (a solution is proposed in 
comment #6)

Comment 19 Michael Cummings (RETIRED) gentoo-dev 2003-03-10 18:22:26 UTC
Are those files being misplaced even after you've installed the "corrected" ExtUtils-MakeMaker (later version than the one that is standard with perl 5.6.1, and compliant with the version that later releases of perl ship with).
Comment 20 TGL 2003-03-10 20:06:24 UTC
Hi Michael,

You are right, I've updated MakeMaker and now things go to the right place. Thanks a lot, now this bugreport can really rest in peace.