Portage 2.2_rc14 (default/linux/x86/2008.0, gcc-4.1.2-asneeded, glibc-2.8_p20080602-r0, 2.6.27-gentoo-r2 i686) ================================================================= System uname: Linux-2.6.27-gentoo-r2-i686-Quad-Core_AMD_Opteron-tm-_Processor_2350-with-glibc2.0 Timestamp of tree: Fri, 14 Nov 2008 00:37:01 +0000 ccache version 2.4 [disabled] app-shells/bash: 3.2_p39 dev-java/java-config: 1.3.7, 2.1.6-r1 dev-lang/python: 2.4.4-r15, 2.5.2-r8 dev-python/pycrypto: 2.0.1-r6 dev-util/ccache: 2.4-r8 sys-apps/baselayout: 2.0.0 sys-apps/openrc: 0.3.0-r1 sys-apps/sandbox: 1.2.18.1-r3 sys-devel/autoconf: 2.13, 2.63 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.1-r1 sys-devel/binutils: 2.19 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 2.2.6a virtual/os-headers: 2.6.27-r2 ACCEPT_KEYWORDS="x86 ~x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /opt/openjms/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/bind /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /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/udev/rules.d" CXXFLAGS="-O2 -pipe" DISTDIR="/usr/portage-distfiles" FEATURES="distlocks parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo" INSTALL_MASK=" /usr/share/doc /usr/share/man /usr/share/info" LDFLAGS="-Wl,-O1" MAKEOPTS="-j14" PKGDIR="/usr/portage-packages" PORTAGE_COMPRESS="" 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="acl berkdb bzip2 cli cracklib crypt cups dri fortran gdbm gpm iconv ipv6 isdnlog midi mudflap ncurses nls nptl nptlonly openmp pam pcre perl pppd python readline reflection session spl ssl sysfs tcpd unicode x86 xorg 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" USERLAND="GNU" VIDEO_CARDS="fbdev glint i810 intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa vga via vmware voodoo" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY [ebuild R ] net-im/pidgin-2.5.2 USE="ncurses nls perl -bonjour -dbus -debug -doc -eds -gadu -gnutls -groupwise -gstreamer -gtk -meanwhile -networkmanager -prediction -qq -sasl -silc -spell -tcl -tk -zephyr" 0 kB
Created attachment 172715 [details] Build log
Created attachment 175321 [details] /var/log/portage/net-im:pidgin-2.5.2:20081215-114538.log I desagree; i have ATM a working Pidgin, and tried this: moon-gen-3 ~ # USE="ncurses nls perl -bonjour -dbus -debug -doc -eds -gadu -gnut ls -groupwise -gstreamer -gtk -meanwhile -networkmanager -prediction -qq -sasl - silc -spell -tcl -tk -zephyr" emerge -va pidgin These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] net-im/pidgin-2.5.2 USE="ncurses nls perl -bonjour* -dbus* -deb ug -doc* -eds* -gadu* -gnutls* -groupwise -gstreamer* -gtk* -meanwhile* -network manager -prediction -qq* -sasl* -silc* -spell* -tcl -tk -zephyr" 0 kB Total: 1 package (1 reinstall), Size of downloads: 0 kB Would you like to merge these packages? [Yes/No] >>> Verifying ebuild Manifests... >>> Emerging (1 of 1) net-im/pidgin-2.5.2 to / * pidgin-2.5.2.tar.bz2 RMD160 SHA1 SHA256 size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] [...] checking for daylight external... yes checking for tm_gmtoff in struct tm... yes checking for CHECK... yes configure: creating ./config.status config.status: creating Makefile config.status: creating Doxyfile config.status: creating doc/Makefile [...] config.status: executing intltool commands config.status: executing default-1 commands config.status: executing po/stamp-it commands pidgin 2.5.2 Build GTK+ 2.x UI............. : no Build console UI.............. : yes Build for X11................. : yes [...] Print debugging messages...... : no Pidgin will be installed in /usr/bin. Warning: You have an old copy of Pidgin at /usr/bin/pidgin. configure complete, now type 'make' make all-recursive make[1]: Entering directory `/var/tmp/portage/net-im/pidgin-2.5.2/work/pidgin-2.5.2' Making all in libpurple [...] No need to go further. Note that I am using stable, but unmasked Pidgin. So, apart pidgin, the rest of my distro is stable. Maybe it compiles better because I already have pidgin installed ? anyway, things are not as trivial as the title of the bug describes them.
Created attachment 175322 [details] /tmp/emerge--info
The fact is, Benoît-Pierre, that this bug may be valid. If pidgin is built without any USE-flags, then ebuild echoes the warning : " * You did not pick the ncurses or gtk use flags, only libpurple will be built." Ok, makes sense. **An explanation of why it fails** From librvp ebuild : econf --with-gaim-plugin-dir=/usr/$(get_libdir)/pidgin \ --with-gaim-data-dir=/usr/share/pixmaps/pidgin \ When libpurple only is build, there is no such thing as /usr/$(get_libdir)/pidgin (only /usr/$(get_libdir)/purple-2). So it will fail sooner or later. **Awful explanation** Then grep in configure from librvp to find that it uses pkg-config to check if pidgin is installed. : pkg-config --exists --print-errors "pidgin" Hence the failure with a libpurple-only build. Librvp definitely needs ncurse or gtk uses flag set. Note something as changed since pigin-2.5.2, see Diego's build log : "pidgin 2.5.2 Build GTK+ 2.x UI............. : no Build console UI.............. : yes Build for X11................. : yes" and from a USE="-*" emerge -av =pidgin-2.5.8 try : pidgin 2.5.8 Build GTK+ 2.x UI............. : no Build console UI.............. : no Build for X11................. : yes (Another thing, which may need a bug : librvp-0.9.7 is out : it may be added to the tree) So : Valid bug, even if the pidgin version Diego encountered the issue is out of the tree. I went further into testing ( my gtk2 pidgin interface), and librvp can't be built if pidgin has been built with only ncurses (pkg-configd doesn't report pidgin as installed, then build fails) (maybe there is a non trivial fix to build librvp against ncurses only pidgin, but that's below my competencies). So my guess is that librvp needs to have a hard dependence on net-im/pidgin[gtk] (EAPI2 syntax). A patch will follow.
Created attachment 202193 [details, diff] Patch to add pidgin[gtk] in DEPEND for librvp
Gef, thanks for the patch! Just make note when EAPI=2 econf should be called in src_configure() instead of src_compile() , to avoid doing configure twice. This happens because EAPI 2 splits src_compile into src_configure and src_compile.