Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 652136 - kde-frameworks/kdelibs-4.14.37 infinite @world @preserved-rebuild loop
Summary: kde-frameworks/kdelibs-4.14.37 infinite @world @preserved-rebuild loop
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-04-01 13:06 UTC by Guy
Modified: 2018-04-01 13:23 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Guy 2018-04-01 13:06:49 UTC
This is a qt4, qt5 versus (-qt4), (-qt5) issue.

For several packages, USE="qt4 qt5" has been eliminated.

kde-frameworks/kdelibs-4.14.37 is a required dependency for (at least):

equery d kde-frameworks/kdelibs
 * These packages depend on kde-frameworks/kdelibs:
app-office/libreoffice-bin-5.4.5.1 (kde ? >=kde-frameworks/kdelibs-4.14.37:4)
                                   (kde ? kde-frameworks/kdelibs)
kde-plasma/breeze-5.12.4 (qt4 ? kde-frameworks/kdelibs:4)
kde-plasma/oxygen-5.12.4 (qt4 ? kde-frameworks/kdelibs:4)

I haven't yet checked if kdelibs is a requried dependency for app-office/libre-6.* but I believe this is the case as well.

# equery d kde-plasma/breeze
 * These packages depend on kde-plasma/breeze:
kde-plasma/kwin-5.12.4 (>=kde-plasma/breeze-5.12.4:5)
kde-plasma/plasma-desktop-5.12.4 (>=kde-plasma/breeze-5.12.4:5)
kde-plasma/plasma-integration-5.12.4 (>=kde-plasma/breeze-5.12.4:5)
kde-plasma/plasma-meta-5.12.4 (>=kde-plasma/breeze-5.12.4:5)

kde-frameworks/kde-libs-4.14.37 requires the "r1" version ebuilds of it's own dependencies. This results in infinite cycling of @world @preserved-rebuild.

# emerge -uND @world
Calculating dependencies... done!
>>> Verifying ebuild manifests
>>> Emerging (1 of 5) dev-libs/libdbusmenu-qt-0.9.3_pre20160218-r2::gentoo
>>> Installing (1 of 5) dev-libs/libdbusmenu-qt-0.9.3_pre20160218-r2::gentoo
>>> Emerging (2 of 5) app-crypt/qca-2.1.3-r2::gentoo
>>> Installing (2 of 5) app-crypt/qca-2.1.3-r2::gentoo
>>> Emerging (3 of 5) sys-auth/polkit-qt-0.112.0_p20160416-r2::gentoo
>>> Installing (3 of 5) sys-auth/polkit-qt-0.112.0_p20160416-r2::gentoo
>>> Emerging (4 of 5) media-libs/phonon-4.10.0::gentoo
>>> Installing (4 of 5) media-libs/phonon-4.10.0::gentoo
>>> Emerging (5 of 5) media-libs/phonon-gstreamer-4.9.0-r2::gentoo
>>> Installing (5 of 5) media-libs/phonon-gstreamer-4.9.0-r2::gentoo
>>> Jobs: 5 of 5 complete                           Load avg: 9.77, 9.31, 8.01
>>> Auto-cleaning packages...
                                                                                                                                                      
>>> No outdated packages were found on your system.                                                                                                   
                                                                                                                                                      
 * GNU info directory index is up-to-date.                                                                                                            
                                                                                                                                                      
!!! existing preserved libs:                                                                                                                          
>>> package: app-crypt/qca-2.1.3-r2                                                                                                                   
 *  - /usr/lib64/libqca.so.2                                                                                                                          
 *  - /usr/lib64/libqca.so.2.1.3                                                                                                                      
 *      used by /usr/lib64/libplasma.so.3.0.0 (kde-frameworks/kdelibs-4.14.37)                                                                        
>>> package: sys-auth/polkit-qt-0.112.0_p20160416-r2                                                                                                  
 *  - /usr/lib64/libpolkit-qt-core-1.so.1                                                                                                             
 *  - /usr/lib64/libpolkit-qt-core-1.so.1.112.0                                                                                                       
 *      used by /usr/lib64/kde4/plugins/kauth/backend/kauth_backend_plugin.so (kde-frameworks/kdelibs-4.14.37)                                        
>>> package: dev-libs/libdbusmenu-qt-0.9.3_pre20160218-r2                                                                                             
 *  - /usr/lib64/libdbusmenu-qt.so.2                                                                                                                  
 *  - /usr/lib64/libdbusmenu-qt.so.2.6.0                                                                                                              
 *      used by /usr/lib64/libkdeui.so.5.14.37 (kde-frameworks/kdelibs-4.14.37)                                                                       
>>> package: media-libs/phonon-4.10.0                                                                                                                 
 *  - /usr/lib64/libphonon.so.4                                                                                                                       
 *  - /usr/lib64/libphonon.so.4.9.1                                                                                                                   
 *      used by /usr/lib64/kde4/kfileaudiopreview.so (kde-frameworks/kdelibs-4.14.37)                                                                 
 *      used by /usr/lib64/libkhtml.so.5.14.37 (kde-frameworks/kdelibs-4.14.37)                                                                       
 *      used by /usr/lib64/libknotifyconfig.so.4.14.37 (kde-frameworks/kdelibs-4.14.37)                                                               
 *      used by /usr/lib64/libplasma.so.3.0.0 (kde-frameworks/kdelibs-4.14.37)                                                                        
Use emerge @preserved-rebuild to rebuild packages using these libraries

 * IMPORTANT: config file '/etc/signon-ui/webkit-options.d/www.facebook.com.conf' needs updating.
 * See the CONFIGURATION FILES and CONFIGURATION FILES UPDATE TOOLS
 * sections of the emerge man page to learn how to update config files.
 * After world updates, it is important to remove obsolete packages with
 * emerge --depclean. Refer to `man emerge` for more information.

# emerge -p @preserved-rebuild

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

Calculating dependencies... done!
[ebuild     UD ] dev-libs/libdbusmenu-qt-0.9.3_pre20160218-r1 [0.9.3_pre20160218-r2] USE="qt4%*" ABI_X86="32%* (64%*) (-x32)" 
[ebuild     UD ] app-crypt/qca-2.1.3-r1 [2.1.3-r2] USE="qt4%* qt5%*" 
[ebuild     UD ] sys-auth/polkit-qt-0.112.0_p20160416-r1 [0.112.0_p20160416-r2] USE="qt4%*" 
[ebuild     UD ] media-libs/phonon-4.9.1-r1 [4.10.0] USE="qt4%* qt5%*" ABI_X86="32%* (64%*) (-x32)" 
[ebuild     UD ] media-libs/phonon-gstreamer-4.9.0-r1 [4.9.0-r2] USE="qt4%* qt5%*" 
[ebuild   R    ] kde-frameworks/kdelibs-4.14.37 

# emerge @preserved-rebuild
Calculating dependencies... done!
>>> Verifying ebuild manifests
>>> Emerging (1 of 6) dev-libs/libdbusmenu-qt-0.9.3_pre20160218-r1::gentoo
>>> Installing (1 of 6) dev-libs/libdbusmenu-qt-0.9.3_pre20160218-r1::gentoo
>>> Emerging (2 of 6) app-crypt/qca-2.1.3-r1::gentoo
>>> Installing (2 of 6) app-crypt/qca-2.1.3-r1::gentoo
>>> Emerging (3 of 6) sys-auth/polkit-qt-0.112.0_p20160416-r1::gentoo
>>> Installing (3 of 6) sys-auth/polkit-qt-0.112.0_p20160416-r1::gentoo
>>> Emerging (4 of 6) media-libs/phonon-4.9.1-r1::gentoo
>>> Installing (4 of 6) media-libs/phonon-4.9.1-r1::gentoo
>>> Emerging (5 of 6) media-libs/phonon-gstreamer-4.9.0-r1::gentoo
>>> Installing (5 of 6) media-libs/phonon-gstreamer-4.9.0-r1::gentoo
>>> Emerging (6 of 6) kde-frameworks/kdelibs-4.14.37::gentoo

To "break" the cycle and allow me to use --depclean, I've added the following temporay mask:

# cat /etc/portage/package.mask/break-cycle                                                                                     
=media-libs/phonon-gstreamer-4.9.0-r2                                                                                                                 
=media-libs/phonon-4.10.0                                                                                                                             
=sys-auth/polkit-qt-0.112.0_p20160416-r2                                                                                                              
=app-crypt/qca-2.1.3-r2                                                                                                                               
=dev-libs/libdbusmenu-qt-0.9.3_pre20160218-r2
Comment 1 Andreas Sturmlechner gentoo-dev 2018-04-01 13:23:59 UTC
This is a result of you mixing arch and ~arch packages.

>I haven't yet checked if kdelibs is a requried dependency for app-office/libre-6.* but I believe this is the case as well.

LO-6 does not depend on kdelibs, it would enable you to drop it.