Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
phonon-vlc update problem
View unanswered posts
View posts from last 24 hours

Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message

Joined: 03 Nov 2012
Posts: 35

PostPosted: Thu Jul 28, 2016 9:36 am    Post subject: phonon-vlc update problem Reply with quote

Hi everybody

I have a problem on updating phonon and phonon-vlc.
My system run kde plasma (kde5) and I have updated qt to 5.6.1 release, -qt4 qt5 use flags are set on make.conf, but there are some exception (phonon and phonon-vlc require qt4, I set these flags on package.use)

The phonon-vlc compilation quit with the message:

Run Build Command:"/usr/bin/gmake" "cmTC_aaa29/fast"
/usr/bin/gmake -f CMakeFiles/cmTC_aaa29.dir/build.make CMakeFiles/cmTC_aaa29.dir/build
gmake[1]: Entering directory '/var/tmp/portage/media-libs/phonon-vlc-0.9.0/work/phonon-vlc-0.9.0-qt4/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_aaa29.dir/check_qt_visibility.cpp.o
/usr/bin/x86_64-pc-linux-gnu-g++ -DNDEBUG -march=corei7 -O2 -pipe -Wnon-virtual-dtor -Wno-long-long -Wundef -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -Wformat-security -fno-exceptions -DQT_NO_EXCEPTIONS -fno-check-new -fno-common -Woverloaded-virtual -fvisibility=hidden -o CMakeFiles/cmTC_aaa29.dir/check_qt_visibility.cpp.o -c /var/tmp/portage/media-libs/phonon-vlc-0.9.0/work/phonon-vlc-0.9.0-qt4/CMakeTmp/check_qt_visibility.cpp
/var/tmp/portage/media-libs/phonon-vlc-0.9.0/work/phonon-vlc-0.9.0-qt4/CMakeTmp/check_qt_visibility.cpp:1:27: fatal error: QtCore/QtGlobal: No such file or directory
#include <QtCore/QtGlobal>
compilation terminated.
CMakeFiles/cmTC_aaa29.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_aaa29.dir/check_qt_visibility.cpp.o' failed
gmake[1]: *** [CMakeFiles/cmTC_aaa29.dir/check_qt_visibility.cpp.o] Error 1
gmake[1]: Leaving directory '/var/tmp/portage/media-libs/phonon-vlc-0.9.0/work/phonon-vlc-0.9.0-qt4/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_aaa29/fast' failed
gmake: *** [cmTC_aaa29/fast] Error 2

CMake Error at /usr/share/phonon/buildsystem/PhononQt4.cmake:279 (message):
Qt compiled without support for -fvisibility=hidden. This will break
plugins and linking of some applications. Please fix your Qt installation
(try passing --reduce-exports to configure).
Call Stack (most recent call first):
/usr/share/phonon/buildsystem/FindPhononInternal.cmake:105 (include)
cmake/FindPhonon.cmake:23 (include)
CMakeLists.txt:7 (find_package)

This is the oput of --info
# emerge --info '=media-libs/phonon-vlc-0.9.0::gentoo'
Portage 2.2.28 (python 3.4.3-final-0, default/linux/amd64/13.0/desktop/plasma, gcc-4.9.3, glibc-2.22-r4, 4.4.6-gentoo x86_64)
System Settings
System uname: Linux-4.4.6-gentoo-x86_64-Intel-R-_Core-TM-_i7-4910MQ_CPU_@_2.90GHz-with-gentoo-2.2
KiB Mem: 16412916 total, 13592604 free
KiB Swap: 16777212 total, 16777212 free
Timestamp of repository gentoo: Thu, 28 Jul 2016 07:30:01 +0000
sh bash 4.3_p42-r1
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
app-shells/bash: 4.3_p42-r1::gentoo
dev-java/java-config: 2.2.0-r3::gentoo
dev-lang/perl: 5.20.2::gentoo
dev-lang/python: 2.7.10-r1::gentoo, 3.4.3-r1::gentoo
dev-util/cmake: 3.3.1-r1::gentoo
dev-util/pkgconfig: 0.28-r2::gentoo
sys-apps/baselayout: 2.2::gentoo
sys-apps/openrc: 0.19.1::gentoo
sys-apps/sandbox: 2.10-r1::gentoo
sys-devel/autoconf: 2.13::gentoo, 2.69::gentoo
sys-devel/automake: 1.11.6-r1::gentoo, 1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils: 2.25.1-r1::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: 4.3::gentoo (virtual/os-headers)
sys-libs/glibc: 2.22-r4::gentoo

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

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

CFLAGS="-march=corei7 -O2 -pipe"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /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/php/apache2-php5.6/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cli-php5.6/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=corei7 -O2 -pipe"
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"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
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"
USE="X a52 a53 aac acl acpi alsa amd64 apache2 berkdb bluetooth branding bzip2 cairo cdda cdr cleartype cli consolekit corefonts cracklib crypt cups cxx dbus declarative dhcpcd dri dts dvd dvdr emboss encode exif fam ffmpeg firefox flac fortran gd gdbm gif gimp git glamor gpm grub gtk iconv ipv6 java jpeg kde kipi lame lcms ldap libnotify lm_sensors m3dnow mad mmx mmxext mng modules mp3 mp4 mpeg multilib mysql mysqli ncurses networkmanager nls nptl nvidia ogg opengl openmp openssl pam pango pcre pdf phonon php plasma png policykit ppds pulseaudio qml qt3support qt5 raw readline samba sddm sdl seccomp semantic-desktop session smpeg sna spell sse sse2 sse3 ssl startup-notification svg tcpd tga threads tiff truetype udev udisks unicode upower usb v4l v4l2 vorbis wav webkit widgets wifi wxwidgets x264 xattr xcb xcomposite xinerama xml xpm xscreensaver xv xvid xvmc zlib" ABI_X86="64 32" 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="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" INPUT_DEVICES="evdev synaptics" KERNEL="linux" L10N="it en-US" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="it en_US" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby20 ruby21" USERLAND="GNU" VIDEO_CARDS="nvidia" 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"

any suggestion?
Back to top
View user's profile Send private message

Joined: 07 Jun 2003
Posts: 394

PostPosted: Fri Jul 29, 2016 2:57 am    Post subject: Reply with quote

I'm having a slightly different error


CMakeFiles/cmTC_b0222.dir/check_qt_visibility.cpp.o:(.qtversion[qt_version_tag]+0x0): undefined reference to `qt_version_tag'

!זה הכי, אחי Gentoo
Back to top
View user's profile Send private message

Joined: 03 Nov 2012
Posts: 35

PostPosted: Fri Jul 29, 2016 9:57 am    Post subject: Reply with quote

I try to update the system, but it fail always in the same way.

phonon-vlc compilation fail.

In the configuration check there is:

-- Found unsuitable Qt version "5.6.1" from /usr/bin/qmake
Back to top
View user's profile Send private message

Joined: 05 Apr 2007
Posts: 8053
Location: Austria

PostPosted: Fri Jul 29, 2016 10:23 am    Post subject: Reply with quote

$ equery l -i dev-qt/*

backend.cpp:92:2: warning: #warning TODO - this error message is about as useful as a cooling unit in the arctic
Back to top
View user's profile Send private message

Joined: 03 Nov 2012
Posts: 35

PostPosted: Fri Jul 29, 2016 3:39 pm    Post subject: Reply with quote

~ # equery list -i dev-qt/*
* Searching for * in dev-qt ...
[IP-] [ ] dev-qt/designer-4.8.7:4
[IP-] [ ] dev-qt/designer-5.6.1:5/5.6
[IP-] [ ] dev-qt/linguist-tools-5.6.1:5/5.6
[IP-] [ ] dev-qt/qdbus-5.6.1:5/5.6
[IP-] [ ] dev-qt/qt-creator-4.0.3:0
[IP-] [ ] dev-qt/qt3support-4.8.7:4
[IP-] [ ] dev-qt/qtchooser-0_p20151008:0
[IP-] [ ] dev-qt/qtconcurrent-5.6.1:5/5.6
[IP-] [ ] dev-qt/qtcore-4.8.7-r2:4
[IP-] [ ] dev-qt/qtcore-5.6.1:5/5.6
[IP-] [ ] dev-qt/qtdbus-4.8.7:4
[IP-] [ ] dev-qt/qtdbus-5.6.1:5/5.6
[IP-] [ ] dev-qt/qtdeclarative-4.8.7:4
[IP-] [ ] dev-qt/qtdeclarative-5.6.1-r1:5/5.6
[IP-] [ ] dev-qt/qtgraphicaleffects-5.6.1:5/5.6
[IP-] [ ] dev-qt/qtgui-4.8.7:4
[IP-] [ ] dev-qt/qtgui-5.6.1:5/5.6
[IP-] [ ] dev-qt/qthelp-4.8.7:4
[IP-] [ ] dev-qt/qthelp-5.6.1:5/5.6
[IP-] [ ] dev-qt/qtimageformats-5.6.1:5/5.6
[IP-] [ ] dev-qt/qtmultimedia-4.8.7:4
[IP-] [ ] dev-qt/qtnetwork-5.6.1:5/5.6
[IP-] [ ] dev-qt/qtopengl-4.8.7:4
[IP-] [ ] dev-qt/qtopengl-5.6.1:5/5.6
[IP-] [ ] dev-qt/qtpaths-5.6.1:5/5.6
[IP-] [ ] dev-qt/qtprintsupport-5.6.1:5/5.6
[IP-] [ ] dev-qt/qtquickcontrols-5.6.1:5/5.6
[IP-] [ ] dev-qt/qtscript-4.8.7:4
[IP-] [ ] dev-qt/qtscript-5.6.1:5/5.6
[IP-] [ ] dev-qt/qtsql-4.8.7-r1:4
[IP-] [ ] dev-qt/qtsql-5.6.1:5/5.6
[IP-] [ ] dev-qt/qtsvg-4.8.7:4
[IP-] [ ] dev-qt/qtsvg-5.6.1:5/5.6
[IP-] [ ] dev-qt/qttest-4.8.7:4
[IP-] [ ] dev-qt/qttest-5.6.1:5/5.6
[IP-] [ ] dev-qt/qttranslations-4.8.7:4
[IP-] [ ] dev-qt/qtwayland-5.6.1:5/5.6
[IP-] [ ] dev-qt/qtwebkit-4.8.7:4
[IP-] [ ] dev-qt/qtwebkit-5.6.1:5/5.6
[IP-] [ ] dev-qt/qtwidgets-5.6.1:5/5.6
[IP-] [ ] dev-qt/qtx11extras-5.6.1:5/5.6
[IP-] [ ] dev-qt/qtxml-5.6.1:5/5.6
[IP-] [ ] dev-qt/qtxmlpatterns-4.8.7:4
[IP-] [ ] dev-qt/qtxmlpatterns-5.6.1:5/5.6
Back to top
View user's profile Send private message

Joined: 03 Nov 2012
Posts: 35

PostPosted: Tue Aug 02, 2016 8:07 am    Post subject: Reply with quote

It is right this?

#pkg-config --cflags QtCore
-DQT_SHARED -I/usr/include/qt4 -I/usr/include/qt4/QtCore

even if my qt is configure for Qt5?

System update continue to fail.

A similar promlem is on the app-office/akonadi-server-1.13.1_pre20160203-r1 package emerge.
Compiling using something on Qt4 but exiting with error.
I avoided this problem masking the akonadi-server. Masking phonon-vlc is not working.

It seems to be Qt non configured correctly.
Back to top
View user's profile Send private message

Joined: 03 Nov 2012
Posts: 35

PostPosted: Tue Aug 02, 2016 2:34 pm    Post subject: Reply with quote

I try this

# export QT_SELECT=qt4
#emerge --update --deep --newuse @world

and the operation was completed right, the system seems to be updated now, but phonon-vlc was compiled using qt4, it is right?

I don't know if mark as SOLVED this thread.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments 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