Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 95482 - emacs-21.4 build autoconf fails with undefined macro
Summary: emacs-21.4 build autoconf fails with undefined macro
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High blocker (vote)
Assignee: Emacs project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-08 11:37 UTC by Gary Renshaw
Modified: 2006-12-29 15:04 UTC (History)
0 users

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


Attachments
emerge session transcript (bug-95482,11.00 KB, text/plain)
2005-06-08 11:40 UTC, Gary Renshaw
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gary Renshaw 2005-06-08 11:37:36 UTC
While attempting to emerge app-editors/emacs-21.4 the make fails in three 
places with messages such as:  
  
creating src/epaths.h  
cd /var/tmp/portage/emacs-21.4/work/emacs-21.4 && autoconf  
aclocal.m4:30: error: m4_defn: undefined macro: _m4_divert_diversion  
autoconf/c.m4:870: AC_PROG_CC_STDC is expanded from...  
aclocal.m4:30: the top level  
autom4te-2.59: /usr/bin/m4 failed with exit status: 1  
make: *** [/var/tmp/portage/emacs-21.4/work/emacs-21.4/configure] Error 1  
creating lib-src/Makefile  
creating src/Makefile  
cd /var/tmp/portage/emacs-21.4/work/emacs-21.4 && autoconf  
aclocal.m4:30: error: m4_defn: undefined macro: _m4_divert_diversion  
autoconf/c.m4:870: AC_PROG_CC_STDC is expanded from...  
aclocal.m4:30: the top level  
autom4te-2.59: /usr/bin/m4 failed with exit status: 1  
make: *** [/var/tmp/portage/emacs-21.4/work/emacs-21.4/configure] Error 1  
  
!!! ERROR: app-editors/emacs-21.4 failed.  
!!! Function src_compile, Line 103, Exitcode 2  
!!! (no error message)  
!!! If you need support, post the topmost build error, NOT this status message.  
  

Reproducible: Always
Steps to Reproduce:
1.emerge -a emacs   
2.   
3.   
   
Actual Results:  
emerge failed 

Expected Results:  
emerged successfully  

See attachment for the entire emerge session
Comment 1 Gary Renshaw 2005-06-08 11:40:15 UTC
Created attachment 60855 [details]
emerge session transcript
Comment 2 Mamoru KOMACHI (RETIRED) gentoo-dev 2005-06-18 11:33:57 UTC
Please paste the output of `emerge --info`.
(For whatever reason autoconf-2.59 was called on your system
but autoconf-2.13 should be executed. )
Comment 3 Gary Renshaw 2005-06-18 11:52:49 UTC
# emerge --info 
Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5-20050130, 
glibc-2.3.4.20041102-r1, 2.6.9-gentoo-r9 i586) 
================================================================= 
System uname: 2.6.9-gentoo-r9 i586 AMD-K6(tm) 3D processor 
Gentoo Base System version 1.4.16 
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, May 16 2005, 20:47:39)] 
distcc 2.16 i586-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] 
dev-lang/python:     2.3.5 
sys-apps/sandbox:    [Not Present] 
sys-devel/autoconf:  2.59-r6, 2.13 
sys-devel/automake:  1.5, 1.8.5-r3, 1.9.5, 1.6.3, 1.7.9-r1, 1.4_p6 
sys-devel/binutils:  2.15.92.0.2-r10 
sys-devel/libtool:   1.5.16 
virtual/os-headers:  2.6.8.1-r2 
ACCEPT_KEYWORDS="x86" 
AUTOCLEAN="yes" 
CFLAGS="-O2 -march=k6-2 -pipe" 
CHOST="i586-pc-linux-gnu" 
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" 
CXXFLAGS="-O2 -march=k6-2 -pipe" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoaddcvs autoconfig ccache distcc distlocks sandbox sfperms strict" 
GENTOO_MIRRORS="http://distfiles.gentoo.org 
http://distro.ibiblio.org/pub/Linux/distributions/gentoo" 
MAKEOPTS="-j3" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
SYNC="rsync://rsync.ca.gentoo.org/gentoo-portage" 
USE="X alsa apm arts artswrappersuid avi berkdb bitmap-fonts bonobo cdr crypt 
cups curl dga emboss encode esd fam foomaticdb fortran freetype gd gdbm gif gmp 
gnome gpm gtk gtk2 gtkhtml guile imagemagick imlib ipv6 jpeg kde libg++ libwww 
mad mikmod motif mozilla mp3 mpeg mule mysql ncurses nls ogg oggvorbis opengl 
oss pam pdflib perl png python qt quicktime readline sdl slang spell ssl svga 
tcpd tiff truetype truetype-fonts type1-fonts vorbis x86 xml xml2 xmms xv zlib 
userland_GNU kernel_linux elibc_glibc" 
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, 
PORTDIR_OVERLAY 
 
Comment 4 Christian Faulhammer (RETIRED) gentoo-dev 2006-11-04 17:20:33 UTC
Gary, do you still have this problem with the current -r4 or -r5 versions?
Comment 5 Christian Faulhammer (RETIRED) gentoo-dev 2006-12-29 15:04:09 UTC
Assumed fixed, as there was no reaction from reporter...