Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 270289 - app-editors/kile-2.0.3 should not depend on kdegraphics
Summary: app-editors/kile-2.0.3 should not depend on kdegraphics
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-18 13:06 UTC by Daniel Franke
Modified: 2009-05-18 18:03 UTC (History)
1 user (show)

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 Daniel Franke 2009-05-18 13:06:10 UTC
apps-editor/kile-2.0.3 RDEPENDs on kde-base/kdegraphics whose last ebuild is for 3.5.9, thus pulling in kdelibs-3.5.9 etc. This obviously generates conflicts if kde-3.5.10 is installed.



Reproducible: Always

Steps to Reproduce:

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

kde-base/kdelibs:3.5

  ('ebuild', '/', 'kde-base/kdelibs-3.5.9-r4', 'merge') pulled in by
    ~kde-base/kdelibs-3.5.9 required by ('ebuild', '/', 'kde-base/kdvi-3.5.9', 'merge')
    ~kde-base/kdelibs-3.5.9 required by ('ebuild', '/', 'kde-base/kviewshell-3.5.9', 'merge')
    ~kde-base/kdelibs-3.5.9 required by ('ebuild', '/', 'kde-base/kdialog-3.5.9-r1', 'merge')
    (and 3 more)

  ('ebuild', '/', 'kde-base/kdelibs-3.5.10-r5', 'merge') pulled in by
    ~kde-base/kdelibs-3.5.10 required by ('installed', '/', 'kde-base/kghostview-3.5.10', 'nomerge')
    ~kde-base/kdelibs-3.5.10 required by ('installed', '/', 'kde-base/kdeprint-3.5.10', 'nomerge')
    ~kde-base/kdelibs-3.5.10 required by ('installed', '/', 'kde-base/kpdf-3.5.10', 'nomerge')
    (and 1 more)

kde-base/kghostview:3.5

  ('ebuild', '/', 'kde-base/kghostview-3.5.9', 'merge') pulled in by
    kde-base/kghostview:3.5 required by ('installed', '/', 'app-editors/kile-2.0.3-r1', 'nomerge')

  ('installed', '/', 'kde-base/kghostview-3.5.10', 'nomerge') pulled in by
    >=kde-base/kghostview-3.5.10:3.5 required by ('installed', '/', 'kde-base/kdeprint-3.5.10', 'nomerge')
    (and 1 more)
Comment 1 Sebastian Luther (few) 2009-05-18 15:22:37 UTC
T
Comment 2 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2009-05-18 15:32:07 UTC
Sync the tree as there's new kile version 2.0.3-r1 that fixes collisions with KDE4.
In any case, both 2.0.3 and 2.0.3-r1 include the following deps:

RDEPEND="dev-lang/perl
	virtual/latex-base
	dev-tex/latex2html
	kde? (
		|| ( ( kde-base/kpdf:3.5
			kde-base/kghostview:3.5
			kde-base/kdvi:3.5
			kde-base/kviewshell:3.5 )
			kde-base/kdegraphics:3.5 )
		)"
This means that kdegraphics will only be pulled in if one of kpdf, kghostview, kdvi and kviewshell are not available. If you're running the stable tree, ensure you have all of them keyworded.
Comment 3 Daniel Franke 2009-05-18 15:51:27 UTC
The interesting part is, which I only realize now, that I have kile-2.0.3-r1 already installed:

$> emerge --search kile
Searching...
[ Results for search key : kile ]
[ Applications found : 1 ]

*  app-editors/kile
      Latest version available: 2.0.3-r1
      Latest version installed: 2.0.3-r1

However, on
$> emerge --update --deep --newuse --verbose --ask world

I get:
  ('ebuild', '/', 'kde-base/kdegraphics-3.5.9', 'merge') pulled in by
    kde-base/kdegraphics:3.5 required by ('installed', '/', 'app-editors/kile-2.0.3-r1', 'nomerge')


> This means that kdegraphics will only be pulled in if one of kpdf, kghostview,
> kdvi and kviewshell are not available. If you're running the stable tree,
> ensure you have all of them keyworded.

I keyworded and installed kdegraphics-meta which pulled in all of the apps mentioned above in their 3.5.10 versions:

$> kpdf --version
Qt: 3.3.8b
KDE: 3.5.10
KPDF: 0.5.10
$> kghostview --version
Qt: 3.3.8b
KDE: 3.5.10
KGhostView: 0.20
$> kdvi --version
Qt: 3.3.8b
KDE: 3.5.10
KDVI: 1.4
$> kviewshell --version
Qt: 3.3.8b
KDE: 3.5.10
KViewShell: 0.6

So, something is inconsistent here?
Comment 4 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2009-05-18 16:51:38 UTC
Please post the output of "emerge -pv kpdf kghostview kdvi kviewshell". If portage would try to reinstall the 3.5.10 ebuilds, please post also the *complete* output of "emerge -uDpv kile"
Comment 5 Daniel Franke 2009-05-18 17:04:01 UTC
> Please post the output of "emerge -pv kpdf kghostview kdvi kviewshell".

$> emerge -pv kpdf kghostview kdvi kviewshell

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

Calculating dependencies... done!
[ebuild     UD] kde-base/kdelibs-3.5.9-r4 [3.5.10-r2] USE="acl cups debug fam spell tiff xinerama%* -alsa -arts -avahi -bindist -branding -doc -jpeg2k -kdeenablefinal% -kdehiddenvisibility -kerberos -legacyssl -lua -openexr -utempter" 0 kB
[ebuild   R   ] kde-base/kpdf-3.5.10  USE="-debug" 0 kB
[ebuild     UD] kde-base/kviewshell-3.5.9 [3.5.10] USE="xinerama%* -arts% -debug -kdeenablefinal%" 0 kB
[ebuild     UD] kde-base/kghostview-3.5.9 [3.5.10] USE="xinerama%* -arts% -debug -kdeenablefinal%" 0 kB
[ebuild     UD] kde-base/kdvi-3.5.9 [3.5.10] USE="xinerama%* -arts% -debug -emacs -kdeenablefinal% -kpathsea" 0 kB


Please not that I have installed kdegraphics-meta which pulled in above packages. Thus:

$> emerge -pv kdegraphics-meta

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

Calculating dependencies... done!
[ebuild   R   ] kde-base/kdegraphics-meta-3.5.10  USE="imlib povray -gphoto2 -scanner" 0 kB


> If portage would try to reinstall the 3.5.10 ebuilds, please post also 
> the *complete* output of "emerge -uDpv kile"

Not sure if this still applies, but it doesn't hurt either way ...

$> emerge -uDpv kile

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

Calculating dependencies... done!
[ebuild     U ] dev-libs/libgpg-error-1.7 [1.6] USE="-nls" 395 kB
[ebuild     U ] net-dns/libidn-1.13 [1.5-r1] USE="-doc -emacs -java -mono -nls" 2,519 kB
[ebuild     U ] media-libs/openjpeg-1.3-r2 [1.3] USE="-tools" 0 kB                      
[ebuild  N    ] virtual/libusb-0  0 kB                                                  
[ebuild     U ] media-libs/freetype-2.3.9-r1 [2.3.8] USE="X -bindist -debug -doc -fontforge -utils" 1,332 kB
[ebuild     U ] x11-apps/xprop-1.0.4 [1.0.3] USE="-debug" 107 kB                                            
[ebuild     U ] x11-apps/xset-1.0.4 [1.0.3] USE="-debug" 102 kB                                             
[ebuild     U ] x11-libs/qt-core-4.5.1 [4.4.2-r2] USE="debug doc glib iconv ssl -custom-cxxflags -pch -qt3support" 111,980 kB
[ebuild     U ] x11-misc/xdg-utils-1.0.2-r3 [1.0.2-r1] USE="-doc" 0 kB                                                       
[ebuild     U ] x11-libs/qt-dbus-4.5.1 [4.4.2] USE="debug -custom-cxxflags -pch" 0 kB                                        
[ebuild     U ] x11-libs/qt-script-4.5.1 [4.4.2] USE="debug iconv%* -custom-cxxflags -pch" 0 kB                              
[ebuild     U ] x11-libs/qt-test-4.5.1 [4.4.2] USE="debug iconv%* -custom-cxxflags -pch" 0 kB                                
[ebuild     U ] app-text/texlive-core-2008-r5 [2008-r4] USE="X -doc -source -tk" 28 kB                                       
[ebuild     U ] net-print/cups-1.3.10-r1 [1.3.10] USE="X acl dbus jpeg ldap pam perl png python samba ssl tiff -avahi -gnutls -java -kerberos -php -ppds -slp -static -xinetd -zeroconf" LINGUAS="-de -en -es -et -fr -he -id -it -ja -pl -sv -zh_TW" 0 kB                            
[ebuild     U ] app-text/ghostscript-gpl-8.64-r3 [8.64-r2] USE="X cairo cups gtk -bindist -cjk -djvu -jpeg2k" 12 kB                        
[ebuild     U ] x11-libs/qt-gui-4.5.1 [4.4.2-r3] USE="cups dbus debug glib gtkstyle%* tiff xinerama -accessibility -custom-cxxflags -mng -nas -nis -pch -qt3support -raster%" INPUT_DEVICES="(-wacom%)" 0 kB                                                                          
[ebuild     UD] kde-base/kdelibs-3.5.9-r4 [3.5.10-r2] USE="acl cups debug fam spell tiff xinerama%* -alsa -arts -avahi -bindist -branding -doc -jpeg2k -kdeenablefinal% -kdehiddenvisibility -kerberos -legacyssl -lua -openexr -utempter" 0 kB                                       
[ebuild     U ] kde-base/kdelibs-3.5.10-r5 [3.5.10-r2] USE="acl cups debug fam spell tiff -alsa -arts -avahi -bindist -branding -doc -jpeg2k -kdehiddenvisibility -kerberos -legacyssl -lua -openexr -utempter" 0 kB
[ebuild     UD] kde-base/kdialog-3.5.9-r1 [3.5.10] USE="xinerama%* -arts% -debug -kdeenablefinal% -kdehiddenvisibility" 0 kB
[ebuild     UD] kde-base/kghostview-3.5.9 [3.5.10] USE="xinerama%* -arts% -debug -kdeenablefinal%" 0 kB
[ebuild     UD] kde-base/kdebase-kioslaves-3.5.9 [3.5.10-r1] USE="hal ldap samba xinerama%* -arts% -debug -kdeenablefinal% -kdehiddenvisibility -openexr" 0 kB
[ebuild     UD] kde-base/kviewshell-3.5.9 [3.5.10] USE="xinerama%* -arts% -debug -kdeenablefinal%" 0 kB
[ebuild     UD] kde-base/kdvi-3.5.9 [3.5.10] USE="xinerama%* -arts% -debug -emacs -kdeenablefinal% -kpathsea" 0 kB

Total: 23 packages (16 upgrades, 6 downgrades, 1 new), Size of downloads: 116,471 kB

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

kde-base/kdelibs:3.5

  ('ebuild', '/', 'kde-base/kdelibs-3.5.9-r4', 'merge') pulled in by
    ~kde-base/kdelibs-3.5.9 required by ('ebuild', '/', 'kde-base/kdvi-3.5.9', 'merge')
    ~kde-base/kdelibs-3.5.9 required by ('ebuild', '/', 'kde-base/kviewshell-3.5.9', 'merge')
    ~kde-base/kdelibs-3.5.9 required by ('ebuild', '/', 'kde-base/kdialog-3.5.9-r1', 'merge')
    (and 3 more)

  ('ebuild', '/', 'kde-base/kdelibs-3.5.10-r5', 'merge') pulled in by
    ~kde-base/kdelibs-3.5.10 required by ('installed', '/', 'kde-base/kghostview-3.5.10', 'nomerge')
    ~kde-base/kdelibs-3.5.10 required by ('installed', '/', 'kde-base/kdeprint-3.5.10', 'nomerge')
    ~kde-base/kdelibs-3.5.10 required by ('installed', '/', 'kde-base/kpdf-3.5.10', 'nomerge')
    (and 1 more)

kde-base/kghostview:3.5

  ('ebuild', '/', 'kde-base/kghostview-3.5.9', 'merge') pulled in by
    kde-base/kghostview:3.5 required by ('installed', '/', 'app-editors/kile-2.0.3-r1', 'nomerge')

  ('installed', '/', 'kde-base/kghostview-3.5.10', 'nomerge') pulled in by
    >=kde-base/kghostview-3.5.10:3.5 required by ('installed', '/', 'kde-base/kdeprint-3.5.10', 'nomerge')
    (and 1 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.
Comment 6 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2009-05-18 17:09:04 UTC
(In reply to comment #5)
> [ebuild     UD] kde-base/kviewshell-3.5.9 [3.5.10] USE="xinerama%* -arts%
> -debug -kdeenablefinal%" 0 kB
> [ebuild     UD] kde-base/kghostview-3.5.9 [3.5.10] USE="xinerama%* -arts%
> -debug -kdeenablefinal%" 0 kB
> [ebuild     UD] kde-base/kdvi-3.5.9 [3.5.10] USE="xinerama%* -arts% -debug
> -emacs -kdeenablefinal% -kpathsea" 0 kB

This means you need to keyword kviewshell, kghostview and kdvi as I was suggesting in the previous comment. You may want to grep your keywords files to check what's going on.
After you keyword those, check if the emerge of kile still wants to downgrade any package.
Comment 7 Daniel Franke 2009-05-18 17:23:17 UTC
Yes, after keywording kviewshell, kghostview and kdvi it works, no more downgrades.

> You may want to grep your keywords files to check what's going on.

In /etc/portage/package.keywords, I have:
kde-base/kdegraphics-meta ~x86

which, on 'emerge [...] kdegraphics-meta' pulls in all the packages with keyword. Where's the point to install *-meta packages if I have to keyword the individual packages in addition to that to avoid these kind of ... obstacles?
Comment 8 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2009-05-18 17:38:13 UTC
(In reply to comment #7)
> Yes, after keywording kviewshell, kghostview and kdvi it works, no more
> downgrades.

OK, then as I suspected this isn't a bug.

> > You may want to grep your keywords files to check what's going on.
> 
> In /etc/portage/package.keywords, I have:
> kde-base/kdegraphics-meta ~x86
> 
> which, on 'emerge [...] kdegraphics-meta' pulls in all the packages with
> keyword. Where's the point to install *-meta packages if I have to keyword the
> individual packages in addition to that to avoid these kind of ... obstacles?

You haven't understood how meta packages work. A meta package is a simple package that lists as RDEPs the packages that make up the corresponding upstream tarball (kdenetwork-meta lists all packages provided by the kdenetwork tarball). You need to keyword *all* packages in a meta package to be able to use the unstable versions as Portage treats meta packages as any other package.
The feature you're expecting would be something provided by sets if Portage allowed (allows?) the use of set in keyword files.
If you want some help with the keywords for KDE-3.5.10 packages, check http://git.overlays.gentoo.org/gitweb/?p=proj/kde.git;a=tree;f=Documentation/package.keywords;h=3dafedd211504cb8afe143e43c676e6ad59bd385;hb=master and grab the kde-3.5.keywords file or any of the files that interest you under kde-3.5.d/.