Created attachment 510054 [details] emerge --info =dev-qt/qt-creator-4.4.1::gentoo fails at install phase while trying to install docs. Relevant part of build log: ... make[2]: Leaving directory '/var/tmp/portage/dev-qt/qt-creator-4.4.1/work/qt-creator-opensource-src-4.4.1/share/qtcreator' make[1]: Leaving directory '/var/tmp/portage/dev-qt/qt-creator-4.4.1/work/qt-creator-opensource-src-4.4.1/share' make -j6 docs /var/tmp/portage/dev-qt/qt-creator-4.4.1/work/qt-creator-opensource-src-4.4.1/qdoc_wrapper.sh -outputdir /var/tmp/portage/dev-qt/qt-creator-4.4.1/work/qt-creator-opensource-src-4.4.1/doc/qtcreator /var/tmp/portage/dev-qt/qt-creator-4.4.1/work/qt-creator-opensource-src-4.4.1/doc/qtcreator.qdocconf -indexdir /usr/share/doc/qt-5.9.3 -indexdir /var/tmp/portage/dev-qt/qt-creator-4.4.1/work/qt-creator-opensource-src-4.4.1/doc && /var/tmp/portage/dev-qt/qt-creator-4.4.1/work/qt-creator-opensource-src-4.4.1/qdoc_wrapper.sh -outputdir /var/tmp/portage/dev-qt/qt-creator-4.4.1/work/qt-creator-opensource-src-4.4.1/doc/qtcreator-dev /var/tmp/portage/dev-qt/qt-creator-4.4.1/work/qt-creator-opensource-src-4.4.1/doc/api/qtcreator-dev.qdocconf -indexdir /usr/share/doc/qt-5.9.3 -indexdir /var/tmp/portage/dev-qt/qt-creator-4.4.1/work/qt-creator-opensource-src-4.4.1/doc /usr/lib64/qt5/bin/qdoc: relocation error: /usr/lib64/qt5/bin/qdoc: symbol qt_qhash_seed, version Qt_5 not defined in file libQt5Core.so.5 with link time reference make: *** [Makefile:561: html_docs] Error 127 * ERROR: dev-qt/qt-creator-4.4.1::gentoo failed (install phase): * emake failed Full build log: https://paste.pound-python.org/show/s5GZuXK1nUH7c4u5So3z/
P.S. builds fine with USE="-doc" emerge -v =dev-qt/qt-creator-4.4.1 ...
Thank you for the report. Please *attach* the logfiles, https://wiki.gentoo.org/wiki/Bugzilla/Bug_report_guide#Report_a_build-time_bug_.28emerge_failed.29
Do you have mismatched versions of qdoc and qtcore?
(In reply to Davide Pesavento from comment #3) > Do you have mismatched versions of qdoc and qtcore? Hm, yes, qtcore from 5.9, qdoc from 5.7.. somehow was missed by deep world update, is it not required for anything? :/ However, I installed qt-creator-9999, which went fine, and forgot about this bug for 4.4.1.
(In reply to Alexey Min from comment #4) > (In reply to Davide Pesavento from comment #3) > > Do you have mismatched versions of qdoc and qtcore? > > Hm, yes, qtcore from 5.9, qdoc from 5.7.. somehow was missed by deep world > update, is it not required for anything? :/ That's impossible if your depgraph is consistent. qdoc depends on ~dev-qt/qtcore-${PV}. If nothing on your system depends on qdoc, emerge --depclean should offer to remove it.
(In reply to Davide Pesavento from comment #5) > (In reply to Alexey Min from comment #4) > > (In reply to Davide Pesavento from comment #3) > > > Do you have mismatched versions of qdoc and qtcore? > > > > Hm, yes, qtcore from 5.9, qdoc from 5.7.. somehow was missed by deep world > > update, is it not required for anything? :/ > > That's impossible if your depgraph is consistent. qdoc depends on > ~dev-qt/qtcore-${PV}. > If nothing on your system depends on qdoc, emerge --depclean should offer to > remove it. Yes, but qtcore had higher version number in my case, qdoc lower; upgrading qtcore does not upgrade qdoc :( > nothing on your system depends on qdoc I checked with emerge --depclean qdoc, it suggested to remove only qdoc :(
(In reply to Alexey Min from comment #6) > (In reply to Davide Pesavento from comment #5) > > (In reply to Alexey Min from comment #4) > > > (In reply to Davide Pesavento from comment #3) > > > > Do you have mismatched versions of qdoc and qtcore? > > > > > > Hm, yes, qtcore from 5.9, qdoc from 5.7.. somehow was missed by deep world > > > update, is it not required for anything? :/ > > > > That's impossible if your depgraph is consistent. qdoc depends on > > ~dev-qt/qtcore-${PV}. > > If nothing on your system depends on qdoc, emerge --depclean should offer to > > remove it. > > Yes, but qtcore had higher version number in my case, qdoc lower; upgrading > qtcore does not upgrade qdoc :( Because qdoc isn't required by any other package and is not in the world set, as demonstrated by the fact that --depclean would remove it. > > nothing on your system depends on qdoc > I checked with emerge --depclean qdoc, it suggested to remove only qdoc :( As expected.
> If nothing on your system depends on qdoc ... > Because qdoc isn't required by any other package and is not in the world set ... What I wanted to ask is: maybe qt-creator[doc] can depend on qdoc then?
It does, my bad. So what should be done to prevent this? To keep qdoc version the same as qtcore? Have qdoc in world file?
Oh so you have USE=doc enabled... that's interesting. dev-qt/qt-creator-4.4.1[doc] DEPENDs on >=dev-qt/qdoc-5.6.2:5, which DEPENDs and RDEPENDs on ~dev-qt/qtcore-${PV}. qtcore was updated from 5.7.1 to 5.9.3, but qdoc was not (presumably because nothing depended on it at that time, i.e. it would have been removed by --depclean). At this point qdoc dependencies are broken, because qtcore-5.7.1 is no longer installed, but I guess it's fine if nothing depends on it and it's not in @world. Then you emerge qt-creator[doc], but qdoc is *not* updated to 5.9.3 to fix its RDEPEND, therefore it doesn't run correctly. @dev-portage, is this possible?
The default emerge behavior is to only check if qdoc is installed. You have to use emerge --deep if you want it to check qdoc dependencies. In order to avoid issues like this, emerge suggests to run emerge --depclean to remove broken packages after a world update (bug 354787).
Yes, I probably had qdoc installed using --oneshot (or as dependency for previously installed qt-creator some time ago), that's why I am here now annoying you with all these emails ;) Davide, this situation happened exactly as you described, so I guess it cannot be fixed in qt-creator. If emerge --deep qt-creator would help, then I blame myself and this bug can be closed. P.S. I usually update @world with --deep and --with-bdeps=y, but qdoc slipped somehow, probably was not unkeyworded ~amd64, while other qt packages were.