Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
qt4 removal problems
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
andrewwalker27
l33t
l33t


Joined: 27 Jun 2005
Posts: 660

PostPosted: Sat Mar 17, 2018 1:36 pm    Post subject: qt4 removal problems Reply with quote

I'm trying to update my system but it keeps complaining about phonon and phonon-vlc. The issue seems to be qt4 related but as qt5 seems to be the way to go now, I added qt5 and -qt4 to my make file. That seemed to solve to issue until I tried to do
Code:
emerge -pv @preserved-rebuild
which seemed to have the same issue.
Code:
localhost /home/fred # emerge -pv @preserved-rebuild

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

Calculating dependencies... done!
[ebuild   R    ] app-crypt/qca-2.1.3-r1:2::gentoo  USE="qt4* qt5 ssl -botan -debug -doc -examples -gcrypt -gpg -libressl -logger -nss -pkcs11 -sasl -softstore {-test}" 0 KiB
[ebuild   R    ] dev-libs/libdbusmenu-qt-0.9.3_pre20160218-r1::gentoo  USE="qt4* -debug {-test}" ABI_X86="(64) -32 (-x32)" 0 KiB
[ebuild   R    ] sys-auth/polkit-qt-0.112.0_p20160416-r1::gentoo  USE="qt4* -debug -examples" 0 KiB
[ebuild     UD ] media-libs/phonon-4.9.1-r1::gentoo [4.10.0::gentoo] USE="pulseaudio qt4%* qt5%* vlc -debug -designer -gstreamer" ABI_X86="(64%*) -32% (-x32)" 0 KiB
[ebuild     UD ] media-libs/phonon-vlc-0.9.1-r1::gentoo [0.10.1::gentoo] USE="qt4%* qt5%* -debug" 0 KiB
[ebuild   R    ] kde-frameworks/kdelibs-4.14.37:4/4.14::gentoo  USE="acl bzip2 handbook jpeg2k nls plasma (policykit) qt3support spell ssl udev udisks upower zeroconf (-altivec) -debug -doc (-fam) -kerberos -libressl -lzma -openexr {-test}" CPU_FLAGS_X86="3dnow mmx sse sse2" 0 KiB

Total: 6 packages (2 downgrades, 4 reinstalls), Size of downloads: 0 KiB

The following USE changes are necessary to proceed:
 (see "package.use" in the portage(5) man page for more details)
# required by media-libs/phonon-4.9.1-r1::gentoo[vlc]
# required by kde-frameworks/kdelibs-4.14.37::gentoo
# required by @preserved-rebuild (argument)
=media-libs/phonon-vlc-0.9.1-r1 qt4
# required by kde-frameworks/kdelibs-4.14.37::gentoo[plasma]
# required by @preserved-rebuild (argument)
>=app-crypt/qca-2.1.3-r1 qt4
# required by media-libs/phonon-vlc-0.9.1-r1::gentoo
=media-libs/phonon-4.9.1-r1 qt4
# required by kde-frameworks/kdelibs-4.14.37::gentoo
# required by @preserved-rebuild (argument)
>=dev-libs/libdbusmenu-qt-0.9.3_pre20160218-r1 qt4
# required by kde-frameworks/kdelibs-4.14.37::gentoo
# required by @preserved-rebuild (argument)
>=sys-auth/polkit-qt-0.112.0_p20160416-r1 qt4
localhost /home/fred #

I accept there may be qt4 apps on my system, I assume kdelibs is needed for this still? Every time I do a dependancy check, its kdelibs that crops up.
Does anyone have any advice, shall I just remove kdelibs and see what complains then?
Hopefully this info might help
Code:
localhost /home/fred # equery d kdelibs
 * These packages depend on kdelibs:
kde-plasma/breeze-5.12.3 (qt4 ? kde-frameworks/kdelibs:4)
kde-plasma/oxygen-5.12.3 (qt4 ? kde-frameworks/kdelibs:4)
kde-plasma/qguiplatformplugin_kde-4.11.22 (kde-frameworks/kdelibs:4)
localhost /home/fred # equery h kde
 * Searching for USE flag kde ...
[IP-] [  ] app-arch/p7zip-16.02-r2:0
[IP-] [  ] app-office/libreoffice-6.0.2.1:0
[IP-] [  ] kde-apps/marble-17.12.3:5/17.12
[IP-] [  ] net-libs/libproxy-0.4.13-r2:0
[IP-] [  ] net-print/hplip-3.17.10-r1:0
[IP-] [  ] sys-auth/polkit-0.113-r4:0
[IP-] [  ] sys-block/gparted-0.29.0:0
[IP-] [  ] virtual/notification-daemon-0:0
localhost /home/fred # equery h qt4
 * Searching for USE flag qt4 ...
[IP-] [  ] app-admin/testdisk-7.0-r3:0
[IP-] [  ] app-crypt/qca-2.1.3-r1:2
[IP-] [  ] dev-libs/libdbusmenu-qt-0.9.3_pre20160218-r1:0
[IP-] [  ] kde-plasma/breeze-5.12.3:5
[IP-] [  ] kde-plasma/oxygen-5.12.3:5
[IP-] [  ] kde-plasma/plasma-meta-5.12.3:5
[IP-] [  ] media-sound/pulseaudio-11.1:0
[IP-] [  ] sys-auth/polkit-qt-0.112.0_p20160416-r1:0
localhost /home/fred #
Back to top
View user's profile Send private message
Fitzcarraldo
Advocate
Advocate


Joined: 30 Aug 2008
Posts: 2056
Location: United Kingdom

PostPosted: Sat Mar 17, 2018 2:53 pm    Post subject: Reply with quote

I had the same problem as you when I migrated from Qt4 to Qt5 some months ago. In case it's of any help, below are my old notes on what I did to get rid of Qt4 in my Clevo W230SS laptop installation (amd64), although some packages have changes since then. Subsequently I was able to re-merge the four packages that did not re-merge at the time I migrated.

1. Created /etc/portage/package.mask/qt containing:

Code:
dev-qt/*:4
kde-apps/*:4


2. Added "-qt4" USE flag in /etc/portage/make.conf

3. Added "-kde" USE flag to /etc/portage/package.use/libreoffice

Code:
app-office/libreoffice java -kde


4. Manually un-merged installed packages that depend on Qt4

5. Manually un-merged installed dev-qt/*:4 and kdep-apps/*:4 packages

6. I use the Clementine music player, so I installed a Qt5 version of Clementine (the live version, clementine-9999)

7. emerge -uvDN @world

8. Merged libreoffice

The actual sequence of commands was (I have omitted the 'emerge -uvpDN @world' and 'equery depends' commands I used at various stages to check for Qt4 blockers):

Code:
nano /etc/portage/package.mask/qt # Masked dev-qt/*:4 and kde-apps/*:4
nano /etc/portage/package.use/ libreoffice # Added "-kde" to list of USE flags
emerge --ask --depclean unetbootin
emerge --ask --depclean clementine
emerge --ask --depclean qmc2 # In my local overlay
emerge -C dev-qt/designer-4.8.7 kdebase-kioslaves kdelibs kdelibs-env kdelibs4support libreoffice phonon phonon-vlc PyQt4 python-poppler-qt4 vlc
nano /etc/portage/make.conf # Added "-qt4"
USE="-qt4" emerge -1v poppler
USE="-qt4" emerge -1v vlc
USE="-qt4" emerge -1v pulseaudio
USE="-qt4" emerge -1v phonon
USE="-qt4" emerge -1v poppler-data python-poppler
USE="-qt4" emerge -1v kdepim-addons kdepim-apps-libs kdepim-meta kdepim-runtime libkdepim
emerge -C juk kolf kde4-l10n kget kimagemapeditor ksirk =libkdegames-4.14.3-r1 palapeli sweeper
emerge --ask --depclean sni-qt
emerge --ask --depclean subversion
emerge --ask --depclean zeroconf-ioslave
USE="-qt4 qt5" emerge -1v kdenetwork-meta
USE="-qt4 qt5" emerge -1v breeze breeze-icons breeze-gtk
USE="-qt4 qt5" emerge -1v oxygen oxygen-icons oxygen-gtk
USE="-qt4 qt5" emerge -1v =oxygen-gtk-1.4.1-r1
emerge -uvDN @world
emerge --ask --depclean
USE="-qt4 qt5" emerge -1vp plasma-desktop
emerge -1v =clementine-9999
emerge -C =qtscript-4.8.7 =qtgui-4.8.7 =qttranslations-4.8.7 =qt3support-4.8.7 =qtcore-4.8.7-r3 =qtsql-4.8.7-r1
emerge --ask --depclean converseen
USE="-qt4 qt5" emerge -1v polkit-qt
emerge --ask --depclean kdocker
emerge -uvDN @world
emerge --ask --depclean
emerge libreoffice

Four packages failed to re-merge at the time:

Code:
* The following 4 packages have failed to build, install, or execute
 * postinst:
 *
 *  (media-libs/libbluray-1.0.1:0/2::gentoo, ebuild scheduled for merge), Log file:
 *   '/var/log/portage/media-libs:libbluray-1.0.1:20171203-043142.log'


^I left pre-pie version of libbluray installed. There is a bug report about it.

Code:
 *  (app-text/cuneiform-1.1.0-r2:0/0::gentoo, ebuild scheduled for merge), Log file:
 *   '/var/log/portage/app-text:cuneiform-1.1.0-r2:20171203-050616.log'


^I unmerged it.

Code:
 *  (media-gfx/splashutils-1.5.4.4-r7:0/0::gentoo, ebuild scheduled for merge), Log file:
 *   '/var/log/portage/media-gfx:splashutils-1.5.4.4-r7:20171203-062913.log'


^I un-merged it.

Code:
 *  (app-cdr/cdrdao-1.2.3-r4:0/0::gentoo, ebuild scheduled for merge), Log file:
 *   '/var/log/portage/app-cdr:cdrdao-1.2.3-r4:20171203-065350.log'


^See https://bugs.gentoo.org/635014 I fixed it as per the bug report.
_________________
Clevo W230SS: amd64, VIDEO_CARDS="intel modesetting nvidia".
Compal NBLB2: ~amd64, xf86-video-ati. Dual boot Win 7 Pro 64-bit.
OpenRC systemd-utils[udev] elogind KDE on both.

My blog
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 9331

PostPosted: Sat Mar 17, 2018 2:57 pm    Post subject: Reply with quote

Fitzcarraldo wrote:
3. Added "-kde" USE flag to /etc/portage/package.use/libreoffice

Code:
app-office/libreoffice java -kde

USE=kde is Qt5-based in >=6.0.

Fitzcarraldo wrote:
5. Manually un-merged installed dev-qt/*:4 and kdep-apps/*:4 packages

There are no slot 4 packages left in kde-apps/*17.12.x.

Fitzcarraldo wrote:
6. I use the Clementine music player, so I installed a Qt5 version of Clementine (the live version, clementine-9999)

Qt5-based snapshots available (>=2018).
Back to top
View user's profile Send private message
andrewwalker27
l33t
l33t


Joined: 27 Jun 2005
Posts: 660

PostPosted: Sat Mar 17, 2018 4:11 pm    Post subject: Reply with quote

Thanks for the info. Could you enlighten me on a couple of things associated with this?
1) How do I list all qt4 dependant packages.
2) Is phonon an essential part of plasma or part of what was KDE4
3) If I require some older qt4 only packages, should kdelibs be pulled in as a dependency?

Thanks for your help.
Back to top
View user's profile Send private message
andrewwalker27
l33t
l33t


Joined: 27 Jun 2005
Posts: 660

PostPosted: Sat Mar 17, 2018 5:11 pm    Post subject: Reply with quote

Ok, this is getting annoying, qt4 must die!
I've added -qt4 to /etc/portage/make.conf
I've created a file /etc/portage/package.mask/qt with the following lines in it
Code:
dev-qt/*:4
kde-apps/*:4

I've uninstalled as much of the qt4 bits as possible.
I've run
Code:
emerge  --update --newuse --deep --with-bdeps=y @world
and all ok.
Finally I've tried to ensure all dependencies are resolved and this happens!
Code:
localhost /home/fred # emerge -pv @preserved-rebuild

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

Calculating dependencies... done!
[ebuild  NS   #] dev-qt/qtcore-4.8.7-r4:4::gentoo [5.9.4-r2:5/5.9::gentoo] USE="exceptions glib iconv qt3support ssl (-aqua) -debug (-icu) -libressl -pch" ABI_X86="(64) -32 (-x32)" 0 KiB
[ebuild  NS   #] dev-qt/qttranslations-4.8.7:4::gentoo [5.9.4:5/5.9::gentoo] ABI_X86="(64) -32 (-x32)" 0 KiB
[ebuild  NS   #] dev-qt/qtscript-4.8.7:4::gentoo [5.9.4:5/5.9::gentoo] USE="exceptions jit (-aqua) -debug -pch" ABI_X86="(64) -32 (-x32)" 0 KiB
[ebuild  NS   #] dev-qt/qtgui-4.8.7:4::gentoo [5.9.4-r3:5/5.9::gentoo] USE="accessibility cups egl exceptions glib mng qt3support tiff xinerama xv (-aqua) -debug -gtkstyle -nas -nis -pch -trace" ABI_X86="(64) -32 (-x32)" 0 KiB
[ebuild  NS   #] dev-qt/qtdbus-4.8.7:4::gentoo [5.9.4:5/5.9::gentoo] USE="exceptions (-aqua) -debug -pch" ABI_X86="(64) -32 (-x32)" 0 KiB
[ebuild  NS   #] dev-qt/qtsvg-4.8.7:4::gentoo [5.9.4-r2:5/5.9::gentoo] USE="accessibility exceptions (-aqua) -debug -pch" ABI_X86="(64) -32 (-x32)" 0 KiB
[ebuild   R    ] dev-libs/libdbusmenu-qt-0.9.3_pre20160218-r1::gentoo  USE="qt4* -debug {-test}" ABI_X86="(64) -32 (-x32)" 0 KiB
[ebuild   R    ] dev-libs/libattica-0.4.2::gentoo  USE="-debug {-test}" 0 KiB
[ebuild   R    ] dev-util/automoc-0.9.88-r1::gentoo  0 KiB
[ebuild   R    ] app-crypt/qca-2.1.3-r1:2::gentoo  USE="qt4* qt5 ssl -botan -debug -doc -examples -gcrypt -gpg -libressl -logger -nss -pkcs11 -sasl -softstore {-test}" 0 KiB
[ebuild  NS   #] dev-qt/qttest-4.8.7:4::gentoo [5.9.4:5/5.9::gentoo] USE="exceptions (-aqua) -debug -pch" ABI_X86="(64) -32 (-x32)" 0 KiB
[ebuild  NS   #] dev-qt/qtxmlpatterns-4.8.7:4::gentoo [5.9.4:5/5.9::gentoo] USE="(-aqua) -debug -pch" ABI_X86="(64) -32 (-x32)" 0 KiB
[ebuild  NS   #] dev-qt/qtopengl-4.8.7:4::gentoo [5.9.4:5/5.9::gentoo] USE="egl exceptions qt3support (-aqua) -debug -pch" ABI_X86="(64) -32 (-x32)" 0 KiB
[ebuild  NS   #] dev-qt/qtsql-4.8.7-r1:4::gentoo [5.9.4-r1:5/5.9::gentoo] USE="exceptions mysql qt3support sqlite (-aqua) -debug -freetds -oci8 -odbc -pch -postgres" ABI_X86="(64) -32 (-x32)" 0 KiB
[ebuild  N    #] dev-qt/qt3support-4.8.7:4::gentoo  USE="accessibility exceptions (-aqua) -debug -pch" ABI_X86="(64) -32 (-x32)" 0 KiB
[ebuild  NS   #] dev-qt/qtdeclarative-4.8.7:4::gentoo [5.9.4:5/5.9::gentoo] USE="accessibility exceptions qt3support (-aqua) -debug -pch (-webkit)" ABI_X86="(64) -32 (-x32)" 0 KiB
[ebuild  NS   #] dev-qt/designer-4.8.7:4::gentoo [5.9.4:5/5.9::gentoo] USE="declarative exceptions qt3support (-aqua) -debug -pch (-phonon) (-webkit)" ABI_X86="(64) -32 (-x32)" 0 KiB
[ebuild   R    ] sys-auth/polkit-qt-0.112.0_p20160416-r1::gentoo  USE="qt4* -debug -examples" 0 KiB
[ebuild     UD ] media-libs/phonon-4.9.1-r1::gentoo [4.10.0::gentoo] USE="pulseaudio qt4%* qt5%* vlc -debug -designer -gstreamer" ABI_X86="(64%*) -32% (-x32)" 0 KiB
[ebuild     UD ] media-libs/phonon-vlc-0.9.1-r1::gentoo [0.10.1::gentoo] USE="qt4%* qt5%* -debug" 0 KiB
[ebuild  N     ] kde-frameworks/kdelibs-4.14.37:4/4.14::gentoo  USE="acl bzip2 handbook jpeg2k nls plasma (policykit) qt3support spell ssl udev udisks upower zeroconf (-altivec) -debug -doc (-fam) -kerberos -libressl -lzma -openexr {-test}" CPU_FLAGS_X86="3dnow mmx sse sse2" 0 KiB
[ebuild   R    ] kde-plasma/qguiplatformplugin_kde-4.11.22:4/4.11::gentoo  USE="-debug" 0 KiB

Total: 22 packages (2 downgrades, 2 new, 12 in new slots, 6 reinstalls), Size of downloads: 0 KiB

The following mask changes are necessary to proceed:
 (see "package.unmask" in the portage(5) man page for more details)
# required by dev-qt/qtdeclarative-4.8.7::gentoo
# required by dev-qt/designer-4.8.7::gentoo[declarative]
# required by kde-frameworks/kdelibs-4.14.37::gentoo
# required by kde-plasma/qguiplatformplugin_kde-4.11.22::gentoo
# required by @preserved-rebuild (argument)
# /etc/portage/package.mask/qt:
=dev-qt/qtopengl-4.8.7
# required by dev-qt/qtdeclarative-4.8.7::gentoo
# required by dev-qt/designer-4.8.7::gentoo[declarative]
# required by kde-frameworks/kdelibs-4.14.37::gentoo
# required by kde-plasma/qguiplatformplugin_kde-4.11.22::gentoo
# required by @preserved-rebuild (argument)
# /etc/portage/package.mask/qt:
=dev-qt/qtsql-4.8.7-r1
# required by kde-frameworks/kdelibs-4.14.37::gentoo
# required by kde-plasma/qguiplatformplugin_kde-4.11.22::gentoo
# required by @preserved-rebuild (argument)
# /etc/portage/package.mask/qt:
=dev-qt/qttest-4.8.7
# required by dev-qt/qtsvg-4.8.7::gentoo
# required by dev-qt/qtdeclarative-4.8.7::gentoo
# required by dev-qt/designer-4.8.7::gentoo[declarative]
# required by kde-frameworks/kdelibs-4.14.37::gentoo
# required by kde-plasma/qguiplatformplugin_kde-4.11.22::gentoo
# required by @preserved-rebuild (argument)
# /etc/portage/package.mask/qt:
=dev-qt/qtgui-4.8.7
# required by dev-qt/designer-4.8.7::gentoo[declarative]
# required by kde-frameworks/kdelibs-4.14.37::gentoo
# required by kde-plasma/qguiplatformplugin_kde-4.11.22::gentoo
# required by @preserved-rebuild (argument)
# /etc/portage/package.mask/qt:
=dev-qt/qtdeclarative-4.8.7
# required by kde-frameworks/kdelibs-4.14.37::gentoo
# required by kde-plasma/qguiplatformplugin_kde-4.11.22::gentoo
# required by @preserved-rebuild (argument)
# /etc/portage/package.mask/qt:
=dev-qt/designer-4.8.7
# required by dev-qt/qtdeclarative-4.8.7::gentoo
# required by dev-qt/designer-4.8.7::gentoo[declarative]
# required by kde-frameworks/kdelibs-4.14.37::gentoo
# required by kde-plasma/qguiplatformplugin_kde-4.11.22::gentoo
# required by @preserved-rebuild (argument)
# /etc/portage/package.mask/qt:
=dev-qt/qtsvg-4.8.7
# required by dev-qt/qtdeclarative-4.8.7::gentoo[qt3support]
# required by dev-qt/designer-4.8.7::gentoo[declarative]
# required by kde-frameworks/kdelibs-4.14.37::gentoo
# required by kde-plasma/qguiplatformplugin_kde-4.11.22::gentoo
# required by @preserved-rebuild (argument)
# /etc/portage/package.mask/qt:
=dev-qt/qt3support-4.8.7
# required by dev-qt/qtdeclarative-4.8.7::gentoo
# required by dev-qt/designer-4.8.7::gentoo[declarative]
# required by kde-frameworks/kdelibs-4.14.37::gentoo
# required by kde-plasma/qguiplatformplugin_kde-4.11.22::gentoo
# required by @preserved-rebuild (argument)
# /etc/portage/package.mask/qt:
=dev-qt/qtscript-4.8.7
# required by dev-qt/qttranslations-4.8.7::gentoo
# required by @selected
# required by @world (argument)
# /etc/portage/package.mask/qt:
=dev-qt/qtcore-4.8.7-r4
# required by kde-frameworks/kdelibs-4.14.37::gentoo
# required by kde-plasma/qguiplatformplugin_kde-4.11.22::gentoo
# required by @preserved-rebuild (argument)
# /etc/portage/package.mask/qt:
=dev-qt/qtdbus-4.8.7
# required by dev-qt/qtdeclarative-4.8.7::gentoo
# required by dev-qt/designer-4.8.7::gentoo[declarative]
# required by kde-frameworks/kdelibs-4.14.37::gentoo
# required by kde-plasma/qguiplatformplugin_kde-4.11.22::gentoo
# required by @preserved-rebuild (argument)
# /etc/portage/package.mask/qt:
=dev-qt/qtxmlpatterns-4.8.7
# required by dev-qt/qtcore-4.8.7-r4::gentoo
# required by media-libs/phonon-4.9.1-r1::gentoo[qt4]
# required by media-libs/phonon-vlc-0.9.1-r1::gentoo
# /etc/portage/package.mask/qt:
=dev-qt/qttranslations-4.8.7

The following USE changes are necessary to proceed:
 (see "package.use" in the portage(5) man page for more details)
# required by kde-frameworks/kdelibs-4.14.37::gentoo[plasma]
# required by kde-plasma/qguiplatformplugin_kde-4.11.22::gentoo
# required by @preserved-rebuild (argument)
>=app-crypt/qca-2.1.3-r1 qt4
# required by kde-frameworks/kdelibs-4.14.37::gentoo
# required by kde-plasma/qguiplatformplugin_kde-4.11.22::gentoo
# required by @preserved-rebuild (argument)
>=sys-auth/polkit-qt-0.112.0_p20160416-r1 qt4
# required by media-libs/phonon-vlc-0.9.1-r1::gentoo
=media-libs/phonon-4.9.1-r1 qt4
# required by kde-frameworks/kdelibs-4.14.37::gentoo
# required by kde-plasma/qguiplatformplugin_kde-4.11.22::gentoo
# required by @preserved-rebuild (argument)
>=dev-libs/libdbusmenu-qt-0.9.3_pre20160218-r1 qt4
# required by media-libs/phonon-4.9.1-r1::gentoo[vlc]
# required by kde-frameworks/kdelibs-4.14.37::gentoo
# required by kde-plasma/qguiplatformplugin_kde-4.11.22::gentoo
# required by @preserved-rebuild (argument)
=media-libs/phonon-vlc-0.9.1-r1 qt4

NOTE: The --autounmask-keep-masks option will prevent emerge
      from creating package.unmask or ** keyword changes.
localhost /home/fred #


It tries to pull back in all the qt4 I've tried to remove even though qt4 has explicitly been masked everywhere.
What the hell is going on?
Back to top
View user's profile Send private message
Tyrus
Guru
Guru


Joined: 03 Feb 2018
Posts: 300

PostPosted: Sat Mar 17, 2018 5:46 pm    Post subject: Reply with quote

You got:
Code:

# required by dev-qt/qttranslations-4.8.7::gentoo
# required by @selected
# required by @world (argument)
# /etc/portage/package.mask/qt:
=dev-qt/qtcore-4.8.7-r4


Why is that still required by world?
Do you have that entry still in your world file?
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 9331

PostPosted: Sat Mar 17, 2018 5:54 pm    Post subject: Reply with quote

Code:
# required by kde-plasma/qguiplatformplugin_kde-4.11.22::gentoo
Back to top
View user's profile Send private message
Tyrus
Guru
Guru


Joined: 03 Feb 2018
Posts: 300

PostPosted: Sat Mar 17, 2018 7:05 pm    Post subject: Reply with quote

asturm wrote:

USE=kde is Qt5-based in >=6.0.


Thanks for that hint! :)
It gave me the needed attention.

I have just upgraded libreoffice and added "-qt4" in make.conf.
It doesn't need more to get rid of qt4.

Code:

luthien ~ # emerge --ask --depclean
[...]

All selected packages: =dev-qt/qtcore-4.8.7-r4 =dev-qt/qtopengl-4.8.7 =dev-qt/qtdeclarative-4.8.7 =dev-qt/qt3support-4.8.7 =dev-qt/qtdbus-4.8.7 =dev-qt/qttest-4.8.7 =dev-libs/libattica-0.4.2 =dev-qt/qttranslations-4.8.7 =media-libs/lib3ds-2.0.0_rc1 =dev-qt/qtsql-4.8.7-r1 =dev-qt/qtgui-4.8.7 =kde-frameworks/kdelibs-4.14.37 =media-libs/libgltf-0.1.0 =dev-qt/qtxmlpatterns-4.8.7 =media-libs/opencollada-1.6.62 =dev-qt/qtscript-4.8.7 =dev-qt/designer-4.8.7 =dev-util/automoc-0.9.88-r1 =app-misc/media-player-info-22 =dev-qt/qtsvg-4.8.7 =app-eselect/eselect-qtgraphicssystem-1.1.1 =kde-frameworks/kdelibs-env-4.14.3

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

Would you like to unmerge these packages? [Yes/No]
>>> Waiting 5 seconds before starting...
>>> (Control-C to abort)...
>>> Unmerging in: 5 4 3 2 1
>>> Unmerging (1 of 22) kde-frameworks/kdelibs-4.14.37...
<<< !needed  sym /usr/lib64/libdbusmenu-qt.so.2
<<< !needed  obj /usr/lib64/libdbusmenu-qt.so.2.6.0
<<< !needed  sym /usr/lib64/libphonon.so.4
<<< !needed  obj /usr/lib64/libphonon.so.4.9.1
<<< !needed  sym /usr/lib64/libpolkit-qt-core-1.so.1
<<< !needed  obj /usr/lib64/libpolkit-qt-core-1.so.1.112.0
<<< !needed  sym /usr/lib64/libqca.so.2
<<< !needed  obj /usr/lib64/libqca.so.2.1.3
 * Updating .desktop files database ...                                                                                                      [ ok ]
 * Updating shared mime info database ...                                                                                                    [ ok ]
>>> Unmerging (2 of 22) media-libs/libgltf-0.1.0...
>>> Unmerging (3 of 22) media-libs/opencollada-1.6.62...
>>> Unmerging (4 of 22) dev-qt/designer-4.8.7...
>>> Unmerging (5 of 22) media-libs/lib3ds-2.0.0_rc1...
>>> Unmerging (6 of 22) dev-libs/libattica-0.4.2...
>>> Unmerging (7 of 22) dev-qt/qtdbus-4.8.7...
>>> Unmerging (8 of 22) dev-qt/qttest-4.8.7...
>>> Unmerging (9 of 22) dev-util/automoc-0.9.88-r1...
>>> Unmerging (10 of 22) kde-frameworks/kdelibs-env-4.14.3...
 * Updating .desktop files database ...                                                                                                      [ ok ]
 * Updating shared mime info database ...                                                                                                    [ ok ]
>>> Unmerging (11 of 22) app-misc/media-player-info-22...
>>> Unmerging (12 of 22) dev-qt/qtdeclarative-4.8.7...
>>> Unmerging (13 of 22) dev-qt/qtxmlpatterns-4.8.7...
>>> Unmerging (14 of 22) dev-qt/qtopengl-4.8.7...
>>> Unmerging (15 of 22) dev-qt/qtsvg-4.8.7...
>>> Unmerging (16 of 22) dev-qt/qttranslations-4.8.7...
>>> Unmerging (17 of 22) dev-qt/qt3support-4.8.7...
>>> Unmerging (18 of 22) dev-qt/qtsql-4.8.7-r1...
>>> Unmerging (19 of 22) dev-qt/qtgui-4.8.7...
>>> Unmerging (20 of 22) app-eselect/eselect-qtgraphicssystem-1.1.1...
>>> Unmerging (21 of 22) dev-qt/qtscript-4.8.7...
>>> Unmerging (22 of 22) dev-qt/qtcore-4.8.7-r4...
Packages installed:   2227
Packages in world:    179
Packages in system:   43
Required packages:    2227
Number removed:       22

 * GNU info directory index is up-to-date.
luthien ~ # emerge --ask --verbose @preserved-rebuild

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

Calculating dependencies... done!

Total: 0 packages, Size of downloads: 0 KiB

Nothing to merge; quitting.

luthien ~ # revdep-rebuild
 * This is the new python coded version
 * Please report any bugs found using it.
 * The original revdep-rebuild script is installed as revdep-rebuild.sh
 * Please file bugs at: https://bugs.gentoo.org/
 * Collecting system binaries and libraries
 * Checking dynamic linking consistency

Your system is consistent
luthien ~ #


Last edited by Tyrus on Sat Mar 17, 2018 7:41 pm; edited 1 time in total
Back to top
View user's profile Send private message
mike155
Advocate
Advocate


Joined: 17 Sep 2010
Posts: 4438
Location: Frankfurt, Germany

PostPosted: Sat Mar 17, 2018 7:07 pm    Post subject: Reply with quote

andrewwalker27 wrote:
emerge -pv @preserved-rebuild

I think you use the wrong options.

After you:
1) added "qt5 -qt4" to the USE flags in make.conf
2) removed "qt4" from all entries in package.use
3) un-merged installed dev-qt/*:4 and kdep-apps/*:4 packages
you should use:
Code:
emerge --update --deep --newuse -av world

If this statement doesn't show any qt4 or kde4 packages or any problems: go ahead. After it has finished, start 'emerge --ask --depclean' and all qt4 and kde4 packages should be gone.

It the statement above shows any qt4 or kde4 packages or any problems, use option '--tree':
Code:
emerge --update --deep --newuse --tree -pv world

This will show you packages that pull in qt4 or kde4. Un-install them and retry.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum