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
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.
Created attachment 298743 [details] build log
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
bug title should be edited to dev-util/qt-creator-2.4.0-r1 doesn't build with USE=-doc
(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.
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.
(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.
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
Yeah, but it doesn't need the docs in HTML format because it uses .qch files, which are installed even with USE="-doc".
Right. Feel free to fix the ebuild then or I will later tonight