Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 553592 - =media-sound/quodlibet-3.1.2 gstreamer backend is not found
Summary: =media-sound/quodlibet-3.1.2 gstreamer backend is not found
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Matthias Maier
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-06-29 20:36 UTC by Manuel Ullmann
Modified: 2015-07-10 11:31 UTC (History)
1 user (show)

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


Attachments
Traceback of gstbe loading (file_553592.txt,635 bytes, text/plain)
2015-06-29 20:39 UTC, Manuel Ullmann
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Manuel Ullmann 2015-06-29 20:36:07 UTC
quodlibet does not find the gstreamer backend anymore, since quodlibet-3.1.2 stabilized. I´ll attach the traceback in the next comment.
Installing xine-lib is a valid workaround.
It seems, the Gst Namespace is not found. gst-launch-1.0 playbin on an arbitrary file works; also dragon player with unstable phonon-gstreamer (using gstreamer-1.0) works.

Reproducible: Always

Steps to Reproduce:
1. # USE="dbus gstreamer udev -ipod" emerge media-sound/quodlibet
2. $ quodlibet --debug
3. :-(
Actual Results:  
ImportError: Namespace Gst not available.
The null backend is loaded as a fallback.

Expected Results:  
Gstreamer should be happily loaded. :-)

emerge --info:

Portage 2.2.18 (python 2.7.9-final-0, default/linux/amd64/13.0/desktop/kde, gcc-4.8.4, glibc-2.20-r2, 4.1.0-gentoo x86_64)                                                                                                              
=================================================================                                                                                                                                                                       
System uname: Linux-4.1.0-gentoo-x86_64-AMD_Turion-tm-X2_Ultra_DualCore_Mobile_ZM-84-with-gentoo-2.2                                                                                                                                    
KiB Mem:     3787844 total,   2007276 free                                                                                                                                                                                              
KiB Swap:    5242876 total,   5242876 free                                                                                                                                                                                              
Timestamp of repository gentoo: Sat, 27 Jun 2015 23:00:01 +0000                                                                                                                                                                         
Timestamp of repository poly-c: Fri, 26 Jun 2015 04:29:20 +0000                                                                                                                                                                         
sh bash 4.3_p33-r2                                                                                                                                                                                                                      
ld GNU ld (Gentoo 2.24 p1.4) 2.24                                                                                                                                                                                                       
app-shells/bash:          4.3_p33-r2::gentoo                                                                                                                                                                                            
dev-java/java-config:     2.2.0::gentoo                                                                                                                                                                                                 
dev-lang/perl:            5.20.2::gentoo                                                                                                                                                                                                
dev-lang/python:          2.7.9-r1::gentoo, 3.4.1::gentoo                                                                                                                                                                               
dev-util/cmake:           3.2.2::gentoo                                                                                                                                                                                                 
dev-util/pkgconfig:       0.28-r2::gentoo                                                                                                                                                                                               
sys-apps/baselayout:      2.2::gentoo                                                                                                                                                                                                   
sys-apps/openrc:          0.16.4::gentoo                                                                                                                                                                                                
sys-apps/sandbox:         2.6-r1::gentoo
sys-devel/autoconf:       2.69::gentoo
sys-devel/automake:       1.11.6-r1::gentoo, 1.14.1::gentoo
sys-devel/binutils:       2.24-r3::gentoo
sys-devel/gcc:            4.8.4::gentoo
sys-devel/gcc-config:     1.7.3::gentoo
sys-devel/libtool:        2.4.6::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 3.18::gentoo (virtual/os-headers)
sys-libs/glibc:           2.20-r2::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000

fluendo
    location: /usr/local/portage
    masters: gentoo
    priority: 0

distros
    location: /var/lib/layman/distros
    masters: calculate gentoo
    priority: 1

calculate
    location: /var/lib/layman/calculate
    masters: gentoo
    priority: 2

sunrise
    location: /var/lib/layman/sunrise
    masters: gentoo
    priority: 3

gnu-elpa
    location: /var/lib/layman/gnu-elpa
    sync-type: laymansync
    sync-uri: gs-elpa gnu-elpa
    masters: gentoo
    priority: 50

grub2-themes
    location: /var/lib/layman/grub2-themes
    sync-type: laymansync
    sync-uri: https://github.com/gentoo/grub2-themes-overlay.git
    masters: gentoo
    priority: 50

melpa-stable
    location: /var/lib/layman/melpa-stable
    sync-type: laymansync
    sync-uri: gs-elpa melpa-stable
    masters: gnu-elpa gentoo
    priority: 50

poly-c
    location: /var/lib/layman/poly-c
    sync-type: laymansync
    sync-uri: rsync://gentoofan.no-ip.org/poly-c
    masters: gentoo
    priority: 50

steam-overlay
    location: /var/lib/layman/steam-overlay
    sync-type: laymansync
    sync-uri: git://github.com/anyc/steam-overlay.git
    masters: gentoo
    priority: 50

Installed sets: @custom
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=native -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS=" --load-average=8.0"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles getbinpkg merge-sync news parallel-fetch parallel-install preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo"
LANG="de_DE.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j3 -l 8.0"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl acpi alsa amd64 audiofile avi berkdb bittorrent bluetooth branding bzip2 cairo cdda cddb cdparanoia cdr cli consolekit cracklib crypt css cue cups cxx dbus declarative djvu dri dts dv dvd dvdr dvdread ebook emboss encode exif faac fam ffmpeg firefox flac flash foomaticdb fortran ftp gd gdbm gif glamor gphoto2 gpm gstreamer gtk iconv id3tag ieee1394 imagemagick ios ipod ipv6 irc jabber jingle jpeg jpeg2k kde kipi lcms ldap libass libnotify libwww lm_sensors logrotate lzo mad matroska mbox mikmod mmx mmxext mng modules mp3 mp4 mpeg mplayer multilib musepack ncurses networkmanager nfs nls nptl nsplugin ogg oggvorbis openal openexr opengl openmp oscar pam pango pcre pdf phonon plasma png policykit portaudio ppds ppp qt3support qt4 quicktime raw rdesktop readline samba scanner sdl session smp speex spell sse sse2 ssl startup-notification svg tcpd theora threads tiff truetype udev udisks unicode upower usb v4l v4l2 vaapi vcd vdpau vhosts vorbis wavpack wimax wmf wxwidgets x264 x265 xanim xcb xcomposite xinerama xml xpm xscreensaver xv xvid xvmc yahoo zlib" ABI_X86="32 64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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 cgi cgid 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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="3dnow 3dnowext mmx mmxext sse sse2 sse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64 efi-32 pc" INPUT_DEVICES="keyboard mouse evdev mutouch synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="bg de es fr it pl pt pt_BR ro ru uk en es_ES" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="i915 i965 intel nouveau nv r100 r200 r300 r600 radeon vesa sis" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 Manuel Ullmann 2015-06-29 20:39:20 UTC
Created attachment 405972 [details]
Traceback of gstbe loading

Here is the traceback. I looked into the code, but I do not know python well enough to resolve the bug myself.
Comment 2 Matthias Maier gentoo-dev 2015-06-30 09:15:55 UTC
I cannot reproduce. Please:

 - ensure that you have run python-updater

 - that your system is fully updated and all dependencies are resolved (emerge -uDN @world)

 - that you have manually rebuilt all gstreamer packages and quodlibet as well (media-libs/gstreamer:1.0, media-libs/gst-plugins-base:1.0, media-libs/gst-plugins-good, media-libs/gst-plugins-meta, media-sound/quodlibet)

 - please test quodlibet-3.1.4 as well.
Comment 3 Matthias Maier gentoo-dev 2015-06-30 09:17:37 UTC
errr, media-sound/quodlibet-3.4.1
Comment 4 Manuel Ullmann 2015-06-30 16:22:57 UTC
Hi,

I tried your suggestions, but they did not help.
python-updater pulled in openoffice-bin as usual, but nothing else.
emerge -DNuqa world did an update on openrc and my unstable gentoo-sources-4.1*
FEATURES="-getbinpkg" emerge -q1 media-libs/gstreamer:1.0 media-libs/gst-plugins-base:1.0 media-libs/gst-plugins-good:1.0 media-plugins/gst-plugins-meta:1.0 media-sound/quodlibet runned through flawlessly.

I assumed that PORTAGE_BINHOST would be printed by emerge --info. So one important information about my system would be the use of the calculate binary server. The profile is however Gentoo and the calculate and distros overlays are masked. I migrated ca. a month ago and have used Gentoo the 4 years before, until the mainboard died.

It provides binary packages for the desktop system (e.g. KDE and X11 packages).
You can lookup the full Package list here:
http://mirror.cnet.kz/calculate/CLD/grp/x86_64/Packages
As I wrote, I compiled gstreamer:1.0 myself this time, and it is working (as before) with gst-launch-1.0 playbin.

The traceback is still reproducible and updating to quodlibet-3.4.1 did not help.

I also tried to unmerge oneplay-gstreamer-codecs-pack-bin to verify, that it is not a plugin problem (it is in my local overlay and eventually intended for sunrise).

The namespace Gst should be actually already available by emerging media-libs/gstreamer:1.0 or is it exposed by another package?

So I have currently not really a clue, where the problem lies. quodlibet-2.6.3 was working fine and I don´t think, that gstreamer-1.0 is the culprit, since it works with (unstable) phonon and playbin...
Comment 5 Matthias Maier gentoo-dev 2015-07-10 09:53:43 UTC
Sorry for the long delay.

According to your description you have a mixed userland of binary packages coming from a binhost (from calculate linux) and packages compiled from source via vanilla gentoo ebuilds.

You encounter an ABI compatiblity in you python packages - if I recall correctly, dev-python/pygobject (where the gst namespace comes from).

The best course of action is to try to recompile dev-python/pygobject and if this does not help, recompile the whole userland (# emerge -e ...).

I close as invalid because there is not really much that I can fix..
Comment 6 Manuel Ullmann 2015-07-10 11:31:41 UTC
Yes, I expected that. I´ve noticed the responsibility pygobject for gi import a week ago, but unfortunately recompiling did not help.
I guess emerge -e would be the way to go. Hopefully there is no messed up configuration responsible for it.
I´ve not decided yet, whether I will really do that, since it will likely decrease my laptop´s life time.
Another way to go would be opening a ticket on calculate bug tracker, which would at least spare my hardware.

I mean everything else is working decent and I always loved Gentoo for its stability compared to bleeding edge* distributions like Arch, Fedora, Ubuntu (and derivatives), OpenSUSE and CentOS.

Thanks for your time and hints and sorry for wasting it.

*Defined as: It takes less than 30 minutes for me to find a bug.