Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 283462 - net-fs/samba-client-3.3.7 configure: error: DNS service discovery support not available
Summary: net-fs/samba-client-3.3.7 configure: error: DNS service discovery support not...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal with 1 vote (vote)
Assignee: Gentoo's SAMBA Team
URL:
Whiteboard:
Keywords:
: 295131 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-09-01 23:34 UTC by Davide Pesavento
Modified: 2010-10-17 08:05 UTC (History)
9 users (show)

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


Attachments
${WORKDIR}/samba-3.3.7/source/config.log (compressed) (config.log.bz2,64.77 KB, application/octet-stream)
2009-09-01 23:39 UTC, Davide Pesavento
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Davide Pesavento gentoo-dev 2009-09-01 23:34:48 UTC
[...]
checking dns_sd.h usability... no
checking dns_sd.h presence... no
checking for dns_sd.h... no
checking for DNSServiceRegister... no
checking for DNSServiceRegister in -ldns_sd... no 
configure: error: DNS service discovery support not available 

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/net-fs/samba-client-3.3.7/work/samba-3.3.7/source/config.log

 *       
 * ERROR: net-fs/samba-client-3.3.7 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_configure
 *             environment, line 3060:  Called econf '--sysconfdir=/etc/samba' '--localstatedir=/var' '--disable-developer' '--enable-largefile' '--enable-socket-wrapper' '--enable-nss-wrapper' '--disable-swat' '--disable-dmalloc' '--disable-cups' '--disable-iprint' '--disable-fam' '--enable-shared-libs' '--enable-dnssd' '--disable-avahi' '--with-fhs' '--with-privatedir=/var/lib/samba/private' '--with-rootsbindir=/var/cache/samba' '--with-lockdir=/var/cache/samba' '--with-swatdir=/usr/share/doc/samba-client-3.3.7/swat' '--with-configdir=/etc/samba' '--with-logfilebase=/var/log/samba' '--with-pammodulesdir=/lib64/security' '--without-afs' '--without-fake-kaserver' '--without-vfs-afsacl' '--with-ldap' '--without-ads' '--without-krb5' '--without-dnsupdate' '--without-automount' '--without-cifsmount' '--without-cifsupcall' '--without-pam' '--without-pam_smbpass' '--with-syslog' '--without-quotas' '--without-sys-quotas' '--without-utmp' '--with-libtalloc' '--with-libtdb' '--with-libnetapi' '--with-libsmbclient' '--with-libsmbsharemodes' '--without-libaddns' '--without-ctdb' '--without-cluster-support' '--without-acl-support' '--without-aio-support' '--with-sendfile-support' '--without-winbind' '--without-included-popt' '--without-included-iniparser'
 *               ebuild.sh, line  536:  Called die
 * The specific snippet of code:
 *                      die "econf failed"
 *  The die message:          
 *   econf failed
Comment 1 Davide Pesavento gentoo-dev 2009-09-01 23:39:14 UTC
Created attachment 202919 [details]
${WORKDIR}/samba-3.3.7/source/config.log (compressed)
Comment 2 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-09-02 07:19:39 UTC
Please post the output of 

  emerge --info samba-client
Comment 3 Davide Pesavento gentoo-dev 2009-09-02 09:27:30 UTC
(In reply to comment #2)
> Please post the output of 
> 
>   emerge --info samba-client
> 

I guess you want emerge -pv samba-client since I don't have it installed (yet).

[ebuild  N    ] net-fs/samba-client-3.3.7  USE="avahi caps ldap syslog -ads -aio -cluster -cups -debug -minimal -winbind -zeroconf" 0 kB

emerge --info:
Portage 2.2_rc40 (default/linux/amd64/10.0/desktop, gcc-4.4.1, glibc-2.10.1-r0, 2.6.30-wl-26871-g25e4fbe x86_64)
=================================================================
System uname: Linux-2.6.30-wl-26871-g25e4fbe-x86_64-Intel-R-_Core-TM-2_CPU_T7600_@_2.33GHz-with-gentoo-2.0.1
Timestamp of tree: Tue, 01 Sep 2009 21:15:03 +0000
ccache version 2.4 [disabled]
app-shells/bash:     4.0_p28
dev-java/java-config: 2.1.9
dev-lang/python:     2.6.2-r1
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.6.4-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.4.3-r3
sys-apps/sandbox:    2.1
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.9.6-r2, 1.10.2, 1.11
sys-devel/binutils:  2.19.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=core2 -ggdb -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /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=core2 -ggdb -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unmerge-logs unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://mirror.switch.ch/ftp/mirror/gentoo/                 ftp://ftp.unina.it/pub/linux/distributions/gentoo/"
LANG="it_IT.UTF-8"
LC_ALL="it_IT.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu"
LINGUAS="it"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--human-readable --prune-empty-dirs"
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/portage/local/layman/java-overlay /usr/portage/local/pesa"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 audiofile avahi bash-completion berkdb bluetooth branding bzip2 cairo caps cdda cddb cdr cli cracklib crypt curl curlwrappers dbus djvu dri dts dv dvd dvdr emacs emboss encode evo exif expat fam ffmpeg fftw flac fontconfig ftp gd gdbm gif glut gmp gnutls gpm graphviz hal iconv icu idn imagemagick imlib ipod ipv6 isdnlog jabber java5 java6 jingle jpeg jpeg2k kde lame latex lcms ldap libsamplerate lm_sensors lua lzo mad matroska mikmod mmap mmx mng mozilla mp3 mp4 mpeg mplayer mudflap multilib musepack musicbrainz ncurses networkmanager nls nptl nptlonly offensive ogg opengl openmp pam pch pcre pdf plasma png policykit ppds pppd pulseaudio qt3support qt4 quicktime readline reflection rss samba sasl sdl session slang sndfile socks5 speex spell spl sqlite sqlite3 sse sse2 ssl startup-notification svg sysfs syslog taglib tcpd theora threads thunar tiff truetype unicode usb v4l2 vcd vorbis wifi wmf x264 xattr xcb xcomposite xine xinerama xml xorg xpm xscreensaver xulrunner xv xvid 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="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="it" USERLAND="GNU" VIDEO_CARDS="radeonhd vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS
Comment 4 Davide Pesavento gentoo-dev 2009-09-02 14:38:07 UTC
There's a bit of confusion between avahi and zeroconf USE flags in the ebuild...

Both are in IUSE, but avahi doesn't add a dep on net-dns/avahi.
Then --disable-avahi is always passed to econf, while the avahi USE flag is used in $(use_enable avahi dnssd), which requires
    || ( net-dns/avahi[mdnsresponder-compat] net-misc/mDNSResponder )
which is however pulled in by zeroconf, not by avahi!
Comment 5 Priit Laes (IRC: plaes) 2009-09-18 06:35:19 UTC
This here looks bad (from the ebuild):
[snip]
    $(use minimal && echo "--disable-dnssd" || echo "$(use_enable avahi dnssd)") \
    --disable-avahi \
[/snip]
Comment 6 Stephan Friedrichs 2009-10-10 18:55:29 UTC
The bug still occurs with net-fs/samba-client-3.4.2.

For both versions (3.3.7 and 3.4.2), disabling the avahi useflag allows to compile the package.
Comment 7 Davide Pesavento gentoo-dev 2009-10-22 21:25:46 UTC
ping
Comment 8 Lukas Schneiderbauer 2009-10-26 09:23:35 UTC
The bug still occurs with the net-fs/samba-client-3.4.2-r1-ebuild.
Comment 9 Keith Harrison 2009-10-31 23:33:59 UTC
I just got the same error message from samba-client 3.4.3 while installing on a new machine and doing an "emerge kdelibs", although maybe it's a different error because once i did "emerge --oneshot avahi"   it compiled and installed just fine (avahi was not already installed and wasn't pulled in as a dependency when doing an emerge kdelibs)
Comment 10 Lukas Schneiderbauer 2009-11-15 12:00:31 UTC
(In reply to comment #9)
> I just got the same error message from samba-client 3.4.3 while installing on a
> new machine and doing an "emerge kdelibs", although maybe it's a different
> error because once i did "emerge --oneshot avahi"   it compiled and installed
> just fine (avahi was not already installed and wasn't pulled in as a dependency
> when doing an emerge kdelibs)
> 

because avahi is installed and mDNSResponder is not. Econf want mDNSResponder to be installed (which is not possible: packages are blocking each other).

So I would say: bug still occurs with net-fs/samba-client-3.4.3
Comment 11 Rafał Mużyło 2009-11-30 00:30:25 UTC
Consider what I wrote in bug 285822.
Comment 12 Maciej Piechotka 2009-11-30 00:44:20 UTC
*** Bug 295131 has been marked as a duplicate of this bug. ***
Comment 13 Brad Laue 2010-01-06 22:15:56 UTC
I've also encountered this bug. 

I've succeeded in merging samba-client 3.4.3 by building avahi using the mdnsresponder-compat USE flag. I didn't need either zeroconf in USE or the mDNSresponder package installed.
Comment 14 Brad Laue 2010-01-06 22:19:39 UTC
In case my emerge info is useful:

Portage 2.1.7.16 (default/linux/amd64/10.0, gcc-4.4.2, glibc-2.11-r1, 2.6.32-gentoo-r1 x86_64)
=================================================================
System uname: Linux-2.6.32-gentoo-r1-x86_64-Intel-R-_Core-TM-2_CPU_6400_@_2.13GHz-with-gentoo-2.0.1
Timestamp of tree: Wed, 06 Jan 2010 20:30:01 +0000
app-shells/bash:     4.0_p35
dev-lang/python:     2.6.4, 3.1.1-r1
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.0
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.65
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA PUEL"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j4"
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.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 autoipd avahi berkdb bzip2 cairo cdda cddax cddb cdr cli consolekit cracklib crypt cups cxx dbus dc1394 dirac djvu dri dts dvb dvd dvdr exif expat extras flac fontconfig fortran fuse gdbm gif gnutls gpm gs gtk hal iconv id3tag ieee1394 ipv6 jpeg kdrive lcms ldap libnotify libsysfs lightning live lzma mad matroska mdnsresponder-compat mmx mmxext mng modules mono mp3 mpeg mtp mudflap multilib ncurses nls nptl nptlonly nsplugin ogg openexr opengl openmp openssl pam pango pcre perl png policykit pppd pulseaudio python raw readline reflection rtsp samba schroedinger session sip speex spell spl sse sse2 ssl startup-notification stream svg sysfs tcpd theora tiff truetype udev unicode upnp vcdinfo vdpau vorbis wav wma-fixed wmf x264 xinerama xml xorg 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" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Comment 15 Rafał Mużyło 2010-01-07 15:47:29 UTC
(In reply to comment #13)
A "me too" here won't help.
The patches in my bug should, but they need to get approved.
Comment 16 Brad Laue 2010-01-07 16:11:08 UTC
My reply isn't a "me too". Unless I was mistaken, under discussion were two options:

1) Requiring a dependency on mDNSResponder
2) Using the 'zeroconf' USE flag

While I've found that neither are necessary - simply building avahi with mdnsresponder-compat fixes things.
Comment 17 Brad Laue 2010-01-07 16:26:45 UTC
Actually, Rafał, just looked at your bug. Do your suggestions there fix this build issue? If so, I agree we should go with that solution.
Comment 18 Patrick Lauer gentoo-dev 2010-10-17 08:05:56 UTC
Since that package doesn't exist anymore I'm closing this bug.

Please open a new bug if the issue still exists in the unsplit samba ebuilds.