Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
dev-qt/qtmultimedia-5.9.3 fails while setting '-pulseaudio'
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
acidrums4
Tux's lil' helper
Tux's lil' helper


Joined: 05 Feb 2009
Posts: 136
Location: Al otro lado del monitor

PostPosted: Mon Dec 18, 2017 1:31 am    Post subject: dev-qt/qtmultimedia-5.9.3 fails while setting '-pulseaudio' Reply with quote

Unmasked Qt-5.9.3 as requeriment for emerging KDE Applications 17.12 and Frameworks current upstream release. I was using Pulseaudio but wanted to got rid of it (it pissed me off and it was about time, for the sake of a little more of Gnome-free environment), so I unmerged pulseaudio, setted '-pulseaudio' on /etc/portage/make.conf and did a 'emerge -auUDNv @world'.

One of the packages that were about to be reemerged was dev-qt/qtmultimedia-5.9.3. But despite the global setting of '-pulseaudio' prior of its merge, it failed:

Code:
/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../../../x86_64-pc-linux-gnu/bin/ld.gold: error: cannot find -lpulse-mainloop-glib
/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../../../x86_64-pc-linux-gnu/bin/ld.gold: error: cannot find -lpulse
collect2: error: ld returned 1 exit status
make[4]: *** [Makefile:226: ../../../../plugins/mediaservice/libgstcamerabin.so] Error 1


I'm not completely sure if this is a PEBKAC or is this actually a bug on dev-qt/qtmultimedia-5.9.3. However, here's a link to the complete build log of dev-qt/qtmultimedia-5.9.3, and following is the output of `emerge --info '=dev-qt/qtmultimedia-5.9.3::gentoo'` (note that at the bottom, on the "Package Settings" mark, qtmultimedia is listed with pulseaudio flag but that is the existing emerged version, not the one I was trying to emerge):

Code:

Portage 2.3.13 (python 3.5.4-final-0, default/linux/amd64/17.0/desktop/plasma/systemd, gcc-6.4.0, glibc-2.25-r9, 4.13.0-pf13 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.13.0-pf13-x86_64-Intel-R-_Core-TM-_i5-2400S_CPU_@_2.50GHz-with-gentoo-2.4.1
KiB Mem:     3930712 total,    110340 free
KiB Swap:    8191996 total,   6769892 free
Timestamp of repository gentoo: Sun, 17 Dec 2017 16:30:01 +0000
Head commit of repository gentoo: 7115447b25c39e34a7c540891667b559f6d369e0
sh bash 4.3_p48-r1
ld GNU ld (Gentoo 2.29.1 p3) 2.29.1
app-shells/bash:          4.3_p48-r1::gentoo
dev-lang/perl:            5.24.3::gentoo
dev-lang/python:          2.7.14-r1::gentoo, 3.5.4-r1::gentoo
dev-util/cmake:           3.8.2::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.4.1-r2::gentoo
sys-apps/sandbox:         2.10-r4::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.15.1-r1::gentoo
sys-devel/binutils:       2.29.1-r1::gentoo
sys-devel/gcc:            6.4.0::gentoo
sys-devel/gcc-config:     1.8-r1::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.25-r9::gentoo
Repositories:

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

localrepo
    location: /usr/local/portage
    masters: gentoo

kde
    location: /var/lib/layman/kde
    masters: gentoo
    priority: 50

stuff
    location: /var/lib/layman/stuff
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=sandybridge -O2 -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-rebui
ld /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=sandybridge -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs ccache clean-logs compress-build-logs config-protect-if-modified distlocks ebuild-locks fail-clean fix
lafiles merge-sync multilib-strict news parallel-fetch parallel-install 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="es_CO.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --hu
man-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl acoustid acpi activities alsa amd64 amr amrenc amrnb amrwb apng appmenu autoipd automount avahi berkdb bittorrent blueto
oth branding bzip2 cairo cdda cdr cli cpufreq_bench cracklib crypt custom-optimization cxx dbus declarative device-mapper dhcpcd divx dri d
ts dvd dvdr ebook emboss encode eps epub exif extras facebook fam ffmpeg fftw firefox flac fortran gdbm gif git glamor glitz gmp google gph
oto2 gpm graphicsmagick gstreamer htmlthumbs iconv id3tag ipv6 javascript jpeg jpeg2k kde kdenlive kdepim kipi kpathsea kscreen kwallet lcd
filter lcms libkipi libmpeg2 libnotify lzma mad marble mjpeg mng mobi mobile modules mp3 mp4 mpeg mpi mpv mtp multilib multimedia ncurses n
etworkmanager nls nptl offensive ogg okular opengl openmp openssl optimized-qmake pam pcre pdf phonon pic plasma plucker pm-utils png polic
ykit ppds python qml qt5 quicktime rar raw readline romio rss samba sdl seccomp semantic-desktop session sql ssh ssl startup-notification s
ubversion svg systemd taglib tcpd telepathy theora threads thumbnail tiff truetype udev udisks udisks2 unicode upower usb vim-pager vim-syn
tax vorbis wavpack wayland webkit webp widgets win32codecs x264 xattr xcb xcomposite xft xinerama xkb xml xv xvid zip zlib zsh-completion"
ABI_X86="64" ALSA_CARDS="hda-intel" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_a
non authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid d
av dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mim
e_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLEC
TD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" E
LIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanser
ver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="pc" INPUT_DEVICES="evde
v mouse keyboard wacom" KERNEL="linux" L10N="es es_CO es_LA" 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 php7-0" POSTGR
ES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_5" PYTHON_TARGETS="python2_7 python3_5" RUBY_TARGETS="ruby22 ruby20" USERLAND="GNU"
VIDEO_CARDS="intel i965" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sys
rq 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

=================================================================
                        Package Settings
=================================================================

dev-qt/qtmultimedia-5.9.3::gentoo was built with the following:
USE="alsa gstreamer pulseaudio qml widgets -debug (-gles2) -openal -test" ABI_X86="(64)"
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 16939
Location: here

PostPosted: Mon Dec 18, 2017 7:03 am    Post subject: Reply with quote

Why in build log I see ld.gold: error: but in emerge info say ld GNU ld?
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
acidrums4
Tux's lil' helper
Tux's lil' helper


Joined: 05 Feb 2009
Posts: 136
Location: Al otro lado del monitor

PostPosted: Mon Dec 18, 2017 12:14 pm    Post subject: Reply with quote

fedeliallalinea wrote:
Why in build log I see ld.gold: error: but in emerge info say ld GNU ld?


I really have no idea.

I just learned about Gold linker when switching to GCC 6. I did all the steps asked on the update news (yes, emerging the whole @world set was one of them). I don't even know how to switch between Gold and GNU ld, I thought the GCC update did that by itself.

Never had an issue since then, until this. I don't think that has anything to with this, though.
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 16939
Location: here

PostPosted: Mon Dec 18, 2017 12:19 pm    Post subject: Reply with quote

By default you have gnu ld (see in emerge --info), probably there is a configuration in /etc/portage for use gold linker.
You can test it with command
Code:
$ grep -r gold /etc/portage/*

_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
acidrums4
Tux's lil' helper
Tux's lil' helper


Joined: 05 Feb 2009
Posts: 136
Location: Al otro lado del monitor

PostPosted: Mon Dec 18, 2017 12:24 pm    Post subject: Reply with quote

fedeliallalinea wrote:
By default you have gnu ld (see in emerge --info), probably there is a configuration in /etc/portage for use gold linker.
You can test it with command
Code:
$ grep -r gold /etc/portage/*


That returned nothing :( Going to google around what's going on (why this is using gold linker).
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 16939
Location: here

PostPosted: Mon Dec 18, 2017 12:54 pm    Post subject: Reply with quote

Ok I recompiled package on my system and seems to use gold by default and so isn't the problem.
Anyway it seems releted to this bug
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
acidrums4
Tux's lil' helper
Tux's lil' helper


Joined: 05 Feb 2009
Posts: 136
Location: Al otro lado del monitor

PostPosted: Mon Dec 18, 2017 1:23 pm    Post subject: Reply with quote

Quote:
Anyway it seems releted to this bug


Hmmm, thanks :) I couldn't understand much of what they were saying on those bug reports, but for what I could it said something like an existing qtmultimedia installation would make require pulseaudio for a new installation it won't ask for it.

So I tried unmerging qtmultimedia and emerging... and voilà. Another case of Qt just being Qt.

Anyway, thank you so much for your help and patiente. :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum