<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>104952</bug_id>
          
          <creation_ts>2005-09-05 14:30 0000</creation_ts>
          <short_desc>gnome-games-2.10.1 does not compile</short_desc>
          <delta_ts>2005-10-12 15:08:29 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>GNOME</component>
          <version>unspecified</version>
          <rep_platform>AMD64</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>anakin.skyw@gmx.de</reporter>
          <assigned_to>gnome@gentoo.org</assigned_to>
          <cc>dominik@kozaczko.info</cc>

      

      
          <long_desc isprivate="0">
            <who>anakin.skyw@gmx.de</who>
            <bug_when>2005-09-05 14:30:25 0000</bug_when>
            <thetext>if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I..
-DGNOMELOCALEDIR=\&quot;&quot;/usr/share/locale&quot;\&quot; -DDATADIR=\&quot;&quot;/usr/share&quot;\&quot;
-DLIBDIR=\&quot;&quot;/usr/lib64&quot;\&quot; -DGNOMEPIXMAPDIR=\&quot;&quot;/usr/share/pixmaps&quot;\&quot;
-DCAVESDIR=\&quot;&quot;/usr/share/gnome-stones&quot;\&quot; -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 &quot;.deps/sound.Tpo&quot; \
  -c -o sound.o `test -f &apos;sound.c&apos; || echo &apos;./&apos;`sound.c; \
then mv -f &quot;.deps/sound.Tpo&quot; &quot;.deps/sound.Po&quot;; \
else rm -f &quot;.deps/sound.Tpo&quot;; 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 &apos;s^\@icondir\@^/usr/share/pixmaps^g&apos; &lt; ./gnome-stones.keys.in &gt;
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: &quot;NO_ESD&quot; redefined
&lt;command line&gt;: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&apos;
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&apos;
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/gnome-games-2.10.1/work/gnome-games-2.10.1&apos;
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=&quot;amd64 ~amd64&quot;
AUTOCLEAN=&quot;yes&quot;
CBUILD=&quot;x86_64-pc-linux-gnu&quot;
CFLAGS=&quot;-O2 -march=k8 -pipe&quot;
CHOST=&quot;x86_64-pc-linux-gnu&quot;
CONFIG_PROTECT=&quot;/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/control&quot;
CONFIG_PROTECT_MASK=&quot;/etc/gconf /etc/terminfo /etc/env.d&quot;
CXXFLAGS=&quot;-O2 -march=k8 -pipe&quot;
DISTDIR=&quot;/usr/portage/distfiles&quot;
FEATURES=&quot;autoconfig distlocks sandbox sfperms strict&quot;
GENTOO_MIRRORS=&quot;http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/&quot;
MAKEOPTS=&quot;-j1&quot;
PKGDIR=&quot;/usr/portage/packages&quot;
PORTAGE_TMPDIR=&quot;/var/tmp&quot;
PORTDIR=&quot;/usr/portage&quot;
SYNC=&quot;rsync://rsync.de.gentoo.org/gentoo-portage&quot;
USE=&quot;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&quot;
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY


Reproducible: Always
Steps to Reproduce:</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>leonardop@gentoo.org</who>
            <bug_when>2005-09-05 15:27:49 0000</bug_when>
            <thetext>Created an attachment (id=67700)
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
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>anakin.skyw@gmx.de</who>
            <bug_when>2005-09-06 11:19:11 0000</bug_when>
            <thetext>Now I get

if x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I..  -I../libgames-support
-DDATADIR=\&quot;&quot;/usr/share&quot;\&quot; -DGNOMELOCALEDIR=\&quot;&quot;/usr/share/locale&quot;\&quot;  -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 &quot;.deps/sound.Tpo&quot; \
  -c -o sound.o `test -f &apos;sound.cpp&apos; || echo &apos;./&apos;`sound.cpp; \
then mv -f &quot;.deps/sound.Tpo&quot; &quot;.deps/sound.Po&quot;; \
else rm -f &quot;.deps/sound.Tpo&quot;; exit 1; \
fi
if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I..  -I../libgames-support
-DDATADIR=\&quot;&quot;/usr/share&quot;\&quot; -DGNOMELOCALEDIR=\&quot;&quot;/usr/share/locale&quot;\&quot;  -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
&quot;.deps/gnome-canvas-pimage.Tpo&quot; \
  -c -o gnome-canvas-pimage.o `test -f &apos;gnome-canvas-pimage.c&apos; || echo
&apos;./&apos;`gnome-canvas-pimage.c; \
then mv -f &quot;.deps/gnome-canvas-pimage.Tpo&quot; &quot;.deps/gnome-canvas-pimage.Po&quot;; \
else rm -f &quot;.deps/gnome-canvas-pimage.Tpo&quot;; exit 1; \
fi
sound.cpp:25:18: esd.h: No such file or directory
sound.cpp: In member function `void Sound::playSound(int)&apos;:
sound.cpp:105: error: `esd_sample_play&apos; 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&apos;
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&apos;
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/gnome-games-2.10.1/work/gnome-games-2.10.1&apos;
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.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>leonardop@gentoo.org</who>
            <bug_when>2005-09-07 12:55:00 0000</bug_when>
            <thetext>Thanks for the help. I&apos;ve been able to test this in a system without esound and
have fixed the patch. It is now included in gnome-games-2.10.1-r1.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>leonardop@gentoo.org</who>
            <bug_when>2005-10-12 15:08:29 0000</bug_when>
            <thetext>*** Bug 109050 has been marked as a duplicate of this bug. ***</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>67700</attachid>
            <date>2005-09-05 15:27 0000</date>
            <desc>gnome-games-2.10.1-esd_checks.patch</desc>
            <filename>gnome-games-2.10.1-esd_checks.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">ZGlmZiAtTnVyZEIgZ25vbWUtZ2FtZXMtMi4xMC4xL2dub21lLXN0b25lcy9zb3VuZC5jIGdub21l
LWdhbWVzLTIuMTAuMS1wYXRjaGVkL2dub21lLXN0b25lcy9zb3VuZC5jCi0tLSBnbm9tZS1nYW1l
cy0yLjEwLjEvZ25vbWUtc3RvbmVzL3NvdW5kLmMJMjAwNC0wNy0xNyAyMzoyNzowNC4wMDAwMDAw
MDAgLTA1MDAKKysrIGdub21lLWdhbWVzLTIuMTAuMS1wYXRjaGVkL2dub21lLXN0b25lcy9zb3Vu
ZC5jCTIwMDUtMDktMDUgMTY6NTI6NDMuMDAwMDAwMDAwIC0wNTAwCkBAIC0yMCw3ICsyMCw5IEBA
CiAgKiBGb3VuZGF0aW9uLCBJbmMuLCA2NzUgTWFzcyBBdmUsIENhbWJyaWRnZSwgTUEgMDIxMzks
IFVTQS4KICAqLwogCi0jaW5jbHVkZSA8ZXNkLmg+CisjaWZuZGVmIE5PX0VTRAorIyBpbmNsdWRl
IDxlc2QuaD4KKyNlbmRpZgogI2luY2x1ZGUgPGdub21lLmg+CiAjaW5jbHVkZSAic291bmQuaCIK
IApkaWZmIC1OdXJkQiBnbm9tZS1nYW1lcy0yLjEwLjEvZ25vbWV0cmlzL3NvdW5kLmNwcCBnbm9t
ZS1nYW1lcy0yLjEwLjEtcGF0Y2hlZC9nbm9tZXRyaXMvc291bmQuY3BwCi0tLSBnbm9tZS1nYW1l
cy0yLjEwLjEvZ25vbWV0cmlzL3NvdW5kLmNwcAkyMDA0LTEwLTE5IDAxOjU3OjMzLjAwMDAwMDAw
MCAtMDUwMAorKysgZ25vbWUtZ2FtZXMtMi4xMC4xLXBhdGNoZWQvZ25vbWV0cmlzL3NvdW5kLmNw
cAkyMDA1LTA5LTA1IDE2OjUzOjI1LjAwMDAwMDAwMCAtMDUwMApAQCAtMjEsNyArMjEsOSBAQAog
ICovCiAKICNpbmNsdWRlIDxnbm9tZS5oPgotI2luY2x1ZGUgPGVzZC5oPgorI2lmbmRlZiBOT19F
U0QKKyMgaW5jbHVkZSA8ZXNkLmg+CisjZW5kaWYKIAogI2luY2x1ZGUgInNvdW5kLmgiCiAK
</data>        

          </attachment>
    </bug>

</bugzilla>