Summary: | net-fs/samba-client-3.3.7 configure: error: DNS service discovery support not available | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Davide Pesavento (RETIRED) <pesa> |
Component: | Current packages | Assignee: | Gentoo's SAMBA Team <samba> |
Status: | RESOLVED WONTFIX | ||
Severity: | normal | CC: | brad, ewoud+gentoo, kanelxake, lukas.schneiderbauer, paulo, plaes, uzytkownik2, voyageur, whuwxl |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | ${WORKDIR}/samba-3.3.7/source/config.log (compressed) |
Description
Davide Pesavento (RETIRED)
![]() Created attachment 202919 [details]
${WORKDIR}/samba-3.3.7/source/config.log (compressed)
Please post the output of emerge --info samba-client (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 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! This here looks bad (from the ebuild): [snip] $(use minimal && echo "--disable-dnssd" || echo "$(use_enable avahi dnssd)") \ --disable-avahi \ [/snip] 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. ping The bug still occurs with the net-fs/samba-client-3.4.2-r1-ebuild. 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) (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 Consider what I wrote in bug 285822. *** Bug 295131 has been marked as a duplicate of this bug. *** 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. 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 (In reply to comment #13) A "me too" here won't help. The patches in my bug should, but they need to get approved. 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. 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. 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. |