Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 237830 - [kde-testing] circular block with kdelibs:3.5 kdelibs:4 when avahi enabled
Summary: [kde-testing] circular block with kdelibs:3.5 kdelibs:4 when avahi enabled
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: kdeprefix
  Show dependency tree
 
Reported: 2008-09-16 11:49 UTC by Alexey Shvetsov
Modified: 2009-10-27 22:04 UTC (History)
4 users (show)

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


Attachments
kdnssd-avahi-0.1.2-r1.ebuild (kdnssd-avahi-0.1.2-r1.ebuild,1.12 KB, text/plain)
2008-09-25 10:35 UTC, Alexey Shvetsov
Details
patch between ebuilds (kdnssd.patch,351 bytes, patch)
2008-09-25 10:40 UTC, Alexey Shvetsov
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alexey Shvetsov archtester gentoo-dev 2008-09-16 11:49:55 UTC
These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild     U ] kde-base/kdelibs-4.1.1-r2 [4.1.1-r1] USE="acl alsa bzip2 fam jpeg2k mmx nls openexr opengl semantic-desktop spell sse sse2 ssl zeroconf -3dnow (-altivec) -bindist -debug -doc -htmlhandbook -kdeprefix -kerberos -test" 0 kB [1]
[ebuild     U ] kde-base/kdelibs-3.5.10 [3.5.9-r4] USE="acl alsa avahi branding cups fam jpeg2k kdehiddenvisibility openexr spell tiff utempter -arts -bindist -debug -doc -kerberos -legacyssl -lua (-kdeenablefinal%) (-xinerama%)" 15,256 kB
[blocks B     ] kde-misc/kdnssd-avahi:0 (is blocking kde-base/kdelibs-4.1.1-r2)

Total: 2 packages (2 upgrades), Size of downloads: 15,256 kB
Conflict: 1 block (1 unsatisfied)
Portage tree and overlays:
 [0] /usr/portage
 [1] /usr/local/portage/layman/kde-testing

if i disable avahi for kdelibs:3.5 then ->
Calculating dependencies... done!
[ebuild  N    ] net-misc/mDNSResponder-107.6-r5  USE="java -debug -doc" 0 kB
[ebuild     U ] kde-base/kdelibs-3.5.10 [3.5.9-r4] USE="acl alsa branding cups fam jpeg2k kdehiddenvisibility openexr spell tiff utempter -arts -avahi* -bindist -debug -doc -kerberos -legacyssl -lua (-kdeenablefinal%) (-xinerama%)" 15,256 kB
[ebuild     U ] kde-base/kdelibs-4.1.1-r2 [4.1.1-r1] USE="acl alsa bzip2 fam jpeg2k mmx nls openexr opengl semantic-desktop spell sse sse2 ssl zeroconf -3dnow (-altivec) -bindist -debug -doc -htmlhandbook -kdeprefix -kerberos -test" 0 kB [1]
[uninstall    ] kde-misc/kdnssd-avahi-0.1.2  USE="-arts -debug -xinerama"
[blocks b     ] kde-misc/kdnssd-avahi (is blocking kde-base/kdelibs-3.5.10)
[blocks b     ] kde-misc/kdnssd-avahi:0 (is blocking kde-base/kdelibs-4.1.1-r2)
[blocks B     ] net-misc/mDNSResponder (is blocking net-dns/avahi-0.6.23)
[blocks B     ] net-dns/avahi (is blocking net-misc/mDNSResponder-107.6-r5)

so its a circular block that cause by line 42 in kdelibs-3.5.10 ebuild ->

    !avahi? ( !bindist? ( net-misc/mDNSResponder !kde-misc/kdnssd-avahi ) )

so fix it please =)

Reproducible: Always
Comment 1 Christos Stamatopoulos 2008-09-19 01:11:08 UTC
Kind of same thing happens to me also without the avahi use flag...Currently, i dont have the kdelibs-3.5.10 cause i just cant get it compiled 

[blocks B     ] net-misc/mDNSResponder (is blocking net-dns/avahi-0.6.23)
[blocks B     ] net-dns/avahi (is blocking net-misc/mDNSResponder-107.6-r5)

With the kde-base/kdelibs avahi use flag i get another block which i cant solve

[blocks B     ] kde-misc/kdnssd-avahi:0 (is blocking kde-base/kdelibs-4.1.1-r2)

Comment 2 Marcus D. Hanwell (RETIRED) gentoo-dev 2008-09-19 01:49:47 UTC
It looks to me like you just need to remove kde-misc/kdnssd-avahi, try

emerge -C kde-misc/kdnssd-avahi

Then try emerging the packages you would like to. You can't install KDE 4.1 without kdeprefix enabled if you want to keep avahi support in KDE 3.5. You can use zeroconf in both though and that should give you most of what you want. Let me know if that does not work - it works just fine here. Portage can't work all of these things out on its own (yet).
Comment 3 Christos Stamatopoulos 2008-09-19 02:00:27 UTC
I dont have kdnssd-avahi installed but its pulled by kdelibs-3.5.10 when i try to emerge various programs that need the kdelibs-3.5.10. I dont have kde3 at all actually as i installed gentoo at a new box with only kde-4 from kde-testing. Unfortunately i cannot try the kdeprefix at the moment but i will let you know as soon as i can...


PS.I was always wondering how we can help the kde-tesing by trying out things and mostly how we can get in contact with you to give some feedback about the ebuilds or problems we encounter to help you.Cause there are other problems possibly bugs that i met but i am not sure were to post,who to inform...
Comment 4 Alexey Shvetsov archtester gentoo-dev 2008-09-22 17:38:53 UTC
cryos, jmbsvicetto
seems that possible solution for this bug is making kdnssd-avahi installed in /usr/kde/3.5 not in /usr
Comment 5 Alexey Shvetsov archtester gentoo-dev 2008-09-25 10:35:34 UTC
Created attachment 166369 [details]
kdnssd-avahi-0.1.2-r1.ebuild
Comment 6 Alexey Shvetsov archtester gentoo-dev 2008-09-25 10:37:19 UTC
(In reply to comment #5)
> Created an attachment (id=166369) [edit]
> kdnssd-avahi-0.1.2-r1.ebuild
> 

cryos it seems that you are to lazy to add one! line modification to ebuild =) 
Comment 7 Alexey Shvetsov archtester gentoo-dev 2008-09-25 10:40:12 UTC
Created attachment 166371 [details, diff]
patch between ebuilds

patch between ebuilds
Comment 8 Marcus D. Hanwell (RETIRED) gentoo-dev 2008-09-25 12:33:19 UTC
I have been really busy in real life! I will try to get to it later today if someone else doesn't. Need to test it, modify blockers and ensure everything is consistent before committing... I don't just commit stuff to the tree - I already came up with this patch, just not had the time to recompile in order to test. The solution looks OK. Like I said my solution also works here and the dep tree is fine too but I would prefer to do this as it makes things easier.
Comment 9 Marcus D. Hanwell (RETIRED) gentoo-dev 2008-09-27 15:58:22 UTC
kdnssd-avahi-0.1.2-r1 committed, this should fix the issue. I think everything is in place now to make this much easier. Users who never set USE=avahi should remain unaffected by all of this anyway.
Comment 10 Anthony Staines 2009-04-08 08:21:32 UTC
(In reply to comment #9)
> kdnssd-avahi-0.1.2-r1 committed, this should fix the issue. I think everything
> is in place now to make this much easier. Users who never set USE=avahi should
> remain unaffected by all of this anyway.
> 
I think this is still a problem. I'm trying to go from kde 3.5.9 to kde 3.5.10
kde-misc/kdnssd-avahi is not installed on my laptop.

equery l kde-misc/kdnssd-avahi
[ Searching for package 'kdnssd-avahi' in 'kde-misc' among: ]
 * installed packages



Running emerge -uavDnN @kde-3.5 with USE = "avahi" in /etc/make.conf
we get
ebuild  N    ] kde-base/ktimetracker-4.2.1  USE="kontact -debug -kdeprefix" 0 kB
[ebuild  NS   ] kde-base/kdepim-meta-4.2.1 [3.5.9] 0 kB
[ebuild  NS   ] kde-base/kde-meta-4.2.1 [3.5.9] USE="mysql nls -accessibility" 0 kB
[blocks B     ] <=kde-misc/kdnssd-avahi-0.1.2:0 ("<=kde-misc/kdnssd-avahi-0.1.2:0" is blocking kde-base/kdelibs-4.2.1-r3)

Total: 377 packages (89 upgrades, 1 downgrade, 145 new, 141 in new slots, 1 reinstall, 3 uninstalls), Size of downloads: 701,254 kB
Conflict: 5 blocks (1 unsatisfied)

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

  ('ebuild', '/', 'kde-base/kdelibs-4.2.1-r3', 'merge') pulled in by
    >=kde-base/kdelibs-4.2.1[-kdeprefix] required by ('ebuild', '/', 'kde-base/kgeography-4.2.1', 'merge')
    >=kde-base/kdelibs-4.2.1[-kdeprefix] required by ('ebuild', '/', 'kde-base/ksystraycmd-4.2.1', 'merge')
    >=kde-base/kdelibs-4.2.1[-kdeprefix] required by ('ebuild', '/', 'kde-base/kruler-4.2.1', 'merge')
    (and 227 more)

  ('ebuild', '/', 'kde-misc/kdnssd-avahi-0.1.2', 'merge') pulled in by
    kde-misc/kdnssd-avahi required by ('ebuild', '/', 'kde-base/kdelibs-3.5.10-r2', 'merge')



Running emerge -uavDnN world without USE = "avahi" in /etc/make.conf
we get
ebuild  NS   ] kde-base/kde-meta-4.2.1 [3.5.9] USE="mysql nls -accessibility" 0 kB
[blocks B     ] net-dns/avahi ("net-dns/avahi" is blocking net-misc/mDNSResponder-107.6-r5)
[blocks B     ] net-misc/mDNSResponder ("net-misc/mDNSResponder" is blocking net-dns/avahi-0.6.24-r2)

Total: 377 packages (89 upgrades, 1 downgrade, 145 new, 141 in new slots, 1 reinstall, 3 uninstalls), Size of downloads: 701,254 kB
Conflict: 6 blocks (2 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/kdelibs-3.5.10-r2', 'merge')

  ('installed', '/', 'net-dns/avahi-0.6.24-r2', 'nomerge') pulled in by
    >=net-dns/avahi-0.6 required by ('installed', '/', 'gnome-base/gnome-vfs-2.24.0', 'nomerge')
    >=net-dns/avahi-0.6 required by ('installed', '/', 'net-misc/vino-2.24.1', 'nomerge')
    >=net-dns/avahi-0.6.22[dbus,gtk] required by ('installed', '/', 'net-misc/vinagre-2.24.2-r1', 'nomerge')
    (and 5 more)

# emerge --info
WARNING: One or more repositories have missing repo_name entries:

        /usr/local/portage/profiles/repo_name

NOTE: Each repo_name entry should be a plain text file containing a
unique name for the repository on the first line.

Portage 2.2_rc28 (default/linux/x86/2008.0/desktop, gcc-4.1.2, glibc-2.8_p20080602-r1, 2.6.28-tuxonice-r1 i686)
=================================================================
System uname: Linux-2.6.28-tuxonice-r1-i686-Intel-R-_Core-TM-2_CPU_U7600_@_1.20GHz-with-glibc2.0
Timestamp of tree: Wed, 08 Apr 2009 07:45:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7-r1, 2.1.7
dev-lang/python:     2.5.2-r7
dev-python/pycrypto: 2.0.1-r8
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.4.8
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks fixpackages parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://ftp.heanet.ie/pub/gentoo/ ftp://ftp.heanet.ie/pub/gentoo/ "
LDFLAGS="-Wl,-O1"
LINGUAS="en_GB"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X acl acpi alsa avahi berkdb bluetooth branding bzip2 cairo cdr cli cracklib crypt cups dbus dri dvd dvdr dvdread eds emboss encode esd evo fam firefox fortran gdbm gif gnome gpm gstreamer gtk hal iconv ipv6 isdnlog jpeg kde ldap libnotify mad midi mikmod mp3 mpeg mudflap ncurses nls nptl nptlonly ogg opengl openmp pam pcre pdf perl png ppds pppd python qt3 qt3support qt4 quicktime readline reflection sdl session spell spl ssl startup-notification svg sysfs tcpd tiff truetype unicode usb vorbis win32codecs x86 xml xorg xulrunner xv zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_GB" USERLAND="GNU" VIDEO_CARDS="i810"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

# gcc-config -l
 [1] i686-pc-linux-gnu-4.1.2 *
Comment 11 Andrew Somerville 2009-10-27 19:32:05 UTC
I can confirm that this is still a problem. 

$ emerge -Np world

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

Calculating dependencies... done!
[ebuild  N    ] dev-libs/libdaemon-0.12  USE="-doc -examples" 
[ebuild  N    ] net-dns/avahi-0.6.24-r2  USE="dbus gdbm gtk python qt4 -autoipd -bookmarks -doc -howl-compat -ipv6 -mdnsresponder-compat -mono -qt3 -test"      
[ebuild   R   ] media-sound/pulseaudio-0.9.15-r2  USE="avahi*"                  
[ebuild   R   ] media-video/vlc-1.0.2  USE="avahi*"                             
[ebuild   R   ] app-office/openoffice-3.1.1  USE="kde*"
[blocks B     ] net-dns/avahi ("net-dns/avahi" is blocking net-misc/mDNSResponder-107.6-r5)

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

  ('ebuild', '/', 'net-dns/avahi-0.6.24-r2', 'merge') pulled in by
    >=net-dns/avahi-0.6 required by ('ebuild', '/', 'media-video/vlc-1.0.2', 'merge')
    >=net-dns/avahi-0.6.12[dbus] required by ('ebuild', '/', 'media-sound/pulseaudio-0.9.15-r2', 'merge')

  ('installed', '/', 'net-misc/mDNSResponder-107.6-r5', 'nomerge') pulled in by
    net-misc/mDNSResponder required by ('installed', '/', 'kde-base/kdelibs-3.5.10-r6', 'nomerge')


For more information about Blocked Packages, please refer to the following
section of the Gentoo Linux x86 Handbook (architecture is irrelevant):

http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?full=1#blocked

$ emerge --info
Portage 2.1.6.13 (default/linux/amd64/10.0, gcc-4.3.4, glibc-2.9_p20081201-r2, 2.6.30-gentoo-r5 x86_64)                                                         
=================================================================               
System uname: Linux-2.6.30-gentoo-r5-x86_64-AMD_Phenom-tm-_9950_Quad-Core_Processor-with-gentoo-1.12.11.1                                                       
Timestamp of tree: Tue, 27 Oct 2009 17:00:21 +0000                              
app-shells/bash:     4.0_p28                                                    
dev-java/java-config: 2.1.9-r1                                                  
dev-lang/python:     2.6.2-r1                                                   
dev-util/cmake:      2.6.4                                                      
sys-apps/baselayout: 1.12.11.1                                                  
sys-apps/sandbox:    1.6-r2                                                     
sys-devel/autoconf:  2.13, 2.63-r1                                              
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2                       
sys-devel/binutils:  2.18-r3                                                    
sys-devel/gcc-config: 1.4.1                                                     
sys-devel/libtool:   2.2.6a                                                     
virtual/os-headers:  2.6.27-r2                                                  
ACCEPT_KEYWORDS="amd64"                                                         
CBUILD="x86_64-pc-linux-gnu"                                                    
CFLAGS="-O2 -pipe -march=amdfam10"                                              
CHOST="x86_64-pc-linux-gnu"                                                     
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/lib/hsqldb"                                        
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"                                                                 
CXXFLAGS="-O2 -pipe -march=amdfam10"                                            
DISTDIR="/usr/portage/distfiles"                                                
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"                                                  
GENTOO_MIRRORS="http://gentoo.chem.wisc.edu/gentoo/ http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"                          
LDFLAGS="-Wl,-O1"                                                               
MAKEOPTS="-j5"                                                                  
PKGDIR="/usr/portage/packages"                                                  
PORTAGE_CONFIGROOT="/"                                                          
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"                                                  
PORTAGE_TMPDIR="/var/tmp"                                                       
PORTDIR="/usr/portage"                                                          
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl alsa amd64 avahi berkdb bzip2 cairo cli consolekit cracklib crypt css cups dbus dri dvd exif fam fortran gdbm gnome gpm gstreamer gtk hal iconv isdnlog jpeg jpeg2k kde lm_sensors mmx mng modules mudflap multilib mysql ncurses nls nptl nptlonly nvidia opengl openmp pam pcre pdf perl png pppd pulseaudio python qt3support qt4 readline reflection session smp spl sql sse sse2 ssl svg sysfs tcpd unicode webkit xcomposite xorg xulrunner zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nv radeon vesa vga"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

Comment 12 Tomáš Chvátal (RETIRED) gentoo-dev 2009-10-27 22:04:51 UTC
you have -mdnsresponder-compat use. enable that useflag and you will be fine.