Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 167288 - games-action/chromium-0.9.12-r6 compile error
Summary: games-action/chromium-0.9.12-r6 compile error
Status: RESOLVED DUPLICATE of bug 155195
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: AMD64 Linux
: High trivial (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-16 23:08 UTC by Farid
Modified: 2007-02-17 08:15 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 Farid 2007-02-16 23:08:40 UTC
Compile of chromium fails.


Reproducible: Always

Steps to Reproduce:
1.emerge chromium
2.
3.

Actual Results:  
                 from NCString.h:4,
                 from NCString.cpp:1:
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/include/g++-v4/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <iostream> instead of the deprecated header <iostream.h>. To disable this warning use -Wno-deprecated.
x86_64-pc-linux-gnu-g++ -c -pipe   `/usr/bin/sdl-config --cflags` -DUSE_SDL `/usr/bin/smpeg-config --cflags` -march=k8 -O2 -pipe -fno-ident -DPKGDATADIR='"/usr/share/games/chromium"' -DPKGBINDIR='"/usr/games/bin"' -DAUDIO_OPENAL -D_REENTRANT -I../support/include -I../support/glpng/include -I/usr/X11R6/include -o MainToolkit.o MainToolkit.cpp
x86_64-pc-linux-gnu-g++ -c -pipe   `/usr/bin/sdl-config --cflags` -DUSE_SDL `/usr/bin/smpeg-config --cflags` -march=k8 -O2 -pipe -fno-ident -DPKGDATADIR='"/usr/share/games/chromium"' -DPKGBINDIR='"/usr/games/bin"' -DAUDIO_OPENAL -D_REENTRANT -I../support/include -I../support/glpng/include -I/usr/X11R6/include -o MainGLUT.o MainGLUT.cpp
x86_64-pc-linux-gnu-g++ -c -pipe   `/usr/bin/sdl-config --cflags` -DUSE_SDL `/usr/bin/smpeg-config --cflags` -march=k8 -O2 -pipe -fno-ident -DPKGDATADIR='"/usr/share/games/chromium"' -DPKGBINDIR='"/usr/games/bin"' -DAUDIO_OPENAL -D_REENTRANT -I../support/include -I../support/glpng/include -I/usr/X11R6/include -o MainSDL.o MainSDL.cpp
x86_64-pc-linux-gnu-g++ -c -pipe   `/usr/bin/sdl-config --cflags` -DUSE_SDL `/usr/bin/smpeg-config --cflags` -march=k8 -O2 -pipe -fno-ident -DPKGDATADIR='"/usr/share/games/chromium"' -DPKGBINDIR='"/usr/games/bin"' -DAUDIO_OPENAL -D_REENTRANT -I../support/include -I../support/glpng/include -I/usr/X11R6/include -o MainSDL_Event.o MainSDL_Event.cpp
x86_64-pc-linux-gnu-g++ -c -pipe   `/usr/bin/sdl-config --cflags` -DUSE_SDL `/usr/bin/smpeg-config --cflags` -march=k8 -O2 -pipe -fno-ident -DPKGDATADIR='"/usr/share/games/chromium"' -DPKGBINDIR='"/usr/games/bin"' -DAUDIO_OPENAL -D_REENTRANT -I../support/include -I../support/glpng/include -I/usr/X11R6/include -o MainGL.o MainGL.cpp
x86_64-pc-linux-gnu-g++ -c -pipe   `/usr/bin/sdl-config --cflags` -DUSE_SDL `/usr/bin/smpeg-config --cflags` -march=k8 -O2 -pipe -fno-ident -DPKGDATADIR='"/usr/share/games/chromium"' -DPKGBINDIR='"/usr/games/bin"' -DAUDIO_OPENAL -D_REENTRANT -I../support/include -I../support/glpng/include -I/usr/X11R6/include -o MenuGL.o MenuGL.cpp
x86_64-pc-linux-gnu-g++ -c -pipe   `/usr/bin/sdl-config --cflags` -DUSE_SDL `/usr/bin/smpeg-config --cflags` -march=k8 -O2 -pipe -fno-ident -DPKGDATADIR='"/usr/share/games/chromium"' -DPKGBINDIR='"/usr/games/bin"' -DAUDIO_OPENAL -D_REENTRANT -I../support/include -I../support/glpng/include -I/usr/X11R6/include -o PowerUps.o PowerUps.cpp
x86_64-pc-linux-gnu-g++ -c -pipe   `/usr/bin/sdl-config --cflags` -DUSE_SDL `/usr/bin/smpeg-config --cflags` -march=k8 -O2 -pipe -fno-ident -DPKGDATADIR='"/usr/share/games/chromium"' -DPKGBINDIR='"/usr/games/bin"' -DAUDIO_OPENAL -D_REENTRANT -I../support/include -I../support/glpng/include -I/usr/X11R6/include -o ScreenItem.o ScreenItem.cpp
x86_64-pc-linux-gnu-g++ -c -pipe   `/usr/bin/sdl-config --cflags` -DUSE_SDL `/usr/bin/smpeg-config --cflags` -march=k8 -O2 -pipe -fno-ident -DPKGDATADIR='"/usr/share/games/chromium"' -DPKGBINDIR='"/usr/games/bin"' -DAUDIO_OPENAL -D_REENTRANT -I../support/include -I../support/glpng/include -I/usr/X11R6/include -o ScreenItemAdd.o ScreenItemAdd.cpp
x86_64-pc-linux-gnu-g++ -c -pipe   `/usr/bin/sdl-config --cflags` -DUSE_SDL `/usr/bin/smpeg-config --cflags` -march=k8 -O2 -pipe -fno-ident -DPKGDATADIR='"/usr/share/games/chromium"' -DPKGBINDIR='"/usr/games/bin"' -DAUDIO_OPENAL -D_REENTRANT -I../support/include -I../support/glpng/include -I/usr/X11R6/include -o StatusDisplay.o StatusDisplay.cpp
x86_64-pc-linux-gnu-g++ -c -pipe   `/usr/bin/sdl-config --cflags` -DUSE_SDL `/usr/bin/smpeg-config --cflags` -march=k8 -O2 -pipe -fno-ident -DPKGDATADIR='"/usr/share/games/chromium"' -DPKGBINDIR='"/usr/games/bin"' -DAUDIO_OPENAL -D_REENTRANT -I../support/include -I../support/glpng/include -I/usr/X11R6/include -o TexFont.o TexFont.cpp
x86_64-pc-linux-gnu-g++ -c -pipe   `/usr/bin/sdl-config --cflags` -DUSE_SDL `/usr/bin/smpeg-config --cflags` -march=k8 -O2 -pipe -fno-ident -DPKGDATADIR='"/usr/share/games/chromium"' -DPKGBINDIR='"/usr/games/bin"' -DAUDIO_OPENAL -D_REENTRANT -I../support/include -I../support/glpng/include -I/usr/X11R6/include -o main.o main.cpp
x86_64-pc-linux-gnu-g++  -o chromium textGeometryChromium.o textGeometryBSU.o Audio.o AudioOpenAL.o AudioSDLMixer.o Ammo.o Config.o EnemyAircraft.o EnemyAircraft_Straight.o EnemyAircraft_Omni.o EnemyAircraft_RayGun.o EnemyAircraft_Tank.o EnemyAircraft_Gnat.o EnemyAircraft_Boss00.o EnemyAircraft_Boss01.o EnemyAmmo.o EnemyFleet.o Explosions.o HeroAircraft.o HeroAmmo.o Global.o Ground.o GroundMetal.o GroundMetalSegment.o GroundSea.o GroundSeaSegment.o GroundSegment.o HiScore.o NCString.o MainToolkit.o MainGLUT.o MainSDL.o MainSDL_Event.o MainGL.o MenuGL.o PowerUps.o ScreenItem.o ScreenItemAdd.o StatusDisplay.o TexFont.o main.o   -L../support/glpng/lib -L/usr/lib -L/usr/X11R6/lib -L/usr/local/lib -lglpng -lGL -lGLU -lm -lopenal -lalut `/usr/bin/sdl-config --libs` `/usr/bin/smpeg-config --libs` -L/usr/X11R6/lib -lvorbis -lvorbisfile
/usr/lib/libSDL.so: undefined reference to `caca_end'
/usr/lib/libSDL.so: undefined reference to `caca_refresh'
/usr/lib/libSDL.so: undefined reference to `caca_get_width'
/usr/lib/libSDL.so: undefined reference to `caca_draw_bitmap'
/usr/lib/libSDL.so: undefined reference to `caca_init'
/usr/lib/libSDL.so: undefined reference to `caca_get_height'
/usr/lib/libSDL.so: undefined reference to `caca_create_bitmap'
/usr/lib/libSDL.so: undefined reference to `caca_free_bitmap'
collect2: ld returned 1 exit status
make[1]: *** [chromium] Error 1
make[1]: Leaving directory `/var/tmp/portage/games-action/chromium-0.9.12-r6/work/Chromium-0.9/src'
make: *** [src] Error 2

!!! ERROR: games-action/chromium-0.9.12-r6 failed.
Call stack:
  ebuild.sh, line 1614:   Called dyn_compile
  ebuild.sh, line 971:   Called qa_call 'src_compile'
  environment, line 3794:   Called src_compile
  chromium-0.9.12-r6.ebuild, line 76:   Called die

!!! emake failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/tmp/portage/games-action/chromium-0.9.12-r6/temp/build.log'.



# emerge -pv chromium

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

Calculating dependencies... done!
[ebuild  N    ] games-action/chromium-0.9.12-r6  USE="qt3 sdl vorbis" 0 kB

Total: 1 package (1 new), Size of downloads: 0 kB
Comment 1 Farid 2007-02-16 23:10:01 UTC
I forgot...

# emerge --info
Portage 2.1.2-r9 (default-linux/amd64/2006.1/desktop, gcc-4.1.1, glibc-2.5-r0, 2.6.20-gentoo x86_64)
=================================================================
System uname: 2.6.20-gentoo x86_64 AMD Sempron(tm) Processor 2800+
Gentoo Base System release 1.12.9
Timestamp of tree: Fri, 16 Feb 2007 16:20:01 +0000
dev-java/java-config: 1.3.7, 2.0.31
dev-lang/python:     2.3.5-r3, 2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.20
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe -fno-ident"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib64/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-march=k8 -O2 -pipe -fno-ident"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer prelink sandbox sfperms strict"
GENTOO_MIRRORS="ftp://trumpetti.atm.tut.fi/gentoo/"
LANG="C"
LINGUAS="en en_GB sv"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X aac acpi alsa amd64 apm audiofile bash-completion berkdb bitmap-fonts bzip2 cairo cdr cli cracklib crypt dbus directfb divx dlloader dri dvd dvdr dvdread eds emboss encode fam fbcon ffmpeg firefox fortran ftp gif glitz gmedia gpm gstreamer gtk gtk2 hal hddtemp iconv icq imagemagick imlib isdnlog java joystick jpeg jpeg2k kde libcaca libg++ lirc lm_sensors logrotate mad menubar midi mikmod mozilla mp3 mpeg msn ncurses neXt nls nptl nptlonly nsplugin ntfs nvidia offensive ogg openal opengl osc pam panel-plugin pcre pdf pdflib perl pic png ppds pppd python qt qt3 qt4 quicktime rar readline realmedia reflection reiserfs samba scanner sdl session spell spl ssl tcltk tcpd tiff truetype truetype-fonts type1-fonts udev unicode usb v4l vcd vi vim vorbis wma wmf wmp xine xml xorg xv xvid zip zlib" ALSA_CARDS="emu10k1 usb-audio bt87x" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_GB sv" LIRC_DEVICES="alsa_usb" USERLAND="GNU" VIDEO_CARDS="nvidia vesa fbdev"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Farid 2007-02-16 23:27:57 UTC
I solved the problem!
HAd some other games not compiling because sdl-mixer did not compile.
Found in the forums that re-emerging libsdl is a good thing.
So I emerged libsdl and sdl-mixer, to get chromium to compile.

Maybe some kind of check is needed for the chromium ebuild to see if sdl is working?
Comment 3 Mr. Bones. (RETIRED) gentoo-dev 2007-02-17 04:34:09 UTC
You didn't revdep-rebuild when you were supposed to.
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2007-02-17 08:15:10 UTC
(In reply to comment #3)
> You didn't revdep-rebuild when you were supposed to.
> 

Unfortunately revdep-rebuild miserably fails to detect this. 
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2007-02-17 08:15:20 UTC

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