Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 548360 - media-video/vlc-2.2.1 :configure: error: Package requirements (Qt5Core >= 5.1.0 Qt5Widgets Qt5Gui) were not met:
Summary: media-video/vlc-2.2.1 :configure: error: Package requirements (Qt5Core >= 5.1...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Nick Andrade
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-05-01 21:14 UTC by Toralf Förster
Modified: 2015-05-11 22:05 UTC (History)
3 users (show)

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


Attachments
emerge log (media-video-vlc-2.2.1-20150501-211135.log,28.05 KB, text/plain)
2015-05-01 21:14 UTC, Toralf Förster
Details
config log (config.log,302.45 KB, text/plain)
2015-05-01 21:14 UTC, Toralf Förster
Details
qt_select_for_vlc-2.2.2.1.ebuild.patch (qt_select_for_vlc-2.2.2.1.ebuild.patch,334 bytes, patch)
2015-05-01 22:31 UTC, Nick Andrade
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2015-05-01 21:14:44 UTC
Created attachment 402402 [details]
emerge log

checking for XCB... yes
checking for XCB_SHM... yes
checking for XCB_COMPOSITE... yes
checking for XPROTO... yes
checking for XCB_XV... yes
checking for XCB_RANDR... yes
checking for XCB_KEYSYMS... yes
checking for SDL... yes
checking for FREETYPE... yes
checking Carbon/Carbon.h usability... no
checking Carbon/Carbon.h presence... no
checking for Carbon/Carbon.h... no
checking fontconfig/fontconfig.h usability... yes
checking fontconfig/fontconfig.h presence... yes
checking for fontconfig/fontconfig.h... yes
checking for SVG... yes
checking for SVGDEC... yes
checking linux/fb.h usability... yes
checking linux/fb.h presence... yes
checking for linux/fb.h... yes
checking for ALSA... yes
checking for SAMPLERATE... yes
checking for QT... no
configure: error: Package requirements (Qt5Core >= 5.1.0 Qt5Widgets Qt5Gui) were not met:

No package 'Qt5Core' found
No package 'Qt5Widgets' found
No package 'Qt5Gui' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables QT_CFLAGS
and QT_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/media-video/vlc-2.2.1/work/vlc-2.2.1/config.log
 * ERROR: media-video/vlc-2.2.1::gentoo failed (configure phase):
 *   econf failed
 * 
 * Call stack:
 *               ebuild.sh, line   93:  Called src_configure
 *             environment, line 3279:  Called econf '--with-default-font=/usr/share/fonts/dejavu//DejaVuSans.ttf' '--with-default-font-family=Sans' '--with-default-monospace-font=/usr/share/fonts/dejavu//DejaVuSansMono.ttf' '--with-default-monospace-font-family=Monospace' '--enable-vlc' '--docdir=/usr/share/doc/vlc-2.2.1' '--disable-dependency-tracking' '--disable-optimizations' '--disable-update-check' '--enable-fast-install' '--enable-screen' '--enable-a52' '--disable-aa' '--enable-alsa' '--disable-altivec' '--disable-atmo' '--disable-audioqueue' '--disable-bonjour' '--enable-avcodec' '--enable-avformat' '--disable-fribidi' '--disable-bluray' '--enable-vcd' '--disable-libcddb' '--disable-chromaprint' '--enable-dbus' '--disable-directfb' '--disable-directx' '--disable-dc1394' '--disable-debug' '--enable-dca' '--enable-dvbpsi' '--enable-dvdread' '--enable-dvdnav' '--disable-dxva2' '--enable-sout' '--disable-faad' '--disable-fdkaac' '--enable-flac' '--disable-fluidsynth' '--enable-fontconfig' '--enable-libgcrypt' '--disable-gme' '--disable-gnomevfs' '--disable-gnutls' '--disable-growl' '--disable-httpd' '--disable-dv1394' '--disable-jack' '--enable-jpeg' '--disable-kate' '--with-kde-solid' '--disable-libass' '--disable-caca' '--enable-notify' '--enable-samplerate' '--disable-libtar' '--disable-tiger' '--disable-linsys' '--disable-lirc' '--disable-live555' '--disable-lua' '--disable-macosx-dialog-provider' '--disable-macosx-eyetv' '--disable-macosx-qtkit' '--disable-macosx-quartztext' '--disable-mkv' '--enable-mmx' '--disable-mod' '--enable-mad' '--enable-libmpeg2' '--disable-mtp' '--disable-mpc' '--enable-ncurses' '--disable-neon' '--enable-ogg' '--enable-mux_ogg' '--disable-omxil' '--disable-omxil-vout' '--disable-opencv' '--enable-glspectrum' '--disable-opus' '--disable-optimize-memory' '--enable-png' '--disable-postproc' '--disable-projectm' '--disable-pulse' '--enable-qt' '--disable-freerdp' '--disable-realrtsp' '--disable-run-as-root' '--disable-smbclient' '--disable-schroedinger' '--enable-sdl' '--disable-s dl-image' '--disable-sid' '--disable-sftp' '--disable-shout' '--disable-skins2' '--disable-speex' '--enable-sse' '--enable-svg' '--enable-svgdec' '--enable-swscale' '--disable-taglib' '--enable-theora' '--disable-tremor' '--enable-freetype' '--disable-twolame' '--enable-udev' '--disable-upnp' '--enable-v4l2' '--disable-libva' '--disable-vcdx' '--disable-vdpau' '--disable-vlm' '--disable-vnc' '--enable-vorbis' '--disable-vpx' '--disable-wma-fixed' '--with-x' '--enable-x264' '--disable-x265' '--enable-xcb' '--enable-libxml2' '--enable-xvideo' '--disable-zvbi' '--enable-telx' '--disable-asdcp' '--disable-coverage' '--disable-cprof' '--disable-crystalhd' '--disable-decklink' '--disable-gles1' '--disable-gles2' '--disable-goom' '--disable-kai' '--disable-kva' '--disable-maintainer-mode' '--disable-merge-ffmpeg' '--disable-mfx' '--disable-mmal-codec' '--disable-mmal-vout' '--disable-opensles' '--disable-oss' '--disable-quicktime' '--disable-rpi-omxil' '--disable-shine' '--disable-sndio' '--disable-vda' '--disable-vsxu' '--disable-wasapi'
 *        phase-helpers.sh, line  662:  Called __helpers_die 'econf failed'
 *   isolated-functions.sh, line  117:  Called die
 * The specific snippet of code:
 *   		die "$@"
 * 
 * If you need support, post the output of `emerge --info '=media-video/vlc-2.2.1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=media-video/vlc-2.2.1::gentoo'`.
 * The complete build log is located at '/var/log/portage/media-video:vlc-2.2.1:20150501-211135.log'.
 * For convenience, a symlink to the build log is located at '/var/tmp/portage/media-video/vlc-2.2.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-video/vlc-2.2.1/temp/environment'.
 * Working directory: '/var/tmp/portage/media-video/vlc-2.2.1/work/vlc-2.2.1'
 * S: '/var/tmp/portage/media-video/vlc-2.2.1/work/vlc-2.2.1'

 * Regenerating GNU info directory index...
 * Processed 126 info files.

 * IMPORTANT: 2 news items need reading for repository 'gentoo'.
 * Use eselect news read to view new items.

 * After world updates, it is important to remove obsolete packages with
 * emerge --depclean. Refer to `man emerge` for more information.

The log is stored in /var/log/portage/_emerge_20150501-231231.log
quick search: https://bugs.gentoo.org/buglist.cgi?quicksearch=media-video%2Fvlc
Maintainer :  sdnick484@gmail.com media-video@gentoo.org,proxy-maint@gentoo.org
maintainer : sdnick484@gmail.com
herd       : video proxy-maintainers

This is an unstable amd64 chroot image (named amd64-unstable_20150501-132513) at a hardened host acting as a tinderbox.

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, 3.19.6-hardened x86_64)
=================================================================
System uname: Linux-3.19.6-hardened-x86_64-Intel-R-_Core-TM-_i7-3770_CPU_@_3.40GHz-with-gentoo-2.2
KiB Mem:    16164756 total,    394556 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Fri, 01 May 2015 18:45:01 +0000
sh bash 4.3_p33-r2
ld GNU ld (Gentoo 2.25 p1.1) 2.25
app-shells/bash:          4.3_p33-r2::gentoo
dev-lang/perl:            5.20.2::gentoo
dev-lang/python:          2.7.9-r2::gentoo, 3.3.5-r1::gentoo
dev-util/cmake:           3.2.1::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.14::gentoo
sys-apps/sandbox:         2.6-r1::gentoo
sys-devel/autoconf:       2.69-r1::gentoo
sys-devel/automake:       1.13.4::gentoo, 1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25::gentoo
sys-devel/gcc:            4.8.4::gentoo, 4.9.2::gentoo
sys-devel/gcc-config:     1.8::gentoo
sys-devel/libtool:        2.4.6-r1::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 4.0::gentoo (virtual/os-headers)
sys-libs/glibc:           2.20-r2::gentoo
Repositories:

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

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

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -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="-march=native -O2 -pipe"
DISTDIR="/var/tmp/distfiles"
EMERGE_DEFAULT_OPTS="--nospinner --tree --quiet-build"
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"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://ftp.uni-erlangen.de/pub/mirrors/gentoo rsync://mirror.netcologne.de/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gor.bytemark.co.uk/gentoo/ rsync://ftp.snt.utwente.nl/gentoo"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j1"
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 aes-ni alsa amd64 apache2 avx avx2 berkdb bluetooth branding bzip2 cairo cdda cdr cli consolekit corefonts cracklib crypt cups cxx dbus declarative designer dnssec dot dri drmkms dts dvd dvdr ecc emboss encode exif extraengine fam ffmpeg firefox flac fontconfig fortran fpm gd gdbm gif glamor gpm gtk gudev gui iconv icu isag jadetex jpeg kde kipi kvm lapack lcms libkms libnotify libvirtd logrotate mad mbox minizip mmx mmxext mng modules mp3 mp4 mpeg multilib mysql ncurses nls nptl ogg opengl openmp openssl pam pango pax_kernel pcre pcre16 pdf phonon plasma png policykit ppds pwquality python qemu qt3support qt4 readline scrpyt sdl session spell spice sqlite sse sse2 sse4 sse4_1 sse4_2 ssh-askpass ssl ssse3 startup-notification svg tcpd theora thinkpad threads tiff tk tls truetype udev udisks uml unicode upower usb usbredir uxa v4l v4l2 video vorbis wxwidgets x264 xa xcb xcomposite xinerama xkb xml xmp xscreensaver xslt xv xvfb xvid xvmc zenmap 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" CAMERAS="ptp2" COLLECTD_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" 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="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en en_GB" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy v4l" 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 Toralf Förster gentoo-dev 2015-05-01 21:14:59 UTC
Created attachment 402404 [details]
config log
Comment 2 Nick Andrade 2015-05-01 22:29:29 UTC
The -2.2.1 ebuild recently had a patch added to allow a user to explicitly call out whether qt4 or qt5 is to be used during the build (otherwise if both were installed, qt5 would be used regardless of USE flags).  The change required both a patch (qt4-select.patch) and two updates to the ebuild: the first to use the patch, and the second to enable explicit use flags, i.e. --enable-qt=4 instead of just --enable-qt.  It looks like the second change to the ebuild was missed.  I will work with a Gentoo developer to get portage updated.  In the meantime, if you'd like to patch the ebuild yourself, I've attached the patch.
Comment 3 Nick Andrade 2015-05-01 22:31:16 UTC
Created attachment 402406 [details, diff]
qt_select_for_vlc-2.2.2.1.ebuild.patch

Just to be clear, this is a patch to the ebuild itself so throwing it into /etc/portage/patches will not work.
Comment 4 Nick Andrade 2015-05-02 04:57:28 UTC
I just removed all my qt5 libraries (leaving qt4) and confirmed your bug report. I then patched my ebuild using the attached patch and successfully built vlc so as soon as the ebuild is modified we'll be good.
Comment 5 Ian Delaney (RETIRED) gentoo-dev 2015-05-02 06:30:15 UTC
  02 May 2015; Ian Delaney <idella4@gentoo.org> vlc-2.2.0.ebuild,
  vlc-2.2.1.ebuild:
  reset configure options to cater to either qt4 or qt5, fixes bug #548360 by
  Toralf Förster
Comment 6 C. Wijtmans 2015-05-11 22:05:22 UTC
i dont know what happened but its trying to downgrade vlc after disabling qt4 and enabling qt5 and sudddenly wnats the dirac use flag.

[ebuild     UD ] media-video/vlc-2.1.5-r1:0/5-7::gentoo [2.2.1:0/5-7::gentoo] USE="X alsa avcodec avformat dbus dirac%* faad ffmpeg flac fontconfig gcrypt kate kde mp3 mpeg ncurses ogg opengl opus png postproc speex swscale taglib theora truetype udev vaapi vdpau vnc vorbis xcb xml xv -a52 -aalib (-altivec) -atmo (-audioqueue) -avahi -bidi -bluray -cdda -cddb -chromaprint -dc1394 -debug -directfb (-directx) -dts -dvb -dvbpsi -dvd (-dxva2) -egl% -encode -fdk -fluidsynth -gme -gnome -gnutls -growl -httpd -ieee1394 (-ios-vout) -jack -libass -libav -libcaca -libnotify -libsamplerate -libtar -libtiger -linsys -lirc -live -lua (-macosx) (-macosx-audio) (-macosx-dialog-provider) (-macosx-eyetv) (-macosx-qtkit) (-macosx-quartztext) (-macosx-vout) -matroska (-media-library) -modplug -mtp -musepack (-neon) -omxil -opencv -optimisememory -projectm -pulseaudio -qt4* -rdp -rtsp -run-as-root -samba -schroedinger -sdl -sdl-image -sftp -shout -sid -skins -svg {-test} -tremor -twolame -upnp -v4l -vcdx -vlm -wma-fixed -x264 -zvbi (-jpeg%*) (-qt5%) (-vpx%*) (-x265%)" CPU_FLAGS_X86="mmx sse" 0 KiB