Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 600226 - [qt overlay] dev-qt/qtcore-5.8.9999 and qtcore-5.9999 - ERROR: Unknown command line option '-no-pulseaudio'
Summary: [qt overlay] dev-qt/qtcore-5.8.9999 and qtcore-5.9999 - ERROR: Unknown comman...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Overlays (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-11-19 11:21 UTC by jospezial
Modified: 2016-11-19 17:01 UTC (History)
0 users

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


Attachments
build.log (build.log,473.13 KB, text/x-log)
2016-11-19 11:21 UTC, jospezial
Details
0001-qt5-build.eclass-adjust-to-upstream-multimedia-build.patch (0001-qt5-build.eclass-adjust-to-upstream-multimedia-build.patch,1.23 KB, patch)
2016-11-19 16:41 UTC, Michael Palimaka (kensington)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description jospezial 2016-11-19 11:21:23 UTC
Created attachment 453774 [details]
build.log

[ebuild     U *]  dev-qt/qtcore-5.9999:5/5.9999::qt [5.7.9999:5/5.7::qt] USE="icu -debug -systemd {-test}" 0 KiB

x86_64-pc-linux-gnu-g++ -o "../bin/qmake" project.o option.o property.o main.o ioutils.o proitems.o qmakevfs.o qmakeglobals.o qmakeparser.o qmakeevaluator.o qmakebuiltins.o makefile.o unixmake2.o unixmake.o mingw_make.o winmakefile.o projectgenerator.o meta.o makefiledeps.o metamakefile.o xmloutput.o pbuilder_pbx.o msvc_vcproj.o msvc_vcxproj.o msvc_nmake.o msvc_objectmodel.o msbuild_objectmodel.o qtextcodec.o qutfcodec.o qstring.o qstring_compat.o qstringbuilder.o qtextstream.o qiodevice.o qringbuffer.o qdebug.o qmalloc.o qglobal.o qarraydata.o qbytearray.o qbytearraymatcher.o qdatastream.o qbuffer.o qlist.o qfiledevice.o qfile.o qfilesystementry.o qfilesystemengine.o qfsfileengine.o qfsfileengine_iterator.o qregexp.o qvector.o qbitarray.o qdir.o qdiriterator.o quuid.o qhash.o qfileinfo.o qdatetime.o qstringlist.o qabstractfileengine.o qtemporaryfile.o qmap.o qmetatype.o qsettings.o qsystemerror.o qlibraryinfo.o qvariant.o qvsnprintf.o qlocale.o qlocale_tools.o qlinkedlist.o qnumeric.o qcryptographichash.o qxmlstream.o qxmlutils.o qlogging.o qoperatingsystemversion.o qjson.o qjsondocument.o qjsonparser.o qjsonarray.o qjsonobject.o qjsonvalue.o qfilesystemengine_unix.o qfilesystemiterator_unix.o qfsfileengine_unix.o qlocale_unix.o -Wl,-O1 -Wl,--as-needed -Wl,--gc-sections
Info: creating stash file /var/tmp/portage/dev-qt/qtcore-5.9999/work/qtcore-5.9999_build/.qmake.stash
Info: creating cache file /var/tmp/portage/dev-qt/qtcore-5.9999/work/qtcore-5.9999_build/.qmake.cache

ERROR: Unknown command line option '-no-pulseaudio'.

 * ERROR: dev-qt/qtcore-5.9999::qt failed (configure phase):
 *   configure failed
 * 
 * Call stack:
 *     ebuild.sh, line  115:  Called src_configure
 *   environment, line 3376:  Called qt5-build_src_configure
 *   environment, line 2976:  Called qt5_base_configure
 *   environment, line 3096:  Called die
 * The specific snippet of code:
 *       "${S}"/configure "${conf[@]}" || die "configure failed";
 * 


5.7.9999 works
Comment 1 jospezial 2016-11-19 11:44:39 UTC
after removing that entry in /var/lib/layman/qt/eclass/qt5-build.eclass
I get:

ERROR: Unknown command line option '-no-alsa'.


after removing that I get:
ERROR: Unknown command line option '-no-gstreamer'.

after removing these 3 entries it works.
Comment 2 Michael Palimaka (kensington) gentoo-dev 2016-11-19 16:41:48 UTC
Created attachment 453778 [details, diff]
0001-qt5-build.eclass-adjust-to-upstream-multimedia-build.patch

Proposed patch attached.
Comment 3 Davide Pesavento (RETIRED) gentoo-dev 2016-11-19 16:58:58 UTC
(In reply to Michael Palimaka (kensington) from comment #2)
> Created attachment 453778 [details, diff] [details, diff]
> 0001-qt5-build.eclass-adjust-to-upstream-multimedia-build.patch
> 
> Proposed patch attached.

ACK
Comment 4 Michael Palimaka (kensington) gentoo-dev 2016-11-19 17:01:16 UTC
Thanks, fixed in git.

https://gitweb.gentoo.org/proj/qt.git/commit/?id=28d0d26ec883a62ad55844cd8e683d24b259c1b1