Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 398583 - dev-util/qt-creator-2.4.0-r1[-doc] fails without qt-assistant
Summary: dev-util/qt-creator-2.4.0-r1[-doc] fails without qt-assistant
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Davide Pesavento
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-12 00:06 UTC by Jeremy
Modified: 2012-01-14 17:17 UTC (History)
2 users (show)

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


Attachments
build log (dev-utilqt-creator-2.4.0-r120120112-110829.log,741.49 KB, text/plain)
2012-01-12 11:12 UTC, Jeremy
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jeremy 2012-01-12 00:06:06 UTC
I tried to install the new version of QtCreator (2.4.0) and i choose -doc USE flag. But the compilation failed because of missing file from QtHelp package. This files are in x11-libs/qt-assistant.
I looked in the ebuild file and I saw "doc? ( >=x11-libs/qt-assistant-${QTVER}[doc] )" but it seems to be ignored in the configure.
I retried after the installation of QtAssistant and i could compile QtCreator.

Reproducible: Always
Comment 1 Davide Pesavento (RETIRED) gentoo-dev 2012-01-12 10:40:16 UTC
Looks like we have to unconditionally depend on qt-assistant... anyway could you provide a full build log of the failure please?
BTW I assume that you're referring to 2.4.0-r1, because 2.4.0 is no longer in portage since 3 Jan 2012.
Comment 2 Jeremy 2012-01-12 11:12:24 UTC
Created attachment 298743 [details]
build log
Comment 3 barrie backhurst 2012-01-12 13:10:57 UTC
I can confirm qt-creator-2.4.0-r1 compilation fails without the doc USE flag enabled.

I currently have it installed with the doc USE flag and therefore do not have a build log available, if you need a further build log let me know and I will revert
Comment 4 barrie backhurst 2012-01-12 13:14:05 UTC
bug title should be edited to

dev-util/qt-creator-2.4.0-r1 doesn't build with USE=-doc
Comment 5 Davide Pesavento (RETIRED) gentoo-dev 2012-01-12 13:45:03 UTC
(In reply to comment #4)
> bug title should be edited to
> 
> dev-util/qt-creator-2.4.0-r1 doesn't build with USE=-doc

Ooops ;) I've made the summary more clear now.

I'll investigate this issue later or tomorrow.
Comment 6 Markos Chandras (RETIRED) gentoo-dev 2012-01-14 12:01:38 UTC
Sad news, but qt-assistant is a mandatory dependency from now on because the build failure happens on coreplugin which cannot be skipped when using "-doc". The doc use flag will remain there to decide whether you want to generated help pages or not.
Comment 7 Davide Pesavento (RETIRED) gentoo-dev 2012-01-14 16:05:27 UTC
(In reply to comment #6)
> Sad news, but qt-assistant is a mandatory dependency from now on because the
> build failure happens on coreplugin which cannot be skipped when using "-doc".
> The doc use flag will remain there to decide whether you want to generated help
> pages or not.

Indeed, but depending on "qt-assistant[doc]" doesn't sound right to me, since USE=doc on qt-assistant just enables the generation and installation of HTML docs. "qt-assistant[doc?]" makes more sense IMHO.
Comment 8 Markos Chandras (RETIRED) gentoo-dev 2012-01-14 16:48:22 UTC
Last time I checked the qt-assistant docs should be present for qt-creator to be able to display them on the Help menu. I am not sure if this rule applies anymore
Comment 9 Davide Pesavento (RETIRED) gentoo-dev 2012-01-14 17:06:35 UTC
Yeah, but it doesn't need the docs in HTML format because it uses .qch files, which are installed even with USE="-doc".
Comment 10 Markos Chandras (RETIRED) gentoo-dev 2012-01-14 17:17:49 UTC
Right. Feel free to fix the ebuild then or I will later tonight