Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 35425 - Coreutils emerging failure
Summary: Coreutils emerging failure
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Seemant Kulleen (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-12-09 01:44 UTC by Marc Bevand
Modified: 2003-12-09 02:05 UTC (History)
0 users

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 Marc Bevand 2003-12-09 01:44:24 UTC
Emerging coreutils, on my system, fails:

---8<---------------------------------------------------------------------
$ emerge coreutils
Calculating dependencies ...done!
>>> emerge (1 of 1) sys-apps/coreutils-5.0.91-r2 to /
>>> md5 src_uri ;-) coreutils-5.0.91.tar.bz2
>>> md5 src_uri ;-) coreutils-5.0.91-gentoo-1.4.tar.bz2
>>> Unpacking source...
>>> Unpacking coreutils-5.0.91.tar.bz2 to /var/tmp/portage/coreutils-5.0.91-r2/work
>>> Unpacking coreutils-5.0.91-gentoo-1.4.tar.bz2 to
/var/tmp/portage/coreutils-5.0.91-r2/work
 * Applying various patches (bugfixes/updates)...
 *   001_all_coreutils-progress-bar.patch...                              [ ok ]
 *   002_all_coreutils-remove-su_hostname_groups_kill_uptime.patch...     [ ok ]
 *   003_all_coreutils-gentoo-uname.patch...                              [ ok ]
 * Done with patching
>>> Source unpacked.
configure.ac: 6: `automake requires `AM_CONFIG_HEADER', not `AC_CONFIG_HEADER'
configure.ac: 6: required file `./config.hin]' not found
Makefile.am:3: AM_GNU_GETTEXT in `configure.ac' but `intl' not in SUBDIRS
automake: Makefile.am: AM_GNU_GETTEXT in `configure.ac' but `ALL_LINGUAS' not
defined
lib/Makefile.am:136: variable `LIBOBJS' not defined
lib/Makefile.am:136: variable `ALLOCA' not defined
src/Makefile.am:105: bad macro name `__SOURCES'
src/Makefile.am:41: variable `POW_LIB' not defined
src/Makefile.am:58: variable `POW_LIB' not defined
src/Makefile.am:51: variable `POW_LIB' not defined
src/Makefile.am:58: variable `POW_LIB' not defined

!!! ERROR: sys-apps/coreutils-5.0.91-r2 failed.
!!! Function src_compile, Line 104, Exitcode 1
!!! (no error message)
---8<---------------------------------------------------------------------

This problem comes from the fact that the environment variable
WANT_AUTOMAKE=1.4 is defined in the shell from which I typed
"emerge coreutils". Here is a fix:

---8<---------------------------------------------------------------------
--- coreutils-5.0.91-r2.ebuild.orig     2003-12-09 10:30:28.000000000 +0100
+++ coreutils-5.0.91-r2.ebuild  2003-12-09 10:40:04.000000000 +0100
@@ -99,9 +99,11 @@
                fi
        fi
 
+       export WANT_AUTOMAKE=1.7
        aclocal -I ${S}/m4 || die
        autoconf || die
        automake || die
+       unset WANT_AUTOMAKE
 
        append-flags "-fPIC"
 
---8<---------------------------------------------------------------------


Reproducible: Always
Steps to Reproduce:
Comment 1 Seemant Kulleen (RETIRED) gentoo-dev 2003-12-09 02:03:32 UTC
I had thought about doing that in the ebuilds, and then never got round to it -- thanks for the reminder :)
Comment 2 Seemant Kulleen (RETIRED) gentoo-dev 2003-12-09 02:05:25 UTC
fixed in cvs, should hit sync mirrors in 30 minutes.