Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 222575 - net-im/pidgin-2.4.2 needs --disable-avahi explicitly
Summary: net-im/pidgin-2.4.2 needs --disable-avahi explicitly
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Net-im project
URL: http://www.pidgin.im
Whiteboard:
Keywords:
: 222611 222613 222655 222807 222897 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-05-18 02:42 UTC by franky
Modified: 2008-05-20 05:26 UTC (History)
13 users (show)

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


Attachments
pidgin-2.4.2.ebuild.diff (pidgin-2.4.2.ebuild.diff,315 bytes, patch)
2008-05-18 02:55 UTC, franky
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description franky 2008-05-18 02:42:50 UTC
I don't have net-dns/avahi installed, USE="dbus gnutls gtk nls sasl" are the only flags i use; net-im/pidgin errors out with some sort of info about --disable-avahi. Moved the ebuild to my overlay added a few lines and it compiles fine.

Configure behavior was modified a bit: that's from the changelog:

The configure script now dies on more absent dependencies. The --disable-xxx arguments to configure can be used to bypass unneeded dependencies. This will also cause the configure script to die if an --enable-xxx option is used and the dependencies it requires are missing.

Don't know if other protocols need the same --disable-xxx option, --disable-avahi surely does.

Reproducible: Always

Steps to Reproduce:
1.emerge =net-im/pidgin-2.4.2 
2.watch configure
3.configure: error

Actual Results:  
Error: net-im/pidgin-2.4.2 failed ;)

Expected Results:  
correctly emerged and installed pidgin-2.4.2 :)

configure: error:
avahi development headers not found.
Use --disable-avahi if you do not need avahi (Bonjour) support
Comment 1 franky 2008-05-18 02:55:57 UTC
Created attachment 153485 [details, diff]
pidgin-2.4.2.ebuild.diff

added a few lines, solves my problem with avahi :)
Comment 2 franky 2008-05-18 03:04:02 UTC
emerge --info for completeness

Portage 2.1.5 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.24-gentoo-r8 i686)
=================================================================
System uname: 2.6.24-gentoo-r8 i686 AMD Athlon(tm) XP 2500+
Timestamp of tree: Fri, 16 May 2008 23:06:01 +0000
app-shells/bash:     3.2_p33
dev-lang/python:     2.4.4-r9
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     9999
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.24
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer"
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"
CONFIG_PROTECT_MASK="/etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="collision-protect distlocks parallel-fetch sandbox sfperms strict unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LINGUAS="en de"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_EXTRA_OPTS="--delete-during"
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/layman/enlightenment /usr/local/layman/sunrise /usr/local/layman/moonitor /usr/local/layman/desktop-effects /usr/local/layman/armagetron /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="16bit 3dnow 3dnowext X a52 aac aalib acpi alsa branding bzip2 cairo cdr cracklib crypt css cups dbus dga directfb dri dvd dvdr dvdread emboss encode fam fame fat fbcon ffmpeg firefox flac flash fortran gdbm ggi gif gimp glitz glut gmp gnutls gpm hal hddtemp iconv icq id3 imlib jabber jpeg jpeg2k kde kdehiddenvisibility lame lcms libcaca lm_sensors logitech-mouse lzo mad matroska mikmod mmx mmxext mng modplug mp3 mp4 mpeg mudflap musepack ncurses network-cron nls nptl nptlonly nsplugin ntfs nvidia offensive ogg opengl openmp pam pcre pdf png ppds qt3 qt3support quicktime readline reflection reiserfs scanner sdl session speex spell sse ssl startup-notification svg symlink tcpd theora threads tiff truetype unicode usb vcd vorbis wavpack win32codecs wma wmf x264 x86 xcb xcomposite xine xml xorg xpm xv xvid xvmc zlib zsh-completion" ALSA_CARDS="intel8x0" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="evdev joystick keyboard linuxinput mouse" KERNEL="linux" LINGUAS="en de" USERLAND="GNU" VIDEO_CARDS="nv nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS
Comment 3 Matthew Joiner 2008-05-18 03:52:12 UTC
I added:
$(use_enable bonjour avahi) \ 
in the econf section.
Comment 4 virdiq 2008-05-18 06:46:52 UTC
This is an easy fix (using the approach Matthew Joiner took). Below is more information about this bug for reference:


checking for AVAHI... no
checking avahi-client/client.h usability... no
checking avahi-client/client.h presence... no
checking for avahi-client/client.h... no
checking avahi-glib/glib-malloc.h usability... no
checking avahi-glib/glib-malloc.h presence... no
checking for avahi-glib/glib-malloc.h... no
checking for avahi_client_new in -lavahi-client... no
configure: error:
avahi development headers not found.
Use --disable-avahi if you do not need avahi (Bonjour) support.


 * ERROR: net-im/pidgin-2.4.2 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 3293:  Called econf '--enable-consoleui' '--enable-nls' '--disable-perl' '--enable-gtkui' '--enable-startup-notification' '--enable-screensaver' '--enable-sm' '--disable-tcl' '--enable-gtkspell' '--disable-tk' '--disable-debug' '--enable-dbus' '--disable-meanwhile' '--disable-gevolution' '--enable-gstreamer' '--disable-cyrus-sasl' '--disable-doxygen' '--disable-cap' '--disable-nm' '--without-krb4' '--with-dynamic-prpls=irc,jabber,oscar,yahoo,simple,msn,myspace' '--disable-mono' '--x-includes=/usr/include/X11' '--enable-gnutls=no' '--enable-nss=yes'
 *               ebuild.sh, line  526:  Called die
 * The specific snippet of code:
 *   			die "econf failed"
Comment 5 Samuli Suominen (RETIRED) gentoo-dev 2008-05-18 11:21:16 UTC
*** Bug 222611 has been marked as a duplicate of this bug. ***
Comment 6 Thomas Kucharczyk 2008-05-18 11:22:40 UTC
*** Bug 222613 has been marked as a duplicate of this bug. ***
Comment 7 carmelo 2008-05-18 12:18:01 UTC
even if i use the approach Matthew Joiner took I have some problems:

 * Disabling GnuTLS, using NSS
 * econf: updating pidgin-2.4.2/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating pidgin-2.4.2/config.sub with /usr/share/gnuconfig/config.sub
./configure --prefix=/usr --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib 	 --libdir=/usr/lib64 --build=x86_64-pc-linux-gnu
configure: WARNING: you should use --build, --host, --target
configure: WARNING: invalid host type: 	
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking target system type... config.sub: missing argument
Try `config.sub --help' for more information.
configure: error: /bin/sh ./config.sub 	 failed

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/net-im/pidgin-2.4.2/work/pidgin-2.4.2/config.log
 * 
 * ERROR: net-im/pidgin-2.4.2 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 3314:  Called econf 'src_compile'
 *               ebuild.sh, line  513:  Called die
 * The specific snippet of code:
 *   			die "econf failed"
 *  The die message:
 *   econf failed
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/log/portage/net-im:pidgin-2.4.2:20080518-121512.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-im/pidgin-2.4.2/temp/environment'.



here my emerge --info:
Portage 2.1.4.4 (default-linux/amd64/2007.0/desktop, gcc-4.1.2, glibc-2.7-r1, 2.6.24-gentoo-r8 x86_64)
=================================================================
System uname: 2.6.24-gentoo-r8 x86_64 AMD Turion(tm) 64 Mobile Technology ML-32
Timestamp of tree: Sun, 18 May 2008 10:36:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.4.4-r9
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -msse3 -O2 -pipe"
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"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=athlon64 -msse3 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks fixpackages metadata-transfer notitles parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="it_IT"
LINGUAS="it"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
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/gechi-testing /usr/portage/local/layman/desktop-effects /usr/portage/local/layman/cwiid /usr/portage/local/layman/cwiid /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aac aalib acl acpi aim aimextras alsa amd64 apache2 applet arts asf audiofile automount bash-completion berkdb binary-drivers bluetooth bonobo branding bzip2 cairo cardbus cdb cdda cddb cdio cdparanoia cdr cdrom chm clamav clamd cli cpudetection cracklib crypt css cups dbus directfb dmi dmix dri dv dvb dvbplayer dvd dvdr dvdread dvi eds emul-linux-x86 encode esd evo evolution examples exif extramodules fam fastcgi fat fbcon fbdev fbsplash ffmpeg firefox flac fortran ftp gdbm gif gimp gimpprint glade glitz gnome gnome-print gnomecanvas gnomedb gphoto2 gpm graphicsmagick graphviz gsm gstreamer gtk gtkhtml gzip hal hddtemp howl html http iconv id3 ieee1394 imagemagick insecure-savers ipod ipv6 irda isdnlog it jabber java john jpeg jpeg2k kerberos lame latex latin1 lcd lcms ldap libcaca libclamav libnotify libsamplerate libwww live lm_sensors logrotate logwatch mad midi mikmod mmap mmkeys mmx mozbranding mp3 mp4 mp4live mpd-mad mpeg mpeg2 mplayer msn msnextras mudflap musepack musicbrainz mysql mythtv nautilus ncurses net nfs nls nntp nptlonly nsplugin ntfs offensive ogg oggvorbis opengl openmp openssh oss pam password pcmcia pcre pdf perl php png pnp pop pppd print python qt3support quicktime rar readline reflection reiser4 reiserfs samba sdl sensord session sndfile spamassassin spell spl sqlite3 sse sse2 ssl startup-notification subtitles svg syslog tagwriting tcl tcltk tcpd tga theora tiff tk tools totem truetype udev unicode unzip vdr vnc vncviewer vorbis webservices widescreen wireshark wma wmf wxgtk1 wxwindows xcomposite xml xorg xosd xscreensaver 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 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 synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="it" USERLAND="GNU" VIDEO_CARDS="ati radeon vesa fglrx"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Comment 8 Olivier Crete (RETIRED) gentoo-dev 2008-05-18 13:51:44 UTC
fixed in cvs
Comment 9 Olivier Crete (RETIRED) gentoo-dev 2008-05-19 02:17:10 UTC
*** Bug 222655 has been marked as a duplicate of this bug. ***
Comment 10 Tobias Heinlein (RETIRED) gentoo-dev 2008-05-19 14:59:28 UTC
*** Bug 222807 has been marked as a duplicate of this bug. ***
Comment 11 Olivier Crete (RETIRED) gentoo-dev 2008-05-20 05:26:29 UTC
*** Bug 222897 has been marked as a duplicate of this bug. ***