Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 215153 - sys-apps/attr-2.4.39 configure fails - cannot run /bin/sh ./config.sub
Summary: sys-apps/attr-2.4.39 configure fails - cannot run /bin/sh ./config.sub
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-28 07:48 UTC by Bartłomiej Syryjczyk
Modified: 2008-04-08 06:05 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,3.07 KB, text/plain)
2008-03-31 08:43 UTC, Bartłomiej Syryjczyk
Details
aclocal-5206.out (aclocal-5206.out,21 bytes, text/plain)
2008-03-31 08:44 UTC, Bartłomiej Syryjczyk
Details
autoconf-5206.out (autoconf-5206.out,22 bytes, text/plain)
2008-03-31 08:44 UTC, Bartłomiej Syryjczyk
Details
autoheader-5206.out (autoheader-5206.out,24 bytes, text/plain)
2008-03-31 08:44 UTC, Bartłomiej Syryjczyk
Details
build.log (build.log,3.07 KB, text/plain)
2008-03-31 08:45 UTC, Bartłomiej Syryjczyk
Details
eclass-debug.log (eclass-debug.log,746 bytes, text/plain)
2008-03-31 08:45 UTC, Bartłomiej Syryjczyk
Details
elibtool.log (elibtool.log,221 bytes, text/plain)
2008-03-31 08:45 UTC, Bartłomiej Syryjczyk
Details
environment (environment,97.00 KB, text/plain)
2008-03-31 08:45 UTC, Bartłomiej Syryjczyk
Details
libtoolize-5206.out (libtoolize-5206.out,77 bytes, text/plain)
2008-03-31 08:46 UTC, Bartłomiej Syryjczyk
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bartłomiej Syryjczyk 2008-03-28 07:48:34 UTC
Can't upgrade sys-apps/attr

Reproducible: Always

Steps to Reproduce:
1. emerge -u sys-apps/attr
Actual Results:  
[...]
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/sys-apps/attr-2.4.39/work/attr-2.4.39 ...
 * econf: updating attr-2.4.39/config.guess with /usr/share/gnuconfig/config.guess
./configure --prefix=/usr --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --enable-gettext --libexecdir=/usr/lib64 --bindir=/bin --libdir=/usr/lib64 --build=x86_64-pc-linux-gnu
checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes
checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed
configure: error: cannot run /bin/sh ./config.sub

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/sys-apps/attr-2.4.39/work/attr-2.4.39/config.log
 * 
 * ERROR: sys-apps/attr-2.4.39 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2540:  Called econf 'src_compile' 'src_compile' '--enable-gettext'
 *               ebuild.sh, line  513:  Called die
 * The specific snippet of code:
 *                      die "econf failed"
 *  The die message:
 *   econf failed
 * 
 * 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/sys-apps/attr-2.4.39/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-apps/attr-2.4.39/temp/environment'.
 * 


Portage 2.1.4.4 (default-linux/amd64/2007.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.23-hardened-r9 x86_64)
=================================================================
System uname: 2.6.23-hardened-r9 x86_64 Intel(R) Xeon(TM) CPU 2.80GHz
Timestamp of tree: Fri, 28 Mar 2008 06:01:01 +0000
app-shells/bash:     3.2_p17-r1
dev-lang/python:     2.4.4-r9
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.61-r1
sys-devel/automake:  1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.24
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=nocona"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe -march=nocona"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LINGUAS="en en_GB pl"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="acl amd64 bash_completion berkdb cli cracklib crypt cups dri fortran gdbm gpm iconv isdnlog midi mmx mudflap ncurses nls nptl nptlonly openmp pam pcre perl pppd python readline reflection session spl sse sse2 ssl sysfs syslog tcpd unicode xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_GB pl" USERLAND="GNU" VIDEO_CARDS="apm ark chips cirrus cyrix dummy fbdev glint i128 i810 mach64 mga neomagic nv r128 radeon rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2008-03-28 09:05:33 UTC
(In reply to comment #0)

> !!! Please attach the following file when seeking support:
> !!! /var/tmp/portage/sys-apps/attr-2.4.39/work/attr-2.4.39/config.log
Comment 2 Bartłomiej Syryjczyk 2008-03-28 09:20:48 UTC
See URL (http://duzy.zst.edu.pl/~guzik/attr-config.log)
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2008-03-28 09:22:29 UTC
(In reply to comment #2)
> See URL (http://duzy.zst.edu.pl/~guzik/attr-config.log)

No, thanks. Don't ever refer to temporary third-party URLs on bugs, it makes bugs useless in days. 

Comment 4 Bartłomiej Syryjczyk 2008-03-28 10:02:13 UTC
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by configure, which was
generated by GNU Autoconf 2.61.  Invocation command line was

  $ ./configure --prefix=/usr --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --enable-gettext --libexecdir=/usr/lib64 --bindir=/bin --libdir=/usr/lib64 --build=x86_64-pc-linux-gnu

## --------- ##
## Platform. ##
## --------- ##

hostname = cemetery
uname -m = x86_64
uname -r = 2.6.23-hardened-r9
uname -s = Linux
uname -v = #2 SMP Thu Mar 27 22:37:14 CET 2008

/usr/bin/uname -p = Intel(R) Xeon(TM) CPU 2.80GHz
/bin/uname -X     = unknown

/bin/arch              = x86_64
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo      = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /usr/local/sbin
PATH: /sbin
PATH: /usr/sbin
PATH: /usr/lib64/portage/bin
PATH: /usr/local/bin
PATH: /bin
PATH: /usr/bin
PATH: /opt/bin
PATH: /usr/x86_64-pc-linux-gnu/gcc-bin/4.1.2


## ----------- ##
## Core tests. ##
## ----------- ##

configure:1970: checking for x86_64-pc-linux-gnu-gcc
configure:1986: found /usr/bin/x86_64-pc-linux-gnu-gcc
configure:1997: result: x86_64-pc-linux-gnu-gcc
configure:2275: checking for C compiler version
configure:2282: x86_64-pc-linux-gnu-gcc --version >&5
x86_64-pc-linux-gnu-gcc (GCC) 4.1.2 (Gentoo 4.1.2 p1.1)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:2285: $? = 0
configure:2292: x86_64-pc-linux-gnu-gcc -v >&5
Using built-in specs.
Target: x86_64-pc-linux-gnu
Configured with: /var/tmp/portage/sys-devel/gcc-4.1.2/work/gcc-4.1.2/configure --prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/4.1.2 --includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/include --datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.1.2 --mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.1.2/man --infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.1.2/info --with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/include/g++-v4 --host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --disable-altivec --enable-nls --without-included-gettext --with-system-zlib --disable-checking --disable-werror --enable-secureplt --disable-libunwind-exceptions --enable-multilib --enable-libmudflap --disable-libssp --disable-libgcj --enable-languages=c,c++,treelang,fortran --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --with-bugurl=http://bugs.gentoo.org/ --with-pkgversion=Gentoo 4.1.2 p1.1
Thread model: posix
gcc version 4.1.2 (Gentoo 4.1.2 p1.1)
configure:2295: $? = 0
configure:2302: x86_64-pc-linux-gnu-gcc -V >&5
x86_64-pc-linux-gnu-gcc: '-V' option must have argument
configure:2305: $? = 1
configure:2328: checking for C compiler default output file name
configure:2355: x86_64-pc-linux-gnu-gcc -O2 -pipe -march=nocona   conftest.c  >&5
configure:2358: $? = 0
configure:2396: result: a.out
configure:2413: checking whether the C compiler works
configure:2423: ./a.out
configure:2426: $? = 0
configure:2443: result: yes
configure:2450: checking whether we are cross compiling
configure:2452: result: no
configure:2455: checking for suffix of executables
configure:2462: x86_64-pc-linux-gnu-gcc -o conftest -O2 -pipe -march=nocona   conftest.c  >&5
configure:2465: $? = 0
configure:2489: result: 
configure:2495: checking for suffix of object files
configure:2521: x86_64-pc-linux-gnu-gcc -c -O2 -pipe -march=nocona  conftest.c >&5
configure:2524: $? = 0
configure:2547: result: o
configure:2551: checking whether we are using the GNU C compiler
configure:2580: x86_64-pc-linux-gnu-gcc -c -O2 -pipe -march=nocona  conftest.c >&5
configure:2586: $? = 0
configure:2603: result: yes
configure:2608: checking whether x86_64-pc-linux-gnu-gcc accepts -g
configure:2638: x86_64-pc-linux-gnu-gcc -c -g  conftest.c >&5
configure:2644: $? = 0
configure:2743: result: yes
configure:2760: checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89
configure:2834: x86_64-pc-linux-gnu-gcc  -c -O2 -pipe -march=nocona  conftest.c >&5
configure:2840: $? = 0
configure:2863: result: none needed
configure:3020: error: cannot run /bin/sh ./config.sub

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_c_compiler_gnu=yes
ac_cv_env_CCC_set=
ac_cv_env_CCC_value=
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value='-O2 -pipe -march=nocona'
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_CXXCPP_set=
ac_cv_env_CXXCPP_value=
ac_cv_env_CXXFLAGS_set=set
ac_cv_env_CXXFLAGS_value='-O2 -pipe -march=nocona'
ac_cv_env_CXX_set=
ac_cv_env_CXX_value=
ac_cv_env_F77_set=
ac_cv_env_F77_value=
ac_cv_env_FFLAGS_set=
ac_cv_env_FFLAGS_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_build_alias_set=set
ac_cv_env_build_alias_value=x86_64-pc-linux-gnu
ac_cv_env_host_alias_set=set
ac_cv_env_host_alias_value=x86_64-pc-linux-gnu
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_objext=o
ac_cv_prog_CC=x86_64-pc-linux-gnu-gcc
ac_cv_prog_cc_c89=
ac_cv_prog_cc_g=yes

## ----------------- ##
## Output variables. ##
## ----------------- ##

ALLOCA=''
AR=''
AWK=''
CC='x86_64-pc-linux-gnu-gcc'
CFLAGS='-O2 -pipe -march=nocona'
CPP=''
CPPFLAGS=''
CXX=''
CXXCPP=''
CXXFLAGS='-O2 -pipe -march=nocona'
DEFS=''
DSYMUTIL=''
ECHO='echo'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
F77=''
FFLAGS=''
GREP=''
LDFLAGS=''
LIBOBJS=''
LIBS=''
LIBTOOL=''
LN_S=''
LTLIBOBJS=''
MAKE=''
MAKEDEPEND=''
MSGFMT=''
MSGMERGE=''
NMEDIT=''
OBJEXT='o'
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
RANLIB=''
RPM=''
RPMBUILD=''
SED=''
SHELL='/bin/sh'
SORT=''
STRIP=''
TAR=''
XGETTEXT=''
ZIP=''
ac_ct_CC=''
ac_ct_CXX=''
ac_ct_F77=''
awk=''
bindir='/bin'
build='x86_64-pc-linux-gnu'
build_alias='x86_64-pc-linux-gnu'
build_cpu=''
build_os=''
build_vendor=''
cc=''
datadir='/usr/share'
datarootdir='${prefix}/share'
debug_build='-DNDEBUG'
docdir='${datarootdir}/doc/${PACKAGE}'
dvidir='${docdir}'
echo='echo'
enable_gettext='yes'
enable_lib64='no'
enable_shared='yes'
exec_prefix='NONE'
have_zipped_manpages=''
host='x86_64-pc-linux-gnu'
host_alias='x86_64-pc-linux-gnu'
host_cpu=''
host_os=''
host_vendor=''
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='/usr/share/info'
libdir='/usr/lib64'
libdirsuffix=''
libexecdir='/usr/lib64'
localedir='${datarootdir}/locale'
localstatedir='/var/lib'
make=''
makedepend=''
malloc_lib=''
mandir='/usr/share/man'
msgfmt=''
msgmerge=''
oldincludedir='/usr/include'
opt_build='-O2 -pipe -march=nocona'
pdfdir='${docdir}'
pkg_distribution='Linux'
pkg_group='root'
pkg_name='attr'
pkg_platform='linux'
pkg_release='0'
pkg_user='root'
pkg_version='2.4.39'
prefix='/usr'
program_transform_name='s,x,x,'
psdir='${docdir}'
rpm=''
rpm_version=''
rpmbuild=''
sbindir='${exec_prefix}/sbin'
sed=''
sharedstatedir='${prefix}/com'
sort=''
sysconfdir='/etc'
tar=''
target_alias=''
xgettext=''
zip=''

## ----------- ##
## confdefs.h. ##
## ----------- ##

#define PACKAGE_NAME ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define PACKAGE_STRING ""
#define PACKAGE_BUGREPORT ""

configure: exit 1
Comment 5 SpanKY gentoo-dev 2008-03-28 14:53:20 UTC
there was no line:
 * econf: updating attr-2.4.39/config.sub with /usr/share/gnuconfig/config.sub
that implies your autotools did not run correctly and/or are broken

post the full build output from doing `emerge attr` *as an attachment* ... do not post things inline like the config.log

also post all the files /var/tmp/portage/sys-apps/attr-2.4.39/temp/*.out as attachments
Comment 6 Bartłomiej Syryjczyk 2008-03-31 08:43:15 UTC
Created attachment 147776 [details]
build.log
Comment 7 Bartłomiej Syryjczyk 2008-03-31 08:44:24 UTC
Created attachment 147777 [details]
aclocal-5206.out
Comment 8 Bartłomiej Syryjczyk 2008-03-31 08:44:41 UTC
Created attachment 147779 [details]
autoconf-5206.out
Comment 9 Bartłomiej Syryjczyk 2008-03-31 08:44:55 UTC
Created attachment 147780 [details]
autoheader-5206.out
Comment 10 Bartłomiej Syryjczyk 2008-03-31 08:45:17 UTC
Created attachment 147781 [details]
build.log
Comment 11 Bartłomiej Syryjczyk 2008-03-31 08:45:30 UTC
Created attachment 147782 [details]
eclass-debug.log
Comment 12 Bartłomiej Syryjczyk 2008-03-31 08:45:45 UTC
Created attachment 147784 [details]
elibtool.log
Comment 13 Bartłomiej Syryjczyk 2008-03-31 08:45:56 UTC
Created attachment 147786 [details]
environment
Comment 14 Bartłomiej Syryjczyk 2008-03-31 08:46:07 UTC
Created attachment 147787 [details]
libtoolize-5206.out
Comment 15 Bartłomiej Syryjczyk 2008-03-31 08:47:17 UTC
Files from /var/tmp/portage/sys-apps/attr-2.4.39/temp/ as attachment.
Comment 16 SpanKY gentoo-dev 2008-04-07 05:40:15 UTC
the libtoolize step isnt completing properly

go into the source directory and run `libtoolize --copy --force` by hand and see if you end up with config.sub in the directory
Comment 17 Bartłomiej Syryjczyk 2008-04-08 06:05:27 UTC
After re-emerge sys-devel/gnuconfig everything works fine.
There was no config.sub (template) in /usr/share/gnuconfig/