Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 549212 - media-video/vlc-2.2.1 - configure: error: Package requirements (Qt5Core >= 5.1.0 Qt5Widgets Qt5Gui)
Summary: media-video/vlc-2.2.1 - configure: error: Package requirements (Qt5Core >= 5....
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-05-11 21:46 UTC by Bertrand Jacquin
Modified: 2015-05-12 19:10 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,30.83 KB, text/x-log)
2015-05-11 21:46 UTC, Bertrand Jacquin
Details
emerge --info (info.log,15.27 KB, text/x-log)
2015-05-11 21:47 UTC, Bertrand Jacquin
Details
vlc-2.2.1-qt_select_update.patch (qt_select_update.ebuild.patch,293 bytes, patch)
2015-05-12 04:27 UTC, Nick Andrade
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Bertrand Jacquin 2015-05-11 21:46:12 UTC
With USE="ncurses -qt4 -qt5", media-video/vlc-2.2.1 does not build and configure leads to the following error:

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

full log and emerge --info attached

Reproducible: Always
Comment 1 Bertrand Jacquin 2015-05-11 21:46:48 UTC
Created attachment 403070 [details]
build.log
Comment 2 Bertrand Jacquin 2015-05-11 21:47:26 UTC
Created attachment 403072 [details]
emerge --info
Comment 3 faminebadger 2015-05-11 22:29:39 UTC
Confirmed, I see the same behaviour (despite vlc itself being quite capable of being built without a GUI).
Comment 4 Nick Andrade 2015-05-12 04:26:41 UTC
Ah, good find, I believe I just need to add the following two lines to the ebuild:
	elif ! use qt4 && ! use qt5; then
		qt_flag="--disable-qt"

Updated ebuild here: https://bpaste.net/show/3cd55605dda6

Patch to ebuild attached in case anyone wants it.
Comment 5 Nick Andrade 2015-05-12 04:27:33 UTC
Created attachment 403096 [details, diff]
vlc-2.2.1-qt_select_update.patch
Comment 6 Ian Delaney (RETIRED) gentoo-dev 2015-05-12 06:34:21 UTC
  12 May 2015; Ian Delaney <idella4@gentoo.org> vlc-2.2.0.ebuild,
  vlc-2.2.1.ebuild:
  finalise config option for qt in src_configure, fixes bug #549212
Comment 7 Bertrand Jacquin 2015-05-12 19:10:17 UTC
(In reply to Ian Delaney from comment #6)
>   12 May 2015; Ian Delaney <idella4@gentoo.org> vlc-2.2.0.ebuild,
>   vlc-2.2.1.ebuild:
>   finalise config option for qt in src_configure, fixes bug #549212

Works for me. Thanks !