Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 257906 - net-dns/avahi blocks net-misc/mDNSResponder which blocks installation of KDE 4.2.0
Summary: net-dns/avahi blocks net-misc/mDNSResponder which blocks installation of KDE ...
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-06 16:35 UTC by Jure Repinc
Modified: 2009-02-08 17:19 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 Jure Repinc 2009-02-06 16:35:25 UTC
On my system where I have Avahi installed I can't install KDE 4.2 since it depends on kdnssd which requiers mDNSResponder which is blocked by Avahi. As far as I can see kdnssd is used only in one of the KDE Control Center plugins and could be missed so it is not a requirement.

Reproducible: Always

Steps to Reproduce:
1. have avahi-0.6.24 installed
2. run "emerge -av kdebase-startkde"

Actual Results:  
I get this output telling me that emerge can't continue:
These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N    ] net-misc/mDNSResponder-107.6-r5  USE="-debug -doc -java" 0 kB
[ebuild  N    ] dev-libs/liboil-0.3.15  USE="-doc" 803 kB                    
[ebuild  N    ] media-libs/gst-plugins-base-0.10.21  USE="nls -debug" 1,936 kB
[ebuild  N    ] kde-base/qimageblitz-0.0.4  USE="3dnow mmx sse sse2 (-altivec) -debug" 55 kB
[ebuild  N    ] kde-base/automoc-0.9.88  9 kB                                               
[ebuild  N    ] dev-libs/soprano-2.2.1  USE="clucene sesame2 -debug -doc -redland" 1,805 kB 
[ebuild  N    ] app-misc/strigi-0.6.4  USE="clucene dbus exif inotify qt4 -debug -fam -hyperestraier -log -test" 875 kB
[ebuild  N    ] media-sound/phonon-4.3.0  USE="gstreamer xcb xine -debug" 553 kB                                       
[ebuild  N    ] app-office/akonadi-server-1.1.1  USE="mysql" 132 kB                                                    
[ebuild  N    ] kde-base/kdelibs-4.2.0-r1  USE="3dnow acl alsa bzip2 mmx nls opengl semantic-desktop spell sse sse2 ssl (-altivec) -bindist -debug -doc -fam -htmlhandbook -jpeg2k -kdeprefix -kerberos -openexr -test -zeroconf" 9,798 kB                                                                                
[ebuild  N    ] kde-base/kdepimlibs-4.2.0  USE="sasl -debug -htmlhandbook -kdeprefix -ldap -test" 1,552 kB                                                   
[ebuild  N    ] kde-base/kdebase-data-4.2.0  USE="-kdeprefix" 68,264 kB                                                                                      
[ebuild  N    ] kde-base/libkworkspace-4.2.0  USE="-debug -kdeprefix" 49,536 kB                                                                              
[ebuild  N    ] kde-base/ksplash-4.2.0  USE="3dnow mmx sse sse2 xinerama (-altivec) -debug -kdeprefix" 0 kB                                                  
[ebuild  N    ] kde-base/ksysguard-4.2.0  USE="lm_sensors -debug -htmlhandbook -kdeprefix -test" 0 kB                                                        
[ebuild  N    ] kde-base/kephal-4.2.0  USE="-debug -kdeprefix" 0 kB                                                                                          
[ebuild  N    ] kde-base/solid-4.2.0  USE="bluetooth -debug -kdeprefix (-networkmanager)" 7 kB                                                               
[ebuild  N    ] kde-base/kstartupconfig-4.2.0  USE="-debug -kdeprefix" 0 kB                                                                                  
[ebuild  N    ] kde-base/kreadconfig-4.2.0  USE="-debug -kdeprefix" 0 kB                                                                                     
[ebuild  N    ] kde-base/kdedglobalaccel-4.2.0  USE="-debug -htmlhandbook -kdeprefix" 0 kB                                                                   
[ebuild  N    ] kde-base/knotify-4.2.0  USE="-debug -kdeprefix" 0 kB                                                                                         
[ebuild  N    ] kde-base/kde-wallpapers-4.2.0  USE="-kdeprefix" 0 kB                                                                                         
[ebuild  N    ] kde-base/kstyles-4.2.0  USE="-debug -kdeprefix" 0 kB                                                                                         
[ebuild  N    ] kde-base/kdebase-desktoptheme-4.2.0  USE="-kdeprefix" 0 kB                                                                                   
[ebuild  N    ] kde-base/kdesu-4.2.0  USE="-debug -htmlhandbook -kdeprefix" 0 kB                                                                             
[ebuild  N    ] kde-base/kdialog-4.2.0  USE="-debug -kdeprefix" 4,151 kB                                                                                     
[ebuild  N    ] kde-base/libplasmaclock-4.2.0  USE="opengl xinerama -debug -kdeprefix" 0 kB                                                                  
[ebuild  N    ] kde-base/libtaskmanager-4.2.0  USE="xcomposite -debug -kdeprefix" 0 kB                                                                       
[ebuild  N    ] kde-base/kde-menu-icons-4.2.0  USE="-kdeprefix" 0 kB                                                                                         
[ebuild  N    ] kde-base/nepomuk-4.2.0  USE="-debug -kdeprefix" 0 kB                                                                                         
[ebuild  N    ] kde-base/kdnssd-4.2.0  USE="-debug -kdeprefix" 7,285 kB                                                                                      
[ebuild  N    ] kde-base/libkonq-4.2.0  USE="-debug -kdeprefix -test" 0 kB                                                                                   
[ebuild  N    ] kde-base/kcminit-4.2.0  USE="-debug -kdeprefix" 0 kB                                                                                         
[ebuild  N    ] kde-base/plasma-apps-4.2.0  USE="-debug -htmlhandbook -kdeprefix" 0 kB                                                                       
[ebuild  N    ] kde-base/kwin-4.2.0  USE="opengl xcomposite xinerama -captury -debug -kdeprefix" 0 kB                                                        
[ebuild  N    ] kde-base/kdebase-kioslaves-4.2.0  USE="bzip2 samba -debug -htmlhandbook -kdeprefix -openexr" 0 kB                                            
[ebuild  N    ] kde-base/soliduiserver-4.2.0  USE="-debug -kdeprefix" 0 kB                                                                                   
[ebuild  N    ] kde-base/khotkeys-4.2.0  USE="-debug -kdeprefix" 0 kB                                                                                        
[ebuild  N    ] kde-base/ksmserver-4.2.0  USE="-debug -kdeprefix" 0 kB                                                                                       
[ebuild  N    ] kde-base/kcontrol-4.2.0-r1  USE="-debug -htmlhandbook -kdeprefix" 0 kB                                                                       
[ebuild  N    ] kde-base/krunner-4.2.0  USE="opengl xcomposite xscreensaver -debug -kdeprefix" 0 kB                                                          
[ebuild  N    ] kde-base/systemsettings-4.2.0  USE="opengl usb xinerama -debug -htmlhandbook -kdeprefix" 0 kB                                                
[ebuild  N    ] kde-base/pykde4-4.2.0  USE="semantic-desktop -akonadi -debug -kdeprefix" 4,596 kB                                                            
[ebuild  N    ] kde-base/plasma-workspace-4.2.0  USE="python xcomposite xinerama -debug -google-gadgets -htmlhandbook -kdeprefix" 0 kB                       
[ebuild  N    ] kde-base/kdebase-startkde-4.2.0  USE="-kdeprefix" 0 kB                                                                                       
[blocks B     ] net-dns/avahi ("net-dns/avahi" is blocking net-misc/mDNSResponder-107.6-r5)                                                                  

Total: 45 packages (45 new), Size of downloads: 151,351 kB
Conflict: 1 block (1 unsatisfied)                         

 * Error: The above package list contains packages which cannot be
 * installed at the same time on the same system.                 

  ('ebuild', '/', 'net-misc/mDNSResponder-107.6-r5', 'merge') pulled in by
    net-misc/mDNSResponder required by ('ebuild', '/', 'kde-base/kdnssd-4.2.0', 'merge')

  ('installed', '/', 'net-dns/avahi-0.6.24', 'nomerge') pulled in by
    >=net-dns/avahi-0.6.16-r1 required by ('installed', '/', 'net-p2p/ktorrent-2.2.7', 'nomerge')

Expected Results:  
kdnssd is only a plugin for KDE Control center and should be optional so that you can install KDE 4.2 if you have only Avahi and no mDNSResponder.

If I mask kde-base/kdnssd and try to run "emerge -av kdebase-startkde" again I get:
These are the packages that would be merged, in order:

Calculating dependencies... done!

!!! All ebuilds that could satisfy ">=kde-base/kdnssd-4.2.0:4.2" have been masked.
!!! One of the following masked packages is required to complete your request:
- kde-base/kdnssd-4.2.0 (masked by: package.mask)
/etc/portage/package.mask:
# >=sci-libs/cln-1.2


For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.
(dependency required by "kde-base/kcontrol-4.2.0-r1" [ebuild])
(dependency required by "kde-base/systemsettings-4.2.0" [ebuild])
(dependency required by "kde-base/kdebase-startkde-4.2.0" [ebuild])
(dependency required by "kdebase-startkde" [argument])
Comment 1 Rafał Mużyło 2009-02-06 19:14:28 UTC
That's an old problem, often returning to the forums.
You should probably set 'avahi' globally and reemerge
avahi with 'mdnsresponder-compat' useflag (or, at least,
search the forums). 
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2009-02-07 17:49:02 UTC
Please emerge kde-base/kdnssd with USE=mdnsresponder-compat. It's probably a good idea to set USE=mdnsresponder-compat globally, or alternatively set it in /etc/portage/package.use
Comment 3 Jure Repinc 2009-02-08 17:19:55 UTC
Thanks to both of you. Setting mdnsresponder-compat use flag did the trick and KDE 4.2 is now compiled and installed. Although kdnssd didn't have this flag, I only had to set it with avahi and that was fine.