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

Bug 172135

Summary: sys-apps/coreutils-6.9 won't compile w/ <autoconf-2.61
Product: Gentoo Linux Reporter: Jesco Freund <jesco.freund>
Component: [OLD] Core systemAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Jesco Freund 2007-03-25 07:06:07 UTC
The coreutils-6.9 ebuild doesn't work on my gentoo hardened setup.

Looking at the aclocal-output, it is obvious, that autoconf-2.61 is required but the hardened profile seems to be limited to 2.60:

cat /var/tmp/portage/sys-apps/coreutils-6.9/temp/aclocal-5899.out
***** aclocal *****

configure.ac:22: error: Autoconf version 2.61 or higher is required
configure.ac:22: the top level
autom4te-2.60: /usr/bin/m4 failed with exit status: 63
aclocal-1.10: autom4te failed with exit status: 63


Reproducible: Always

Steps to Reproduce:
1. emerge --sync
2. emerge -Nu coreutils

Actual Results:  
>>> Emerging (1 of 1) sys-apps/coreutils-6.9 to /
 * coreutils-6.9.tar.bz2 RMD160 ;-) ...                                                                                                                [ ok ]
 * coreutils-6.9.tar.bz2 SHA1 ;-) ...                                                                                                                  [ ok ]
 * coreutils-6.9.tar.bz2 SHA256 ;-) ...                                                                                                                [ ok ]
 * coreutils-6.9.tar.bz2 size ;-) ...                                                                                                                  [ ok ]
 * coreutils-6.9-patches-1.0.tar.bz2 RMD160 ;-) ...                                                                                                    [ ok ]
 * coreutils-6.9-patches-1.0.tar.bz2 SHA1 ;-) ...                                                                                                      [ ok ]
 * coreutils-6.9-patches-1.0.tar.bz2 SHA256 ;-) ...                                                                                                    [ ok ]
 * coreutils-6.9-patches-1.0.tar.bz2 size ;-) ...                                                                                                      [ ok ]
 * checking ebuild checksums ;-) ...                                                                                                                   [ ok ]
 * checking auxfile checksums ;-) ...                                                                                                                  [ ok ]
 * checking miscfile checksums ;-) ...                                                                                                                 [ ok ]
 * checking coreutils-6.9.tar.bz2 ;-) ...                                                                                                              [ ok ]
 * checking coreutils-6.9-patches-1.0.tar.bz2 ;-) ...                                                                                                  [ ok ]
>>> Unpacking source...
>>> Unpacking coreutils-6.9.tar.bz2 to /var/tmp/portage/sys-apps/coreutils-6.9/work
>>> Unpacking coreutils-6.9-patches-1.0.tar.bz2 to /var/tmp/portage/sys-apps/coreutils-6.9/work
 * Applying ACL patches ...
 *   004_all_coreutils-acl-xattr.patch ...                                                                                                             [ ok ]
 *   006_all_coreutils-acl-control.patch ...                                                                                                           [ ok ]
 * Done with patching
 * Applying various patches (bugfixes/updates) ...
 *   000_all_coreutils-i18n.patch ...                                                                                                                  [ ok ]
 *   003_all_coreutils-gentoo-uname.patch ...                                                                                                          [ ok ]
 *   009_all_coreutils-tests.patch ...                                                                                                                 [ ok ]
 *   030_all_coreutils-more-dir-colors.patch ...                                                                                                       [ ok ]
 *   150_all_coreutils-l10n-updates.patch ...                                                                                                          [ ok ]
 * Done with patching
 * Running eautoreconf in '/var/tmp/portage/sys-apps/coreutils-6.9/work/coreutils-6.9' ...
 * Running aclocal -I m4 ...                                                                                                                           [ !! ]

 * Failed Running aclocal !
 *
 * Include in your bugreport the contents of:
 *
 *   /var/tmp/portage/sys-apps/coreutils-6.9/temp/aclocal-5899.out


!!! ERROR: sys-apps/coreutils-6.9 failed.
Call stack:
  ebuild.sh, line 1614:   Called dyn_unpack
  ebuild.sh, line 751:   Called qa_call 'src_unpack'
  environment, line 3710:   Called src_unpack
  coreutils-6.9.ebuild, line 74:   Called eautoreconf
  autotools.eclass, line 93:   Called eaclocal
  autotools.eclass, line 130:   Called autotools_run_tool 'aclocal' '-I' 'm4'
  autotools.eclass, line 218:   Called die

!!! Failed Running aclocal !
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/log/portage/sys-apps:coreutils-6.9:20070325-065456.log'.


Just to show you what profile I'm using...

ls -lha /etc | grep make.profile
lrwxrwxrwx  1 root root   40 2006-11-30 10:34 make.profile -> ../usr/portage/profiles/hardened/x86/2.6

And here goes my /etc/make.conf

ACCEPT_KEYWORDS="~x86"
CHOST="i686-pc-linux-gnu"
LDFLAGS="-Wl,-O1"
CFLAGS="-O2 -pipe -march=k8 -mtune=k8 -momit-leaf-frame-pointer -fomit-frame-pointer -fforce-addr -ftracer"
CXXFLAGS="-O2 -pipe -march=k8 -mtune=k8 -momit-leaf-frame-pointer -fomit-frame-pointer -fforce-addr -ftracer -fvisibility-inlines-hidden"
GENTOO_MIRRORS="ftp://ftp.mesh-solutions.com/gentoo ftp://ftp6.uni-muenster.de/pub/linux/distributions/gentoo http://distfiles.gentoo.org"
USE="-* acl berkdb bzip2 caps cgi cli cracklib crypt dlloader erandom expat \
     fam fastcgi ftp gd geoip glibc-omitfp gmp gzip hardened hash iconv idn \
     imap ithreads jpeg libwww logrotate maildir md5sum memlimit mhash mime \
     mmap mysql mysqli ncurses nls no-old-linux nocd nptl nptlonly pam pcre \
     perl pic png posix pwdb python readline sasl sharedmem sockets sse2 ssl \
     symlink sysfs sysvipc tcl tcpd threads tiff truetype ucs2 udev unicode \
     urandom userlocales utf8 xml xml2 xmlrpc xsl zlib"
PORTAGE_TMPFS="/dev/shm"
PORT_LOGDIR="/var/log/portage"
PORTDIR_OVERLAY="/usr/local/portage"
PORTAGE_ELOG_CLASSES="warn error log"
PORTAGE_ELOG_SYSTEM="save"
FEATURES="parallel-fetch"
LINGUAS="en"
Comment 1 Jesco Freund 2007-03-25 07:14:37 UTC
Ooops, just forgot to mention what happens if I actually try to emerge autoconf-2.61:

emerge -pv =sys-devel/autoconf-2.61

These are the packages that would be merged, in order:

Calculating dependencies |
!!! All ebuilds that could satisfy "=sys-devel/autoconf-2.61" have been masked.
!!! One of the following masked packages is required to complete your request:
- sys-devel/autoconf-2.61 (masked by: package.mask)
# Christian Heim <phreak@gentoo.org> (28 January 2007)
# Mask sys-devel/autoconf-2.61 due to bug #161566


For more information, see MASKED PACKAGES section in the emerge man page or
refer to the Gentoo Handbook.
Comment 2 SpanKY gentoo-dev 2007-03-25 08:47:13 UTC
you're on a hardened system which means you're screwed for now

ive updated the DEPEND in coreutils-6.9 accordingly