Package: apt-build
Version: 0.12.9
Severity: important

I installed apt-build 0.12.9 and after that edited
/etc/apt/apt-build.conf to suit. I tried to "apt-build install aalib1-dev"
and it fails with a mysterious error.  When i restore the original
apt-build.conf it works. Here's my apt-build.conf:
-----
build-dir = /var/cache/apt-build/build
repository-dir = /var/cache/apt-build/repository
Olevel = -Os
mcpu = -mcpu=i686
options = " -march=i686 -msse -mmmx -mfpmath=sse,387 -fomit-frame-pointer"
make_options = " "
-----
Here's what's left in config.log if I catch it before it's deleted:
-----
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 --infodir=/usr/share/info --mandir=/usr/share/man 
--with-curses-driver

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

hostname = marvin
uname -m = i686
uname -r = 2.6.11-mm1.hippo
uname -s = Linux
uname -v = #1 Tue Jun 14 21:52:15 BST 2005

/usr/bin/uname -p = unknown
/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: /usr/lib/apt-build/
PATH: /sbin
PATH: /bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /usr/bin/X11
PATH: /usr/local/sbin
PATH: /usr/local/bin


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

configure:1540: checking build system type
configure:1558: result: i686-pc-linux-gnu
configure:1566: checking host system type
configure:1580: result: i686-pc-linux-gnu
configure:1588: checking target system type
configure:1602: result: i686-pc-linux-gnu
configure:1630: checking for a BSD-compatible install
configure:1685: result: /usr/bin/install -c
configure:1696: checking whether build environment is sane
configure:1739: result: yes
configure:1754: checking whether make sets $(MAKE)
configure:1774: result: yes
configure:1806: checking for working aclocal-1.4
configure:1813: result: found
configure:1821: checking for working autoconf
configure:1828: result: found
configure:1836: checking for working automake-1.4
configure:1843: result: found
configure:1851: checking for working autoheader
configure:1858: result: found
configure:1866: checking for working makeinfo
configure:1873: result: found
configure:1961: checking for gcc
configure:1977: found /usr/lib/apt-build//gcc
configure:1987: result: gcc
configure:2231: checking for C compiler version
configure:2234: gcc --version </dev/null >&5
gcc (GCC) 3.3.5 (Debian 1:3.3.5-13)
Copyright (C) 2003 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:2237: $? = 0
configure:2239: gcc -v </dev/null >&5
Reading specs from /usr/lib/gcc-lib/i486-linux/3.3.5/specs
Configured with: ../src/configure -v 
--enable-languages=c,c++,java,f77,pascal,objc,ada,treelang --prefix=/usr 
--mandir=/usr/share/man --infodir=/usr/share/info 
--with-gxx-include-dir=/usr/include/c++/3.3 --enable-shared 
--enable-__cxa_atexit --with-system-zlib --enable-nls 
--without-included-gettext --enable-clocale=gnu --enable-debug 
--enable-java-gc=boehm --enable-java-awt=xlib --enable-objc-gc i486-linux
Thread model: posix
gcc version 3.3.5 (Debian 1:3.3.5-13)
configure:2242: $? = 0
configure:2244: gcc -V </dev/null >&5
gcc: `-V' must come at the start of the command line
configure:2247: $? = 1
configure:2270: checking for C compiler default output file name
configure:2273: gcc    conftest.c  >&5
configure:2276: $? = 0
configure:2322: result: a.out
configure:2327: checking whether the C compiler works
configure:2333: ./a.out
configure:2336: $? = 0
configure:2353: result: yes
configure:2360: checking whether we are cross compiling
configure:2362: result: no
configure:2365: checking for suffix of executables
configure:2367: gcc -o conftest    conftest.c  >&5
configure:2370: $? = 0
configure:2395: result: 
configure:2401: checking for suffix of object files
configure:2422: gcc -c   conftest.c >&5
gcc: : No such file or directory
configure:2425: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "aalib"
| #define VERSION "1.4.0"
| /* end confdefs.h.  */
| 
| int
| main ()
| {
| 
|   ;
|   return 0;
| }
configure:2439: error: cannot compute suffix of object files: cannot compile
See `config.log' for more details.
-----
I think a clue is in the "gcc: : No such file" line. I think it's got a
zero length arg that it thinks is a file.



-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.6.11-mm1.hippo
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)

Versions of packages apt-build depends on:
ii  apt                           0.5.28.6   Advanced front-end for dpkg
ii  apt-utils                     0.5.28.6   APT utility programs
ii  debconf                       1.4.30.13  Debian configuration management sy
ii  devscripts                    2.8.14     Scripts to make the life of a Debi
ii  dpkg-dev                      1.10.28    Package building tools for Debian
ii  g++                           4:3.3.5-3  The GNU C++ compiler
ii  gcc                           4:3.3.5-3  The GNU C compiler
ii  libappconfig-perl             1.56-2     Perl module for configuration file
ii  libapt-pkg-perl               0.1.13     Perl interface to libapt-pkg
ii  perl                          5.8.4-8    Larry Wall's Practical Extraction 

-- debconf information:
  apt-build/arch_alpha: ev4
  apt-build/arch_arm: armv2
* apt-build/olevel: Strong
* apt-build/build_dir: /var/cache/apt-build/build
  apt-build/arch_sparc: sparc
  apt-build/arch_amd: k6
* apt-build/options: -msse -mmmx
* apt-build/arch_intel: pentium4
* apt-build/make_options:
* apt-build/repository_dir: /var/cache/apt-build/repository
* apt-build/add_to_sourceslist: false


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

Reply via email to