Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 154438 - sys-cluster/mpich-1.2.7_p1 fails to run autoheader
Summary: sys-cluster/mpich-1.2.7_p1 fails to run autoheader
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Michael Imhof (RETIRED)
URL:
Whiteboard:
Keywords:
: 154973 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-11-08 01:45 UTC by Michael Zeising
Modified: 2009-06-13 20:46 UTC (History)
6 users (show)

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


Attachments
Output of autoheader (autoheader-12607.out,1.13 KB, text/plain)
2006-11-08 01:46 UTC, Michael Zeising
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Zeising 2006-11-08 01:45:20 UTC
When I try to emerge sys-cluster/mpich I get the following:

...
* Running autoheader ...                                                                                                                                                                                   [ !! ]

 * Failed Running autoheader !
 * 
 * Include in your bugreport the contents of:
 * 
 *   /var/tmp/portage/sys-cluster/mpich-1.2.7_p1/temp/autoheader-12607.out


!!! ERROR: sys-cluster/mpich-1.2.7_p1 failed.
Call stack:
  ebuild.sh, line 1568:   Called dyn_unpack
  ebuild.sh, line 708:   Called src_unpack
  mpich-1.2.7_p1.ebuild, line 58:   Called eautoreconf
  autotools.eclass, line 86:   Called eautoheader
  autotools.eclass, line 146:   Called autotools_run_tool 'autoheader'
  autotools.eclass, line 242:   Called die

!!! Failed Running autoheader !
!!! If you need support, post the topmost build error, and the call stack if relevant.

Here's my emerge --info:

Portage 2.1.2_rc1-r5 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.5-r0, 2.6.18-suspend2 i686)
=================================================================
System uname: 2.6.18-suspend2 i686 AMD Turion(tm) 64 Mobile Technology MT-30
Gentoo Base System version 1.12.6
Last Sync: Wed, 08 Nov 2006 08:30:07 +0000
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.4.4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.60
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.17
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -pipe -mmmx -m3dnow -msse -msse2 -msse3 -mfpmath=sse -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/lib/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -march=athlon-xp -pipe -mmmx -m3dnow -msse -msse2 -msse3 -mfpmath=sse -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="de_DE.utf8"
LC_ALL="de_DE.utf8"
LDFLAGS="-Wl,-O1 -Wl,--sort-common"
LINGUAS="de"
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"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext X a52 aac acpi alsa apache2 apm asf avi beagle berkdb bitmap-fonts bluetooth bzip2 cairo cdr cli cracklib crypt dbus dlloader dri dvd dvdr eds elibc_glibc emboss encode esd exif firefox foomaticdb fortran gdbm gif gnome gphoto2 gpm gstreamer gtk gtk2 hal hddtemp iconv imlib input_devices_evdev input_devices_keyboard input_devices_mouse isdnlog java jpeg jpeg2k kdehiddenvisibility kernel_linux libg++ libnotify libwww linguas_de logrotate mad mikmod mmap mmx mmxext mono motif moznocompose moznoirc mozsvg mp3 mp4 mpeg nautilus ncurses nls nptl nptlonly ogg opengl oss pam pcre pdf perl png pppd python qt3 qt4 quicktime rar readline real reflection sdl session spell spl sse sse2 ssl svg tcpd threads tiff truetype truetype-fonts type1-fonts udev unicode usb userland_GNU userlocales vcd video_cards_fglrx video_cards_radeon video_cards_vesa vorbis win32codecs wma wmf x264 xine xml xorg xv xvid zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Michael Zeising 2006-11-08 01:46:48 UTC
Created attachment 101433 [details]
Output of autoheader
Comment 2 Georgi Chulkov 2006-11-13 00:15:41 UTC
*** Bug 154973 has been marked as a duplicate of this bug. ***
Comment 3 marc joanisse 2006-12-06 12:37:38 UTC
I had similar issues with mpich-1.2.7_p1 not installing. I believe it has to do with an incompatibility with autoconf-2.61 (which is included in its depends). When I force it to ignore dependencies (emerge -uO mpich) it installs fine using  autoconf 2.60 and at least upon light testing, mpicc and mpirun work fine.
Comment 4 Martin Mokrejš 2008-05-26 11:04:20 UTC
I get the following on ~x86:

>>> Unpacking mpich-1.2.7p1.tar.gz to /var/tmp/portage/sys-cluster/mpich-1.2.7_p1/work
 * Applying 1.2.7_p1-fix-romio-sandbox-breakage.patch ...                                                                                                                                                                [ ok ]
/var/tmp/portage/sys-cluster/mpich-1.2.7_p1/work/mpich-1.2.7p1/romio /var/tmp/portage/sys-cluster/mpich-1.2.7_p1/work/mpich-1.2.7p1
 * Running eautoreconf in '/var/tmp/portage/sys-cluster/mpich-1.2.7_p1/work/mpich-1.2.7p1/romio' ...
 * Running autoconf ...                                                                                                                                                                                                  [ ok ]
 * Running autoheader ...                                                                                                                                                                                                [ ok ]
 * Running elibtoolize in: mpich-1.2.7p1/mpe/slog2sdk/trace_sample
 *   Applying install-sh-1.5.patch ...
 *   Applying portage-1.5.10.patch ...
 *   Applying max_cmd_len-1.5.14.patch ...
 *   Applying sed-1.5.6.patch ...
 * Running elibtoolize in: mpich-1.2.7p1/mpe/slog2sdk/trace_rlog
 *   Applying install-sh-1.5.patch ...
 *   Applying portage-1.5.10.patch ...
 *   Applying max_cmd_len-1.5.14.patch ...
 *   Applying sed-1.5.6.patch ...
 * Running elibtoolize in: mpich-1.2.7p1/examples/perftest/config/confdb
 *   Applying install-sh-1.5.patch ...
 *   Applying portage-1.5.10.patch ...
 *   Applying max_cmd_len-1.5.20.patch ...
 *   Applying sed-1.5.6.patch ...
/var/tmp/portage/sys-cluster/mpich-1.2.7_p1/work/mpich-1.2.7p1
 * Applying 1.2.7_p1-allow-fhs-afs.patch ...                                                                                                                                                                             [ ok ]
/var/tmp/portage/sys-cluster/mpich-1.2.7_p1/work/mpich-1.2.7p1/mpid/server /var/tmp/portage/sys-cluster/mpich-1.2.7_p1/work/mpich-1.2.7p1
 * Running eautoreconf in '/var/tmp/portage/sys-cluster/mpich-1.2.7_p1/work/mpich-1.2.7p1/mpid/server' ...
 * Running autoconf ...                                                                                                                                                                                                  [ !! ]

 * Failed Running autoconf !
 * 
 * Include in your bugreport the contents of:
 * 
 *   /var/tmp/portage/sys-cluster/mpich-1.2.7_p1/temp/autoconf-15925.out
...
***** autoconf *****
***** autoconf

configure.in:140: error: AC_SUBST: `$CC' is not a valid shell variable name
configure.in:140: the top level
autom4te-2.62: /usr/bin/m4 failed with exit status: 1
/var/tmp/portage/sys-cluster/mpich-1.2.7_p1/temp/autoconf-15925.out
Comment 5 Martin Mokrejš 2008-05-26 11:32:10 UTC
I do not know much internals of ebuilds but the following did the trick for me. I edited mpich-1.2.7_p1.ebuild like below. Maybe you can someone force eautoreconf to execute specific version of autoconf?



src_unpack() {
    unpack ${A}
    cd "${S}"
    grep -FrlZ '$(P) ' . | xargs -0 sed -i -e 's/\$(P)//'

    # Fix broken romio
    epatch "${FILESDIR}"/${PV}-fix-romio-sandbox-breakage.patch
    pushd "${S}"/romio
    rm configure
    eautoreconf
    popd

    epatch "${FILESDIR}"/${PV}-allow-fhs-afs.patch
    pushd "${S}"/mpid/server
    rm configure
    # do not run 2.62 autoconf but rather force expected old version
    # eautoreconf 
    autoconf-2.13
    autoheader-2.13
    libtoolize
    popd
}
Comment 6 Jon Akers 2008-08-01 18:06:14 UTC
(In reply to comment #4)

I had the same problem with this on a Lemote Fulong mips based machine.
Comment 7 Justin Bronder (RETIRED) gentoo-dev 2009-06-13 20:46:02 UTC
sys-cluster/mpich is gone.