Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 203363 - coreutils fails to emerge on SUSE 10
Summary: coreutils fails to emerge on SUSE 10
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo non-Linux Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-26 10:28 UTC by Rabbe Fogelholm
Modified: 2008-01-02 09:35 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rabbe Fogelholm 2007-12-26 10:28:15 UTC
Host system: SUSE Linux Enterprise Desktop 10 (i586), version = 10, patchlevel = 1, with minor undocumented modifications for corporate deployment.

Procedure: http://www.gentoo.org/proj/en/gentoo-alt/prefix/bootstrap-linux.xml, December 1, 2007 version.

Bootstrapping prefix portage fails when trying to emerge coreutils. The console output contains this:

 * Running autoconf ...                                                                                                                                              [ !! ]

 * Failed Running autoconf !
 * 
 * Include in your bugreport the contents of:
 * 
 *   /tmp/local/g2/var/tmp/portage/sys-apps/coreutils-6.9-r1/temp/autoconf-27000.out

and the .out file contains

configure.ac:255: warning: AM_INTL_SUBDIR is m4_require'd but not m4_defun'd
m4/gettext.m4:362: AM_GNU_GETTEXT is expanded from...
configure.ac:255: the top level
configure:52584: error: possibly undefined macro: AM_INTL_SUBDIR
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
Comment 1 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2007-12-28 16:50:45 UTC
(In reply to comment #0)
> configure.ac:255: warning: AM_INTL_SUBDIR is m4_require'd but not m4_defun'd
> m4/gettext.m4:362: AM_GNU_GETTEXT is expanded from...
> configure.ac:255: the top level
> configure:52584: error: possibly undefined macro: AM_INTL_SUBDIR
>       If this token and others are legitimate, please use m4_pattern_allow.
>       See the Autoconf documentation.

Rabbe, You need to emerge autoconf-2.6* before trying coreutils. I found the fix by googling and came across an interesting post [1].

@grobian,haubi: You may want to update your docs/scripts for this bug.

Hope that helps! =)

[1]: http://osdir.com/ml/gnu.m4.patches/2006-11/msg00014.html
Comment 2 Fabian Groffen gentoo-dev 2007-12-28 16:52:50 UTC
maybe we should lower the coreutils version we bootstrap there instead, haubi?
Comment 3 Rabbe Fogelholm 2007-12-28 20:58:21 UTC
I tried prepending the line that emerges coreutils like this,

   env WANT_AUTOCONF=2.1 emerge ...

but alas, now the emerge instead fails with /tmp/local/g2/var/tmp/portage/sys-apps/coreutils-6.9-r1/temp/aclocal-24399.out containing

***** aclocal *****

ac-wrapper: Autoconf 2.13 doesn't contain autom4te.
            Either unset WANT_AUTOCONF or don't execute anything
            that would use autom4te.
aclocal-1.10: autom4te failed with exit status: 1
Comment 4 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2007-12-28 22:20:10 UTC
(In reply to comment #3)
> I tried prepending the line that emerges coreutils like this,
> 
>    env WANT_AUTOCONF=2.1 emerge ...
> 
> but alas, now the emerge instead fails with
> /tmp/local/g2/var/tmp/portage/sys-apps/coreutils-6.9-r1/temp/aclocal-24399.out
> containing
> 
> ***** aclocal *****
>
> ac-wrapper: Autoconf 2.13 doesn't contain autom4te.
>             Either unset WANT_AUTOCONF or don't execute anything
>             that would use autom4te.
> aclocal-1.10: autom4te failed with exit status: 1
> 

@Rabbe: did you try what I suggested?
Comment 5 Rabbe Fogelholm 2007-12-29 12:11:41 UTC
Hmm, no. But I must ask, do you mean that I should do

  emerge --oneshot --nodeps "=autoconf-2.6*"

a second time, just before emerging coreutils? The webpage procedure [1] emerges autoconf-2.6* in step 1.9.

I'll give it a shot, the machine is idling anyway right now.

1. <http://www.gentoo.org/proj/en/gentoo-alt/prefix/bootstrap-linux.xml>, December 1, 2007 version
Comment 6 Rabbe Fogelholm 2007-12-29 15:36:24 UTC
Good news, the workaround worked! That is, insert an extra

  emerge --oneshot --nodeps "=sys-devel/autoconf-2.6*"

immediately before

  emerge --oneshot --nodeps sys-apps/coreutils

.. my bootstrapping is now well into the `emerge -e system' part.
Comment 7 Fabian Groffen gentoo-dev 2008-01-02 09:35:13 UTC
autoconf-2.6 is now reemerged after m4, such that it actually works for coreutils.

Thanks!