Bug#480776: cacao_0.99~rc5-1(sparc/experimental): FTBFS: C compiler cannot create executables

Frank Lichtenheld djpig at debian.org
Mon May 12 00:09:10 UTC 2008


Package: cacao
Version: 0.99~rc5-1
Severity: serious

Hi,

your package failed to build from source.

The reason seems to be that configure tries to compile an executable
with -m64 which fails since gcc-multilib isn't installed. I have no
idea _why_ it tries that, though.

config.log is attached.

| Automatic build of cacao_0.99~rc5-1 on njoerd by sbuild/sparc 98-farm
| Build started at 20080512-0001
| ******************************************************************************
| Checking available source versions...
| Fetching source files...
| Reading package lists...
| Building dependency tree...
| Need to get 3599kB of source archives.
| Get:1 http://sinclair.farm.ftbfs.de experimental/main cacao 0.99~rc5-1 (dsc) [1338B]
| Get:2 http://sinclair.farm.ftbfs.de experimental/main cacao 0.99~rc5-1 (tar) [3588kB]
| Get:3 http://sinclair.farm.ftbfs.de experimental/main cacao 0.99~rc5-1 (diff) [9145B]
| Fetched 3599kB in 0s (3969kB/s)
| Download complete and in download only mode
| ** Using build dependencies supplied by package:
| Build-Depends: debhelper (>= 5), cdbs (>= 0.4.17), default-jdk-builddep, classpath (>= 2:0.96.1), classpath-common (>= 2:0.96.1), zlib1g-dev, libltdl3-dev, zip
| Checking for already installed source dependencies...
[...]
| cd . && CC="cc" CXX="g++" CFLAGS="-g -O2 -g -Wall -O2" CXXFLAGS="-g -O2 -g -Wall -O2" CPPFLAGS="" LDFLAGS="" JAVAC="/usr/lib/jvm/default-java/bin/javac" LDFLAGS=" -Wl,-z,defs" /build/buildd/cacao-0.99~rc5/./configure --build=sparc-linux-gnu --prefix=/usr --includedir="\${prefix}/include" --mandir="\${prefix}/share/man" --infodir="\${prefix}/share/info" --sysconfdir=/etc --localstatedir=/var --libexecdir="\${prefix}/lib/cacao" --disable-maintainer-mode --disable-dependency-tracking --srcdir=.  --with-classpath-prefix=/usr --with-classpath-includedir=/usr/include/classpath --disable-disassembler --libdir=/usr/lib/cacao --with-jni_h=/usr/include/classpath --with-jni_md_h=/usr/include/classpath 
| checking build system type... sparc-unknown-linux-gnu
| checking host system type... sparc-unknown-linux-gnu
| checking for a BSD-compatible install... /usr/bin/install -c
| checking whether build environment is sane... yes
| checking for gawk... no
| checking for mawk... mawk
| checking whether make sets $(MAKE)... yes
| checking whether to enable maintainer-specific portions of Makefiles... no
| checking for gcc... cc
| checking for C compiler default output file name... 
| configure: error: C compiler cannot create executables
| See `config.log' for more details.
| make: *** [config.status] Error 77
| dpkg-buildpackage: failure: debian/rules build gave error exit status 2
| ******************************************************************************
| Build finished at 20080512-0006
| FAILED [dpkg-buildpackage died]

Full build log(s): http://experimental.ftbfs.de/build.php?&ver=0.99~rc5-1&pkg=cacao&arch=sparc

Gruesse,
-- 
Frank Lichtenheld <djpig at debian.org>
www: http://www.djpig.de/
-------------- next part --------------
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

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

  $ /build/buildd/cacao-0.99~rc5/./configure --build=sparc-linux-gnu --prefix=/usr --includedir=${prefix}/include --mandir=${prefix}/share/man --infodir=${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --libexecdir=${prefix}/lib/cacao --disable-maintainer-mode --disable-dependency-tracking --srcdir=. --with-classpath-prefix=/usr --with-classpath-includedir=/usr/include/classpath --disable-disassembler --libdir=/usr/lib/cacao --with-jni_h=/usr/include/classpath --with-jni_md_h=/usr/include/classpath

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

hostname = njoerd
uname -m = sparc
uname -r = 2.6.18-6-sparc64-smp
uname -s = Linux
uname -v = #1 SMP Tue Feb 12 22:37:04 UTC 2008

/usr/bin/uname -p = unknown
/bin/uname -X     = unknown

/bin/arch              = unknown
/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: /usr/local/bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /sbin
PATH: /bin
PATH: /usr/X11R6/bin
PATH: /usr/games


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

configure:2167: checking build system type
configure:2185: result: sparc-unknown-linux-gnu
configure:2207: checking host system type
configure:2222: result: sparc-unknown-linux-gnu
configure:2259: checking for a BSD-compatible install
configure:2315: result: /usr/bin/install -c
configure:2326: checking whether build environment is sane
configure:2369: result: yes
configure:2434: checking for gawk
configure:2464: result: no
configure:2434: checking for mawk
configure:2450: found /usr/bin/mawk
configure:2461: result: mawk
configure:2472: checking whether make sets $(MAKE)
configure:2493: result: yes
configure:2677: checking whether to enable maintainer-specific portions of Makefiles
configure:2686: result: no
configure:2922: checking for gcc
configure:2949: result: cc
configure:3187: checking for C compiler version
configure:3194: cc --version >&5
cc (Debian 4.3.0-4) 4.3.1 20080501 (prerelease)
Copyright (C) 2008 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:3197: $? = 0
configure:3204: cc -v >&5
Using built-in specs.
Target: sparc-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Debian 4.3.0-4' --with-bugurl=file:///usr/share/doc/gcc-4.3/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --with-gxx-include-dir=/usr/include/c++/4.3 --program-suffix=-4.3 --enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc --enable-mpfr --with-cpu=v8 --with-long-double-128 --enable-checking=release --build=sparc-linux-gnu --host=sparc-linux-gnu --target=sparc-linux-gnu
Thread model: posix
gcc version 4.3.1 20080501 (prerelease) (Debian 4.3.0-4) 
configure:3207: $? = 0
configure:3214: cc -V >&5
cc: '-V' option must have argument
configure:3217: $? = 1
configure:3240: checking for C compiler default output file name
configure:3267: cc -mcpu=v9 -m64 -D__SPARC_64__ -D__LINUX__ -ansi -pedantic -Wall -Wno-long-long -D_POSIX_C_SOURCE=199506L -D_XOPEN_SOURCE=500 -D_XOPEN_SOURCE_EXTENDED -D_BSD_SOURCE -g -O2 -g -Wall -O2   -Wl,-z,defs conftest.c  >&5
/usr/bin/ld: skipping incompatible /usr/lib/gcc/sparc-linux-gnu/4.3.1/libgcc.a when searching for -lgcc
/usr/bin/ld: skipping incompatible /usr/lib/gcc/sparc-linux-gnu/4.3.1/libgcc.a when searching for -lgcc
/usr/bin/ld: cannot find -lgcc
collect2: ld returned 1 exit status
configure:3270: $? = 1
configure:3308: result: 
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME "cacao"
| #define PACKAGE_TARNAME "cacao"
| #define PACKAGE_VERSION "0.99rc5"
| #define PACKAGE_STRING "cacao 0.99rc5"
| #define PACKAGE_BUGREPORT "cacao at cacaojvm.org"
| #define PACKAGE "cacao"
| #define VERSION "0.99rc5"
| #define ARCH_DIR "sparc64"
| #define JAVA_ARCH "sparc"
| /* end confdefs.h.  */
| 
| int
| main ()
| {
| 
|   ;
|   return 0;
| }
configure:3315: error: C compiler cannot create executables
See `config.log' for more details.

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

ac_cv_build=sparc-unknown-linux-gnu
ac_cv_env_CCASFLAGS_set=
ac_cv_env_CCASFLAGS_value=
ac_cv_env_CCAS_set=
ac_cv_env_CCAS_value=
ac_cv_env_CCC_set=
ac_cv_env_CCC_value=
ac_cv_env_CC_set=set
ac_cv_env_CC_value=cc
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value='-g -O2 -g -Wall -O2'
ac_cv_env_CPPFLAGS_set=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='-g -O2 -g -Wall -O2'
ac_cv_env_CXX_set=set
ac_cv_env_CXX_value=g++
ac_cv_env_F77_set=
ac_cv_env_F77_value=
ac_cv_env_FFLAGS_set=set
ac_cv_env_FFLAGS_value='-g -O2'
ac_cv_env_LDFLAGS_set=set
ac_cv_env_LDFLAGS_value=' -Wl,-z,defs'
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_PYTHON_set=
ac_cv_env_PYTHON_value=
ac_cv_env_build_alias_set=set
ac_cv_env_build_alias_value=sparc-linux-gnu
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_host=sparc-unknown-linux-gnu
ac_cv_path_install='/usr/bin/install -c'
ac_cv_prog_AWK=mawk
ac_cv_prog_ac_ct_CC=cc
ac_cv_prog_make_make_set=yes

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

ACLOCAL='${SHELL} /build/buildd/cacao-0.99~rc5/missing --run aclocal-1.9'
AMDEPBACKSLASH=''
AMDEP_FALSE=''
AMDEP_TRUE=''
AMTAR='${SHELL} /build/buildd/cacao-0.99~rc5/missing --run tar'
AM_CFLAGS=''
AM_CPPFLAGS=''
AR=''
ARCH_DIR='sparc64'
AUTOCONF='${SHELL} /build/buildd/cacao-0.99~rc5/missing --run autoconf'
AUTOHEADER='${SHELL} /build/buildd/cacao-0.99~rc5/missing --run autoheader'
AUTOMAKE='${SHELL} /build/buildd/cacao-0.99~rc5/missing --run automake-1.9'
AWK='mawk'
BOOTCLASSPATH=''
CACAOH=''
CACAO_LIBDIR=''
CACAO_PREFIX=''
CACAO_VM_ZIP=''
CC='cc'
CCAS=''
CCASFLAGS=''
CCDEPMODE=''
CFLAGS='-mcpu=v9 -m64 -D__SPARC_64__ -D__LINUX__ -ansi -pedantic -Wall -Wno-long-long -D_POSIX_C_SOURCE=199506L -D_XOPEN_SOURCE=500 -D_XOPEN_SOURCE_EXTENDED -D_BSD_SOURCE -g -O2 -g -Wall -O2'
CLASSPATH_CLASSES=''
CLASSPATH_LIBDIR=''
CLASSPATH_PREFIX=''
CPP=''
CPPFLAGS=''
CXX='g++'
CXXCPP=''
CXXDEPMODE=''
CXXFLAGS='-g -O2 -g -Wall -O2'
CYGPATH_W='echo'
DEFS=''
DEPDIR=''
DISABLE_DUMP_FALSE=''
DISABLE_DUMP_TRUE=''
DISABLE_GC_FALSE=''
DISABLE_GC_TRUE=''
ECHO='echo'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
ENABLE_ANNOTATIONS_FALSE=''
ENABLE_ANNOTATIONS_TRUE=''
ENABLE_ASSERTION_FALSE=''
ENABLE_ASSERTION_TRUE=''
ENABLE_CYCLES_STATS_FALSE=''
ENABLE_CYCLES_STATS_TRUE=''
ENABLE_DISASSEMBLER_FALSE=''
ENABLE_DISASSEMBLER_TRUE=''
ENABLE_GC_BOEHM_FALSE=''
ENABLE_GC_BOEHM_TRUE=''
ENABLE_GC_CACAO_FALSE=''
ENABLE_GC_CACAO_TRUE=''
ENABLE_HANDLES_FALSE=''
ENABLE_HANDLES_TRUE=''
ENABLE_IFCONV_FALSE=''
ENABLE_IFCONV_TRUE=''
ENABLE_INLINING_DEBUG_FALSE=''
ENABLE_INLINING_DEBUG_TRUE=''
ENABLE_INLINING_FALSE=''
ENABLE_INLINING_TRUE=''
ENABLE_INTRP_FALSE=''
ENABLE_INTRP_TRUE=''
ENABLE_JAVAME_CLDC1_1_FALSE=''
ENABLE_JAVAME_CLDC1_1_TRUE=''
ENABLE_JAVASE_FALSE=''
ENABLE_JAVASE_TRUE=''
ENABLE_JIT_FALSE=''
ENABLE_JIT_TRUE=''
ENABLE_JNI_FALSE=''
ENABLE_JNI_TRUE=''
ENABLE_JVMTI_FALSE=''
ENABLE_JVMTI_TRUE=''
ENABLE_LIBJVM=''
ENABLE_LIBJVM_FALSE=''
ENABLE_LIBJVM_TRUE=''
ENABLE_LOOP_FALSE=''
ENABLE_LOOP_TRUE=''
ENABLE_LSRA_FALSE=''
ENABLE_LSRA_TRUE=''
ENABLE_LTDL_FALSE=''
ENABLE_LTDL_TRUE=''
ENABLE_MEMCHECK_FALSE=''
ENABLE_MEMCHECK_TRUE=''
ENABLE_PROFILING_FALSE=''
ENABLE_PROFILING_TRUE=''
ENABLE_PYTHON_FALSE=''
ENABLE_PYTHON_TRUE=''
ENABLE_REPLACEMENT_FALSE=''
ENABLE_REPLACEMENT_TRUE=''
ENABLE_RT_TIMING_FALSE=''
ENABLE_RT_TIMING_TRUE=''
ENABLE_SSA_FALSE=''
ENABLE_SSA_TRUE=''
ENABLE_STATICVM=''
ENABLE_STATICVM_FALSE=''
ENABLE_STATICVM_TRUE=''
ENABLE_STATISTICS_FALSE=''
ENABLE_STATISTICS_TRUE=''
ENABLE_THREADS_FALSE=''
ENABLE_THREADS_TRUE=''
ENABLE_VERIFIER_FALSE=''
ENABLE_VERIFIER_TRUE=''
ENABLE_VMLOGFILTER_FALSE=''
ENABLE_VMLOGFILTER_TRUE=''
ENABLE_VMLOG_FALSE=''
ENABLE_VMLOG_TRUE=''
ENABLE_ZLIB_FALSE=''
ENABLE_ZLIB_TRUE=''
EXEEXT=''
F77=''
FFLAGS='-g -O2'
GREP=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s'
INTRP_CFLAGS='-mcpu=v9 -m64 -D__SPARC_64__ -D__LINUX__ -Wall -Wno-long-long -D_POSIX_C_SOURCE=199506L -D_XOPEN_SOURCE=500 -D_XOPEN_SOURCE_EXTENDED -D_BSD_SOURCE'
JAR=''
JAVAC='/usr/lib/jvm/default-java/bin/javac'
LDFLAGS=' -Wl,-z,defs'
LIBOBJS=''
LIBS=''
LIBTOOL=''
LN_S=''
LTLIBOBJS=''
MAINT='#'
MAINTAINER_MODE_FALSE=''
MAINTAINER_MODE_TRUE='#'
MAKEINFO='${SHELL} /build/buildd/cacao-0.99~rc5/missing --run makeinfo'
NDEBUG_FALSE=''
NDEBUG_TRUE=''
OBJEXT=''
OS_DIR='linux'
PACKAGE='cacao'
PACKAGE_BUGREPORT='cacao at cacaojvm.org'
PACKAGE_NAME='cacao'
PACKAGE_STRING='cacao 0.99rc5'
PACKAGE_TARNAME='cacao'
PACKAGE_VERSION='0.99rc5'
PATH_SEPARATOR=':'
PYTHON=''
PYTHON_CSPEC=''
PYTHON_EXECPREFIX=''
PYTHON_LSPEC=''
PYTHON_PREFIX=''
RANLIB=''
SET_MAKE=''
SHELL='/bin/sh'
STRIP=''
USE_SCHEDULER=''
USE_SCHEDULER_FALSE=''
USE_SCHEDULER_TRUE=''
VERSION='0.99rc5'
WITH_BINUTILS_DISASSEMBLER_FALSE=''
WITH_BINUTILS_DISASSEMBLER_TRUE=''
WITH_CLASSPATH_CLDC1_1=''
WITH_CLASSPATH_CLDC1_1_FALSE=''
WITH_CLASSPATH_CLDC1_1_TRUE=''
WITH_CLASSPATH_GNU=''
WITH_CLASSPATH_GNU_FALSE=''
WITH_CLASSPATH_GNU_TRUE=''
WITH_CLASSPATH_SUN=''
WITH_CLASSPATH_SUN_FALSE=''
WITH_CLASSPATH_SUN_TRUE=''
ac_ct_CC='cc'
ac_ct_CXX=''
ac_ct_F77=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__fastdepCXX_FALSE=''
am__fastdepCXX_TRUE=''
am__include=''
am__leading_dot='.'
am__quote=''
am__tar='${AMTAR} chof - "$$tardir"'
am__untar='${AMTAR} xf -'
bindir='${exec_prefix}/bin'
build='sparc-unknown-linux-gnu'
build_alias='sparc-linux-gnu'
build_cpu='sparc'
build_os='linux-gnu'
build_vendor='unknown'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='NONE'
host='sparc-unknown-linux-gnu'
host_alias=''
host_cpu='sparc'
host_os='linux-gnu'
host_vendor='unknown'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${prefix}/share/info'
install_sh='/build/buildd/cacao-0.99~rc5/install-sh'
libdir='/usr/lib/cacao'
libexecdir='${prefix}/lib/cacao'
localedir='${datarootdir}/locale'
localstatedir='/var'
mandir='${prefix}/share/man'
mkdir_p='mkdir -p --'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/usr'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
subdirs=''
sysconfdir='/etc'
target_alias=''

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

#define PACKAGE_NAME "cacao"
#define PACKAGE_TARNAME "cacao"
#define PACKAGE_VERSION "0.99rc5"
#define PACKAGE_STRING "cacao 0.99rc5"
#define PACKAGE_BUGREPORT "cacao at cacaojvm.org"
#define PACKAGE "cacao"
#define VERSION "0.99rc5"
#define ARCH_DIR "sparc64"
#define JAVA_ARCH "sparc"

configure: exit 77


More information about the pkg-java-maintainers mailing list