Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 85141 - Trying to compile apr-0.9.6-r1 and fails
Summary: Trying to compile apr-0.9.6-r1 and fails
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Apache Team - Bugzilla Reports
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-13 15:10 UTC by Timothy Hoffmeyer
Modified: 2005-03-13 23:03 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 Timothy Hoffmeyer 2005-03-13 15:10:39 UTC
When I try to compile apr-0.9.6-r1 as a dep for apache2 it fails with some build/config.sub error. Please help.

Reproducible: Always
Steps to Reproduce:
1. emerge apr
2. errors
3.

Actual Results:  
Calculating world dependencies ...done!
>>> emerge (1 of 5) dev-libs/apr-0.9.6-r1 to /
>>> md5 src_uri ;-) apr-0.9.6.tar.gz
>>> Unpacking source...
>>> Unpacking apr-0.9.6.tar.gz to /var/tmp/portage/apr-0.9.6-r1/work
>>> Source unpacked.
 * econf: updating apr-0.9.6/build/config.guess with
/usr/share/gnuconfig/config.guess
 * econf: updating apr-0.9.6/build/config.sub with /usr/share/gnuconfig/config.sub
./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man
--infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc
--localstatedir=/var/lib --datadir=/usr/share/apr-0 --enable-ipv6
--enable-threads --enable-nonportable-atomics
configure: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used.
checking build system type... Invalid configuration `i686-pc-linux-oldld':
machine `i686-pc-linux' not recognized
configure: error: /bin/sh build/config.sub i686-pc-linux-oldld failed

!!! Please attach the config.log to your bug report:
!!! /var/tmp/portage/apr-0.9.6-r1/work/apr-0.9.6/config.log

!!! ERROR: dev-libs/apr-0.9.6-r1 failed.
!!! Function econf, Line 485, Exitcode 0
!!! econf failed
!!! If you need support, post the topmost build error, NOT this status message.


Expected Results:  
Installed.

Gentoo Base System version 1.6.10
Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.4.3-20050110,
glibc-2.3.4.20050125-r0, 2.6.10-gentoo-r7 i686)
=================================================================
System uname: 2.6.10-gentoo-r7 i686 AMD Athlon(tm) XP 2500+
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Feb 24 2005, 20:29:28)]
dev-lang/python:     2.3.5
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r6
sys-devel/libtool:   1.5.14
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig buildpkg ccache distcc distlocks sandbox sfperms
userpriv usersandbox"
GENTOO_MIRRORS="http://gentoo.chem.wisc.edu/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowex X aac adns aim alsa apache2 apm arts audiofile avi
bash-completion berkdb bitmap-fonts bzip2 bzlib ccache cddb cdr chroot crypt
cups curl dba dbase dbmaker directfb distcache dvb dvd dvdr emboss encode
escreen esd fam fbcon festival filepro flac font-server foomaticdb fortran ftp
gd gdbm gif gimpprint gmail gnome gpm gstreamer gtk gtk2 gtkhtml hardenedphp
iconv icq imagemagick imap imlib ipv6 jabber java jpeg kde libcaca libg++ libwww
lm_sensors mad memlimit mhash mikmod ming mmx mmx2 mng motif mozilla mp3 mpeg
mysql ncurses nls nptl nptlonly nvidia odbc offensive oggvorbis opengl oss pam
pdflib perl php png postgres python qt quicktime readline samba sdl snmp socks5
spell sqlite ssl svga tcltk tcpd tetex tidy tiff truetype truetype-fonts
type1-fonts userlocales xine xml2 xmms xscreensaver xslt xv zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS
Comment 1 Elfyn McBratney (beu) (RETIRED) gentoo-dev 2005-03-13 16:17:02 UTC
Hrmm, never seen that before.. :|  Please attach your config.log (from /var/tmp/portage/apr-0.9.6-r1/work/apr-0.9.6/).  Thanks.
Comment 2 Timothy Hoffmeyer 2005-03-13 19:38:40 UTC
box ~ # cat /var/tmp/portage/apr-0.9.6/work/apr-0.9.6/config.log
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.59.  Invocation command line was

  $ ./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --datadir=/usr/share/apr-0 --enable-ipv6 --enable-threads --enable-nonportable-atomics

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

hostname = box
uname -m = i686
uname -r = 2.6.10-gentoo-r7
uname -s = Linux
uname -v = #1 Fri Feb 25 13:59:40 UTC 2005

/usr/bin/uname -p = AMD Athlon(tm) XP 2500+
/bin/uname -X     = unknown

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

PATH: /sbin
PATH: /usr/sbin
PATH: /usr/lib/portage/bin
PATH: /bin
PATH: /usr/bin
PATH: /opt/bin
PATH: /usr/i686-pc-linux-gnu/gcc-bin/3.4.3-20050110
PATH: /usr/i386-pc-linux-gnu/gcc-bin/3.3
PATH: /opt/blackdown-jdk-1.4.2.01/bin
PATH: /opt/blackdown-jdk-1.4.2.01/jre/bin
PATH: /usr/qt/3/bin
PATH: /usr/kde/3.3/sbin
PATH: /usr/kde/3.3/bin
PATH: /opt/vmware/bin


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

configure:2211: checking build system type
configure:2224: error: /bin/sh build/config.sub i686-pc-linux-oldld failed

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

ac_cv_build=
ac_cv_build_alias=i686-pc-linux-oldld
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value='-march=athlon-xp -O2 -pipe -fomit-frame-pointer -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE'
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='-march=athlon-xp -O2 -pipe -fomit-frame-pointer -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE'
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_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=set
ac_cv_env_host_alias_value=i686-pc-linux-gnu
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=

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

APR_CONFIG_LOCATION=''
APR_DOTTED_VERSION=''
APR_LIBNAME=''
APR_MAJOR_VERSION=''
AR=''
AS=''
ASCPP=''
AWK=''
CC=''
CFLAGS='-march=athlon-xp -O2 -pipe -fomit-frame-pointer -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE'
CPP=''
CPPFLAGS=''
CXX=''
CXXCPP=''
CXXFLAGS='-march=athlon-xp -O2 -pipe -fomit-frame-pointer -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE'
DEFAULT_OSDIR=''
DEFS=''
ECHO='echo'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
EXTRA_CFLAGS=''
EXTRA_CPPFLAGS=''
EXTRA_INCLUDES=''
EXTRA_LDFLAGS=''
EXTRA_LIBS=''
F77=''
FFLAGS=''
INCLUDE_RULES=''
INSTALL_DATA=''
INSTALL_PROGRAM=''
INSTALL_SCRIPT=''
INSTALL_SUBDIRS=''
LDFLAGS=''
LDLIBS=''
LIBOBJS=''
LIBS=''
LIBTOOL=''
LIBTOOL_LIBS=''
LN_S=''
LTFLAGS=''
LTLIBOBJS=''
LT_LDFLAGS=''
MKDEP=''
NOTEST_CFLAGS=''
NOTEST_CPPFLAGS=''
NOTEST_INCLUDES=''
NOTEST_LDFLAGS=''
NOTEST_LIBS=''
OBJEXT=''
OSDIR=''
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
RANLIB=''
RM=''
SET_MAKE=''
SHELL='/bin/sh'
STRIP=''
SUBDIRS=''
ac_ct_AR=''
ac_ct_CC=''
ac_ct_CXX=''
ac_ct_F77=''
ac_ct_RANLIB=''
ac_ct_STRIP=''
acceptfilter=''
apr_builddir=''
apr_builders=''
apr_charset_ebcdic=''
apr_force_atomic_generic=''
apr_inaddr_none=''
apr_srcdir=''
apr_tcp_nopush_flag=''
aprdso=''
arpa_ineth=''
bindir='${exec_prefix}/bin'
build=''
build_alias=''
build_cpu=''
build_os=''
build_vendor=''
conioh=''
crypth=''
ctypeh=''
datadir='/usr/share/apr-0'
direnth=''
eolstr=''
errnoh=''
exec_prefix='NONE'
export_lib_target=''
fcntlh=''
fcntlser=''
file_as_socket=''
flockser=''
fork=''
hasfcntlser=''
hasflockser=''
hasposixser=''
hasprocpthreadser=''
hasrwlockser=''
hassysvser=''
have_corkable_tcp=''
have_getrlimit=''
have_in_addr=''
have_inet_addr=''
have_inet_network=''
have_int64_strfn=''
have_ipv6=''
have_memchr=''
have_memmove=''
have_sctp=''
have_setrlimit=''
have_sigaction=''
have_sigsuspend=''
have_sigwait=''
have_strcasecmp=''
have_strdup=''
have_stricmp=''
have_strncasecmp=''
have_strnicmp=''
have_strstr=''
have_union_semun=''
havebeosarea=''
havemmapanon=''
havemmapshm=''
havemmaptmp=''
havemmapzero=''
haveos2shm=''
haveshmget=''
haveshmgetanon=''
host='i686-pc-linux-gnu'
host_alias='i686-pc-linux-gnu'
host_cpu=''
host_os=''
host_vendor=''
includedir='${prefix}/include'
infodir='/usr/share/info'
installbuilddir=''
int64_literal=''
int64_strfn=''
int64_t_fmt=''
int64_t_fmt_len=''
int64_value=''
int_value=''
ioh=''
lib_target=''
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
limitsh=''
link=''
localstatedir='/var/lib'
long_value=''
lt_compile=''
mandir='/usr/share/man'
mmap=''
netdbh=''
netinet_inh=''
netinet_sctp_uioh=''
netinet_sctph=''
netinet_tcph=''
o_nonblock_inherited=''
oc=''
off_t_fmt=''
off_t_value=''
oldincludedir='/usr/include'
pid_t_fmt=''
posixser=''
prefix='/usr'
proc_mutex_is_global=''
proclockglobal=''
procpthreadser=''
program_transform_name='s,x,x,'
pthreadh=''
pthreadser=''
rand=''
sbindir='${exec_prefix}/sbin'
semaphoreh=''
sendfile=''
sharedmem=''
sharedstatedir='${prefix}/com'
shlibpath_var=''
short_value=''
signalh=''
size_t_fmt=''
size_t_value=''
so_ext=''
socklen_t_value=''
ssize_t_fmt=''
ssize_t_value=''
stdargh=''
stdint=''
stdioh=''
stdlibh=''
stringh=''
stringsh=''
struct_rlimit=''
sys_ioctlh=''
sys_sendfileh=''
sys_signalh=''
sys_socketh=''
sys_sockioh=''
sys_syslimitsh=''
sys_timeh=''
sys_typesh=''
sys_uioh=''
sys_unh=''
sys_waith=''
sysconfdir='/etc'
sysvser=''
target=''
target_alias=''
target_cpu=''
target_os=''
target_vendor=''
tcp_nodelay_inherited=''
threads=''
timeh=''
top_builddir=''
uint64_t_fmt=''
uint64_t_fmt_len=''
uint64_t_hex_fmt=''
unistdh=''
usebeosarea=''
usemmapanon=''
usemmapshm=''
usemmaptmp=''
usemmapzero=''
useos2shm=''
useshmget=''
useshmgetanon=''
voidp_size=''

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

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

configure: exit 1
Comment 3 Timothy Hoffmeyer 2005-03-13 23:03:02 UTC
Fixed. Strip was missing from binutils.