Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 560150 - dev-qt/qtwebkit:5 has automatic dev-qt/qtdeclarative:5 dependency
Summary: dev-qt/qtwebkit:5 has automatic dev-qt/qtdeclarative:5 dependency
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-09-10 15:33 UTC by Risimi
Modified: 2015-10-17 17:55 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 Risimi 2015-09-10 15:33:56 UTC
qupzilla-1.8.6-r1 (USE="dbus qt5 -debug -gnome-keyring -kde -nonblockdialogs -qt4") won't start.

~ $ qupzilla
qupzilla: error while loading shared libraries: libQt5Quick.so.5: cannot open shared object file: No such file or directory

Installing dev-qt/qtdeclarative:5 manually (provides libQt5Quick.so) resolves the issue.


Packages pulled with qupzilla:

[ebuild  N     ] app-arch/snappy-1.1.2-r1::gentoo USE="-static-libs" ABI_X86="(64) -32 (-x32)" 0 KiB
[ebuild  N     ] x11-libs/libxkbcommon-0.5.0::gentoo USE="X -doc -static-libs {-test}" ABI_X86="(64) -32 (-x32)" 0 KiB
[ebuild  N     ] sys-libs/libunwind-1.1:7::gentoo USE="lzma -debug -debug-frame -libatomic -static-libs" 0 KiB
[ebuild  N     ] dev-util/google-perftools-2.0-r2:0/4::gentoo USE="debug -largepages -minimal -static-libs {-test}" 0 KiB
[ebuild  N     ] dev-libs/leveldb-1.18-r1::gentoo USE="snappy tcmalloc -static-libs" 0 KiB
[ebuild  NS    ] dev-qt/qtcore-5.4.2:5::gentoo [4.8.6-r2:4::gentoo] USE="icu -debug -systemd {-test}" 0 KiB
[ebuild  NS    ] dev-qt/qtsql-5.4.2:5::gentoo [4.8.6-r1:4::gentoo] USE="sqlite -debug -freetds -mysql -oci8 -odbc -postgres {-test}" 0 KiB
[ebuild  NS    ] dev-qt/qtscript-5.4.2-r1:5::gentoo [4.8.6-r2:4::gentoo] USE="jit -debug -scripttools {-test}" 0 KiB
[ebuild  N     ] dev-qt/qtconcurrent-5.4.2:5::gentoo USE="-debug {-test}" 0 KiB
[ebuild  N     ] dev-qt/qtnetwork-5.4.2:5::gentoo USE="ssl -bindist -connman -debug -networkmanager {-test}" 0 KiB
[ebuild  NS    ] dev-qt/qtdbus-5.4.2:5::gentoo [4.8.6-r1:4::gentoo] USE="-debug {-test}" 0 KiB
[ebuild  NS    ] dev-qt/qtgui-5.4.2-r1:5::gentoo [4.8.6-r4:4::gentoo] USE="accessibility dbus evdev gif harfbuzz jpeg png udev xcb -debug -egl -eglfs -gles2 -gtkstyle -ibus {-test}" 0 KiB
[ebuild  N     ] dev-qt/qtwidgets-5.4.2:5::gentoo USE="png xcb -debug -gles2 -gtkstyle {-test}" 0 KiB
[ebuild  NS    ] dev-qt/qtopengl-5.4.2:5::gentoo [4.8.6-r1:4::gentoo] USE="-debug -gles2 {-test}" 0 KiB
[ebuild  N     ] dev-qt/qtprintsupport-5.4.2:5::gentoo USE="-cups -debug -gles2 {-test}" 0 KiB
[ebuild  NS    ] dev-qt/qtmultimedia-5.4.2-r1:5::gentoo [4.8.6-r1:4::gentoo] USE="alsa gstreamer opengl widgets -debug -openal -pulseaudio -qml {-test}" 0 KiB
[ebuild  NS    ] dev-qt/qtwebkit-5.4.2:5::gentoo [4.8.6-r1:4::gentoo] USE="multimedia opengl udev webp -debug -gstreamer -gstreamer010 -printsupport -qml {-test}" 0 KiB
[ebuild  N    ~] www-client/qupzilla-1.8.6-r1::gentoo USE="dbus qt5 -debug -gnome-keyring -kde -nonblockdialogs -qt4" LINGUAS="ru_RU -ar_SA -bg_BG -ca_ES -cs_CZ -de_DE -el_GR -es_ES -es_MX -es_VE -eu_ES
-fa_IR -fi_FI -fr_FR -gl_ES -he_IL -hr_HR -hu_HU -id_ID -it_IT -ja_JP -ka_GE -lg -lv_LV -nl_NL -nqo -pl_PL -pt_BR -pt_PT -ro_RO -sk_SK -sr -sr@ijekavian -sr@ijekavianlatin -sr@latin -sv_SE -tr_TR -uk_UA -uz@Latn -zh_CN -zh_TW" 0 KiB


emerge --info qupzilla:

Portage 2.2.20.1 (python 3.4.1-final-0, default/linux/amd64/13.0, gcc-4.9.3, glibc-2.20-r2, 4.0.5-ck x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.0.5-ck-x86_64-AMD_Sempron-tm-_Processor_3300+-with-gentoo-2.2
KiB Mem:     1922684 total,    218252 free
KiB Swap:    2097148 total,   2097148 free
Timestamp of repository gentoo: Tue, 08 Sep 2015 11:15:01 +0000
Timestamp of repository overnight: 1441484236
sh bash 4.3_p39
ld GNU gold (Gentoo 2.24 p1.4 2.24) 1.11
app-shells/bash:          4.3_p39::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.17::gentoo
sys-apps/sandbox:         2.6-r1::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.11.6-r1::gentoo, 1.13.4::gentoo, 1.15::gentoo
sys-devel/binutils:       2.24-r3::gentoo
sys-devel/gcc:            4.9.3::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: /home/portage/tree/portage
    sync-type: rsync
    sync-uri: rsync://192.168.1.1/gentoo-portage
    priority: -1000

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-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/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe"
DISTDIR="/home/portage/distfiles"
EMERGE_DEFAULT_OPTS="--jobs=2 --load-average=0.9 --usepkg"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs candy cgroup config-protect-if-modified distlocks downgrade-backup fixlafiles merge-sync news noinfo parallel-fetch parallel-install preserve-libs protect-owned sandbox sfperms strict unknown-feature
s-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="        ftp://mirror.isoc.org.il/gentoo/        http://mirror.isoc.org.il/pub/gentoo/   http://ftp.linux.org.tr/gentoo/         http://files.gentoo.gr/         ftp://ftp.ntua.gr/pub/linux/gentoo/     http://ftp.ntua.gr/p
ub/linux/gentoo/ "
LANG="ru_RU.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--sort-common "
MAKEOPTS="--jobs=1 --load-average=1.5"
PKGDIR="/home/portage/packages/xlalx"
PORTAGE_COMPRESS="xz"
PORTAGE_COMPRESS_FLAGS="-9e"
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/portage/tmpfs"
USE="X acl acpi alsa amd64 bidi bzip2 cairo caps cjk cli consolekit crypt cxx dbus device-mapper djvu dri exif fam ffmpeg fftw fontconfig g3dvl gcrypt gdbm gif gmp iconv icu infinality jemalloc jit jpeg jpeg2k kde lcms libnotify lzma mm
ap mmx mmxext modules multilib ncurses nettle nls nptl opengl openmp opus pam pcre png policykit readline seccomp semantic-desktop session spell sse sse2 ssl startup-notification tcpd theora threads tiff truetype udev udisks unicode vdp
au vim-syntax wide-unicode x264 xa xattr xcb xscreensaver xv xvid zlib zsh-completion" ABI_X86="64" ALSA_CARDS="intel8x0" CAMERAS="ptp2 canon fuji" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="3dnow
 3dnowext mmx mmxext sse sse2 sse3" ELIBC="glibc" GRUB_PLATFORMS="pc" INPUT_DEVICES="evdev" KERNEL="linux" LINGUAS="ru ru_RU" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="pyth
on2_7 python3_4" RUBY_TARGETS="ruby20 ruby21" SANE_BACKENDS="epson2" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat l
ogmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

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

www-client/qupzilla-1.8.6-r1::gentoo was built with the following:
USE="dbus qt5 -debug -gnome-keyring -kde -nonblockdialogs -qt4" ABI_X86="64" LINGUAS="ru_RU -ar_SA -bg_BG -ca_ES -cs_CZ -de_DE -el_GR -es_ES -es_MX -es_VE -eu_ES -fa_IR -fi_FI -fr_FR -gl_ES -he_IL -hr_HR -hu_HU -id_ID -it_IT -ja_JP -ka_
GE -lg -lv_LV -nl_NL -nqo -pl_PL -pt_BR -pt_PT -ro_RO -sk_SK -sr -sr@ijekavian -sr@ijekavianlatin -sr@latin -sv_SE -tr_TR -uk_UA -uz@Latn -zh_CN -zh_TW"
CFLAGS="-O2 -pipe -O3 -fno-unswitch-loops -fno-tree-loop-im -fno-lto"
CXXFLAGS="-O2 -pipe -O3 -fno-unswitch-loops -fno-tree-loop-im -O3 -fno-unswitch-loops -fno-tree-loop-im -fno-lto"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--sort-common -fno-lto"
Comment 1 Michael Palimaka (kensington) gentoo-dev 2015-10-01 12:37:48 UTC
What is the output of emerge -pv qtwebkit:5 and lddtree /usr/bin/qupzilla?

qupzilla doesn't appear to use qtdeclarative directly, so I suspect your qtwebkit is broken.
Comment 2 Risimi 2015-10-02 17:32:40 UTC
(In reply to Michael Palimaka (kensington) from comment #1)

% emerge -pv qtwebkit:5 --usepkg n

These are the packages that would be merged, in order:

Calculating dependencies                                 ... done!
[ebuild  N     ] dev-libs/libyaml-0.1.6::gentoo  USE="-doc -examples -static-libs {-test}" 0 KiB
[ebuild  N     ] app-eselect/eselect-ruby-20131227::gentoo  0 KiB
[ebuild  N     ] dev-util/ragel-6.7-r1::gentoo  USE="vim-syntax" 0 KiB
[ebuild  N     ] dev-lang/ruby-2.1.6-r1:2.1::gentoo  USE="gdbm ncurses rdoc readline ssl -berkdb -debug -doc -examples -ipv6 -rubytests -socks5 -xemacs" 0 KiB
[ebuild  N     ] dev-lang/ruby-2.0.0_p645:2.0::gentoo  USE="gdbm ncurses rdoc readline ssl -berkdb -debug -doc -examples -ipv6 -rubytests -socks5 -xemacs" CPU_FLAGS_X86="sse2" 8 104 KiB
[ebuild  N     ] dev-ruby/rubygems-2.2.5-r1::gentoo  USE="-server {-test}" RUBY_TARGETS="ruby20 ruby21 -ruby19" 0 KiB
[ebuild  N     ] virtual/rubygems-10::gentoo  RUBY_TARGETS="ruby20 ruby21 -ruby19" 0 KiB
[ebuild  N     ] dev-ruby/rake-0.9.6-r1::gentoo  USE="-doc {-test}" RUBY_TARGETS="ruby20 ruby21 -ruby19" 0 KiB
[ebuild  N     ] dev-ruby/json-1.8.2-r1::gentoo  USE="-doc {-test}" RUBY_TARGETS="ruby20 ruby21 -ruby19" 0 KiB
[ebuild  N     ] dev-ruby/racc-1.4.11::gentoo  USE="-doc {-test}" RUBY_TARGETS="ruby20 ruby21 -ruby19" 0 KiB
[ebuild  N     ] dev-ruby/rdoc-4.0.1-r2::gentoo  USE="-doc {-test}" RUBY_TARGETS="ruby20 ruby21 -ruby19" 0 KiB
[ebuild   R    ] dev-qt/qtwebkit-5.4.2:5::gentoo  USE="multimedia opengl udev webp -debug -gstreamer -gstreamer010 -printsupport -qml {-test}" 0 KiB


% lddtree /usr/bin/qupzilla
qupzilla => /usr/bin/qupzilla (interpreter => /lib64/ld-linux-x86-64.so.2)
    libQupZilla.so.1 => /usr/lib/libQupZilla.so.1
        libhunspell-1.3.so.0 => /usr/lib/libhunspell-1.3.so.0
        libX11.so.6 => /usr/lib/libX11.so.6
            libxcb.so.1 => /usr/lib/libxcb.so.1
                libXau.so.6 => /usr/lib/libXau.so.6
                libXdmcp.so.6 => /usr/lib/libXdmcp.so.6
            libdl.so.2 => /lib/libdl.so.2
        libcrypto.so.1.0.0 => /usr/lib/libcrypto.so.1.0.0
            libz.so.1 => /lib/libz.so.1
        libQt5WebKitWidgets.so.5 => /usr/lib/libQt5WebKitWidgets.so.5
            libQt5MultimediaWidgets.so.5 => /usr/lib/libQt5MultimediaWidgets.so.5
                libGL.so.1 => /usr/lib64/opengl/nvidia/lib/libGL.so.1
                    libnvidia-tls.so.304.125 => /usr/lib64/opengl/nvidia/lib/libnvidia-tls.so.304.125
                    libnvidia-glcore.so.304.125 => /usr/lib/libnvidia-glcore.so.304.125
                    libXext.so.6 => /usr/lib/libXext.so.6
                libm.so.6 => /lib/libm.so.6
            libQt5Multimedia.so.5 => /usr/lib/libQt5Multimedia.so.5
            libQt5OpenGL.so.5 => /usr/lib/libQt5OpenGL.so.5
        libQt5PrintSupport.so.5 => /usr/lib/libQt5PrintSupport.so.5
        libQt5Gui.so.5 => /usr/lib/libQt5Gui.so.5
            libpng16.so.16 => /usr/lib/libpng16.so.16
            libharfbuzz.so.0 => /usr/lib/libharfbuzz.so.0
                libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0
                libfreetype.so.6 => /usr/lib/libfreetype.so.6
                    libbz2.so.1 => /lib/libbz2.so.1
                libgraphite2.so.3 => /usr/lib/libgraphite2.so.3
        libQt5Network.so.5 => /usr/lib/libQt5Network.so.5
            libssl.so.1.0.0 => /usr/lib/libssl.so.1.0.0
        libQt5Sql.so.5 => /usr/lib/libQt5Sql.so.5
        libQt5Script.so.5 => /usr/lib/libQt5Script.so.5
        libQt5DBus.so.5 => /usr/lib/libQt5DBus.so.5
            libdbus-1.so.3 => /usr/lib/libdbus-1.so.3
        libpthread.so.0 => /lib/libpthread.so.0
    libQt5Widgets.so.5 => /usr/lib/libQt5Widgets.so.5
    libQt5WebKit.so.5 => /usr/lib/libQt5WebKit.so.5
        librt.so.1 => /lib/librt.so.1
        libXrender.so.1 => /usr/lib/libXrender.so.1
        libXcomposite.so.1 => /usr/lib/libXcomposite.so.1
        libleveldb.so.1 => /usr/lib/libleveldb.so.1
            libsnappy.so.1 => /usr/lib/libsnappy.so.1
        libmemenv.so.1 => /usr/lib/libmemenv.so.1
        libjpeg.so.62 => /usr/lib/libjpeg.so.62
        libwebp.so.5 => /usr/lib/libwebp.so.5
        libxslt.so.1 => /usr/lib/libxslt.so.1
        libxml2.so.2 => /usr/lib/libxml2.so.2
            libicudata.so.55 => /usr/lib/libicudata.so.55
            liblzma.so.5 => /lib/liblzma.so.5
        libsqlite3.so.0 => /usr/lib/libsqlite3.so.0
        libicui18n.so.55 => /usr/lib/libicui18n.so.55
        libicuuc.so.55 => /usr/lib/libicuuc.so.55
        libQt5Quick.so.5 => /usr/lib/libQt5Quick.so.5
        libQt5Qml.so.5 => /usr/lib/libQt5Qml.so.5
    libQt5Core.so.5 => /usr/lib/libQt5Core.so.5
        libpcre16.so.0 => /usr/lib/libpcre16.so.0
    libstdc++.so.6 => /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/libstdc++.so.6
    libgcc_s.so.1 => /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/libgcc_s.so.1
    libc.so.6 => /lib/libc.so.6


> I suspect your qtwebkit is broken
Yes, this was the case.

Looks like qtwebkit (with USE="-qml") links to libQt5{Quick,QML}.so.5 based on if it was present during the build.
Rebuilding qtwebkit with qtdeclarative being uninstalled, removes those lines:
        "libQt5Quick.so.5 => /usr/lib/libQt5Quick.so.5"
        "libQt5Qml.so.5 => /usr/lib/libQt5Qml.so.5"
from output of lddtree.
Rebuilding qtwebkit second time (with the same use flags), with qtdeclarative being installed, brings them back.

And this can break qtwebkit when installing from binary package:
emerge --oneshot qtdeclarative:5
USE="-qml" emerge qtwebkit:5 --buildpkgonly
emerge --depclean qtdeclarative:5
USE="-qml" emerge qtwebkit:5 --usepkg y
Comment 3 Michael Palimaka (kensington) gentoo-dev 2015-10-17 17:55:40 UTC
Thanks, this is fixed in 5.5.1.