Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 243086 - media-sound/phonon-4.2.0: systemsettings doesn't show phonon gstreamer backend with kdeprefix
Summary: media-sound/phonon-4.2.0: systemsettings doesn't show phonon gstreamer backen...
Status: RESOLVED INVALID
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: kdeprefix
  Show dependency tree
 
Reported: 2008-10-21 18:49 UTC by onur
Modified: 2008-10-30 21:01 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 onur 2008-10-21 18:49:37 UTC
I have kdelibs-4.1.2-r1 emerged with the kdeprefix use flag, and media-sound/phonon-4.2.0 with gstreamer. But the Sound->Backend tab doesn't show gstreamer as an option.

Reproducible: Always

Steps to Reproduce:




I use sys-apps/paludis-0.30.1 .

Output of emerge --info:

Portage 2.1.4.5 (default/linux/x86/2008.0, gcc-4.2.3, glibc-2.6.1-r0, 2.6.25-gentoo-r1 i686)
=================================================================
System uname: 2.6.25-gentoo-r1 i686 Intel(R) Core(TM)2 Duo CPU T7300 @ 2.00GHz
Timestamp of tree: Mon, 20 Oct 2008 20:35:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [disabled]
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.4.4-r14, 2.5.2-r6
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.6.2
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r2
sys-devel/automake:  1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=prescott -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/4.1/env /usr/kde/4.1/share/config /usr/kde/4.1/shutdown /usr/sh
are/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php
5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=prescott -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer parallel-fetch sandbox sfperms splitdebug strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/overlays/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="acl berkdb bzip2 cli cracklib crypt cups dri fortran gdbm gpm iconv ipv6 isdnlog midi mudflap ncurses nls nptl nptlonly openmp pam pcre perl pppd python readline reflection session spl ssl sysfs tcpd unicode x86 xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="fbdev glint i810 mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa vga via vmware voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Tomáš Chvátal (RETIRED) gentoo-dev 2008-10-26 18:05:55 UTC
Hi
could you try to look upon /usr/share/config and its permisions?
or /usr/kde/4.1... if you use kdeprefix?

This is caused due one weird bugie in kdelibs. Will be fixed in 4.1.3.

If you find that perms are 700 jusht change them recursively  to 755
Comment 2 onur 2008-10-27 19:25:35 UTC
Thanks for the reply. I do use kdeprefix, nevertheless I checked both '/usr/kde/4.1' and '/usr/share/config' permissions (recursively) and they seem to be OK. One more clue might be that I first installed everything with '-kdeprefix' and then switched to 'kdeprefix' by reinstalling.
Comment 3 Tomáš Chvátal (RETIRED) gentoo-dev 2008-10-27 20:03:47 UTC
Hm not good.
As you could read in our guide it lead to various bogus errors this among them. That is why we clearly state that you need to uninstall your kde first then install it again :(
Comment 4 onur 2008-10-30 07:05:05 UTC
Well, this bug further encouraged me to finally switch to 64bit, so I reinstalled my system from scratch, following your comment. I used kdeprefix and portage from the start. Unfortunately, the problem still is there.

In the meantime, I realized that if I copy /usr/share/kde4/services/phononbackends/gstreamer.desktop to /home/<user>/.kde4.1/share/kde4/services/phononbackends/gstreamer.desktop and run kbuildsyscoca, the backend shows in the sound tab. So my guess is that somehow kbuildsyscoca4 is not detecting the '/usr/share/kde4' location.
Comment 5 Thomas S. Howard 2008-10-30 10:39:10 UTC
Another thing is, the plugin is being installed to the wrong location if kdeprefix is enabled:

/usr/lib64/kde4/plugins/phonon_backend/phonon_gstreamer.so

when it should be:

/usr/kde/4.1/lib64/kde4/plugins/phonon_backend/phonon_gstreamer.so


And then there's the dbus interface file:

/usr/share/dbus-1/interfaces/org.kde.Phonon.AudioOutput.xml

which should be here:

/usr/kde/4.1/share/dbus-1/interfaces/org.kde.Phonon.AudioOutput.xml
Comment 6 onur 2008-10-30 15:41:00 UTC
yes, but media-sound/phonon is a dependency of kde-base/kdelibs. Therefore when it is installed, it doesn't know about kdeprefix, nor does it have such a use flag.
Comment 7 Thomas S. Howard 2008-10-30 20:42:42 UTC
(In reply to comment #6)
> yes, but media-sound/phonon is a dependency of kde-base/kdelibs. Therefore when
> it is installed, it doesn't know about kdeprefix, nor does it have such a use
> flag.
> 

Yes, but phonon-xine does know about it, so it's inconsistent with basically every other kde component and just about the only one not put into the kde dir.
Comment 8 Tomáš Chvátal (RETIRED) gentoo-dev 2008-10-30 21:01:06 UTC
Ok so for starters you allways need to install phonon-xine. I am closing this as invalid due to the changes we are going to do. 
Dont worry i have it on my mind and we will be changing kde deps amssively so user can install one package and gets all what he needs.

If anyone looks into this bug solution is: emerge -av1 kde-base/phonon-xine