Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 76218 - dev-perl/sdl-perl-1.20.3 fails to compile on amd64
Summary: dev-perl/sdl-perl-1.20.3 fails to compile on amd64
Status: RESOLVED DUPLICATE of bug 77300
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-31 01:43 UTC by Marco Squarcina
Modified: 2005-07-17 13:06 UTC (History)
2 users (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 Marco Squarcina 2004-12-31 01:43:18 UTC
I'm not able to compile sdl-perl-1.20.3.. it seems to be required by frozenbubble... here it is:

darkstar lavish # emerge -uDv world
Calculating world dependencies ...done!
>>> emerge (1 of 6) dev-perl/sdl-perl-1.20.3 to /
>>> md5 src_uri ;-) SDL_perl-1.20.3.tar.gz
>>> Unpacking source...
>>> Unpacking SDL_perl-1.20.3.tar.gz to /var/tmp/portage/sdl-perl-1.20.3/work
>>> Source unpacked.
Enabled GL              yes
Enabled GLU             yes
Enabled SDL_console     no
Enabled SDL_gfx         yes
Enabled SDL_image       yes
Enabled SDL_mixer       yes
Enabled SDL_net         yes
Enabled SDL_ttf         yes
Enabled jpeg            yes
Enabled png             yes
Enabled smpeg           yes
Detecting GLU Version
Checking if your kit is complete...
Looks good
Writing Makefile for SDL_perl
cp lib/SDL/Surface.pm blib/lib/SDL/Surface.pm
cp lib/SDL/Rect.pm blib/lib/SDL/Rect.pm
cp lib/SDL/Palette.pm blib/lib/SDL/Palette.pm
cp lib/SDL/Tool/Graphic.pm blib/lib/SDL/Tool/Graphic.pm
cp lib/SDL/Cursor.pm blib/lib/SDL/Cursor.pm
cp lib/SDL/OpenGL/Cube.pm blib/lib/SDL/OpenGL/Cube.pm
cp lib/SDL/Event.pm blib/lib/SDL/Event.pm
cp lib/SDL/Sound.pm blib/lib/SDL/Sound.pm
cp lib/SDL/Mixer.pm blib/lib/SDL/Mixer.pm
cp lib/SDL/OpenGL.pm blib/lib/SDL/OpenGL.pm
cp lib/SDL.pm blib/lib/SDL.pm
AutoSplitting blib/lib/SDL.pm (blib/lib/auto/SDL)
cp lib/SDL/Timer.pm blib/lib/SDL/Timer.pm
cp lib/SDL/Font.pm blib/lib/SDL/Font.pm
cp lib/SDL/OpenGL/Model.pm blib/lib/SDL/OpenGL/Model.pm
cp lib/SDL/Music.pm blib/lib/SDL/Music.pm
cp lib/SDL/Color.pm blib/lib/SDL/Color.pm
cp lib/SDL/OpenGL/Constants.pm blib/lib/SDL/OpenGL/Constants.pm
cp lib/SDL/Console.pm blib/lib/SDL/Console.pm
cp lib/SDL/Tool/Font.pm blib/lib/SDL/Tool/Font.pm
cp SDL_perl.pm blib/lib/SDL_perl.pm
cp lib/SDL/Cdrom.pm blib/lib/SDL/Cdrom.pm
cp lib/SDL/Shell.pm blib/lib/SDL/Shell.pm
cp lib/SDL/App.pm blib/lib/SDL/App.pm
cp lib/SDL/TTFont.pm blib/lib/SDL/TTFont.pm
cp lib/SDL/Constants.pm blib/lib/SDL/Constants.pm
gcc -c  -I/usr/include/SDL -D_REENTRANT -I/usr/local/include/SDL -I/usr/local/include -I/usr/local/include/smpeg -I/usr/include/SDL -I/usr/include -I/usr/include/smpeg -I/usr/local/include/GL -I/usr/local/include/gl -I/usr/include/GL -I/usr/include/gl -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -march=athlon64 -O2 -fweb -frename-registers -ftracer -pipe   -DVERSION=\"1.20.3\" -DXS_VERSION=\"1.20.3\" -fPIC "-I/usr/lib/perl5/5.8.6/x86_64-linux/CORE"  -DHAVE_GLU_VERSION=13 -DHAVE_GL -DHAVE_GLU  -DHAVE_SDL_GFX -DHAVE_SDL_IMAGE -DHAVE_SDL_MIXER -DHAVE_SDL_NET -DHAVE_SDL_TTF -DHAVE_JPEG -DHAVE_PNG -DHAVE_SMPEG SFont.c
/usr/bin/perl5.8.6 /usr/lib/perl5/vendor_perl/5.8.6/ExtUtils/xsubpp  -typemap /usr/lib/perl5/5.8.6/ExtUtils/typemap -typemap typemap  SDL_perl.xs > SDL_perl.xsc && mv SDL_perl.xsc SDL_perl.c
gcc -c  -I/usr/include/SDL -D_REENTRANT -I/usr/local/include/SDL -I/usr/local/include -I/usr/local/include/smpeg -I/usr/include/SDL -I/usr/include -I/usr/include/smpeg -I/usr/local/include/GL -I/usr/local/include/gl -I/usr/include/GL -I/usr/include/gl -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -march=athlon64 -O2 -fweb -frename-registers -ftracer -pipe   -DVERSION=\"1.20.3\" -DXS_VERSION=\"1.20.3\" -fPIC "-I/usr/lib/perl5/5.8.6/x86_64-linux/CORE"  -DHAVE_GLU_VERSION=13 -DHAVE_GL -DHAVE_GLU  -DHAVE_SDL_GFX -DHAVE_SDL_IMAGE -DHAVE_SDL_MIXER -DHAVE_SDL_NET -DHAVE_SDL_TTF -DHAVE_JPEG -DHAVE_PNG -DHAVE_SMPEG SDL_perl.c
SDL_perl.xs: In function `XS_SDL_NetResolveIP':
SDL_perl.xs:2457: warning: assignment discards qualifiers from pointer target type
{standard input}: Assembler messages:
{standard input}:32495: Error: suffix or operands invalid for `xchg'
{standard input}:32525: Error: suffix or operands invalid for `xchg'
make: *** [SDL_perl.o] Error 1

!!! ERROR: dev-perl/sdl-perl-1.20.3 failed.
!!! Function perl-module_src_compile, Line 65, Exitcode 2
!!! compilation failed
!!! If you need support, post the topmost build error, NOT this status message.


My emerge info:

darkstar lavish # emerge info
Portage 2.0.51-r8 (default-linux/amd64/2004.3, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.10-gentoo-r1 x86_64)
=================================================================
System uname: 2.6.10-gentoo-r1 x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.6.8
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Dec  2 2004, 00:54:12)]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.8.5-r2, 1.5, 1.4_p6, 1.6.3, 1.7.9, 1.9.3
sys-devel/binutils:  2.15.92.0.2-r2
sys-devel/libtool:   1.5.10-r2
virtual/os-headers:  2.6.8.1-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CFLAGS="-march=athlon64 -O2 -fweb -frename-registers -ftracer -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon64 -O2 -fweb -frename-registers -ftracer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox"
GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo http://195.56.77.10/ http://194.149.10.102/ ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X aalib acpi alsa avi bash-completion bitmap-fonts cddb cdr chroot codecs crypt ctype dvd dvdr f77 fam flac ftp gdbm gif glut gmail gpm gtk gtk2 imagemagick imlib ipv6 java jp2 jpeg lzw lzw-tiff mad mikmod motif mozilla moznocompose moznoirc moznomail mp3 mpeg mpeg4 multilib ncurses nls nowin nptl nptlonly ntlm nvidia oggvorbis opengl pam pdflib perl png python readline sdl slang ssl svg tcltk tcpd tiff truetype truetype-fonts type1-fonts usb userlocales xml xml2 xpm xv xvid zlib"
Comment 1 Jure Repinc 2005-01-09 05:54:32 UTC
I have the same problem:


>>> emerge (2 of 7) dev-perl/sdl-perl-1.20.3 to /
>>> md5 src_uri ;-) SDL_perl-1.20.3.tar.gz
>>> Unpacking source...
>>> Unpacking SDL_perl-1.20.3.tar.gz to /var/tmp/portage/sdl-perl-1.20.3/work
>>> Source unpacked.
Enabled GL              yes
Enabled GLU             yes
Enabled SDL_console     no
Enabled SDL_gfx         yes
Enabled SDL_image       yes
Enabled SDL_mixer       yes
Enabled SDL_net         yes
Enabled SDL_ttf         yes
Enabled jpeg            yes
Enabled png             yes
Enabled smpeg           yes
Detecting GLU Version
Checking if your kit is complete...
Looks good
Writing Makefile for SDL_perl
cp lib/SDL/Surface.pm blib/lib/SDL/Surface.pm
cp lib/SDL/Rect.pm blib/lib/SDL/Rect.pm
cp lib/SDL/Palette.pm blib/lib/SDL/Palette.pm
cp lib/SDL/Tool/Graphic.pm blib/lib/SDL/Tool/Graphic.pm
cp lib/SDL/Cursor.pm blib/lib/SDL/Cursor.pm
cp lib/SDL/OpenGL/Cube.pm blib/lib/SDL/OpenGL/Cube.pm
cp lib/SDL/Event.pm blib/lib/SDL/Event.pm
cp lib/SDL/Sound.pm blib/lib/SDL/Sound.pm
cp lib/SDL/Mixer.pm blib/lib/SDL/Mixer.pm
cp lib/SDL/OpenGL.pm blib/lib/SDL/OpenGL.pm
cp lib/SDL.pm blib/lib/SDL.pm
AutoSplitting blib/lib/SDL.pm (blib/lib/auto/SDL)
cp lib/SDL/Timer.pm blib/lib/SDL/Timer.pm
cp lib/SDL/Font.pm blib/lib/SDL/Font.pm
cp lib/SDL/OpenGL/Model.pm blib/lib/SDL/OpenGL/Model.pm
cp lib/SDL/Music.pm blib/lib/SDL/Music.pm
cp lib/SDL/Color.pm blib/lib/SDL/Color.pm
cp lib/SDL/OpenGL/Constants.pm blib/lib/SDL/OpenGL/Constants.pm
cp lib/SDL/Console.pm blib/lib/SDL/Console.pm
cp lib/SDL/Tool/Font.pm blib/lib/SDL/Tool/Font.pm
cp SDL_perl.pm blib/lib/SDL_perl.pm
cp lib/SDL/Cdrom.pm blib/lib/SDL/Cdrom.pm
cp lib/SDL/Shell.pm blib/lib/SDL/Shell.pm
cp lib/SDL/App.pm blib/lib/SDL/App.pm
cp lib/SDL/TTFont.pm blib/lib/SDL/TTFont.pm
cp lib/SDL/Constants.pm blib/lib/SDL/Constants.pm
gcc -c  -I/usr/include/SDL -D_REENTRANT -I/usr/local/include/SDL -I/usr/local/include -I/usr/local/include/smpeg -I/usr/include/SDL -I/usr/include -I/usr/include/smpeg -I/usr/local/include/GL -I/usr/local/include/gl -I/usr/include/GL -I/usr/include/gl -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -march=athlon64 -pipe -O2 -fomit-frame-pointer -frename-registers   -DVERSION=\"1.20.3\" -DXS_VERSION=\"1.20.3\" -fPIC "-I/usr/lib/perl5/5.8.6/x86_64-linux/CORE"  -DHAVE_GLU_VERSION=13 -DHAVE_GL -DHAVE_GLU  -DHAVE_SDL_GFX -DHAVE_SDL_IMAGE -DHAVE_SDL_MIXER -DHAVE_SDL_NET -DHAVE_SDL_TTF -DHAVE_JPEG -DHAVE_PNG -DHAVE_SMPEG SFont.c
/usr/bin/perl5.8.6 /usr/lib/perl5/vendor_perl/5.8.6/ExtUtils/xsubpp  -typemap /usr/lib/perl5/5.8.6/ExtUtils/typemap -typemap typemap  SDL_perl.xs > SDL_perl.xsc && mv SDL_perl.xsc SDL_perl.c
gcc -c  -I/usr/include/SDL -D_REENTRANT -I/usr/local/include/SDL -I/usr/local/include -I/usr/local/include/smpeg -I/usr/include/SDL -I/usr/include -I/usr/include/smpeg -I/usr/local/include/GL -I/usr/local/include/gl -I/usr/include/GL -I/usr/include/gl -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -march=athlon64 -pipe -O2 -fomit-frame-pointer -frename-registers   -DVERSION=\"1.20.3\" -DXS_VERSION=\"1.20.3\" -fPIC "-I/usr/lib/perl5/5.8.6/x86_64-linux/CORE"  -DHAVE_GLU_VERSION=13 -DHAVE_GL -DHAVE_GLU  -DHAVE_SDL_GFX -DHAVE_SDL_IMAGE -DHAVE_SDL_MIXER -DHAVE_SDL_NET -DHAVE_SDL_TTF -DHAVE_JPEG -DHAVE_PNG -DHAVE_SMPEG SDL_perl.c
SDL_perl.xs: In function `XS_SDL_NetResolveIP':
SDL_perl.xs:2457: warning: assignment discards qualifiers from pointer target type
{standard input}: Assembler messages:
{standard input}:29046: Error: suffix or operands invalid for `xchg'
make: *** [SDL_perl.o] Error 1

!!! ERROR: dev-perl/sdl-perl-1.20.3 failed.
!!! Function perl-module_src_compile, Line 65, Exitcode 2
!!! compilation failed
!!! If you need support, post the topmost build error, NOT this status message.


Portage 2.0.51-r8 (default-linux/amd64/2004.3, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.10-gentoo-r1 x86_64)
=================================================================
System uname: 2.6.10-gentoo-r1 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.6.8
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Dec 18 2004, 17:14:05)]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.8.5-r2, 1.5, 1.4_p6, 1.6.3, 1.7.9, 1.9.3
sys-devel/binutils:  2.15.92.0.2-r2
sys-devel/libtool:   1.5.10-r2
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CFLAGS="-march=athlon64 -pipe -O2 -fomit-frame-pointer -frename-registers"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon64 -pipe -O2 -fomit-frame-pointer -frename-registers"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
LDFLAGS=""
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/root/portageoverlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aalib acpi alsa amd64 apm arts avi berkdb bitmap-fonts cdr crypt cups curl dvd dvdr encode esd exif f77 fam fbcon flac foomaticdb fortran ftp gdbm gif gnome gphoto2 gpm gstreamer gtk gtk2 imagemagick imlib ipv6 jabber jp2 jpeg kde libwww lzw lzw-tiff mad mikmod motif mozilla mpeg multilib ncurses nls nptl oggvorbis opengl oss pam pdflib perl png posix ppds python qt quicktime readline samba scanner sdl slang slp speex spell ssl tcltk tcpd tetex theora tifftruetype truetype-fonts type1-fonts unicode usb userlocales videos xml xml2 xmms xosd xpm xrandr xv xvid zlib linguas_en linguas_sl"
Comment 2 SpanKY gentoo-dev 2005-01-09 17:28:48 UTC

*** This bug has been marked as a duplicate of 77300 ***