Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 106088
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Games <games@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Marien Zwart (RETIRED) <marienz@gentoo.org>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
gtetrinet-esd-configure.patch gtetrinet configure.in patch patch Marien Zwart (RETIRED) 2005-09-15 11:14 0000 272 bytes Details | Diff
ebuild.diff patch to gtetrinet-0.7.9.ebuild patch Marien Zwart (RETIRED) 2005-09-15 11:16 0000 702 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 106088 depends on: Show dependency tree
Bug 106088 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2005-09-15 11:12 0000
gtetrinet seems to use some libesound functions but doesn't link properly to
it,
see http://forums.gentoo.org/viewtopic-t-381218-highlight-gtetrinet.html. A
small addition to configure.in makes the problem go away, but since my autoconf
skills are *extremely* limited I suggest someone with more of those skills
confirms this configure.in patch makes sense, and the running of autoreconf
makes sense (esp. if parameters like --force may be needed to make it not break
if parts of the autotools on the system are newer than what used by gtetrinet).

Reproducible: Always
Steps to Reproduce:
1. emerge gtetrinet
2.
3.

Actual Results:  
The following, which also seems to happen for x86 stable users, see the forum
post:

i686-pc-linux-gnu-gcc  -O2 -march=athlon-xp -pipe -fomit-frame-pointer -fweb
-frename-registers   -o gtetrinet  client.o commands.o config.o dialogs.o
fields.o gtetrinet.o misc.o partyline.o sound.o tetrinet.o tetris.o winlist.o
-Wl,--export-dynamic -pthread -lgnomeui-2 -lSM -lICE -lbonoboui-2
-lgnome-keyring -lxml2 -lz -lgnomecanvas-2 -lgnome-2 -lpopt -lart_lgpl_2
-lpangoft2-1.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0
-lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgnomevfs-2 -lbonobo-2
-lgconf-2 -lbonobo-activation -lORBit-2 -lm -lgmodule-2.0 -ldl -lgthread-2.0
-lglib-2.0   
sound.o: In function `sound_cache':
sound.c:(.text+0x50): undefined reference to `esd_sample_free'
sound.o: In function `sound_playsound':
sound.c:(.text+0xc0): undefined reference to `esd_sample_play'
collect2: ld returned 1 exit status
make[3]: *** [gtetrinet] Error 1
make[3]: Leaving directory
`/var/tmp/portage/gtetrinet-0.7.9/work/gtetrinet-0.7.9/src'


Expected Results:  
merged gtetrinet (properly linking to libesd).

Gentoo Base System version 1.12.0_pre8
Portage 1.589-cvs (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r1,
2.6.13-gentoo-r1-m1-initrd i686)
=================================================================
System uname: 2.6.13-gentoo-r1-m1-initrd i686 AMD Athlon(tm) XP 2600+
Python:              dev-lang/python-2.4.1-r1 [2.4.1 (#1, Sep  1 2005,
01:32:07)]
distcc: No such file or directory [disabled]
dev-lang/python:     2.4.1-r1
sys-apps/sandbox:    1.2.13
sys-devel/autoconf:  2.59-r7, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.6
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer -fweb
-frename-registers"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/texmf/web2c
/etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer -fweb
-frename-registers -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig candy ccache collision-protect distlocks noauto
sandbox sfperms strict userpriv usersandbox verify-rdepend"
GENTOO_MIRRORS="http://ftp.easynet.nl/mirror/gentoo/"
LANG="en_US.UTF-8"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/private /usr/local/portage/pub
/usr/local/portage/gentopia"
SYNC="rsync://rsync.nl.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowex 3dnowext X a52 alsa ansi bonobo browserplugin bzip2
cairo
ccache cdr crypt dbus dri eds emacs evo evo2 faad fbcon firefox flac gif glitz
glut gnome gstreamer gtk2 hal javascript jit jpeg kdeenablefinal kqemu libcaca
mad maildir md5sum mikmod mmx mmx2 mmxext mng mono mozdevelop moznomail mozsvg
mpeg ncurses nethack network new-login nfs nls nntp no-helpbrowser no-old-linux
nonfsv4 nptl nptlonly ogg oggvorbis opengl pam png python qemu-fast quicktime
readline real rtc sdl softmmu spell splash sse ssl startup-notification svg
symlink tetex theora truetype truetype-fonts unicode userlocales vorbis
win32codecs xinerama xml2 xv zlib video_cards_radeon userland_GNU kernel_linux
elibc_glibc"
Unset:  ASFLAGS, CBUILD, CTARGET, LC_ALL, LDFLAGS, LINGUAS

Config files: /etc/make.conf, /etc/portage/bashrc, /etc/portage/package.mask,
/etc/portage/package.unmask, /etc/portage/package.keywords

------- Comment #1 From Marien Zwart (RETIRED) 2005-09-15 11:14:07 0000 -------
Created an attachment (id=68523) [details]
gtetrinet configure.in patch

Patch adding ESD_LIBS detected by autoconf magic to LIBS used by the rest of
the build process.

------- Comment #2 From Marien Zwart (RETIRED) 2005-09-15 11:16:04 0000 -------
Created an attachment (id=68524) [details]
patch to gtetrinet-0.7.9.ebuild

This applies the previous patch and runs autoreconf.

------- Comment #3 From SpanKY 2005-09-15 18:12:51 0000 -------
fixed in cvs, thanks

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug