Home | Docs | Forums | Lists | Bugs | Planet | Store | GMN | Get Gentoo!
Not eligible to see or edit group visibility for this bug.
View Bug Activity | Format For Printing | XML | Clone This Bug
emerging sylpheed-2.4.0 fails, resulting in an autoconf error (details below) Reproducible: Always Steps to Reproduce: 1. emerge sylpheed-2.4.0 2. 3. Actual Results: emerge log: >>> Unpacking source... >>> Unpacking sylpheed-2.4.0.tar.bz2 to /var/tmp/portage/mail-client/sylpheed-2.4.0/work * Applying sylpheed-2.1-shared-mime-info.diff ... [ ok ] * Applying sylpheed-2.2-replace-aspell-with-enchant.diff ... [ ok ] * Automake used for the package (1.4-p6) differs from * the installed version (1.10). * Running eautoreconf in '/var/tmp/portage/mail-client/sylpheed-2.4.0/work/sylpheed-2.4.0' ... * Running aclocal -I ac ... [ ok ] * Running libtoolize --copy --force --automake ... [ ok ] * Running aclocal -I ac ... [ ok ] * Running autoconf ... [ !! ] * Failed Running autoconf ! * * Include in your bugreport the contents of: * * /var/tmp/portage/mail-client/sylpheed-2.4.0/temp/autoconf-18489.out !!! ERROR: mail-client/sylpheed-2.4.0 failed. Call stack: ebuild.sh, line 1614: Called dyn_unpack ebuild.sh, line 751: Called qa_call 'src_unpack' environment, line 3556: Called src_unpack sylpheed-2.4.0.ebuild, line 38: Called eautomake autotools.eclass, line 185: Called eautoreconf autotools.eclass, line 95: Called eautoconf autotools.eclass, line 165: Called autotools_run_tool 'autoconf' autotools.eclass, line 218: Called die !!! Failed Running autoconf ! !!! 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/mail-client:sylpheed-2.4.0:20070503-212415.log'. autoconf error: ***** autoconf ***** configure.in:135: error: possibly undefined macro: AM_PATH_GPGME If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation. Expected Results: a succesfull emerge of sylpheed-2.4.0 emerge --info: Portage 2.1.2.2 (default-linux/x86/2007.0, gcc-4.1.1, glibc-2.5-r0, 2.6.20-gentoo-r7 i686) ================================================================= System uname: 2.6.20-gentoo-r7 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz Gentoo Base System release 1.12.9 Timestamp of tree: Thu, 03 May 2007 21:00:10 +0000 dev-java/java-config: 1.3.7, 2.0.32 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.61 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.16 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=pentium4 -O2 -mmmx -msse -msse2 -mfpmath=sse -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-march=pentium4 -O2 -mmmx -msse -msse2 -mfpmath=sse -fomit-frame-pointer -pipe -fvisibility-inlines-hidden" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://mirror.scarlet-internet.nl/pub/gentoo ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo rsync://rsync.europe.gentoo.org/gentoo-portage" LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--sort-common -s" MAKEOPTS="-j2" 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 --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage /usr/portage/local/layman/sunrise" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X alsa bitmap-fonts cli cracklib dri encode fortran gdbm gif gpm gtk gtk2 iconv imlib isdnlog jpeg libg++ mad midi mp3 mpeg ncurses nptl nptlonly opengl pcre perl png pppd python readline reflection sdl session spl ssl tcpd truetype truetype-fonts type1-fonts x86 xorg xv zlib" 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="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="fbdev nv nvidia vesa" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS eix autoconf: [I] sys-devel/autoconf Available versions: (2.1) 2.13 (2.5) 2.59-r7 2.60 2.61 Installed versions: 2.13(2.1)(11:20:27 03/11/07) 2.61(2.5)(07:39:00 03/11/07)(-emacs) Homepage: http://www.gnu.org/software/autoconf/autoconf.html Description: Used to create autoconfiguration files
The problem here is that gpgme is listed as optional dep (USE="crypt"), but autoconf needs every dependency the application can possibly have, so that it can properly expand macros from configure.in (or .ac). You most likely do not have gpgme installed and have crypt flag disabled.
You are right, I did not have the crypt USE-flag enabled and I did not have gpgme installed. I emerged gpgme, which pulled in these packages for me: Calculating dependencies... done! [ebuild N ] dev-libs/pth-2.0.6 633 kB [ebuild N ] media-gfx/xloadimage-4.1-r4 USE="jpeg png -tiff" 623 kB [ebuild N ] dev-libs/libksba-1.0.0 491 kB [ebuild N ] dev-libs/libassuan-0.6.10 252 kB [ebuild N ] app-crypt/gnupg-1.4.6 USE="X readline zlib -bindist -bzip2 -curl -ecc -idea -ldap -nls (-selinux) -smartcard -static -usb" LINGUAS="-ru" 3,076 kB [ebuild N ] app-crypt/gnupg-1.9.21 USE="X -gpg2-experimental -ldap -nls (-selinux) -smartcard" 1,858 kB [ebuild N ] app-crypt/gpgme-1.1.2-r1 861 kB Total: 7 packages (7 new), Size of downloads: 7,791 kB I then emerged sylpheed succesfully, then uninstalled gpgme and its dependencies and sylpheed now works. However, this behavior (having gpgme as a compile-time dependency) is new per version 2.4.0 of sylpheed. I have run several previous versions of sylpheed and never experienced this before. My questions: So the ebuild now basically ignores the crypt-flag? Meaning, I have to have gpgme+deps installed whether I want to use that functionality or not? This seems to me to go against the philosophy of the USE-flags, or am I misunderstanding something here? Is there a way to have portage deal with such compile-time deps? Anyway, thanks for the info on gpgme, that fixes it for me. I'm not sure if I should mark this bug FIXED now, I'll wait for your answer first. Or you can mark it FIXED if you think there's nothing more to be done.
Some additional info: I have downloaded the sylpheed-2.4.0 sources (emerge --fetchonly), copied and extracted them to some dir, and there I've run (_without_ having gpgme installed): ./configure --disable-gpgme All went well, and I ended up with these options: GnuPG : no JPilot : no LDAP : no OpenSSL : yes iconv : yes compface : no IPv6 : yes GtkSpell : no Oniguruma : no After that, I proceeded with 'make' and that ran fine too. So, since manually running configure + make with the desired option does work, it would appear that this bug has to do with the ebuild for sylpheed, rather than sylpheed itself, right? Any comments are appreciated.
Fixed in CVS.
*** Bug 188585 has been marked as a duplicate of this bug. ***
(In reply to comment #4) > Fixed in CVS. Doesn't seem so, still the same w/ mail-client/sylpheed-2.4.4
i have app-crypt/gpgme-1.1.5 installed and crypt use flag enabled but autoconf on sylpheed-2.4.4 still fails
(In reply to comment #7) I cannot reproduce with app-crypt/gpgme-1.1.5 and mail-client/sylpheed-2.4.4.
> (In reply to comment #7) > I cannot reproduce with app-crypt/gpgme-1.1.5 and mail-client/sylpheed-2.4.4. > Same here, unable to reproduce this anymore (I also tried with sylpheed-2.4.0, the version used in the original report).
unfortunately still fails ... what are your use flags? emerge -v sylpheed These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild N ] mail-client/sylpheed-2.4.5 USE="crypt ipv6 nls spell ssl -ldap -pda -xface" 0 kB Total: 1 package (1 new), Size of downloads: 0 kB >>> Verifying ebuild Manifests... >>> Emerging (1 of 1) mail-client/sylpheed-2.4.5 to / * sylpheed-2.4.5.tar.bz2 MD5 ;-) ... [ ok ] * sylpheed-2.4.5.tar.bz2 RMD160 ;-) ... [ ok ] * sylpheed-2.4.5.tar.bz2 SHA1 ;-) ... [ ok ] * sylpheed-2.4.5.tar.bz2 SHA256 ;-) ... [ ok ] * sylpheed-2.4.5.tar.bz2 size ;-) ... [ ok ] >>> Creating Manifest for /usr/portage/mail-client/sylpheed digest.assumed 2 digest-sylpheed-2.4.0::sylpheed-2.4.0.tar.bz2 digest-sylpheed-2.4.2::sylpheed-2.4.2.tar.bz2 * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] * checking sylpheed-2.4.5.tar.bz2 ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking sylpheed-2.4.5.tar.bz2 to /var/tmp/portage/mail-client/sylpheed-2.4.5/work * Applying sylpheed-2.1-shared-mime-info.diff ... [ ok ] * Applying sylpheed-2.2-replace-aspell-with-enchant.diff ... [ ok ] * Applying sylpheed-2.4-firefox.diff ... [ ok ] * Automake used for the package (1.4-p6) differs from * the installed version (1.10). * Running eautoreconf in '/var/tmp/portage/mail-client/sylpheed-2.4.5/work/sylpheed-2.4.5' ... * Running aclocal -I ac ... [ ok ] * Running libtoolize --copy --force --automake ... [ ok ] * Running aclocal -I ac ... [ ok ] * Running autoconf ... [ !! ] * Failed Running autoconf ! * * Include in your bugreport the contents of: * * /var/tmp/portage/mail-client/sylpheed-2.4.5/temp/autoconf-31875.out * * ERROR: mail-client/sylpheed-2.4.5 failed. * Call stack: * ebuild.sh, line 1654: Called dyn_unpack * ebuild.sh, line 768: Called qa_call 'src_unpack' * ebuild.sh, line 44: Called src_unpack * sylpheed-2.4.5.ebuild, line 40: Called eautomake * autotools.eclass, line 185: Called eautoreconf * autotools.eclass, line 95: Called eautoconf * autotools.eclass, line 165: Called autotools_run_tool 'autoconf' * autotools.eclass, line 218: Called die * * Failed Running autoconf ! * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/mail-client/sylpheed-2.4.5/temp/build.log'. *
Created an attachment (id=129999) [edit] /var/tmp/portage/mail-client/sylpheed-2.4.5/temp/build.log
(In reply to comment #10) > unfortunately still fails ... > what are your use flags? [ebuild N ] mail-client/sylpheed-2.4.5 USE="crypt ipv6 ldap spell ssl xface -nls -pda" 0 kB You have crypt flag enabled, so that AM_PATH_GPGME is pulled from /usr/share/aclocal/gpgme.m4. Please check it, or re-emerge app-crypt/gpgme.
/usr/share/aclocal/gpgme.m4 wasn't where even though i had app-crypt/gpgme installed. reemerging it did the trick! tnx akinori!
closing...