Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 157951 - zeroconf protocol support vanishes from kde 3.5.5
Summary: zeroconf protocol support vanishes from kde 3.5.5
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-12-12 12:14 UTC by Guillaume Ramelet
Modified: 2008-10-06 18:44 UTC (History)
2 users (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 Guillaume Ramelet 2006-12-12 12:14:11 UTC
on the previous version, i can access my zeroconf services in konqueror using the zeroconf:// protocol.

Since 3.5.5, this protocol seems not anymore activated, whereas the zeroconf USE flag is set on my system.

[gui@gui - 21:07:15 - ~] $ emerge --info
Portage 2.1.2_rc3-r3 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.4-r4, 2.6.18-gentoo-r2 i686)
=================================================================
System uname: 2.6.18-gentoo-r2 i686 AMD Athlon(TM) MP 2400+
Gentoo Base System version 1.12.6
Last Sync: Tue, 12 Dec 2006 06:30:07 +0000
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-mp -O2 -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/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-march=athlon-mp -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="fr_FR.UTF-8"
LC_ALL="fr_FR.UTF-8"
LINGUAS="fr"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/layman/xeffects /usr/local/layman/pok3d /usr/local/layman/musicbrainz /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowex 3dnowext X a52 aac acpi alsa apm arts artswrappersuid asf avi bash-completion berkdb bigger-fonts bindist bitmap-fonts bonobo bootsplash browserplugin bzip2 cairo calendar cdparanoia cdr chroot cli cracklib crypt cups curl dbus dga directfb divx4linux dlloader dri dv dvb dvd dvdr dvdread elibc_glibc encode esd evo exif fam fbcon ffmpeg flac foomaticdb fortran gdbm ggi gif glitz glut gnome gphoto2 gpm gstreamer gtk gtk2 hal iconv imap imlib input_devices_evdev input_devices_keyboard input_devices_mouse isdnlog jack java jbig jikes jpeg jpeg2k kde kdeenablefinal kdexdeltas kernel_linux kipi lcms libcaca libg++ linguas_fr lm_sensors logitech-mouse mad mmx mmxext mng mono motif mp3 mpeg nas ncurses nls nptl nptlonly nvidia ogg oggvorbis opengl oss pam pcre pdf perl png ppds pppd python qt qt3 qt4 quicktime readline real reflection ruby samba sdl session slp sndfile spell spl sqlite sqlite3 sse ssl svg svga tcltk tcpd theora tiff truetype truetype-fonts type1-fonts udev unicode usb userland_GNU video_cards_nv video_cards_nvidia vorbis win32codecs wmf x86 xml2 xorg xosd xv xvid yaz zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-12-12 12:19:45 UTC
(In reply to comment #0)
> Since 3.5.5, this protocol seems not anymore activated, whereas the zeroconf
> USE flag is set on my system.

Really? I don't see it anywhere in your emerge --info.
Comment 2 Guillaume Ramelet 2006-12-12 12:27:27 UTC
zeroconf is a local use flag

[root@gui - 21:26:19 - ~] # cat files_2_save/package.use | grep zeroconf
kde-base/kdebase zeroconf
kde-base/kdelibs zeroconf avahi
kde-base/ksysguard zeroconf
Comment 3 Guillaume Ramelet 2006-12-12 12:28:34 UTC
[root@gui - 21:28:06 - ~] # equery uses kdelibs
[ Searching for packages matching kdelibs... ]
[ Colour Code : set unset ]
[ Legend        : Left column  (U) - USE flags from make.conf                     ]
[                  : Right column (I) - USE flags packages was installed with ]
[ Found these USE variables for kde-base/kdelibs-3.5.5-r7 ]
 U I
 - - acl                 : Adds support for Access Control Lists
 + + alsa                : Adds support for media-libs/alsa-lib (Advanced Linux Sound Architecture)
 + + arts                : Adds support for aRts: the KDE sound daemon
 + + avahi               : Support for avahi mdns daemon.
 + + cups                : Add support for CUPS (Common Unix Printing System)
 - - debug               : Tells configure and the makefiles to build for debugging. Effects vary across packages, but generally it will at least add -g to CFLAGS. Remember to set FEATURES=nostrip too
 - - doc                 : Adds extra documentation (API, Javadoc, etc)
 - - elibc_FreeBSD       : <unknown>
 + + fam                 : Enable FAM (File Alteration Monitor) support
 + + jpeg2k              : Support for JPEG 2000, a wavelet-based image compression format.
 + + kdeenablefinal      : EXPERIMENTAL: KDE ebuilds will use the enable-final flag, yielding big compilation speedups at the cost of heavy mem usage.
 - - kdehiddenvisibility : Makes KDE symbols hidden by default, requires GCC 4.1 (experimental)
 - - kerberos            : Adds kerberos support
 + + kernel_linux        : <unknown>
 - - legacyssl           : Support for some deprecated ciphers. Don't use this flag unless you really need it.
 - - linguas_he          : <unknown>
 - - lua                 : Enable Lua scripting support
 - - openexr             : Support for the OpenEXR graphics file format
 - - pertty              : <unknown>
 + + spell               : Adds dictionary support
 + + ssl                 : Adds support for Secure Socket Layer connections
 + + tiff                : Adds support for the tiff image format
 - - utempter            : Records everytime a user logins in. Useful on multi-user systems.
 - - xinerama            : Add support for the xinerama X11 extension, which allows you to stretch your display across multiple monitors
 + + zeroconf            : Support for DNS Service Discovery (DNS-SD).
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2006-12-12 12:31:45 UTC
(In reply to comment #2)
> [root@gui - 21:26:19 - ~] # cat files_2_save/package.use | grep zeroconf

What's files_2_save/package.use o_O? 

Stick zeroconf into make.conf and run emerge -NuDav world.
Comment 5 Guillaume Ramelet 2006-12-12 12:37:18 UTC
zeroconf added to make.conf but as I expected,

emerge --update --deep --newuse  -ptv world
These are the packages that would be merged, in reverse order:
Calculating world dependencies... done!
Total: 0 packages, Size of downloads: 0 kB

(files_2_save is a folder containing soft links to frequently used conf files, easier for editing and backup/restore
[root@gui - 21:35:05 - ~] # l files_2_save/package.use
lrwxrwxrwx 1 root root 24 Feb  2  2006 files_2_save/package.use -> /etc/portage/package.use

)
Comment 6 Guillaume Ramelet 2006-12-13 16:30:45 UTC
Jakub, do you need more information ?
Comment 7 Guillaume Ramelet 2006-12-16 07:13:58 UTC
what type of info do you need ?
Comment 8 Jakub Moc (RETIRED) gentoo-dev 2006-12-16 07:17:34 UTC
Noone will check the bug again if you don't reopen it.
Comment 9 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-12-16 13:36:48 UTC
qlist -I -v kdnssd-avahi

The version of kdelibs supporting zeroconf and avahi is not available on stable x86 keyword, so you have to use ~x86 if you want it.
Comment 10 Guillaume Ramelet 2006-12-16 17:10:08 UTC
[root@gui - 00:49:53 - ~] # qlist -I -v kdnssd-avahi
kde-misc/kdnssd-avahi-0.1.2

ok, I will wait for that version to be put in stable tree then
Comment 11 Jakub Moc (RETIRED) gentoo-dev 2007-03-16 01:52:17 UTC
Closing per Comment #9 
Comment 12 Guillaume Ramelet 2007-03-16 06:56:29 UTC
I am using both kdelibs (3.5.6-r3) and kdnssd-avahi (0.1.2) from ~x86 and however the zeroconf support is not there.
In previous version of kdelibs, I was using it simply in entering zeroconf://local./ in konqueror. Such action now results in a popup: 
"Protocol non autorisé
zeroconf"

(non authorized protocol, zeroconf)

Diego, is there something I am missing ?
Comment 13 Carsten Lohrke (RETIRED) gentoo-dev 2007-04-28 10:43:04 UTC
Did you built avahi with mdnsresponder-compat use flag?
Comment 14 Guillaume Ramelet 2007-04-28 11:50:45 UTC
no I didn't.

[I] net-dns/avahi
     Available versions:  (~)0.6.12[1] 0.6.16-r1 (~)0.6.17 (~)0.6.18
     Installed versions:  0.6.18(13:25:19 04/22/07)(autoipd bookmarks dbus -doc gdbm gtk howl-compat kernel_linux -mdnsresponder-compat mono python qt3 qt4 -test)
     Homepage:            http://avahi.org/
     Description:         System which facilitates service discovery on a local network
Comment 15 Carsten Lohrke (RETIRED) gentoo-dev 2007-04-28 12:49:13 UTC
Well, you have to. Please do so, rebuild avahi, kdelibs, ksysguard, krfb, krdc and libkdegames so you have them installed and report back.
Comment 16 Guillaume Ramelet 2007-04-28 16:08:51 UTC
when adding the local mdnsresponder-compat use flag to acahi, net-misc/mDNSResponder is blocking net-dns/avahi-0.6.18

Do I have to remove another use flag from avahi ?


[root@gui - 18:04:30 - ~] # emerge --update --deep --newuse  -ptv world

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

Calculating world dependencies... done!
[nomerge      ] kde-base/kde-i18n-3.5.6  USE="arts kdeenablefinal -debug -xinerama" LINGUAS="fr -af -ar -az -bg -bn -br -bs -ca -cs -cy -da -de -el -en_GB -eo -es -et -eu -fa -fi -fy -ga -gl -he -hi -hr -hu -is -it -ja -kk -km -ko -lt -lv -mk -mn -ms -nb -nds -nl -nn -pa -pl -pt -pt_BR -ro -ru -rw -se -sk -sl -sr -sr@Latn -ss -sv -ta -tg -tr -uk -uz -vi -zh_CN -zh_TW"
[nomerge      ]  kde-base/kdelibs-3.5.6-r7  USE="alsa arts avahi cups fam jpeg2k kdeenablefinal spell tiff -acl -branding -debug -doc -kdehiddenvisibility -kerberos -legacyssl -lua -openexr -utempter -xinerama" LINGUAS="-he"
[nomerge      ]   kde-misc/kdnssd-avahi-0.1.2  USE="arts -debug -xinerama"
[ebuild   R   ]    net-dns/avahi-0.6.18  USE="autoipd bookmarks dbus gdbm gtk howl-compat mdnsresponder-compat* mono python qt3 qt4 -doc -test" 0 kB
[nomerge      ] net-im/gizmo-2.0.0.55  USE="avahi" [3]
[ebuild  N    ]  net-misc/mDNSResponder-98  0 kB
[blocks B     ] net-misc/mDNSResponder (is blocking net-dns/avahi-0.6.18)
Comment 17 Guillaume Ramelet 2007-04-28 19:06:28 UTC
I have solved the issue in building kdnssd.
I don't have mDNSResponder-compat activated for avahi.

Maybe kdnssd should be mark as a dependancy when zeroconf use flag is put on kdelibs.
Comment 18 Pim Dennendal 2007-08-06 08:30:15 UTC
May not be the same bug, but I think so:

ksysgard Version 3.5.5 ebuild used with mDNSResponer-compat AND avahi

produces a BLOCK of avahi.

The problem is that the ebuild states:

IUSE="kdehiddenvisibility lm_sensors zeroconf"
DEPEND="lm_sensors? ( sys-apps/lm_sensors )
	zeroconf? ( net-misc/mDNSResponder )"


and should state:

IUSE="kdehiddenvisibility lm_sensors zeroconf avahi"
DEPEND="lm_sensors? ( sys-apps/lm_sensors )
        zeroconf? (     !avahi? (            net-misc/mDNSResponder !kde-misc/kdnssd-avahi  ) 
                         avahi? ( kde-misc/kdnssd-avahi  !net-misc/mDNSResponder ) )"

That is the USE-flag "avahi" is added and a second level check is done for the dependancies.

If this is the wrong place for the above bug, then please re-assign to the correct place. My appologies in advance for this.

Lots of thanks.
Comment 19 Carlos Cordoba 2008-05-06 17:06:13 UTC
I think that, as the the reporter of this bug claims in Comment #17, kdnssd should be a dependency of kdelibs if the avahi useflag is on, now that the zeroconf flag is deprecated or something. Without kdnssd you don't have the zeroconf protocol, so you can't search for another services inside KDE.
Comment 20 Jorge Manuel B. S. Vicetto (RETIRED) gentoo-dev 2008-10-06 18:44:07 UTC
I've just grepped the kdelibs ebuilds and confirmed that we have a PDEP on kdnssd-avahi if the avahi use flag is set.

kdelibs-3.5.9-r4.ebuild:60:PDEPEND="avahi? ( kde-misc/kdnssd-avahi )
kdelibs-3.5.10.ebuild:79:PDEPEND="avahi? ( kde-misc/kdnssd-avahi )

Please reopen this bug if you think there's still something missing.