Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 66593

Summary: Flac 1.1.1 ebuild breaks k3b flac decompression plugin
Product: Gentoo Linux Reporter: Frank Russo <russofris>
Component: Current packagesAssignee: Gentoo KDE team <kde>
Status: RESOLVED INVALID    
Severity: normal CC: sound, toojays
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
URL: http://forums.gentoo.org/viewtopic.php?p=1620512#1620512
Whiteboard:
Package list:
Runtime testing required: ---

Description Frank Russo 2004-10-06 19:09:51 UTC
After emerging flac 1.1.1, k3b's flac decompression filter fails to show up in the k3b setup configuration screen.  Re-emerging k3b does not solve the problem.    

Current workaround is to e-emerging flac 1.1.0rc2 and then k3b. 

Reproducible: Always
Steps to Reproduce:
1. Install flac 1.1.0rc2
2. Install k3b
3. baseline (flac decompressor works in k3b)
4: Install flac 1.1.1
5: regress.  K3b reports invalid file format.  flac does not show up in decompressors list.

Actual Results:  
dragging flac audio files to a k3b audio CD reports that flac is an unsupported
format

Expected Results:  
./usr/lib/kde3/libk3bflacdecoder.la
./usr/lib/kde3/libk3bflacdecoder.so
./usr/share/apps/k3b/plugins/k3bflacdecoder.plugin

These files should be present, and the plugin should work as intended

Portage 2.0.51_rc7 (default-x86-1.4, gcc-3.4.2, glibc-2.3.4.20040808-r0,
2.6.8-gentoo-r4 i686)
=================================================================
System uname: 2.6.8-gentoo-r4 i686 AMD Athlon(TM) XP 1700+
Gentoo Base System version 1.5.3
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.90.0.1.1-r3
Headers:  sys-kernel/linux26-headers-2.6.8.1
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O3 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.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/mozilla/defaults/pref
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distlocks sandbox"
GENTOO_MIRRORS="http://gentoo.osuosl.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X alsa apm arts audiofile avi berkdb bitmap-fonts bonobo cdparanoia
cdr crypt cups divx4linux dvd dvdread encode esd faac faad flac foomaticdb gdbm
gif gnome gphoto2 gpm gtk gtk2 gtkhtml icc imlib java joystick jpeg jpeg2k kde
libg++ libwww mad mikmod mmx motif mozilla mpeg ncurses nls oggvorbis opengl oss
pam pdflib perl png python qt quicktime readline scanner sdl slang spell sse ssl
svga tcpd theora tiff truetype v4l2 wxwindows x86 xine xml2 xmms xprint xv xvid
zlib"
Comment 1 Gavrila 2004-10-11 11:19:48 UTC
confirmed here... really annoying.

Is it a gentoo bug or upstream bug?
Comment 2 Gavrila 2004-10-11 12:19:46 UTC
since I think that rather than a Gentoo issue it is a k3b issue, I reported the bug upstream, you can follow it here 

http://bugs.kde.org/show_bug.cgi?id=91135
Comment 3 John Steele Scott 2004-10-12 03:21:33 UTC
Hard for me to look into this atm because flac-1.1.1 currently doesn't build on ppc. 

If you haven't already done so, does upgrading to id3lib-3.8.3-r3 fix the problem?
Comment 4 John Steele Scott 2004-10-17 15:58:58 UTC
Okay, I have fixed flac-1.1.1 on ppc, but I can't reproduce this bug. I still think it might be a Gentoo bug, not a k3b bug.

Are you saying that /usr/lib/kde3/libk3bflacdecoder.so does not get installed/created? If it does get installed, can you show the output of "ldd /usr/lib/kde3/libk3bflacdecoder.so"?
Comment 5 Frank Russo 2004-10-19 17:52:43 UTC
Here's the order...

K3b and flac 1.1.0rc2 upgraded to 1.1.1
[code]h2so4 ~ # ldd /usr/lib/kde3/libk3bflacdecoder.so
        linux-gate.so.1 =>  (0xffffe000)
        libFLAC++.so.2 => /usr/lib/libFLAC++.so.2 (0x4002c000)
        libFLAC.so.4 => /usr/lib/libFLAC.so.4 (0x4004a000)
        libid3-3.8.so.3 => /usr/lib/libid3-3.8.so.3 (0x40086000)
        libk3bplugin.so.2 => /usr/lib/libk3bplugin.so.2 (0x400c5000)
        libk3bcore.so.2 => /usr/lib/libk3bcore.so.2 (0x400d9000)
        libk3bdevice.so.2 => /usr/lib/libk3bdevice.so.2 (0x400fe000)
        libkio.so.4 => /usr/kde/3.3/lib/libkio.so.4 (0x40120000)
        libkdesu.so.4 => /usr/kde/3.3/lib/libkdesu.so.4 (0x4044a000)
        libkwalletclient.so.1 => /usr/kde/3.3/lib/libkwalletclient.so.1 (0x40463000)
        libfam.so.0 => /usr/lib/libfam.so.0 (0x40472000)
        libsamplerate.so.0 => /usr/lib/libsamplerate.so.0 (0x4047a000)
        libkdeui.so.4 => /usr/kde/3.3/lib/libkdeui.so.4 (0x40497000)
        libkdecore.so.4 => /usr/kde/3.3/lib/libkdecore.so.4 (0x40758000)
        libDCOP.so.4 => /usr/kde/3.3/lib/libDCOP.so.4 (0x40993000)
        libresolv.so.2 => /lib/libresolv.so.2 (0x409c8000)
        libutil.so.1 => /lib/libutil.so.1 (0x409dc000)
        libart_lgpl_2.so.2 => /usr/lib/libart_lgpl_2.so.2 (0x409e0000)
        libidn.so.11 => /usr/lib/libidn.so.11 (0x409f6000)
        libkdefx.so.4 => /usr/kde/3.3/lib/libkdefx.so.4 (0x40a26000)
        libqt-mt.so.3 => /usr/qt/3/lib/libqt-mt.so.3 (0x40a54000)
        libmng.so.1 => /usr/lib/libmng.so.1 (0x4115b000)
        libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x411bb000)
        libXi.so.6 => /usr/X11R6/lib/libXi.so.6 (0x411dc000)
        libXrandr.so.2 => /usr/X11R6/lib/libXrandr.so.2 (0x411e4000)
        libXcursor.so.1 => /usr/X11R6/lib/libXcursor.so.1 (0x411e8000)
        libXft.so.2 => /usr/X11R6/lib/libXft.so.2 (0x411f3000)
        libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0x41207000)
        libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x41231000)
        libexpat.so.0 => /usr/lib/libexpat.so.0 (0x412aa000)
        libdl.so.2 => /lib/libdl.so.2 (0x412d6000)
        libpng.so.3 => /usr/lib/libpng.so.3 (0x412da000)
        libz.so.1 => /lib/libz.so.1 (0x41313000)
        libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x41324000)
        libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x41336000)
        libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x4140b000)
        libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x41414000)
        libpthread.so.0 => /lib/libpthread.so.0 (0x4142b000)
        libXrender.so.1 => /usr/X11R6/lib/libXrender.so.1 (0x4147e000)
        libstdc++.so.6 => /usr/lib/gcc/i686-pc-linux-gnu/3.4.2/libstdc++.so.6 (0x41486000)
        libm.so.6 => /lib/libm.so.6 (0x41556000)
        libc.so.6 => /lib/libc.so.6 (0x41579000)
        libgcc_s.so.1 => /usr/lib/gcc/i686-pc-linux-gnu/3.4.2/libgcc_s.so.1 (0x416a1000)
        /lib/ld-linux.so.2 (0x80000000)
h2so4 ~ #                             [/code]

K3b flac decompression works.
After a re-emerge of k3b (against the new libs I get pretty much the same
[code]
h2so4 ~ # ldd /usr/lib/kde3/libk3bflacdecoder.so
        linux-gate.so.1 =>  (0xffffe000)
        libFLAC++.so.4 => /usr/lib/libFLAC++.so.4 (0x4002c000)
        libFLAC.so.6 => /usr/lib/libFLAC.so.6 (0x4004a000)
        libid3-3.8.so.3 => /usr/lib/libid3-3.8.so.3 (0x40087000)
        libk3bplugin.so.2 => /usr/lib/libk3bplugin.so.2 (0x400c6000)
        libk3bcore.so.2 => /usr/lib/libk3bcore.so.2 (0x400da000)
        libk3bdevice.so.2 => /usr/lib/libk3bdevice.so.2 (0x400ff000)
        libkio.so.4 => /usr/kde/3.3/lib/libkio.so.4 (0x40121000)
        libkdesu.so.4 => /usr/kde/3.3/lib/libkdesu.so.4 (0x4044b000)
        libkwalletclient.so.1 => /usr/kde/3.3/lib/libkwalletclient.so.1 (0x40464000)
        libfam.so.0 => /usr/lib/libfam.so.0 (0x40473000)
        libsamplerate.so.0 => /usr/lib/libsamplerate.so.0 (0x4047b000)
        libkdeui.so.4 => /usr/kde/3.3/lib/libkdeui.so.4 (0x40498000)
        libkdecore.so.4 => /usr/kde/3.3/lib/libkdecore.so.4 (0x40759000)
        libDCOP.so.4 => /usr/kde/3.3/lib/libDCOP.so.4 (0x40994000)
        libresolv.so.2 => /lib/libresolv.so.2 (0x409c9000)
        libutil.so.1 => /lib/libutil.so.1 (0x409dd000)
        libart_lgpl_2.so.2 => /usr/lib/libart_lgpl_2.so.2 (0x409e1000)
        libidn.so.11 => /usr/lib/libidn.so.11 (0x409f7000)
        libkdefx.so.4 => /usr/kde/3.3/lib/libkdefx.so.4 (0x40a27000)
        libqt-mt.so.3 => /usr/qt/3/lib/libqt-mt.so.3 (0x40a55000)
        libmng.so.1 => /usr/lib/libmng.so.1 (0x4115c000)
        libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x411bc000)
        libXi.so.6 => /usr/X11R6/lib/libXi.so.6 (0x411dd000)
        libXrandr.so.2 => /usr/X11R6/lib/libXrandr.so.2 (0x411e5000)
        libXcursor.so.1 => /usr/X11R6/lib/libXcursor.so.1 (0x411e9000)
        libXft.so.2 => /usr/X11R6/lib/libXft.so.2 (0x411f4000)
        libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0x41208000)
        libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x41232000)
        libexpat.so.0 => /usr/lib/libexpat.so.0 (0x412ab000)
        libdl.so.2 => /lib/libdl.so.2 (0x412d7000)
        libpng.so.3 => /usr/lib/libpng.so.3 (0x412db000)
        libz.so.1 => /lib/libz.so.1 (0x41314000)
        libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x41325000)
        libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x41337000)
        libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x4140c000)
        libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x41415000)
        libpthread.so.0 => /lib/libpthread.so.0 (0x4142c000)
        libXrender.so.1 => /usr/X11R6/lib/libXrender.so.1 (0x4147f000)
        libstdc++.so.6 => /usr/lib/gcc/i686-pc-linux-gnu/3.4.2/libstdc++.so.6 (0x41487000)
        libm.so.6 => /lib/libm.so.6 (0x41557000)
        libc.so.6 => /lib/libc.so.6 (0x4157a000)
        libgcc_s.so.1 => /usr/lib/gcc/i686-pc-linux-gnu/3.4.2/libgcc_s.so.1 (0x416a2000)
        libFLAC.so.4 => /usr/lib/libFLAC.so.4 (0x416ab000)
        /lib/ld-linux.so.2 (0x80000000)
h2so4 ~ #                                              
[/code]
and k3b still works. 

This leads me to believe that one of the intrim libraries that  I upgraded between the origional filing of this bug and my currrent configuration has resolved the problem.

Perhaps someone else may be able to reproduce?

Frank
Comment 6 Jeremy Huddleston (RETIRED) gentoo-dev 2004-10-19 19:49:38 UTC
You have both of these linked to in the same file:
       libFLAC.so.6 => /usr/lib/libFLAC.so.6 (0x4004a000)
       libFLAC.so.4 => /usr/lib/libFLAC.so.4 (0x416ab000)

My advise is to follwo the advise you got after upgrading flac:

revdep-rebuild --soname libFLAC.so.4
Comment 7 Gregorio Guidi (RETIRED) gentoo-dev 2004-12-31 05:34:16 UTC
No reply, assuming the problem was the one shown by eradicator.