Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 79311 - kdemultimedia-kioslaves-3.4.0_beta1: /usr/kde/3.4/lib/kde3/libaudiocd_encoder_flac.so: undefined symbol: create_audiocd_encoders
Summary: kdemultimedia-kioslaves-3.4.0_beta1: /usr/kde/3.4/lib/kde3/libaudiocd_encoder...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-24 04:08 UTC by Jan Callewaert
Modified: 2005-02-15 07:56 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
audiocd-flac-export.patch (audiocd-flac-export.patch,674 bytes, patch)
2005-01-24 05:03 UTC, Gregorio Guidi (RETIRED)
Details | Diff
audiocd-flac-export.patch (audiocd-flac-export.patch,1.16 KB, patch)
2005-01-24 08:26 UTC, Gregorio Guidi (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Callewaert 2005-01-24 04:08:01 UTC
When I try to open audiocd:/ with konqueror, I get an error: process for protocol audiocd died unexpectedly. In .xsession-errors, I find this error message:

kioslave: ####### CRASH ###### protocol = audiocd pid = 29412 signal = 11
QPixmap: Cannot create a QPixmap when no GUI is being used
QPixmap: Cannot create a QPixmap when no GUI is being used
kdecore (KLibLoader): WARNING: KLibrary: /usr/kde/3.4/lib/kde3/libaudiocd_encoder_flac.so: undefined symbol: create_audiocd_encoders
Checking /dev/cdroms/cdrom0 for cdrom...
        Testing /dev/cdroms/cdrom0 for cooked ioctl() interface
                CDROM sensed: ATAPI compatible _NEC DVD_RW ND-2510A

QWidget: Cannot create a QWidget when no GUI is being used
kioslave: ####### CRASH ###### protocol = audiocd pid = 29413 signal = 11

When I try to emerge kdemultimedia-kioslaves without the flac use flag, a flac library is still compiled.

Reproducible: Always
Steps to Reproduce:
1. open in konqueror audiocd:/
2. 
3.

Actual Results:  
Konqueror doesn't open audiocd: the process for protocol audiocd died 
unexpectedly. 

Expected Results:  
Open audiocd: 

$ emerge --info 
Portage 2.0.51-r14 (default-linux/x86/2004.2, gcc-3.4.3, 
glibc-2.3.4.20040808-r1, 2.6.10-gentoo-r5 i686) 
================================================================= 
System uname: 2.6.10-gentoo-r5 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz 
Gentoo Base System version 1.4.16 
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Jan 10 2005, 20:00:06)] 
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) 
[disabled] 
ccache version 2.3 [enabled] 
dev-lang/python:     2.3.4 
sys-devel/autoconf:  2.59-r5 
sys-devel/automake:  1.8.5-r1 
sys-devel/binutils:  2.15.92.0.2-r1 
sys-devel/libtool:   1.5.2-r7 
virtual/os-headers:  2.6.8.1-r1, 2.6.8.1-r2 
ACCEPT_KEYWORDS="x86" 
AUTOCLEAN="yes" 
CFLAGS="-march=pentium4 -O2 -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.4/env /usr/kde/3.4/share/config /usr/kde/3.4/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=pentium4 -O2 -fomit-frame-pointer -pipe" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoaddcvs autoconfig ccache distlocks fixpackages sandbox sfperms 
userpriv usersandbox" 
GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ 
ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/" 
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 acpi4linux alsa apm arts audiofile avi bash-completion berkdb 
bitmap-fonts blender-game bootsplash c++ cddb cdparanoia cdr cdrom clamav clisp 
codecs crypt css cups divx4linux dvd dvdr emacs encode f77 fam flac font-server 
foomaticdb fortran gdbm gif gimp gimpprint gkrellm gpm gtk gtk2 imagemagick 
imap imlib imlib2 ipv6 java javadoc javascript jce jp2 jpeg jpeg2k junit kde 
kdexdeltas libg++ libwww mad maildir mikmod mme mmx mozilla moznocompose 
moznoirc moznomail mp3 mpeg mplayer msn nas ncurses nls no_wxgtk1 nptl nvidia 
oav oggvorbis opengl pam pdflib perl php png python qt quicktime readline samba 
sasl sdl slang spell sse ssl subject-rewrite svga tcpd tetex tiff truetype 
truetype-fonts type1-fonts unicode usb xine xml2 xprint xv xvid zlib 
linguas_nl" 
Unset:  ASFLAGS, CBUILD, CTARGET, LDFLAGS
Comment 1 Gregorio Guidi (RETIRED) gentoo-dev 2005-01-24 05:03:43 UTC
Created attachment 49356 [details, diff]
audiocd-flac-export.patch

This patch should solve the issue. Can you test it and report it to
bugs.kde.org?
Comment 2 Jan Callewaert 2005-01-24 05:53:13 UTC
This is what I do:
#ebuild /usr/portage/kde-base/kdemultimedia-kioslaves/kdemultimedia-kioslaves-3.4.0_beta1.ebuild unpack
#ebuild /usr/portage/kde-base/kdemultimedia-kioslaves/kdemultimedia-kioslaves-3.4.0_beta1.ebuild clean
#cd /var/tmp/portage/kdemultimedia-kioslaves-3.4.0_beta1/work/kdemultimedia-kioslaves-3.4.0_be
ta1/kioslave/
# patch -p0 < /tmp/audiocd-flac-export.patch
#ebuild /usr/portage/kde-base/kdemultimedia-kioslaves/kdemultimedia-kioslaves-3.4.0_beta1.ebuild merge

The problem however stays the same.

The problem stays the same, I'm affraid.
Comment 3 Gregorio Guidi (RETIRED) gentoo-dev 2005-01-24 06:31:27 UTC
What's the output of:
# readelf -s /usr/kde/3.4/lib/kde3/libaudiocd_encoder_flac.so |grep create_audiocd
Comment 4 Jan Callewaert 2005-01-24 06:57:26 UTC
It's empty if I grep it.

# readelf -s /usr/kde/3.4/lib/kde3/libaudiocd_encoder_flac.so

Symbol table '.dynsym' contains 20 entries:
   Num:    Value  Size Type    Bind   Vis      Ndx Name
     0: 00000000     0 NOTYPE  LOCAL  DEFAULT  UND
     1: 00000428     0 SECTION LOCAL  DEFAULT    8
     2: 00000470     0 SECTION LOCAL  DEFAULT   10
     3: 00000580     0 SECTION LOCAL  DEFAULT   11
     4: 0000059c     0 SECTION LOCAL  DEFAULT   12
     5: 000015a0     0 SECTION LOCAL  DEFAULT   13
     6: 000015a8     0 SECTION LOCAL  DEFAULT   14
     7: 000015b0     0 SECTION LOCAL  DEFAULT   15
     8: 000016ac     0 SECTION LOCAL  DEFAULT   19
     9: 000016b4     0 SECTION LOCAL  DEFAULT   20
    10: 000015b4     0 OBJECT  GLOBAL DEFAULT  ABS _DYNAMIC
    11: 00000428     0 FUNC    GLOBAL DEFAULT    8 _init
    12: 000016b4     0 NOTYPE  GLOBAL DEFAULT  ABS __bss_start
    13: 00000580     0 FUNC    GLOBAL DEFAULT   11 _fini
    14: 00000000   140 FUNC    WEAK   DEFAULT  UND __cxa_finalize@GLIBC_2.1.3 (2)
    15: 000016b4     0 NOTYPE  GLOBAL DEFAULT  ABS _edata
    16: 00001698     0 OBJECT  GLOBAL DEFAULT  ABS _GLOBAL_OFFSET_TABLE_
    17: 000016b8     0 NOTYPE  GLOBAL DEFAULT  ABS _end
    18: 00000000     0 NOTYPE  WEAK   DEFAULT  UND _Jv_RegisterClasses
    19: 00000000     0 NOTYPE  WEAK   DEFAULT  UND __gmon_start__
Comment 5 Simone Gotti (RETIRED) gentoo-dev 2005-01-24 07:24:26 UTC
>>>>>This is what I do:
>>>>>#ebuild /usr/portage/kde-base/kdemultimedia-kioslaves/kdemultimedia-kioslaves-3.4.0_beta1.ebuild unpack
>>>>>#ebuild /usr/portage/kde-base/kdemultimedia-kioslaves/kdemultimedia-kioslaves-3.4.0_beta1.ebuild clean
>>>>#cd /var/tmp/portage/kdemultimedia-kioslaves-3.4.0_beta1/work/kdemultimedia-kioslaves-3.4.0_be
ta1/kioslave/
>>>># patch -p0 < /tmp/audiocd-flac-export.patch
>>>> >>>>#ebuild /usr/portage/kde-base/kdemultimedia-kioslaves/kdemultimedia-kioslaves-3.4.0_beta1.ebuild merge

Quite probably you have to compile it before merging.
Comment 6 Jan Callewaert 2005-01-24 08:08:07 UTC
Done that, it stays the same. I am utterly confused. I have checked it after the compile and before the install in the .libs directory, and no sign of it. I have checked the vorbis plugin, it the patch seems correct to me, but it just doesn't work. The file is patched correctly. Maybe you can give at a try.
Is there as a work around a possibility to disable flac. Is I have said, the use flag doesn't work and I don't seem to find a configure option to disable it. On the other hand, I don't find a configure options to disable vorbis, but it still is present in the ebuild. I have tried a similar option (--without-flac) but that still builds me the flac libs.
Comment 7 Gregorio Guidi (RETIRED) gentoo-dev 2005-01-24 08:26:30 UTC
Created attachment 49385 [details, diff]
audiocd-flac-export.patch

What about this patch?

About disabling flac: it's a know issue, since there's no --disable-flac 
option, the only way to disable flac at the moment is to uninstall it.
Comment 8 Simone Gotti (RETIRED) gentoo-dev 2005-01-24 08:41:36 UTC
I'm going trought the kde configure code adding configure's flags like --without-flac etc...

I'll submit the code to the author and commit it in kde CVS if it's ok. 
I think that these configure's flags are needed for a correct working of portage. In this moment if we disable an USE flag but the program/lib is installed its support will be checked and compiled anyway.
Comment 9 Jan Callewaert 2005-01-24 08:58:21 UTC
The new patch doesn't work either. Maybe you can pm me on #gentoo-dev or #gentoo (menetto).

I have also uninstalled flac, but still the libs for flac are compiled and not working.
Comment 10 Gregorio Guidi (RETIRED) gentoo-dev 2005-01-24 09:05:08 UTC
Please disable ccache, clean up /var/tmp/portage, and try again...
it must work!
Comment 11 Jan Callewaert 2005-01-24 10:28:24 UTC
I have disabled ccache, removed /var/tmp/ccache and /var/tmp/portage. Sorry but it still doesn't work. readelf doesn't want to show the magic sentence.
Comment 12 Jan Callewaert 2005-01-29 11:02:53 UTC
It should be fixed: http://bugs.kde.org/show_bug.cgi?id=98057. So I'll have to wait for beta2 scheduled next week (5th of february), since I'd rather stay with the splitted ebuilds for my kde.
Comment 13 Gregorio Guidi (RETIRED) gentoo-dev 2005-02-10 06:22:06 UTC
Honestly, I don't see any fix in kde CVS... let us know if it works or not.
Comment 14 Jan Callewaert 2005-02-15 06:54:38 UTC
It works now with the beta2, so I guess everything is fine.
Comment 15 Gregorio Guidi (RETIRED) gentoo-dev 2005-02-15 07:56:35 UTC
Ok.