if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I..
-DGNOMELOCALEDIR=\""/usr/share/locale"\" -DDATADIR=\""/usr/share"\"
-DLIBDIR=\""/usr/lib64"\" -DGNOMEPIXMAPDIR=\""/usr/share/pixmaps"\"
-DCAVESDIR=\""/usr/share/gnome-stones"\" -I../libgames-support -std=gnu89
-DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -DORBIT2=1 -pthread
-I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libxml2
-I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0
-I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/glib-2.0
-I/usr/lib64/glib-2.0/include -I/usr/include/libgnome-2.0
-I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/gconf/2
-I/usr/include/gnome-vfs-2.0 -I/usr/lib64/gnome-vfs-2.0/include
-I/usr/include/bonobo-activation-2.0 -I/usr/include/libgnomeui-2.0
-I/usr/include/libgnomecanvas-2.0 -I/usr/include/libart-2.0
-I/usr/include/libbonoboui-2.0 -I/usr/include/gnome-vfs-module-2.0
-I/usr/include/librsvg-2 -I../libgames-support -Wall -Wmissing-prototypes
-O2 -march=k8 -pipe -DNO_HOWL -DNO_ESD -MT sound.o -MD -MP -MF ".deps/sound.Tpo" \
-c -o sound.o `test -f 'sound.c' || echo './'`sound.c; \
then mv -f ".deps/sound.Tpo" ".deps/sound.Po"; \
else rm -f ".deps/sound.Tpo"; exit 1; \
fi
sound.c:23:17: esd.h: No such file or directory
LC_ALL=C ../intltool-merge -d -u -c ../po/.intltool-merge-cache ../po
default.caves.in default.caves
Found cached translation database
Merging translations into default.caves.
LC_ALL=C ../intltool-merge -d -u -c ../po/.intltool-merge-cache ../po
tutorial.caves.in tutorial.caves
Found cached translation database
Merging translations into tutorial.caves.
LC_ALL=C ../intltool-merge -d -u -c ../po/.intltool-merge-cache ../po
gnomekoban.caves.in gnomekoban.caves
Found cached translation database
Merging translations into gnomekoban.caves.
LC_ALL=C ../intltool-merge -d -u -c ../po/.intltool-merge-cache ../po
atari.caves.in atari.caves
Found cached translation database
Merging translations into atari.caves.
LC_ALL=C ../intltool-merge -d -u -c ../po/.intltool-merge-cache ../po
gnome-stones.desktop.in gnome-stones.desktop
Found cached translation database
Merging translations into gnome-stones.desktop.
sed -e 's^\@icondir\@^/usr/share/pixmaps^g' < ./gnome-stones.keys.in >
gnome-stones.keys
LC_ALL=C ../intltool-merge -s -u -c ../po/.intltool-merge-cache ../po
gnome-stones.schemas.in gnome-stones.schemas
Found cached translation database
Merging translations into gnome-stones.schemas.
sound.c:28:1: warning: "NO_ESD" redefined
<command line>:13:1: warning: this is the location of the previous definition
make[3]: *** [sound.o] Error 1
make[3]: Leaving directory
`/var/tmp/portage/gnome-games-2.10.1/work/gnome-games-2.10.1/gnome-stones'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/var/tmp/portage/gnome-games-2.10.1/work/gnome-games-2.10.1/gnome-stones'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/gnome-games-2.10.1/work/gnome-games-2.10.1'
make: *** [all] Error 2
!!! ERROR: gnome-extra/gnome-games-2.10.1 failed.
!!! Function gnome2_src_compile, Line 48, Exitcode 2
!!! compile failure
!!! If you need support, post the topmost build error, NOT this status message.
$ emerge --info
Portage 2.0.51.22-r2 (default-linux/amd64/2005.1, gcc-3.4.4, glibc-2.3.5-r1,
2.6.13-gentoo x86_64)
=================================================================
System uname: 2.6.13-gentoo x86_64 AMD Athlon(tm) 64 Processor 3700+
Gentoo Base System version 1.12.0_pre8
dev-lang/python: 2.3.5, 2.4.1-r1
sys-apps/sandbox: 1.2.12
sys-devel/autoconf: 2.13, 2.59-r7
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6
sys-devel/binutils: 2.16.1
sys-devel/libtool: 1.5.20
virtual/os-headers: 2.6.11-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=k8 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=k8 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="amd64 X alsa avi berkdb bitmap-fonts cjk crypt cups encode fam foomaticdb
fortran gif gpm gstreamer gtk gtk2 guile imlib ipv6 java jpeg lzw lzw-tiff mp3
mpeg ncurses nls nptl nptlonly opengl pam pdflib perl png python quicktime
readline sdl spell ssl tcpd tiff truetype-fonts type1-fonts unicode usb
userlocales xine xml xml2 xmms xpm xv zlib userland_GNU kernel_linux elibc_glibc"
Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Reproducible: Always
Steps to Reproduce:
Created an attachment (id=67700) [details]
gnome-games-2.10.1-esd_checks.patch
Thank you for reporting this problem. This looks like an upstream issue. Could
you please try this patch?
To use it, you can copy the gnome-games ebuild to an overlay, put the patch
under ${overlay}/gnome-extra/gnome-games/files and then add something like this
in src_unpack():
epatch ${FILESDIR}/${P}-esd_checks.patch
Now I get
if x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../libgames-support
-DDATADIR=\""/usr/share"\" -DGNOMELOCALEDIR=\""/usr/share/locale"\" -DXTHREADS
-D_REENTRANT -DXUSE_MTSAFE_API -DORBIT2=1 -pthread -I/usr/include/libglade-2.0
-I/usr/include/gtk-2.0 -I/usr/include/libxml2 -I/usr/lib64/gtk-2.0/include
-I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2
-I/usr/include/freetype2/config -I/usr/include/glib-2.0
-I/usr/lib64/glib-2.0/include -I/usr/include/libgnome-2.0
-I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/gconf/2
-I/usr/include/gnome-vfs-2.0 -I/usr/lib64/gnome-vfs-2.0/include
-I/usr/include/bonobo-activation-2.0 -I/usr/include/libgnomeui-2.0
-I/usr/include/libgnomecanvas-2.0 -I/usr/include/libart-2.0
-I/usr/include/libbonoboui-2.0 -I/usr/include/gnome-vfs-module-2.0
-I/usr/include/librsvg-2 -I../libgames-support -O2 -march=k8 -pipe -Wall
-Wno-unused -Wshadow -Woverloaded-virtual -O2 -march=k8 -pipe -MT sound.o -MD
-MP -MF ".deps/sound.Tpo" \
-c -o sound.o `test -f 'sound.cpp' || echo './'`sound.cpp; \
then mv -f ".deps/sound.Tpo" ".deps/sound.Po"; \
else rm -f ".deps/sound.Tpo"; exit 1; \
fi
if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../libgames-support
-DDATADIR=\""/usr/share"\" -DGNOMELOCALEDIR=\""/usr/share/locale"\" -std=gnu89
-DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -DORBIT2=1 -pthread
-I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libxml2
-I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0
-I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/glib-2.0
-I/usr/lib64/glib-2.0/include -I/usr/include/libgnome-2.0
-I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/gconf/2
-I/usr/include/gnome-vfs-2.0 -I/usr/lib64/gnome-vfs-2.0/include
-I/usr/include/bonobo-activation-2.0 -I/usr/include/libgnomeui-2.0
-I/usr/include/libgnomecanvas-2.0 -I/usr/include/libart-2.0
-I/usr/include/libbonoboui-2.0 -I/usr/include/gnome-vfs-module-2.0
-I/usr/include/librsvg-2 -I../libgames-support -Wall -Wmissing-prototypes -O2
-march=k8 -pipe -DNO_HOWL -DNO_ESD -MT gnome-canvas-pimage.o -MD -MP -MF
".deps/gnome-canvas-pimage.Tpo" \
-c -o gnome-canvas-pimage.o `test -f 'gnome-canvas-pimage.c' || echo
'./'`gnome-canvas-pimage.c; \
then mv -f ".deps/gnome-canvas-pimage.Tpo" ".deps/gnome-canvas-pimage.Po"; \
else rm -f ".deps/gnome-canvas-pimage.Tpo"; exit 1; \
fi
sound.cpp:25:18: esd.h: No such file or directory
sound.cpp: In member function `void Sound::playSound(int)':
sound.cpp:105: error: `esd_sample_play' undeclared (first use this function)
sound.cpp:105: error: (Each undeclared identifier is reported only once for each
function it appears in.)
LC_ALL=C ../intltool-merge -d -u -c ../po/.intltool-merge-cache ../po
gnometris.desktop.in gnometris.desktop
Found cached translation database
Merging translations into gnometris.desktop.
LC_ALL=C ../intltool-merge -s -u -c ../po/.intltool-merge-cache ../po
gnometris.schemas.in gnometris.schemas
Found cached translation database
Merging translations into gnometris.schemas.
make[3]: *** [sound.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory
`/var/tmp/portage/gnome-games-2.10.1/work/gnome-games-2.10.1/gnometris'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/var/tmp/portage/gnome-games-2.10.1/work/gnome-games-2.10.1/gnometris'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/gnome-games-2.10.1/work/gnome-games-2.10.1'
make: *** [all] Error 2
!!! ERROR: gnome-extra/gnome-games-2.10.1 failed.
!!! Function gnome2_src_compile, Line 48, Exitcode 2
!!! compile failure
!!! If you need support, post the topmost build error, NOT this status message.