Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 24597 - ACCEPT_KEYWORDS="~x86" emerge --deep frozen-bubble failed stating it needed Perl-SDL
Summary: ACCEPT_KEYWORDS="~x86" emerge --deep frozen-bubble failed stating it needed P...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Games
URL: http://forums.gentoo.org/viewtopic.ph...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-07-16 10:14 UTC by Mark Knecht
Modified: 2011-09-14 20:36 UTC (History)
1 user (show)

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


Attachments
Output of long command for review (myoutput,3.33 KB, text/plain)
2003-07-22 05:38 UTC, Mark Knecht
Details
output of long command as requested (myoutput,3.33 KB, application/octet-stream)
2003-07-22 05:39 UTC, Mark Knecht
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Knecht 2003-07-16 10:14:23 UTC
As part of an emerge --deep world I ran into frozen bubble not upgrading 
correctly. I tried it by itself with the same problem:

Wizard root #ACCEPT_KEYWORDS="~x86" emerge --deep frozen-bubble

eventually gets to:

>>> Downloading
http://gentoo.oregonstate.edu/distfiles/frozen-bubble-server-0.0.3.tar.bz2
--22:18:42-- 
http://gentoo.oregonstate.edu/distfiles/frozen-bubble-server-0.0.3.tar.bz2
           =>
`/usr/portage/distfiles/frozen-bubble-server-0.0.3.tar.bz2'
           Resolving gentoo.oregonstate.edu... done.
           Connecting to gentoo.oregonstate.edu[128.193.0.3]:80...
connected.
           HTTP request sent, awaiting response... 200 OK
           Length: 5,772 [application/x-tar]

          
100%
[===============================================================================
==============>] 5,772         95.54K/s    ETA 00:00

           22:18:47 (95.54 KB/s) -
`/usr/portage/distfiles/frozen-bubble-server-0.0.3.tar.bz2' saved
[5772/5772]

           >>> md5 src_uri ;-) frozen-bubble-1.0.0.tar.bz2
           >>> md5 src_uri ;-) frozen-bubble-client-0.0.3.tar.bz2
           >>> md5 src_uri ;-) frozen-bubble-server-0.0.3.tar.bz2
           >>> Unpacking source...
           >>> Unpacking frozen-bubble-1.0.0.tar.bz2 to
/var/tmp/portage/frozen-bubble-1.0.0-r2/work
           >>> Unpacking frozen-bubble-client-0.0.3.tar.bz2 to
/var/tmp/portage/frozen-bubble-1.0.0-r2/work
           >>> Unpacking frozen-bubble-server-0.0.3.tar.bz2 to
/var/tmp/portage/frozen-bubble-1.0.0-r2/work
           >>> Source unpacked.
           Can't locate SDL.pm in @INC (@INC contains:
/usr/lib/perl5/5.8.0/i686-linux /usr/lib/perl5/5.8.0
/usr/lib/perl5/site_perl/5.8.0/i686-linux /usr/lib/perl5/site_perl/5.8.0
/usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.0/i686-linux
/usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl .) at -e
line 1.
           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-r2 failed.
               !!! Function src_compile, Line 34, Exitcode 2
               !!! (no error message)

Wizard root #

I appear to have a lot of perl stuff installed.

I'm a newbie/non-programmer. I hope I haven't made some stupid mistake, but 54 
other packages updated correctly last night, so I thought it best to report it.

Cheers,
Mark

Reproducible: Always
Steps to Reproduce:
1. ACCEPT_KEYWORDS="~x86" emerge --deep frozen-bubble


Actual Results:  
Show above. Failed needing perl-SDL

Expected Results:  
Should have upgraded...
Comment 1 SpanKY gentoo-dev 2003-07-16 10:19:56 UTC
could you do `qpkg -I -v sdl-perl` and `qpkg -l sdl-perl` and attach the outputs ?
also post `emerge info`
Comment 2 Mark Knecht 2003-07-16 21:14:50 UTC
Hi,
   Here you go.
Mark

Wizard root # qpkg -I -v sdl-perl
dev-perl/sdl-perl-1.20.0 *
Wizard root # 


Wizard root # qpkg -l sdl-perl
dev-perl/sdl-perl-1.20.0 *
CONTENTS:
/usr
/usr/share
/usr/share/perl
/usr/share/perl/gentoo-pods
/usr/share/perl/gentoo-pods/5.8.0
/usr/share/perl/gentoo-pods/5.8.0/sdl-perl-1.20.0.pod
/usr/share/perl/gentoo-pods/5.8.0/sdl-perl-1.20.0.pod.site
/usr/share/man
/usr/share/man/man3
/usr/share/man/man3/SDL::Palette.3pm.gz
/usr/share/man/man3/SDL::Opt::Color.3pm.gz
/usr/share/man/man3/SDL::Tool::Graphic.3pm.gz
/usr/share/man/man3/SDL::Cursor.3pm.gz
/usr/share/man/man3/SDL::OpenGL::Cube.3pm.gz
/usr/share/man/man3/SDL::Event.3pm.gz
/usr/share/man/man3/SDL::Sound.3pm.gz
/usr/share/man/man3/SDL::OpenGL.3pm.gz
/usr/share/man/man3/SDL::Timer.3pm.gz
/usr/share/man/man3/SDL::Font.3pm.gz
/usr/share/man/man3/SDL::OpenGL::Model.3pm.gz
/usr/share/man/man3/SDL::Music.3pm.gz
/usr/share/man/man3/SDL::Color.3pm.gz
/usr/share/man/man3/SDL::Console.3pm.gz
/usr/share/man/man3/SDL.3pm.gz
/usr/share/man/man3/SDL::Cdrom.3pm.gz
/usr/share/man/man3/SDL::Shell.3pm.gz
/usr/share/man/man3/SDL::Opt::Surface.3pm.gz
/usr/share/man/man3/SDL::App.3pm.gz
/usr/share/man/man3/SDL::TTFont.3pm.gz
/usr/share/man/man3/SDL::Opt::Rect.3pm.gz
/usr/share/man/man3/SDL::Rect.3pm.gz
/usr/share/man/man3/SDL::Surface.3pm.gz
/usr/share/man/man3/SDL::Mixer.3pm.gz
/usr/share/man/man3/SDL::Tool::Font.3pm.gz
/usr/share/doc
/usr/share/doc/sdl-perl-1.20.0
/usr/share/doc/sdl-perl-1.20.0/MANIFEST.gz
/usr/share/doc/sdl-perl-1.20.0/README.gz
/usr/share/doc/sdl-perl-1.20.0/README.freebsd.gz
/usr/lib
/usr/lib/perl5
/usr/lib/perl5/site_perl
/usr/lib/perl5/site_perl/5.8.0
/usr/lib/perl5/site_perl/5.8.0/i586-linux
/usr/lib/perl5/site_perl/5.8.0/i586-linux/auto
/usr/lib/perl5/site_perl/5.8.0/i586-linux/auto/SDL_perl
/usr/lib/perl5/site_perl/5.8.0/i586-linux/auto/SDL_perl/SDL_perl.so
/usr/lib/perl5/site_perl/5.8.0/i586-linux/auto/SDL_perl/SDL_perl.bs
/usr/lib/perl5/site_perl/5.8.0/i586-linux/auto/SDL_perl/.packlist
/usr/lib/perl5/site_perl/5.8.0/i586-linux/auto/SDL
/usr/lib/perl5/site_perl/5.8.0/i586-linux/auto/SDL/autosplit.ix
/usr/lib/perl5/site_perl/5.8.0/i586-linux/SDL_perl.pm
/usr/lib/perl5/site_perl/5.8.0/i586-linux/SDL.pm
/usr/lib/perl5/site_perl/5.8.0/i586-linux/SDL
/usr/lib/perl5/site_perl/5.8.0/i586-linux/SDL/Surface.pm
/usr/lib/perl5/site_perl/5.8.0/i586-linux/SDL/Rect.pm
/usr/lib/perl5/site_perl/5.8.0/i586-linux/SDL/Palette.pm
/usr/lib/perl5/site_perl/5.8.0/i586-linux/SDL/Event.pm
/usr/lib/perl5/site_perl/5.8.0/i586-linux/SDL/Cursor.pm
/usr/lib/perl5/site_perl/5.8.0/i586-linux/SDL/Mixer.pm
/usr/lib/perl5/site_perl/5.8.0/i586-linux/SDL/Sound.pm
/usr/lib/perl5/site_perl/5.8.0/i586-linux/SDL/OpenGL.pm
/usr/lib/perl5/site_perl/5.8.0/i586-linux/SDL/Font.pm
/usr/lib/perl5/site_perl/5.8.0/i586-linux/SDL/Timer.pm
/usr/lib/perl5/site_perl/5.8.0/i586-linux/SDL/Music.pm
/usr/lib/perl5/site_perl/5.8.0/i586-linux/SDL/Color.pm
/usr/lib/perl5/site_perl/5.8.0/i586-linux/SDL/Console.pm
/usr/lib/perl5/site_perl/5.8.0/i586-linux/SDL/Cdrom.pm
/usr/lib/perl5/site_perl/5.8.0/i586-linux/SDL/Shell.pm
/usr/lib/perl5/site_perl/5.8.0/i586-linux/SDL/App.pm
/usr/lib/perl5/site_perl/5.8.0/i586-linux/SDL/TTFont.pm
/usr/lib/perl5/site_perl/5.8.0/i586-linux/SDL/Tool
/usr/lib/perl5/site_perl/5.8.0/i586-linux/SDL/Tool/Graphic.pm
/usr/lib/perl5/site_perl/5.8.0/i586-linux/SDL/Tool/Font.pm
/usr/lib/perl5/site_perl/5.8.0/i586-linux/SDL/OpenGL
/usr/lib/perl5/site_perl/5.8.0/i586-linux/SDL/OpenGL/Cube.pm
/usr/lib/perl5/site_perl/5.8.0/i586-linux/SDL/OpenGL/Model.pm
/usr/lib/perl5/site_perl/5.8.0/i586-linux/SDL/Opt
/usr/lib/perl5/site_perl/5.8.0/i586-linux/SDL/Opt/Color.pm
/usr/lib/perl5/site_perl/5.8.0/i586-linux/SDL/Opt/Surface.pm
/usr/lib/perl5/site_perl/5.8.0/i586-linux/SDL/Opt/Rect.pm

Wizard root # 

Wizard root # emerge info
Portage 2.0.48-r1 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1)
=================================================================
System uname: 2.4.20-gentoo-r2 i686 AMD Athlon(TM) XP 2600+
GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY=""
USE="x86 oss 3dnow apm avi crypt cups encode gif jpeg kde libg++ libwww mad mikmod mmx mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib gtkhtml gdbm berkdb slang readline arts bonobo svga tcltk java guile sdl gpm tcpd pam ssl perl python esd imlib oggvorbis qt motif opengl mozilla cdr X gtk -gnome alsa radeon"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-mcpu=athlon-xp -O3 -pipe"
CXXFLAGS="-mcpu=athlon-xp -O3 -pipe"
ACCEPT_KEYWORDS="x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache"

Wizard root # 
Comment 3 SpanKY gentoo-dev 2003-07-17 17:08:50 UTC
ok i talked to our perl guys and they suggest you try this: 
 
http://forums.gentoo.org/viewtopic.php?t=65846 
 
please tell us how it goes :) 
Comment 4 Mark Knecht 2003-07-21 21:07:33 UTC
Hi,
   OK, so, to be clear, I'm just a stupid user type. I do not know what perl is, nor sed, nor most other Unix command line stuff, so I Cannot even begin to understand why this might help. That said, I'm willing to give it a try, but wanted to know:

1) To do this, I log on as root and then just execute:

echo -e '/lib\n/usr/lib' | cat /etc/ld.so.conf - |  perl -ne 'print unless /^#/'  | xargs -iXX find XX -name '*.la' | xargs grep -l i586  | xargs sed -i -e 's/i586/i686/g'

??? Does this make changes to the files installed? Or does it echo back information that you need me to save and send you?

2) If this doesn't work, how would I undo what has gotten done in this step? Is there any wayto back up?

I get sort of nervous about the sort of answers that include 'We don't know why this is happening. Let's try...' as invariably there are problems.

   Sorry for being paranoid. I just want to understand what this is doing.

Thanks,
Mark
Comment 5 SpanKY gentoo-dev 2003-07-21 21:27:28 UTC
yes, you log in as root and run that long crazy looking command :) 
it'll modify files on your livefilesystem ... after it runs your problem should be 
fixed ... 
 
and no, you cant undo it ... 
 
like rac explained in the forum: 
The idea is to convert i586 to i686 in all libtool .la files in all important library 
directories. 
 
if it'll make you feel better, then replace the last bit, xargs sed -i -e 
's/i586/i686/g', with echo, and then pipe that into a file and post that file here as 
an attachment.  we'll review it, make sure everything is OK, and then give you 
the go ahead to actually modify the files on your filesystem.  the alternative 
approach is to `emerge world -e`, but that'll take sometime, and this will be a lot 
faster :) 
 
so ! to review ! 
Step 1: (make sure to type everything between the --- on one line!) 
-------------------------------------------------------- 
( echo -e '/lib\n/usr/lib' | cat /etc/ld.so.conf - |  perl -ne 'print unless /^#/'  | 
xargs -iXX find XX -name '*.la' | xargs grep -l i586  | xargs echo ) >& myoutput 
-------------------------------------------------------- 
Step 2: 
post myoutput here as an attachment 
Step 3: 
the games team will review the output 
Step 4+: 
we'll advise you on what to do next :) 
Comment 6 Mark Knecht 2003-07-22 05:38:23 UTC
Created attachment 14863 [details]
Output of long command for review
Comment 7 Mark Knecht 2003-07-22 05:39:15 UTC
Created attachment 14864 [details]
output of long command as requested
Comment 8 Mark Knecht 2003-07-22 05:41:01 UTC
Note - I cannot tell if the attachment is getting attached. At 5:41AM PST on July 22nd I'm getting these errors from Bugzilla:

 Attachment #14864 [details] to Bug #24597 Created
Status: 400 Bad request (malformed multipart POST) Content-type: text/html
Software error:

Undefined subroutine &main::ThrowCodeError called at Bugzilla/CGI.pm line 78.

For help, please send mail to the webmaster (webmaster@gentoo.org), giving this error message and the time and date of the error.
Content-type: text/html
Software error:

[Tue Jul 22 05:39:15 2003] processmail: Undefined subroutine &main::ThrowCodeError called at Bugzilla/CGI.pm line 78.
Compilation failed in require at ./processmail line 31.

For help, please send mail to the webmaster (webmaster@gentoo.org), giving this error message and the time and date of the error.

Note: Bugzilla automatically detected the content type application/octet-stream for this attachment. If this is incorrect, correct the value by editing the attachment. 
Comment 9 SpanKY gentoo-dev 2003-07-23 08:23:06 UTC
ok, you will only be modifying the .la files (which are linker files) ...
looks good, i'd suggest running the command again but this time use sed instead
of echo.  once you've done that, re-emerge sdl-perl and see if frozen bubble works ...

if it does not, post the output of this:
qpkg -f /usr/lib/perl5/site_perl/5.8.0/i586-linux
(if you dont have qpkg on your system, `emerge gentoolkit`)
Comment 10 Mark Knecht 2003-07-25 15:58:13 UTC
Hi,
   Sorry for the delay getting back to you. I have executed the long command. No error messages. I re-emerged sdl-perl and re-emerged frozen-bubble. The program works now.

   Thanks!

   Being a non-programmer, I am certainly happy and impressed that you all were able to identify a solution this quickly, but I am unclear whether, if I was to reformat my hard drive and rebuild a machine from scratch today, have we fixed anything or would I expect the same problem again?

   Is this really just a side effect of an emerge bug you already know about WRT sdl-perl and it will get fixed one of these days?

   Anyway, thanks very much for helping me get this far.

Cheers,
Mark
Comment 11 SpanKY gentoo-dev 2003-07-25 16:20:40 UTC
it is a bug that hopefully we've worked out of bootstrapping process ... 
sometimes though (and we're still cracking on those cases) it crops up 
 
the fix for people who dont really want to start from scratch can be found in that 
link.  have fun with the game :) 
Comment 12 SpanKY gentoo-dev 2003-07-25 16:30:37 UTC
all 

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