Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 614890 - [qt overlay] =qtmultimedia-5.8.0[-pulseaudio, -alsa] still installs plugins
Summary: [qt overlay] =qtmultimedia-5.8.0[-pulseaudio, -alsa] still installs plugins
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 625258
  Show dependency tree
 
Reported: 2017-04-07 00:42 UTC by zkdarian
Modified: 2017-07-23 04:36 UTC (History)
0 users

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 zkdarian 2017-04-07 00:42:26 UTC
I installed =dev-qt/qtmultimedia-5.8.0 with the pulseaudio & alsa USE flags disabled, but I see that the plugins were installed anyway and qtwebengine is playing audio through pulse, which I don't want.

Reproducible: Always

Steps to Reproduce:
1. Set ">=dev-qt/qtmultimedia-5.8.0 -pulseaudio" in package.use
2. Emerge qtmultimedia-5.8.0 -- double check to make sure pulseaudio & alsa USE flags are disabled
3. Wait for it to install
4. When it's finished, play sound in qtwebengine and notice it's playing through pulseaudio still... weird.
5. run `equery f =qtmultimedia-5.8.0 | grep -i pulse`
6. See "/usr/lib64/qt5/plugins/audio/libqtmedia_pulse.so"
7. runnished, play sound in qtwebengine and notice it's playing through pulseaudio still... weird.
5. run `equery f =qtmultimedia-5.8.0 | grep -i pulse`
6. See "/usr/lib64/qt5/plugins/audio/libqtmedia_pulse.so"
7. run nished, play sound in qtwebengine and notice it's playing through pulseaudio still... weird.
5. run `equery f =qtmultimedia-5.8.0 | grep -i pulse`
6. See "/usr/lib64/qt5/plugins/audio/libqtmedia_pulse.so"
7. run `equery f =qtmultimedia-5.8.0 | grep -i alsa`
9. See "/usr/lib64/qt5/plugins/audio/libqtaudio_alsa.so"
Actual Results:  
Well, the pulseaudio and alsa plugins for qt are installed, when they shouldn't be.

Expected Results:  
The plugins shouldn't be installed.

Here's a bit of shell context:



    $ equery u =qtmultimedia-5.8.0
    -alsa
    -debug
    -gles2
    +gstreamer
    -gstreamer010
    -openal
    -pulseaudio
    +qml
    -test
    +widgets
    
    $ equery f =qtmultimedia-5.8.0 | grep -i pulse
    /usr/include/qt5/QtMultimedia/5.8.0/QtMultimedia/private/qsoundeffect_pulse_p.h
    /usr/lib64/cmake/Qt5Multimedia/Qt5Multimedia_QPulseAudioPlugin.cmake
    /usr/lib64/qt5/plugins/audio/libqtmedia_pulse.so
    
    $ equery f qtmultimedia | grep -i alsa
    /usr/lib64/cmake/Qt5Multimedia/Qt5Multimedia_QAlsaPlugin.cmake
    /usr/lib64/qt5/plugins/audio/libqtaudio_alsa.so
    
    $ emerge --info =qtmultimedia-5.8.0
    Portage 2.3.3 (python 3.5.2-final-0, default/linux/amd64/13.0, gcc-5.4.0, glibc-2.23-r3, 4.9.6-gentoo-r1 x86_64)
    =================================================================
                             System Settings
    =================================================================
    System uname: Linux-4.9.6-gentoo-r1-x86_64-AMD_FX-tm-8350_Eight-Core_Processor-with-gentoo-2.3
    KiB Mem:     8067284 total,   1578712 free
    KiB Swap:          0 total,         0 free
    Timestamp of repository gentoo: Mon, 03 Apr 2017 14:30:01 +0000
    sh sh
    ld GNU ld (Gentoo 2.26.1 p1.0) 2.26.1
    app-shells/bash:          4.3_p48-r1::gentoo
    dev-java/java-config:     2.2.0-r3::gentoo
    dev-lang/perl:            5.22.3_rc4::gentoo
    dev-lang/python:          2.7.12::gentoo, 3.4.5::gentoo, 3.5.2::gentoo
    dev-util/cmake:           3.7.2::gentoo
    dev-util/pkgconfig:       0.28-r2::gentoo
    sys-apps/baselayout:      2.3::gentoo
    sys-apps/openrc:          0.23.2::gentoo
    sys-apps/sandbox:         2.10-r3::gentoo
    sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
    sys-devel/automake:       1.15::gentoo
    sys-devel/binutils:       2.26.1::gentoo
    sys-devel/gcc:            5.4.0::gentoo
    sys-devel/gcc-config:     1.7.3::gentoo
    sys-devel/libtool:        2.4.6-r3::gentoo
    sys-devel/make:           4.2.1::gentoo
    sys-kernel/linux-headers: 4.4::gentoo (virtual/os-headers)
    sys-libs/glibc:           2.23-r3::gentoo
    Repositories:
    
    gentoo
        location: /usr/portage
        sync-type: rsync
        sync-uri: rsync://rsync.gentoo.org/gentoo-portage
        priority: -1000
    
    LocalOverlay
        location: /usr/local/portage
        masters: gentoo
        priority: 0
    
    bliss-overlay
        location: /var/lib/layman/bliss-overlay
        masters: gentoo
        priority: 50
    
    eroen
        location: /var/lib/layman/eroen
        masters: gentoo
        priority: 50
    
    gamerlay
        location: /var/lib/layman/gamerlay
        masters: gentoo
        priority: 50
    
    lua
        location: /var/lib/layman/lua
        masters: gentoo
        priority: 50
    
    mrueg
        location: /var/lib/layman/mrueg
        masters: gentoo
        priority: 50
    
    qt
        location: /var/lib/layman/qt
        masters: gentoo
        priority: 50
    
    tox-overlay
        location: /var/lib/layman/tox-overlay
        masters: gentoo
        priority: 50
    
    ACCEPT_KEYWORDS="amd64"
    ACCEPT_LICENSE="* -@EULA"
    CBUILD="x86_64-pc-linux-gnu"
    CFLAGS="-march=bdver2 -mtune=bdver2 -O2 -pipe"
    CHOST="x86_64-pc-linux-gnu"
    CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /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 /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
    CXXFLAGS="-march=bdver2 -mtune=bdver2 -O2 -pipe"
    DISTDIR="/usr/portage/distfiles"
    FCFLAGS="-O2 -pipe"
    FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
    FFLAGS="-O2 -pipe"
    GENTOO_MIRRORS="http://distfiles.gentoo.org"
    LANG="en_US.utf8"
    LDFLAGS="-Wl,-O1 -Wl,--as-needed"
    MAKEOPTS="-j6"
    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 --exclude=/.git"
    PORTAGE_TMPDIR="/var/tmp"
    USE="X acl acpi alsa amd64 bash-completion berkdb bzip2 cairo clang cli cracklib crypt cups curl curlwrappers cxx dbus declarative dri evdev ffmpeg flac fontconfig fortran ftp gdbm gegl gimp git glamor gstreamer gtk gtk3 gzip harfbuzz iconv imagemagick ipv6 jack java javascript joystick jpeg ladspa latex libcaca lua lv2 lzma modules mp3 multilib multimedia ncurses nls nptl nsplugin ogg opengl openmp opus pam pcre pdf png posix qml qt5 readline sasl sdl seccomp session sound speex ssl svg tcpd theora threads truetype udev unicode vorbis vpx webp x264 xattr xcb xft xinerama xml xsl zlib" ABI_X86="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" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 ssse3 sse3 sse4_1" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python3_5 python3_4 python2_7" RUBY_TARGETS="ruby21" USERLAND="GNU" VIDEO_CARDS="amdgpu radeonsi" 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:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
    
    =================================================================
                            Package Settings
    =================================================================
    
    dev-qt/qtmultimedia-5.8.0::qt was built with the following:
    USE="gstreamer qml widgets -alsa -debug -gles2 -gstreamer010 -openal -pulseaudio -test" ABI_X86="64"
Comment 1 zkdarian 2017-04-07 00:46:43 UTC
UPDATE: I tried removing those files temporarily from their location, but that did not solve the problem.  Audio is still being played through pulseaudio.  I don't know what I'm missing here.  I installed gstreamer without alsa and pulseaudio sinks-- gst-play defaults to JACK audio, so I'm 96% sure it's not due to gstreamer.
Comment 2 Michael Palimaka (kensington) gentoo-dev 2017-04-08 05:40:58 UTC
As per the package.mask message everything is broken right now.
Comment 3 Michael Palimaka (kensington) gentoo-dev 2017-07-23 04:36:41 UTC
Thanks, fixed in git.

https://gitweb.gentoo.org/proj/qt.git/commit/?id=4b6a9320ee8f2caa0e34b6783a4b99c21b082f0c