Package: apt-build
Version: 0.12.10
Severity: grave
Justification: renders package unusable


When trying to "apt-build install some_package", apt-build invariably
fails with "configure: error: C compiler cannot create executables".
When running the same sources through dpkg-buildpackage, they work fine. 
The resulting config.log complains about a bad usage of gcc -V without
target release, then that ld is not present (but it is, binutils is
up-to-date).

The config.log for test package airsnort is as follows:
[...]
configure:2121: gcc -V </dev/null >&5
gcc: couldn't run `i486-linux-gcc--O2': No such file or directory
configure:2124: $? = 1
configure:2147: checking for C compiler default output file name
configure:2150: gcc -O2 -Wall   conftest.c  >&5
collect2: cannot find `ld'
configure:2153: $? = 1
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "airsnort"
| #define VERSION "0.2.7e"
| /* end confdefs.h.  */
|
| int
| main ()
| {
|
|   ;
|   return 0;
| }
configure:2192: error: C compiler cannot create executables
See `config.log' for more details.

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

ac_cv_env_CC_set=set
ac_cv_env_CC_value=gcc
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value='-O2 -Wall'
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_build_alias_set=set
ac_cv_env_build_alias_value=i486-linux-gnu
ac_cv_env_host_alias_set=set
ac_cv_env_host_alias_value=i486-linux-gnu
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_path_install='/usr/bin/install -c'
ac_cv_prog_AWK=gawk
ac_cv_prog_CC=gcc
ac_cv_prog_make_make_set=yes

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

ACLOCAL='${SHELL} /var/cache/apt-build/build/airsnort-0.2.7e/missing
--run aclocal-1.9'
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='${SHELL} /var/cache/apt-build/build/airsnort-0.2.7e/missing --run
tar'
AUTOCONF='${SHELL} /var/cache/apt-build/build/airsnort-0.2.7e/missing
--run autoconf'
AUTOHEADER='${SHELL} /var/cache/apt-build/build/airsnort-0.2.7e/missing
--run autoheader'
AUTOMAKE='${SHELL} /var/cache/apt-build/build/airsnort-0.2.7e/missing
--run automake-1.9'
AWK='gawk'
CC='gcc'
CCDEPMODE=''
CFLAGS='-O2 -Wall'
CPP=''
CPPFLAGS=''
CYGPATH_W='echo'
DEFS=''
DEPDIR='.deps'
ECHO_C=''
ECHO_N='-n'
ld_alias='i486-linux-gnu'
datadir='${prefix}/share'
exec_prefix='NONE'
host_alias='i486-linux-gnu'
includedir='${prefix}/include'
infodir='${prefix}/share/info'
install_sh='/var/cache/apt-build/build/airsnort-0.2.7e/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localstatedir='${prefix}/var'
mandir='${prefix}/share/man'
mkdir_p='mkdir -p --'
oldincludedir='/usr/include'
prefix='/usr'
program_transform_name='s,x,x,'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''

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

#define PACKAGE "airsnort"
#define PACKAGE_BUGREPORT ""
#define PACKAGE_NAME ""
#define PACKAGE_STRING ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define VERSION "0.2.7e"

configure: exit 77
EGREP=''
ECHO_T=''
EGREP=''
EXEEXT=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='install -s'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s'
LDFLAGS=''
LIBOBJS=''
LIBS=''
LTLIBOBJS=''
MAINT='#'
MAINTAINER_MODE_FALSE=''
MAINTAINER_MODE_TRUE='#'
MAKEINFO='${SHELL} /var/cache/apt-build/build/airsnort-0.2.7e/missing
--run makeinfo'
OBJEXT=''
PACKAGE='airsnort'
PACKAGE_BUGREPORT=''
PACKAGE_CFLAGS=''
PACKAGE_LIBS=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
PKG_CONFIG=''
SET_MAKE=''
SHELL='/bin/sh'
STRIP=''
VERSION='0.2.7e'
ac_ct_CC=''
ac_ct_STRIP=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__include='include'
am__leading_dot='.'
am__quote=''
am__tar='${AMTAR} chof - "$$tardir"'
am__untar='${AMTAR} xf -'
bindir='${exec_prefix}/bin'

cheers
Giacomo

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (800, 'unstable'), (700, 'testing'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.11-kanotix-7
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to