Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 82558 - k3b-0.11.20 does not compile on media-libs/flac-1.1.2
Summary: k3b-0.11.20 does not compile on media-libs/flac-1.1.2
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-19 04:03 UTC by Ivan Yosifov
Modified: 2005-03-15 22:27 UTC (History)
4 users (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 Ivan Yosifov 2005-02-19 04:03:44 UTC
Today I updated flac to 1.1.2 , and I got the following notice:

 * An old version of an installed library was detected on your system.
 * In order to avoid breaking packages that link against is, this older version
 * is not being removed.  In order to make full use of this newer version,
 * you will need to execute the following command:
 *   revdep-rebuild --soname libFLAC.so.4
 *
 * After doing that, you can safely remove /usr//lib/libFLAC.so.4
 * Note: 'emerge gentoolkit' to get revdep-rebuild
 * An old version of an installed library was detected on your system.
 * In order to avoid breaking packages that link against is, this older version
 * is not being removed.  In order to make full use of this newer version,
 * you will need to execute the following command:
 *   revdep-rebuild --soname libFLAC++.so.2
 *
 * After doing that, you can safely remove /usr//lib/libFLAC++.so.2
 * Note: 'emerge gentoolkit' to get revdep-rebuild

revdep-rebuild --soname libFLAC++.so.2 yielded no packages , so I removed /usr//lib/libFLAC++.so.2

revdep-rebuild --soname libFLAC.so.4 yielded the following:
emerge --oneshot --nodeps  =app-cdr/k3b-0.11.20 =kde-base/kdemultimedia-3.3.2 =media-libs/flac-1.1.1 =media-plugins/gst-plugins-flac-0.8.7 =media-sound/alsaplayer-0.99.76 =media-sound/audacity-1.2.2 =media-sound/flac123-0.0.7

When merging k3b I got:
Making all in flac
make[4]: Entering directory `/var/tmp/portage/k3b-0.11.20/work/k3b-0.11.20/src/audiodecoding/flac'
/usr/qt/3/bin/moc ./k3bflacdecoder.h -o k3bflacdecoder.moc
/bin/sh ../../../libtool --silent --mode=compile --tag=CXX i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../..  -I./../../plugin -I./../../device -I/usr/kde/3.3/include -I/usr/qt/3/include -I.  -DQT_THREAD_SUPPORT  -D_REENTRANT -I/usr/kde/3.3/include -I/usr/qt/3/include -I.   -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -O3 -march=pentium4 -fomit-frame-pointer -pipe -fprefetch-loop-arrays -fforce-addr -falign-functions=4 -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION  -c -o k3bflacdecoder.lo `test -f 'k3bflacdecoder.cpp' || echo './'`k3bflacdecoder.cpp
k3bflacdecoder.cpp: In member function `virtual QString K3bFLACDecoder::technicalInfo(const QString&) const':
k3bflacdecoder.cpp:311: error: request for member `get_field' in `((K3bFLACDecoder::Private*)((const K3bFLACDecoder*)this)->K3bFLACDecoder::d)->K3bFLACDecoder::Private::comments->FLAC::Metadata::VorbisComment::get_vendor_string()', which is of non-class type `const FLAC__byte*'
make[4]: *** [k3bflacdecoder.lo] Error 1
make[4]: Leaving directory `/var/tmp/portage/k3b-0.11.20/work/k3b-0.11.20/src/audiodecoding/flac'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/k3b-0.11.20/work/k3b-0.11.20/src/audiodecoding'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/k3b-0.11.20/work/k3b-0.11.20/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/k3b-0.11.20/work/k3b-0.11.20'
make: *** [all] Error 2

!!! ERROR: app-cdr/k3b-0.11.20 failed.
!!! Function kde_src_compile, Line 166, Exitcode 2
!!! died running emake, kde_src_compile:make
!!! If you need support, post the topmost build error, NOT this status message.

Reproducible: Always
Steps to Reproduce:
1. emerge flac-1.1.2
2. revdep-rebuild --soname libFLAC.so.4
3. watch k3b compilation die



Portage 2.0.51-r15 (default-linux/x86/2004.2, gcc-3.4.3,
glibc-2.3.4.20050125-r0, 2.6.10-gentoo-r7 i686)
=================================================================
System uname: 2.6.10-gentoo-r7 i686 Intel(R) Pentium(R) 4 CPU 3.20GHz
Gentoo Base System version 1.6.9
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Feb 18 2005, 10:59:12)]
dev-lang/python:     2.3.5
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-r2
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=pentium4 -fomit-frame-pointer -pipe -fprefetch-loop-arrays
-fforce-addr -falign-functions=4"
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="-O3 -march=pentium4 -fomit-frame-pointer -pipe -fprefetch-loop-arrays
-fforce-addr -falign-functions=4"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://gentoo.ITDNet.net/gentoo"
LANG="en_US.utf8"
LC_ALL="en_US.utf8"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X aalib acl acpi alsa arts avi bash-completion berkdb bitmap-fonts cdr
crypt cups curl dba doc dvd dvdr emboss encode esd f77 fam flac font-server
foomaticdb fortran gd gdbm gif gnome gpm gstreamer gtk gtk2 guile hal howl
imagemagick imlib ipv6 jack java jpeg junit kde ldap libg++ libwww mad mikmod
mmap mmx motif mozilla mpeg mysql ncurses nls nptl nvidia oggvorbis opengl pam
pdflib perl plotutils png postgres python qt quicktime readline sdl session
slang spell ssl svga tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts
unicode usb vhosts xml xml2 xmms xv zlib linguas_en"
Unset:  ASFLAGS, CBUILD, CTARGET, LDFLAGS
Comment 1 Andrew Gaydenko 2005-02-20 09:15:30 UTC
The same.
Comment 2 Paul Taylor 2005-02-21 17:18:41 UTC
I noticed this too.  flac is slotted, so flac-1.1.1 and 1.1.2 should coexist.
When I checked my system's package dependencies, flac-1.1.1 wasn't required
so I removed it; now k3b fails to compile as described above.

If k3b is dependent on flac-1.1.1, this needs to be reflected in k3b's ebuild DEPEND specification.
Comment 3 Gregorio Guidi (RETIRED) gentoo-dev 2005-02-22 10:22:34 UTC
Changed the DEPEND in k3b to be <media-libs/flac-1.1.2
Comment 4 Colin Tinker 2005-02-22 12:08:34 UTC
This does not work as the slotting seems broken and after flac-1.1.1 has emerged it removes flac-1.1.2 and doing emerge world, wants to emerge flac-1.1.2 again.
Comment 5 Gregorio Guidi (RETIRED) gentoo-dev 2005-02-22 12:47:04 UTC
That's a portage problem, I don't know if we can do something for that (see bug 13632).
Solutions are welcome...

Workarounds: mask >=media-libs/flac-1.1.2, or emerge k3b with USE="-flac"
Comment 6 Andrew Gaydenko 2005-02-23 05:04:59 UTC
I have filed

http://bugs.kde.org/show_bug.cgi?id=99981

Comment 7 Kenyon Ralph 2005-03-15 21:23:53 UTC
This is fixed in k3b-0.11.21, just released today.  See http://k3b.plainblack.com/news2
So flac-1.1.2 can be unmasked once the new k3b is in portage.
Comment 8 Kenyon Ralph 2005-03-15 22:27:04 UTC
I made bug 85455.