Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 518402 - [qt overlay] dev-qt/qt*-5.9999 packages from qtbase fail with "-process: invalid command-line switch"
Summary: [qt overlay] dev-qt/qt*-5.9999 packages from qtbase fail with "-process: inva...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-28 17:31 UTC by Axel Rasmussen
Modified: 2014-07-28 20:27 UTC (History)
0 users

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


Attachments
Build Log (build.log,71.97 KB, text/x-log)
2014-07-28 17:31 UTC, Axel Rasmussen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Axel Rasmussen 2014-07-28 17:31:31 UTC
Created attachment 381732 [details]
Build Log

When attempting to build certain -5.9999 live Qt ebuilds (for instance, qtwidgets-5.9999), one gets a build failure during src_configure stating:

-process: invalid command-line switch

This flag is included in qt5-build.eclass, with the comment "generate only a top-level Makefile". However, upstream has removed this flag from some (but not all!) of their configure scripts (for instance, the configure script in git://gitorious.org/qt/qt5.git still has the flag, but the configure script in git://gitorious.org/qt/qtbase.git does not).

I believe that we can simply remove the flag from qt5-build.eclass and these packages will build fine, although src_configure will take (possibly significantly) longer to complete. We could also remove the flag from qt5-build.eclass, and then explicitly add it in each ebuild which supports the flag.

I am willing to write a patch for this if I can get an idea of how we'd like to solve the issue.