Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 219341 - mail-client/sylpheed-2.4.7 fails `aclocal -I m4`
Summary: mail-client/sylpheed-2.4.7 fails `aclocal -I m4`
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Akinori Hattori
URL:
Whiteboard:
Keywords:
: 228685 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-04-26 14:26 UTC by abo junghichi
Modified: 2008-10-16 22:21 UTC (History)
7 users (show)

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


Attachments
Corrected ebuild with creation of m4 directory, in order for "aclocal bug" (sylpheed-2.4.7-r1.ebuild,1.58 KB, text/plain)
2008-05-28 14:25 UTC, Marcin Nowicki
Details
Build fix for 2.4.7 (sylpheed-2.4.7.diff,298 bytes, patch)
2008-06-20 08:13 UTC, Andrew John Hughes
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description abo junghichi 2008-04-26 14:26:10 UTC
sylpheed-2.4.7.ebuild fails in my system with below log, and never complited install.

# emerge mail-client/sylpheed
...
 * the installed version (1.10.1).
 * Running eautoreconf in '/var/tmp/portage/mail-client/sylpheed-2.4.7/work/sylp
heed-2.4.7' ...
 * Running aclocal -I m4 -I ac ...
  [ !! ]

* Failed Running aclocal !
 * 
 * Include in your bugreport the contents of:
 * 
 *   /var/tmp/portage/mail-client/sylpheed-2.4.7/temp/aclocal-1979.out

 * 
 * ERROR: mail-client/sylpheed-2.4.7 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_unpack
 *             environment, line 2511:  Called eautomake
 *             environment, line  806:  Called eautoreconf
 *             environment, line  829:  Called eaclocal
 *             environment, line  768:  Called autotools_run_tool 'src_unpack' 'src_unpack' 'aclocal' '-I' 'm4'
 *             environment, line  324:  Called die
 * The specific snippet of code:
 *           die "Failed Running $1 !";
 *  The die message:
 *   Failed Running aclocal !
 * 
 * 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.7/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/mail-client/sylpheed-2.4.7/temp/environment'.
 * 

# cat aclocal-1979.out
***** aclocal *****
***** aclocal -I m4 -I ac
aclocal-1.10: couldn't open directory `m4': No such file or directory

So I overlaid this script to avoid using aclocal.
Because some (or a) undefined symbols were born in the source, I cut off all patchs to compile vanilla-source.

# diff /usr/local/portage/mail-client/sylpheed/sylpheed-2.4.7.ebuild /usr/portage/mail-client/sylpheed/sylpheed-2.4.7.ebuild 
38c38
<       #epatch "${FILESDIR}"/${PN}-2.*.diff
---
>       epatch "${FILESDIR}"/${PN}-2.*.diff
40c40
<       #use crypt || cp ac/missing/gpgme.m4 ac
---
>       use crypt || cp ac/missing/gpgme.m4 ac
42c42
<       #eautomake
---
>       eautomake
62c62
<       make || die
---
>       emake || die

Then modified ebuild worked somehow.

Same fail occured with sylpheed-2.4.5.ebuild in my system.

Reproducible: Always

Steps to Reproduce:




# emerge --info
Portage 2.1.4.4 (default-linux/x86/2007.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.24-gen
too-r4 i686)
=================================================================
System uname: 2.6.24-gentoo-r4 i686 Pentium III (Coppermine)
Timestamp of tree: Thu, 24 Apr 2008 01:45:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p17-r1
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.4_p6, 1.5, 1.6.3, 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="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=pentium3 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O3 -march=pentium3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.ecc.u-tokyo.ac.jp/GENTOO http://ftp.iij.ad.jp/pub/linux/gentoo/ ftp://gg3.net/pub/linux/gentoo/ http://gentoo.channelx.biz/"
LANG="ja_JP.eucJP"
LINGUAS="ja"
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/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl acpi berkdb cjk cli cracklib crypt dri fortran gdbm gpm iconv ipv6 isdnlog midi mmx mudflap ncurses nls nptl nptlonly openmp pam pcre pdf perl pppd python readline reflection session spl sse ssl tcpd threads 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 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" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ja" USERLAND="GNU" VIDEO_CARDS="vesa vga fbdev"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Alex Buell 2008-04-27 14:03:38 UTC
I have the exact same error - my system is x86_64. My other box is x86 and compiles perfectly well. 
Comment 2 Alex Buell 2008-05-23 11:03:32 UTC
Have the exact same problem on my amd64 box, does not happens on my x86 box
Comment 3 Marcin Nowicki 2008-05-28 14:25:21 UTC
Created attachment 154589 [details]
Corrected ebuild with creation of m4 directory, in order for "aclocal bug"
Comment 4 Samuli Suominen (RETIRED) gentoo-dev 2008-06-17 15:59:39 UTC
Fixed now in 2.4.8, thanks.
Comment 5 Andrew John Hughes 2008-06-20 08:03:24 UTC
I'm still getting this issue.  Was 2.4.7 not fixed?  There seems to be a patch here for it.
Comment 6 Andrew John Hughes 2008-06-20 08:13:16 UTC
Created attachment 157703 [details, diff]
Build fix for 2.4.7
Comment 7 Andrew John Hughes 2008-06-20 08:14:11 UTC
Please reopen and fix this bug.  The current ebuild of 2.4.7 is useless without being patched.  I don't see how anyone can compile the current version.
Comment 8 Andrew John Hughes 2008-06-20 08:15:06 UTC
FWIW this is failing on ppc64 as well as the previously reported amd64 failures.
Comment 9 Matt 2008-06-20 10:21:57 UTC
even the latest version spits out this error message:

the important bits are:
* Automake used for the package (1.4-p6) differs from
* the installed version (1.10.1). 

setting: WANT_AUTOMAKE=1.4

in the ebuild fixes it for me :)

platform: x86_64
Comment 10 Andrew John Hughes 2008-06-20 14:54:12 UTC
Yes, that was actually going to be my initial suggestion until I saw the earlier messages.

Why has neither fix been applied to the version in the tree? Please either fix this, or remove it and make a later version stable.
Comment 11 Nestor Arocha 2008-06-20 15:13:43 UTC
During this week I could successfully install sylpheed 2.4.8 in my amd64 box. Previous versions didn't compile because this bug. However, the new sylpheed version (2.5.0) shows the same behavior again.

emerge details:
-----------------------------------------------------------


>>> Emerging (1 of 1) mail-client/sylpheed-2.5.0 to /
 * sylpheed-2.5.0.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                                                                                                                                    [ ok ]
 * checking ebuild checksums ;-) ...                                                                                                                                                         [ ok ]
 * checking auxfile checksums ;-) ...                                                                                                                                                        [ ok ]
 * checking miscfile checksums ;-) ...                                                                                                                                                       [ ok ]
 * checking sylpheed-2.5.0.tar.bz2 ;-) ...                                                                                                                                                   [ ok ]
>>> Unpacking source...
>>> Unpacking sylpheed-2.5.0.tar.bz2 to /var/tmp/portage/mail-client/sylpheed-2.5.0/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.1).
 * Running eautoreconf in '/var/tmp/portage/mail-client/sylpheed-2.5.0/work/sylpheed-2.5.0' ...
 * Running aclocal -I m4 -I ac ...                                                                                                                                                           [ !! ]

 * Failed Running aclocal !

/var/tmp/portage/mail-client/sylpheed-2.5.0/work/sylpheed-2.5.0
----------------------------------------------------------------
**** aclocal *****
***** aclocal -I m4 -I ac

aclocal-1.10: couldn't open directory `m4': No such file or directory


emerge --info
----------------------------------------------------------------
Portage 2.1.4.4 (default/linux/amd64/2008.0/no-multilib, gcc-4.1.2, glibc-2.6.1-r0, 2.6.24-gentoo-r8 x86_64)
=================================================================
System uname: 2.6.24-gentoo-r8 x86_64 AMD Sempron(tm) Processor 3100+
Timestamp of tree: Fri, 20 Jun 2008 14:06:01 +0000
app-shells/bash:     3.2_p33
dev-lang/python:     2.4.4-r13
dev-python/pycrypto: 2.0.1-r6
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.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=k8 -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/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=k8 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LINGUAS="es es_ES"
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/voip /usr/portage/local/layman/nesaro"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="acl acpi alsa amd64 berkdb bzip2 cdr cli cracklib crypt dri dvb dvd gdbm iconv ipv6 mmx mudflap ncurses nls nptl nptlonly opengl openmp pam pcre perl python readline session spl sse sse2 ssl tcpd unicode xorg xv zlib" ALSA_CARDS="via82xx" 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 evdev" KERNEL="linux" LCD_DEVICES="ncurses text" LINGUAS="es es_ES" USERLAND="GNU" VIDEO_CARDS="radeon"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Comment 12 Torsten Veller (RETIRED) gentoo-dev 2008-06-21 10:12:38 UTC
*** Bug 228685 has been marked as a duplicate of this bug. ***
Comment 13 Evil Compile Person 2008-06-21 17:27:04 UTC
Reopening as the issue seems to still exist
Comment 14 Francesco Munda 2008-06-23 08:50:06 UTC
Still present in 2.5.0.

Workaround is a "mkdir m4" in an overlaid ebuild, as hinted in the "sylpheed-2.4.7-r1.ebuild" attachment to this bug report; just copy the ebuild with a proper name, and rebuild the manifest.

Ugly, ugly workaround. But since maintainer(s) don't care to fix it, that's what we're stuck with.
Comment 15 Akinori Hattori gentoo-dev 2008-06-23 09:24:50 UTC
Thank you for waiting. Fixed in CVS.
Comment 16 Laurent MONIN 2008-10-16 22:21:29 UTC
2.4.8 and 2.5.0 are still failing here.
The fix for me is to add WANT_AUTOMAKE=1.4 in an overlaid ebuild (just adding mkdir m4 do not work for me).