Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 217826

Summary: app-editors/xemacs-21.5.28-r2 ebuild fails in autoconf -2.62
Product: Gentoo Linux Reporter: Jochen Schlick <josch09>
Component: New packagesAssignee: XEmacs team <xemacs>
Status: RESOLVED FIXED    
Severity: normal CC: mmw
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
URL: http://tracker.xemacs.org/XEmacs/its/issue370
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 217647    

Description Jochen Schlick 2008-04-15 18:06:31 UTC
>>> Emerging (5 of 14) app-editors/xemacs-21.5.28-r2 to /
 * NeXT_XEmacs.tar.gz RMD160 SHA1 SHA256 size ;-) ...                                                                  [ ok ]
 * xemacs-21.5.28.tar.gz RMD160 SHA1 SHA256 size ;-) ...                                                               [ ok ]
 * checking ebuild checksums ;-) ...                                                                                   [ ok ]
 * checking auxfile checksums ;-) ...                                                                                  [ ok ]
 * checking miscfile checksums ;-) ...                                                                                 [ ok ]
 * checking xemacs-21.5.28.tar.gz ;-) ...                                                                              [ ok ]
 * checking NeXT_XEmacs.tar.gz ;-) ...                                                                                 [ ok ]
>>> cfg-update-1.8.2-r1: Skipping checksum index updating...
>>> Unpacking source...
>>> Unpacking xemacs-21.5.28.tar.gz to /var/tmp/portage/portage/app-editors/xemacs-21.5.28-r2/work
 * Applying gdbm-and-db.patch ...                                                                                      [ ok ]
 * Applying font-lock-warning-face.patch ...                                                                           [ ok ]
 * Applying xemacs-21.5.28-int-format.patch ...                                                                        [ ok ]
 * Applying xemacs-21.5.28-vcdiff.patch ...                                                                            [ ok ]
 * Running autoconf ...                                                                                                [ !! ]

 * Failed Running autoconf !
 *
 * Include in your bugreport the contents of:
 *
 *   /var/tmp/portage/portage/app-editors/xemacs-21.5.28-r2/temp/autoconf-21388.out

 *
 * ERROR: app-editors/xemacs-21.5.28-r2 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_unpack
 *             environment, line 3028:  Called eautoconf
 *             environment, line  941:  Called autotools_run_tool 'autoconf'
 *             environment, line  471:  Called die
 * The specific snippet of code:
 *           die "Failed Running $1 !";
 *  The die message:
 *   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/portage/app-editors/xemacs-21.5.28-r2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/portage/app-editors/xemacs-21.5.28-r2/temp/environment'.
 *

##############################################

***** autoconf *****
***** autoconf

configure.ac:392: error: possibly undefined macro: m4_fst
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.


Reproducible: Always
Comment 1 Jochen Schlick 2008-04-15 19:15:23 UTC
builds fine with autoconf-2.61-r1 
Comment 2 Andrej Filipcic 2008-04-28 11:06:21 UTC
fails again with autoconf-2.62 with the same error
Comment 3 Josh Glover (RETIRED) gentoo-dev 2008-05-04 05:00:50 UTC
This works fine with the xemacs-21.5.28 ebuild I just committed to Portage this morning:


: jmglov@laurana; equery list autoconf 
[ Searching for package 'autoconf' in all categories among: ]
 * installed packages
[I--] [  ] sys-devel/autoconf-2.13 (2.1)
[I--] [  ] sys-devel/autoconf-2.61-r1 (2.5)
[I--] [  ] sys-devel/autoconf-wrapper-4-r3 (0)
: jmglov@laurana; equery list app-editors/xemacs
[ Searching for package 'xemacs' in 'app-editors' among: ]
 * installed packages
[I--] [M~] app-editors/xemacs-21.5.28 (0)


Will you please try to repro this bug with 21.5.28?

Also, where did the ebuild referenced in this bug come from?
Comment 4 Hans de Graaff gentoo-dev Security 2008-05-04 05:20:07 UTC
I've package.mask'ed this version just now: it it broken and it contains security violations. Obviously your version does not have the problem Jochen reported since you don't need to patch the configure script to fix problems and thus run eautoconf.

Current work is going on in the xemacs overlay: layman -a xemacs.
Comment 5 Hans de Graaff gentoo-dev Security 2008-05-07 04:33:53 UTC
This is reported upstream as http://tracker.xemacs.org/XEmacs/its/issue370
Comment 6 Hans de Graaff gentoo-dev Security 2008-07-22 07:51:43 UTC
I've applied a patch from upstream to xemacs-21.5.28-r4 in the xemacs overlay, and it should now work with autoconf 2.61 and 2.62. The fix is present in r1112.

I'm still using 2.61 myself, so I would appreciate feedback on whether this is actually fixed with 2.62. Please re-open the bug if there are still issues.