Summary: | x11-libs/qt-core-4.4.2 USE=qt3support change isn't a smooth update | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Patrick De Pinguin <gentoo> |
Component: | New packages | Assignee: | Portage team <dev-portage> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | dhp_gentoo, fischer, kmaleiwz |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 250020 | ||
Bug Blocks: | 261959 |
Description
Patrick De Pinguin
2009-01-29 20:13:55 UTC
I was able to solve this issue by first emerging qt-core seperately with --nodeps, then emerging qt-gui and qt-sql. However, I still believe this is a problem in portage or in one of the ebuilds. The error messages look quite clear to me. That die message The die message: * You must first uninstall these packages before continuing: * x11-libs/qt-sql x11-libs/qt-opengl x11-libs/qt-gui is quite clear. Why is this a bug , since you got informed that you should remove them before emerging qt-core? I take it that you didn't see that the description continued below the first log. I write these comments here for clarity: ----------------- So, I removed qt-sql and qt-gui, then retried: galapagos tmp # emerge -av --oneshot qt-core ... For some reason, portage takes along qt-sql and qt-gui, and tries to emerge qt-sql *before* qt-core. I do not seem to be able to emerge qt-core first. I was able to emerge qt-gui separately, but then qt-core complains that I should remove this package first because I added the qt3support flag. ----------------- Okay, you're right. Looks to me to be a portage dep resolving problem. We should probably advise to remove qt-core as well, at this point. Then qt-core *has* to be emerged before any of the others. It should probably also be solvable by emerge -av --nodeps qt-core Give us emerge -avt qt-core output please :) > It should probably also be solvable by emerge -av --nodeps qt-core Please see comment #2 > Give us emerge -avt qt-core output please :) galapagos thomas # emerge -avt qt-core These are the packages that would be merged, in reverse order: Calculating dependencies... done! [nomerge ] x11-libs/qt-core-4.4.2 USE="qt3support ssl -debug -doc -glib -pch" [nomerge ] x11-libs/qt-gui-4.4.2-r1 USE="accessibility cups dbus qt3support tiff -debug -glib -mng -nas -nis -pch -xinerama" INPUT_DEVICES="-wacom" [ebuild N ] x11-libs/qt-qt3support-4.4.2 USE="-accessibility -debug -pch" 0 kB [ebuild N ] x11-libs/qt-gui-4.4.2-r1 USE="accessibility cups dbus qt3support tiff -debug -glib -mng -nas -nis -pch -xinerama" INPUT_DEVICES="-wacom" 0 kB [ebuild R ] x11-libs/qt-core-4.4.2 USE="qt3support ssl -debug -doc -glib -pch" 0 kB [ebuild N ] x11-libs/qt-sql-4.4.2 USE="qt3support sqlite -debug -firebird -mysql -odbc -pch -postgres" 0 kB Total: 4 packages (3 new, 1 reinstall), Size of downloads: 0 kB (In reply to comment #7) > > It should probably also be solvable by emerge -av --nodeps qt-core > > Please see comment #2 > > > > Give us emerge -avt qt-core output please :) > > galapagos thomas # emerge -avt qt-core > > These are the packages that would be merged, in reverse order: > > Calculating dependencies... done! > [nomerge ] x11-libs/qt-core-4.4.2 USE="qt3support ssl -debug -doc -glib > -pch" > [nomerge ] x11-libs/qt-gui-4.4.2-r1 USE="accessibility cups dbus > qt3support tiff -debug -glib -mng -nas -nis -pch -xinerama" > INPUT_DEVICES="-wacom" > [ebuild N ] x11-libs/qt-qt3support-4.4.2 USE="-accessibility -debug > -pch" 0 kB > [ebuild N ] x11-libs/qt-gui-4.4.2-r1 USE="accessibility cups dbus > qt3support tiff -debug -glib -mng -nas -nis -pch -xinerama" > INPUT_DEVICES="-wacom" 0 kB > [ebuild R ] x11-libs/qt-core-4.4.2 USE="qt3support ssl -debug -doc > -glib -pch" 0 kB > [ebuild N ] x11-libs/qt-sql-4.4.2 USE="qt3support sqlite -debug > -firebird -mysql -odbc -pch -postgres" 0 kB > > Total: 4 packages (3 new, 1 reinstall), Size of downloads: 0 kB > This output seems ok to me. I guess thats because "qt3support" is not used for the first time ( since it doesnt have * ). We need to take a deeper look here (In reply to comment #0) > [ebuild N ] x11-libs/qt-sql-4.4.2 USE="qt3support sqlite -debug -firebird > -mysql -odbc -pch -postgres" 0 kB > [ebuild R ] x11-libs/qt-core-4.4.2 USE="qt3support* ssl -debug -doc -glib > -pch" 0 kB > [ebuild N ] x11-libs/qt-gui-4.4.2-r1 USE="accessibility cups dbus > qt3support tiff -debug -glib -mng -nas -nis -pch -xinerama" > INPUT_DEVICES="-wacom" 0 kB > [ebuild N ] x11-libs/qt-qt3support-4.4.2 USE="-accessibility -debug -pch" > 0 kB This merge order is sub-optimal since qt-sql-4.4.2 has qt-core-4.4.2 in DEPEND. The problem seems similar to bug 250020. You can use EAPI 2 to specify the dependencies more strictly, in order to avoid this problem. For example, qt-sql-4.4.2 should have DEPEND="~x11-libs/qt-core-4.4.2[qt3support=]". *** Bug 239358 has been marked as a duplicate of this bug. *** there is a typo in the title of bug "USE=qt3support" => "USE=qt3 support" thanks. (In reply to comment #11) > there is a typo in the title of bug > "USE=qt3support" => "USE=qt3 support" No, you are mistaken. You obviously didn't check the USE flags on that ebuild. Hi On my system , to install x11-libs/qt-4.5.0_rc1 emerge would like that I re-emerge x11-libs/qt-core and x11-libs/qt-gui with qt3support. I'd make this, but 1 day after emerge wanted that I re-emerge this package, but this time without the qt3support... If I don't make this , it was impossible to me to use emerge for any package... I'd test the solution of the Comment #5 , but it was no concluding. So I removed qt3support to the 2 packages ,and add x11-libs/qt-webkit and x11-libs/qt-phonon to /etc/portage/profile/package.provided. Actually revdep-rebuild wants to recompile qt-assistant but this package needs qt-phonon, so the compile failed... And the most important, emerge re-works. Of course it's an optional solution in waiting of a stable solution. It's not very important for me to have this package (qt-phonon and his compatriot)...I use enlightenment and some Gnome applications, and only k3b ,and vlc (with the use qt4). Bye (Sorry for my bad english, I learned it a lot of year ago...) (In reply to comment #13) > On my system , to install x11-libs/qt-4.5.0_rc1 emerge would like that I > re-emerge x11-libs/qt-core and x11-libs/qt-gui with qt3support. I'd make this, > but 1 day after emerge wanted that I re-emerge this package, but this time > without the qt3support... If I don't make this , it was impossible to me to use > emerge for any package... You'll have to be more specific about your reason for remerging it without qt3support. > So I removed qt3support to the 2 packages ,and add x11-libs/qt-webkit and > x11-libs/qt-phonon to /etc/portage/profile/package.provided. Actually > revdep-rebuild wants to recompile qt-assistant but this package needs > qt-phonon, so the compile failed... And the most important, emerge re-works. > Of course it's an optional solution in waiting of a stable solution. You should never use package.provided unless you have an equivalent package installed to satisfy the dependency. If you're using it for any dependencies that are truly unsatisfied then you should stop doing that and remove any such entries from package.provided. > You'll have to be more specific about your reason for remerging it without > qt3support. Yes and I think I'd found why...Certainly because x11-libs/qt had not build with qt3support...Only qt-core qt-gui and qt-sql...But I'm not sure, this is just an idea. > You should never use package.provided unless you have an equivalent package > installed to satisfy the dependency. If you're using it for any dependencies > that are truly unsatisfied then you should stop doing that and remove any such > entries from package.provided. Yes I know how this file works.I'd use this for qt-* as a troubleshooting solution. A few hours after I'd edit my precedent message, there were a lot of upgrade about x11-libs/qt and his dependencies.So this time I'd add qt3support for x11-libs/qt too, and this time emerge don't make bronx, and work as usually. So for me I have no problems with this post since I'd the upgrade of qt-* package.. !! Thanks @ all, and good evening. This is fixed in 2.1.6.8. *** Bug 264403 has been marked as a duplicate of this bug. *** |