LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Gentoo (https://www.linuxquestions.org/questions/gentoo-87/)
-   -   qt 4.5.1/4.5.3 conflict stops update world (https://www.linuxquestions.org/questions/gentoo-87/qt-4-5-1-4-5-3-conflict-stops-update-world-766237/)

CollieJim 11-02-2009 09:45 AM

qt 4.5.1/4.5.3 conflict stops update world
 
I'm trying to
Code:

emerge --ask --update --deep world
but I'm getting the following:
Code:

515 21:45:46 /# emerge -aDu world

These are the packages that would be merged, in order:

Calculating dependencies... done!

!!! Multiple package instances within a single package slot have been pulled
!!! into the dependency graph, resulting in a slot conflict:

x11-libs/qt-core:4

  ('ebuild', '/', 'x11-libs/qt-core-4.5.3-r2', 'merge') pulled in by
    ~x11-libs/qt-core-4.5.3[-debug,-qt3support] required by ('ebuild', '/', 'x11-libs/qt-opengl-4.5.3-r1', 'merge')
    ~x11-libs/qt-core-4.5.3[glib,-debug,-qt3support] required by ('ebuild', '/', 'x11-libs/qt-gui-4.5.3-r1', 'merge')
    x11-libs/qt-core required by world

  ('installed', '/', 'x11-libs/qt-core-4.5.3-r2', 'nomerge') pulled in by
    >=x11-libs/qt-core-4.5.1:4[qt3support,ssl] required by ('ebuild', '/', 'kde-base/ktimezoned-4.3.1', 'merge')
    >=x11-libs/qt-core-4.5.1:4[qt3support,ssl] required by ('ebuild', '/', 'kde-base/kdelibs-4.3.1-r2', 'merge')
    x11-libs/qt-core required by world
    (and 6 more)

x11-libs/qt-gui:4

  ('ebuild', '/', 'x11-libs/qt-gui-4.5.1', 'merge') pulled in by
    >=x11-libs/qt-gui-4.5.1:4[accessibility,dbus] required by ('ebuild', '/', 'kde-base/ktimezoned-4.3.1', 'merge')
    >=x11-libs/qt-gui-4.5.1:4[accessibility,dbus] required by ('ebuild', '/', 'kde-base/kde-env-4.3.1', 'merge')
    >=x11-libs/qt-gui-4.4.0:4 required by ('ebuild', '/', 'media-sound/phonon-4.4_pre20090520', 'merge')
    (and 4 more)

  ('ebuild', '/', 'x11-libs/qt-gui-4.5.3-r1', 'merge') pulled in by
    ~x11-libs/qt-gui-4.5.3[-debug,-qt3support] required by ('ebuild', '/', 'x11-libs/qt-opengl-4.5.3-r1', 'merge')


It may be possible to solve this problem by using package.mask to
prevent one of those packages from being selected. However, it is also
possible that conflicting dependencies exist such that they are
impossible to satisfy simultaneously. If such a conflict exists in the
dependencies of two different packages, then those packages can not be
installed simultaneously.

For more information, see MASKED PACKAGES section in the emerge man page
or refer to the Gentoo Handbook.


emerge: there are no ebuilds built with USE flags to satisfy "~x11-libs/qt-gui-4.5.3[qt3support,accessibility,-debug]".
!!! One of the following packages is required to complete your request:
- x11-libs/qt-gui-4.5.3-r1 (Change USE: +qt3support)
(dependency required by "x11-libs/qt-qt3support-4.5.3" [ebuild])
(dependency required by "kde-base/kde-env-4.3.1" [ebuild])
(dependency required by "kde-base/kdelibs-4.3.1-r2" [ebuild])
(dependency required by "world" [argument])

---------------------------

I've masked =x11-libs/qt-gui-4.5.1 and =x11-libs/qt-core-4.5.1 because they conflicted with 4.5.3 versions.

Code:

527 22:59:26 profiles# emerge -aDu world

These are the packages that would be merged, in order:

Calculating dependencies... done!

emerge: there are no ebuilds built with USE flags to satisfy ">=x11-libs/qt-gui-4.5.1:4[accessibility,dbus]".
!!! One of the following packages is required to complete your request:
- x11-libs/qt-gui-4.5.3-r1 (Change USE: +dbus)
(dependency required by "kde-base/kdelibs-4.3.1-r2" [ebuild])
(dependency required by "world" [argument])

...

529 23:00:55 # USE="dbus" emerge qt-gui
Calculating dependencies... done!

>>> Verifying ebuild manifests

>>> Starting parallel fetch

>>> Emerging (1 of 2) x11-libs/qt-core-4.5.3-r2
 * qt-x11-opensource-src-4.5.3.tar.gz RMD160 SHA1 SHA256 size ;-) ...        [ ok ]
 * checking ebuild checksums ;-) ...                                        [ ok ]
 * checking auxfile checksums ;-) ...                                        [ ok ]
 * checking miscfile checksums ;-) ...                                      [ ok ]
>>> cfg-update-1.8.2-r1: Creating checksum index...
 * You have changed the "qt3support" use flag since the last time you have emerged this package.
 *
 * ERROR: x11-libs/qt-core-4.5.3-r2 failed.
 *  The die message:
 *  You must first uninstall these packages before continuing:
 *                  x11-libs/qt-sql x11-libs/qt-gui x11-libs/qt-qt3support

...

531 23:03:43 # emerge --unmerge qt-{sql,gui,qt3support}

 x11-libs/qt-sql
    selected: 4.5.3
  protected: none
    omitted: none

 x11-libs/qt-gui
    selected: 4.5.3-r1
  protected: none
    omitted: none

 x11-libs/qt-qt3support
    selected: 4.5.3
  protected: none
    omitted: none

>>> 'Selected' packages are slated for removal.
>>> 'Protected' and 'omitted' packages will not be removed.

>>> Waiting 5 seconds before starting...
>>> (Control-C to abort)...
>>> Unmerging in: 5 4 3 2 1
>>> Unmerging x11-libs/qt-sql-4.5.3...
>>> Unmerging x11-libs/qt-gui-4.5.3-r1...
>>> Unmerging x11-libs/qt-qt3support-4.5.3...

 * GNU info directory index is up-to-date.

...

532 23:05:41 # USE="dbus" emerge --newuse qt-gui
Calculating dependencies... done!

  appears to install without error

...

533 23:23:45 # emerge -aDu world

These are the packages that would be merged, in order:

Calculating dependencies... done!

emerge: there are no ebuilds built with USE flags to satisfy ">=x11-libs/qt-core-4.5.1:4[qt3support,ssl]".
!!! One of the following packages is required to complete your request:
- x11-libs/qt-core-4.5.3-r2 (Change USE: +qt3support)
(dependency required by "kde-base/kdelibs-4.3.1-r2" [ebuild])
(dependency required by "world" [argument])

But I've already done this and I'm going in circles.

I added qt3support and dbus to the USE flags in /etc/make.conf and now I get:

Code:

536 23:31:54 ~# emerge -aDu world

These are the packages that would be merged, in order:

Calculating dependencies... done!

!!! Multiple package instances within a single package slot have been pulled
!!! into the dependency graph, resulting in a slot conflict:

x11-libs/qt-core:4

  ('ebuild', '/', 'x11-libs/qt-core-4.5.3-r2', 'merge') pulled in by
    >=x11-libs/qt-core-4.5.1:4[qt3support,ssl] required by ('ebuild', '/', 'kde-base/ktimezoned-4.3.1', 'merge')
    ~x11-libs/qt-core-4.5.3[glib,qt3support,-debug] required by ('ebuild', '/', 'x11-libs/qt-gui-4.5.3-r1', 'merge')
    x11-libs/qt-core required by world
    (and 9 more)

  ('installed', '/', 'x11-libs/qt-core-4.5.3-r2', 'nomerge') pulled in by
    x11-libs/qt-core:4 required by ('ebuild', '/', 'app-misc/strigi-0.7.0', 'merge')
    ~x11-libs/qt-core-4.5.3[-debug] required by ('installed', '/', 'x11-libs/qt-script-4.5.3-r1', 'nomerge')
    x11-libs/qt-core required by world
    (and 5 more)

x11-libs/qt-gui:4

  ('ebuild', '/', 'x11-libs/qt-gui-4.5.3-r1', 'merge') pulled in by
    ~x11-libs/qt-gui-4.5.3[qt3support,accessibility,-debug] required by ('ebuild', '/', 'x11-libs/qt-qt3support-4.5.3', 'merge')
    x11-libs/qt-gui required by world
    ~x11-libs/qt-gui-4.5.3[qt3support] required by ('ebuild', '/', 'x11-libs/qt-core-4.5.3-r2', 'merge')
    (and 1 more)

  ('installed', '/', 'x11-libs/qt-gui-4.5.3-r1', 'nomerge') pulled in by
    x11-libs/qt-gui required by world
    >=x11-libs/qt-gui-4.5.1:4[accessibility,dbus] required by ('ebuild', '/', 'kde-base/kdeplasma-addons-4.3.1', 'merge')
    >=x11-libs/qt-gui-4.5.0:4[dbus] required by ('ebuild', '/', 'app-office/akonadi-server-1.2.1', 'merge')
    (and 12 more)


emerge: there are no ebuilds built with USE flags to satisfy ">=x11-libs/qt-sql-4.5.0:4[mysql]".
!!! One of the following packages is required to complete your request:
- x11-libs/qt-sql-4.5.3 (Change USE: +mysql)
(dependency required by "app-office/akonadi-server-1.2.1" [ebuild])
(dependency required by "kde-base/kdepimlibs-4.3.1" [ebuild])
(dependency required by "kde-base/kdeplasma-addons-4.3.1" [ebuild])
(dependency required by "kde-base/kde-meta-4.3.1" [ebuild])
(dependency required by "world" [argument])

Will updating to the latest KDE fix things?
How do I get past this?

TIA
Jim

Gero 11-02-2009 01:15 PM

I ran into troubles while upgrading qt as well.
In my case qt was upgrading from 4.5 to 4.6.
In order to get it done i simply unmerged the old qt, made sure all packages for qt 4.6 were correctly unmasked and i tried again.

It might not be an elegant solution, but i think it's the easiest :)

Good luck!

i92guboj 11-03-2009 05:56 AM

Code:

emerge: there are no ebuilds built with USE flags to satisfy "~x11-libs/qt-gui-4.5.3[qt3support,accessibility,-debug]".
!!! One of the following packages is required to complete your request:
- x11-libs/qt-gui-4.5.3-r1 (Change USE: +qt3support)

Add the "qt3support" USE flag for x11-libs/qt-gui, then try again.

CollieJim 11-03-2009 09:56 AM

Sorry, i92guboj. Been there, done that.
I add the qt3support flag and am told to remove qt-gui, qt-sql, and qt-qt3support.
I do, and qt-gui builds OK.
But then qt-core is a problem.
When I try to fix that, it tells me to remove qt-gui.
'round and 'round I go...

i92guboj 11-03-2009 10:09 AM

Try to use -t on whatever emerge command line you are running, and post the output here. Let's see if that can show us something.

Code:

emerge -tauD world

manwithaplan 11-03-2009 10:25 AM

This is one of the reasons I stop using Gentoo/Funtoo ... I was fighting it, when it came to updates and bugfixes.

CollieJim 11-03-2009 08:37 PM

Code:

501 10:26:36 /# emerge -tauD world

These are the packages that would be merged, in reverse order:

Calculating dependencies... done!

!!! Multiple package instances within a single package slot have been pulled
!!! into the dependency graph, resulting in a slot conflict:

x11-libs/qt-core:4

  ('ebuild', '/', 'x11-libs/qt-core-4.5.3-r2', 'merge') pulled in by
    >=x11-libs/qt-core-4.5.1:4[qt3support,ssl] required by ('ebuild', '/', 'kde-base/ktimezoned-4.3.1', 'merge')
    ~x11-libs/qt-core-4.5.3[glib,qt3support,-debug] required by ('ebuild', '/', 'x11-libs/qt-gui-4.5.3-r1', 'merge')
    x11-libs/qt-core required by world
    (and 9 more)

  ('installed', '/', 'x11-libs/qt-core-4.5.3-r2', 'nomerge') pulled in by
    x11-libs/qt-core:4 required by ('ebuild', '/', 'app-misc/strigi-0.7.0', 'merge')
    ~x11-libs/qt-core-4.5.3[-debug] required by ('installed', '/', 'x11-libs/qt-script-4.5.3-r1', 'nomerge')
    x11-libs/qt-core required by world
    (and 5 more)

x11-libs/qt-gui:4

  ('ebuild', '/', 'x11-libs/qt-gui-4.5.3-r1', 'merge') pulled in by
    ~x11-libs/qt-gui-4.5.3[qt3support,accessibility,-debug] required by ('ebuild', '/', 'x11-libs/qt-qt3support-4.5.3', 'merge')
    x11-libs/qt-gui required by world
    ~x11-libs/qt-gui-4.5.3[qt3support] required by ('ebuild', '/', 'x11-libs/qt-core-4.5.3-r2', 'merge')
    (and 1 more)

  ('installed', '/', 'x11-libs/qt-gui-4.5.3-r1', 'nomerge') pulled in by
    x11-libs/qt-gui required by world
    >=x11-libs/qt-gui-4.5.1:4[accessibility,dbus] required by ('ebuild', '/', 'kde-base/kdeplasma-addons-4.3.1', 'merge')
    >=x11-libs/qt-gui-4.5.0:4[dbus] required by ('ebuild', '/', 'app-office/akonadi-server-1.2.1', 'merge')
    (and 12 more)


It may be possible to solve this problem by using package.mask to
prevent one of those packages from being selected. However, it is also
possible that conflicting dependencies exist such that they are
impossible to satisfy simultaneously. If such a conflict exists in the
dependencies of two different packages, then those packages can not be
installed simultaneously.

For more information, see MASKED PACKAGES section in the emerge man page
or refer to the Gentoo Handbook.


emerge: there are no ebuilds built with USE flags to satisfy ">=x11-libs/qt-sql-4.5.0:4[mysql]".
!!! One of the following packages is required to complete your request:
- x11-libs/qt-sql-4.5.3 (Change USE: +mysql)
(dependency required by "app-office/akonadi-server-1.2.1" [ebuild])
(dependency required by "kde-base/kdepimlibs-4.3.1" [ebuild])
(dependency required by "kde-base/kdeplasma-addons-4.3.1" [ebuild])
(dependency required by "kde-base/kde-meta-4.3.1" [ebuild])
(dependency required by "world" [argument])

502 10:27:34 /#


CollieJim 11-04-2009 09:21 AM

I'm gradually hacking my way through this.
I added qt3support and dbus to the USE flags in make.conf and have managed to get past the qt-gui and qt-core problem, but I still cannot update world.

Code:

518 22:54:00 /# emerge -aDu --newuse world

These are the packages that would be merged, in order:

Calculating dependencies... done!

!!! Multiple package instances within a single package slot have been pulled
!!! into the dependency graph, resulting in a slot conflict:

x11-libs/qt-sql:4

  ('installed', '/', 'x11-libs/qt-sql-4.5.3', 'nomerge') pulled in by
    >=x11-libs/qt-sql-4.5.0:4[mysql] required by ('ebuild', '/', 'app-office/akonadi-server-1.2.1', 'merge')
    x11-libs/qt-sql required by world

  ('ebuild', '/', 'x11-libs/qt-sql-4.5.3', 'merge') pulled in by
    >=x11-libs/qt-sql-4.5.1:4[qt3support] required by ('installed', '/', 'kde-base/libknotificationitem-4.3.1', 'nomerge')
    >=x11-libs/qt-sql-4.5.1:4[qt3support] required by ('installed', '/', 'kde-base/kde-env-4.3.1', 'nomerge')
    x11-libs/qt-sql required by world
    (and 13 more)

x11-libs/wxGTK:2.8

  ('installed', '/', 'x11-libs/wxGTK-2.8.10.1-r1', 'nomerge') pulled in by
    x11-libs/wxGTK:2.8[opengl,-odbc] required by ('ebuild', '/', 'media-gfx/hugin-0.8.0', 'merge')
    x11-libs/wxGTK required by world

  ('ebuild', '/', 'x11-libs/wxGTK-2.8.10.1-r1', 'merge') pulled in by
    x11-libs/wxGTK required by world

dev-python/PyQt4:0

  ('installed', '/', 'dev-python/PyQt4-4.5.4-r4', 'nomerge') pulled in by
    dev-python/PyQt4 required by world
    >=dev-python/PyQt4-4.5[dbus,sql,svg,webkit,X] required by ('ebuild', '/', 'kde-base/pykde4-4.3.1', 'merge')

  ('ebuild', '/', 'dev-python/PyQt4-4.5.4-r4', 'merge') pulled in by
    >=dev-python/PyQt4-4.4.0[X] required by ('ebuild', '/', 'kde-base/plasma-workspace-4.3.1', 'merge')
    dev-python/PyQt4 required by world


It may be possible to solve this problem by using package.mask to
prevent one of those packages from being selected. However, it is also
possible that conflicting dependencies exist such that they are
impossible to satisfy simultaneously. If such a conflict exists in the
dependencies of two different packages, then those packages can not be
installed simultaneously.

For more information, see MASKED PACKAGES section in the emerge man page
or refer to the Gentoo Handbook.


c">=kde-base/kdelibs-4.3.1:4.3[opengl,-kdeprefix]".
!!! One of the following packages is required to complete your request:
- kde-base/kdelibs-4.3.1-r2 (Change USE: +opengl)
(dependency required by "kde-base/pykde4-4.3.1" [ebuild])
(dependency required by "kde-base/plasma-workspace-4.3.1" [ebuild])
(dependency required by "kde-base/kdeplasma-addons-4.3.1" [ebuild])
(dependency required by "kde-base/kde-meta-4.3.1" [ebuild])
(dependency required by "world" [argument])

Why am I getting
Code:

  ('installed', '/', 'x11-libs/qt-sql-4.5.3', 'nomerge')
and
Code:

  ('ebuild', '/', 'x11-libs/qt-sql-4.5.3', 'merge')
Are they not the same package?

I've tried 3 times this evening and each time I get a different
Code:

emerge: there are no ebuilds built with USE flags to satisfy
I've already built kdelibs once this evening. It was needed for another package. Now it seems I have to do it again. Too late now.
Very frustrating.

I keep threatening to drop Gentoo but each time I manage to get past the problem. Keeps the mind active, I suppose.

i92guboj 11-04-2009 09:38 AM

Just to discard one source of problems: are you using any of the overlays around that have kde stuff on them? These can cause conflicts like these some times.

Now:

Code:

x11-libs/qt-sql:4
 
  ('installed', '/', 'x11-libs/qt-sql-4.5.3', 'nomerge') pulled in by
    >=x11-libs/qt-sql-4.5.0:4[mysql] required by ('ebuild', '/', 'app-office/akonadi-server-1.2.1', 'merge')
    x11-libs/qt-sql required by world
 
  ('ebuild', '/', 'x11-libs/qt-sql-4.5.3', 'merge') pulled in by
    >=x11-libs/qt-sql-4.5.1:4[qt3support] required by ('installed', '/', 'kde-base/libknotificationitem-4.3.1', 'nomerge')
    >=x11-libs/qt-sql-4.5.1:4[qt3support] required by ('installed', '/', 'kde-base/kde-env-4.3.1', 'nomerge')
    x11-libs/qt-sql required by world
    (and 13 more)

Yep, they are the same ebuild, but libknotificationitem requires >=x11-libs/qt-sql-4.5.1:4[qt3support], and akonadi-server requires >=x11-libs/qt-sql-4.5.0:4[mysql], do you have *BOTH* use flags enabled for this package? Double check with emerge -pv, and make sure you are not using USE="foo" in your command line because this also causes circular plays like this one, because the effects are not permanent.

Code:

kde-base/kdelibs-4.3.1-r2 (Change USE: +opengl)
This needs solving as well. Please, set all the use flags using either package.use or globally in make.conf, whatever suits better your purpose. Then try again and use emerge -va to check before emerging anything. Double check your overlays, the emerge output will also tell you if the packages are coming from overlays.

CollieJim 11-04-2009 09:14 PM

Thanks. I finally got it.

Thanks for bringing overlays to my attention. I've made a change to du that I really don't want to lose.

CollieJim 11-06-2009 05:02 AM

I'm almost there.
The final block is x11-plugins/enigmail. It needs app-crypt/pinentry built with either GTK or QT3 support.
How do I do this? I already have qt3support in my USE flags, and if I build it with gtk it gets rebuilt without it before enigmail is built.

i92guboj 11-06-2009 06:13 AM

Quote:

Originally Posted by CollieJim (Post 3746849)
I'm almost there.
The final block is x11-plugins/enigmail. It needs app-crypt/pinentry built with either GTK or QT3 support.
How do I do this? I already have qt3support in my USE flags, and if I build it with gtk it gets rebuilt without it before enigmail is built.

As said above, use either make.conf or package.use to make settings permanent. When you do "USE=foo emerge bar" that USE flag is not saved anywhere, it's just a variable that you set in the command line and will not live past the execution of the command.

Half of the problem you've had is probably due to the usage of USE in command line, never do it again unless it's just for testing purpose (i.e. emerge --pretend something).

CollieJim 11-06-2009 11:52 PM

Sorry I'm so slow. I should have picked up on that when I put qt3support and dbus in make.conf and problems vanished.

When preparing a reply earlier (lost due to program hang on the Mandriva box I am using) I noticed that make.conf contained "-gtk". I changed it to "gtk" and I was able to finish.

Thanks for your help, i92guboj. I may wake up someday, but I doubt it...

I still have a serious problem with the xorg update, but that's another post.


All times are GMT -5. The time now is 04:38 PM.