Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 79806 - id3lib gets stuck in an infinate loop
Summary: id3lib gets stuck in an infinate loop
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
: 87548 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-01-27 22:24 UTC by Jeremy Day
Modified: 2005-10-17 14:22 UTC (History)
1 user (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 Jeremy Day 2005-01-27 22:24:18 UTC
When emerging media-libs/id3lib-3.8.3 I get stuck in an infinate loop.

Reproducible: Always
Steps to Reproduce:
1. emerge id3lib

Actual Results:  
/bin/sed: -e expression #1, char 21: Unknown command: `/'
Waiting for c_wrapper.o.lock to be removed
/bin/sed: -e expression #1, char 21: Unknown command: `/'
Waiting for c_wrapper.o.lock to be removed
Waiting for field.o.lock to be removed
Waiting for c_wrapper.o.lock to be removed
Waiting for field.o.lock to be removed
Waiting for c_wrapper.o.lock to be removed
Waiting for field.o.lock to be removed
Waiting for c_wrapper.o.lock to be removed
Waiting for field.o.lock to be removed
Waiting for c_wrapper.o.lock to be removed
Waiting for field.o.lock to be removed
Waiting for c_wrapper.o.lock to be removed
Waiting for field.o.lock to be removed
Waiting for c_wrapper.o.lock to be removed
Waiting for field.o.lock to be removed
Waiting for c_wrapper.o.lock to be removed
Waiting for field.o.lock to be removed
Waiting for c_wrapper.o.lock to be removed
Waiting for field.o.lock to be removed
Waiting for c_wrapper.o.lock to be removed
Waiting for field.o.lock to be removed
Waiting for c_wrapper.o.lock to be removed
Waiting for field.o.lock to be removed
Waiting for c_wrapper.o.lock to be removed
Waiting for field.o.lock to be removed

Expected Results:  
Compiled/installed.

Portage 2.0.51-r15 (default-linux/x86/2004.3, gcc-3.4.3,
glibc-2.3.4.20041102-r0, 2.6.10-gentoo-r6 i686)
=================================================================
System uname: 2.6.10-gentoo-r6 i686 Intel(R) Pentium(R) M processor 1400MHz
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Jan 27 2005, 07:10:27)]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.5, 1.6.3, 1.8.5-r2, 1.4_p6, 1.9.4, 1.7.9
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.4.3-r4, 1.5.10-r3
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium-m -O3 -mmmx -msse -msse2 -fomit-frame-pointer -pipe"
CHOST="i686-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/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mcpu=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="x86 3dnow X aalib acl acpi alsa apache2 apm avi berkdb bitmap-fonts cdr
crypt cups dvd encode esd f77 fam flac font-server foomaticdb fortran gdbm gif
gnome gpg gpm gstreamer gtk gtk2 imagemagick imlib ipv6 jpeg libg++ libwww mad
mikmod motif mozilla mpeg mysql ncurses nls nptl oggvorbis opengl oss pam pcmcia
pdflib perl png python quicktime readline samba sdl slang snmp spell sse sse2
ssl svga tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts xml2 xmms xv
zlib video_cards_radeon"
Unset:  ASFLAGS, CBUILD, CTARGET, LDFLAGS, PORTDIR_OVERLAY
Comment 1 Jeremy Day 2005-01-31 16:43:43 UTC
Note: I just noticed this when I tried to fix it.

root@centrino redhook # emerge id3lib
Calculating dependencies ...done!
>>> emerge (1 of 1) media-libs/id3lib-3.8.3-r3 to /
>>> md5 src_uri ;-) id3lib-3.8.3.tar.gz
>>> Unpacking source...
>>> Unpacking id3lib-3.8.3.tar.gz to /var/tmp/portage/id3lib-3.8.3-r3/work
 * Applying id3lib-3.8.3-zlib.patch ...                                   [ ok ] * Applying id3lib-3.8.3-test_io.patch ...                                [ ok ]You should update your `aclocal.m4' by running aclocal.

Looks like theres a problem with aclocal in the ebuild.
Comment 2 Forza 2005-02-02 15:34:53 UTC
Having the same problem on a fresh gentoo install with gcc 3.4 on a Pentium3.
Comment 3 Robert Metzler 2005-02-18 07:12:32 UTC
I had the same Problem.

emerge id3lib worked fine after i switched to :
gcc-config gcc-config i686-pc-linux-gnu-3.3.4

Kinda workaround.
Comment 4 Jeremy Day 2005-02-19 03:34:42 UTC
I fixed the problem, there was a ^] in the .ebuild that just needed to be removed iirc. Was told this was a old resolved bug.
Comment 5 Stefano Ferrari 2005-03-19 12:50:28 UTC
While emerging media-libs/id3lib-3.8.3-r3 I'm having some errors.
At beginning of ./confgure , I also get this line:

You should update your `aclocal.m4' by running aclocal.


During the configure, I get these lines:

./configure: line 22803: ID3_CXX_PORTABILITY: command not found
./configure: line 22805: ID3_CXX_WARNINGS: command not found
./configure: line 22814: ID3_DEBUG: command not found
./configure: line 22815: ID3_UNICODE: command not found


During make:

Making all in src
make[2]: Entering directory `/var/tmp/portage/id3lib-3.8.3-r3/work/id3lib-3.8.3/src'
source='c_wrapper.cpp' object='c_wrapper.lo' libtool=yes \
depfile='.deps/c_wrapper.Plo' tmpdepfile='.deps/c_wrapper.TPlo' \
depmode=gcc3 /bin/sh ../depcomp \
/bin/sh ../libtool --mode=compile i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include/id3 -I../include   -Wno-deprecated  -O2 -mcpu=i686 -pipe -c -o c_wrapper.lo `test -f 'c_wrapper.cpp' || echo './'`c_wrapper.cpp
source='field.cpp' object='field.lo' libtool=yes \
depfile='.deps/field.Plo' tmpdepfile='.deps/field.TPlo' \
depmode=gcc3 /bin/sh ../depcomp \
/bin/sh ../libtool --mode=compile i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include/id3 -I../include   -Wno-deprecated  -O2 -mcpu=i686 -pipe -c -o field.lo `test -f 'field.cpp' || echo './'`field.cpp
Waiting for field.o.lock to be removed
Waiting for c_wrapper.o.lock to be removed
Waiting for field.o.lock to be removed
Waiting for c_wrapper.o.lock to be removed
Waiting for field.o.lock to be removed
Waiting for c_wrapper.o.lock to be removed


I got some online help and tried to add --disable-libtool-locking to the ./configure , and this was the difference:

Making all in src
make[2]: Entering directory `/var/tmp/portage/id3lib-3.8.3-r3/work/id3lib-3.8.3/src'
source='c_wrapper.cpp' object='c_wrapper.lo' libtool=yes \
depfile='.deps/c_wrapper.Plo' tmpdepfile='.deps/c_wrapper.TPlo' \
depmode=gcc3 /bin/sh ../depcomp \
/bin/sh ../libtool --mode=compile i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include/id3 -I../include   -Wno-deprecated  -O2 -mcpu=i686 -pipe -c -o c_wrapper.lo `test -f 'c_wrapper.cpp' || echo './'`c_wrapper.cpp
Waiting for c_wrapper.o.lock to be removed
Waiting for c_wrapper.o.lock to be removed
Waiting for c_wrapper.o.lock to be removed


On my gentoo box, I'm using gcc (GCC) 3.4.3-20050110 (Gentoo Linux 3.4.3.20050110, ssp-3.4.3.20050110-0, pie-8.7.7)
Comment 6 Michael Hampicke 2005-04-01 05:27:50 UTC
*** Bug 87548 has been marked as a duplicate of this bug. ***
Comment 7 Bernhard 2005-04-11 09:20:59 UTC
I have the exact same problem, including aclocal.m4 message, command not found messages during .config and loop due to not removed locks.

Is the "resolved" status premature or did I miss something about how to fix/workaround? I don't have any gcc 3.3.x on my system...

Cheers,

Burnce

Package I was installing:

media-libs/id3lib-3.8.3-r3


My emerge info:

Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.4.3-20050110, glibc-2.3.4.20050125-r1, 2.6.10-gentoo-r5 i686)
=================================================================
System uname: 2.6.10-gentoo-r5 i686 AMD Athlon(TM) XP 2800+
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb  7 2005, 10:37:45)]
dev-lang/python:     2.3.4-r1
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r7
sys-devel/libtool:   1.5.14
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer -Wl,--as-needed"
CHOST="i686-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=athlon-xp -O3 -pipe -fomit-frame-pointer -Wl,--as-needed"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distcc distlocks fixpackages sandbox sfperms"
GENTOO_MIRRORS="ftp://sunsite.cnlab-switch.ch/mirror/gentoo/ ftp://ftp.solnet.ch/mirror/Gentoo http://gentoo.osuosl.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow 3dnowex X aalib acl alsa apache2 apm arts atlas avi berkdb bidi bitmap-fonts bonobo bzlib c++ cdr cjk crypt cups curl divx4linux emacs emboss encode esd evo fam fbcon flac foomaticdb fortran freetype freetype2 gd gdbm gif gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml imagemagick imap imlib ipv6 java jikes jpeg junit latex ldap libg++ libwww mad mikmod mmx motif mozilla moznocompose moznoirc moznomail mozsvg mozxmlterm mp3 mpeg mpeg4 mplayer mule nas ncurses nls nptl nptlonly odbc offensive oggvorbis opengl oss pam pdflib perl plotutils png ppds python quicktime readline real ruby samba sdl slp spell sse ssl svg svga tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts unicode usb wmf wxwindows x86 xemacs xine xml xml2 xmms xscreesaver xsl xslt xv zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 8 Michael Hampicke 2005-04-11 10:07:37 UTC
i merged the ebuild manually:

server ~ # ebuild /usr/portage/media-libs/id3lib/id3lib-3.8.3-r3.ebuild unpack

server ~ # cd /var/tmp/portage/id3lib-3.8.3-r3/work/id3lib-3.8.3/

server ~ # ./configure

server ~ # make

server ~ # touch .compiled

server ~ # ebuild /usr/portage/media-libs/id3lib/id3lib-3.8.3-r3.ebuild install

server ~ # ebuild /usr/portage/media-libs/id3lib/id3lib-3.8.3-r3.ebuild merge
Comment 9 runlevel0 2005-10-17 14:09:59 UTC
The bug persists in id3lib-3.8.3-r4

Comment 10 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-10-17 14:22:32 UTC
You have some CFLAGS/CXXFLAGS that throws a warning configure libtool checks 
and breaks things.