On Thu, 2005-09-08 at 09:45 +0200, Thomas Petazzoni wrote:

> As I've already said numerous times on this list, have you tried
> apt-build, which « just does it all from source automatically » ?

I have in fact engaged in considerable discourse on this
subject on the debian-mentors list .. the fact is there
is no tool which can do this properly. As an example:

dpkg-checkbuilddeps: Unmet build dependencies: librpc-ocaml-dev
libgz-ocaml-dev dpatch (>= 1.19) cduce (>= 0.3) chrpath
dpkg-buildpackage: Build dependencies/conflicts unsatisfied; aborting.
dpkg-buildpackage: (Use -d flag to override.)
----> Cleaning up object files <-----
debian/rules:12: /usr/share/dpatch/dpatch.make: No such file or
directory
make: *** No rule to make target `/usr/share/dpatch/dpatch.make'.  Stop.
Error while building demexp-client-gtk2 !

What kind of stupid package manager cannot download and build
the dependencies?  GODI does this just fine!

Anyhow, as before, camlgz-0.5.6 does not build on amd64:

gcc.real: ": No such file or directory
gcc.real: ": No such file or directory
`-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
ac_ocaml_tmp.c:1: error: bad value (Strong) for -march= switch
ac_ocaml_tmp.c:1: error: bad value (Strong) for -mtune= switch
checking for C compiler default output... configure: error: C compiler
cannot create executables
See `config.log' for more details.
make: *** [configure-stamp] Error 77
----> Cleaning up object files <-----
dpatch  deapply-all
reverting patch fix-lvalue-compil from ./ ... ok.
rm -rf patch-stamp patch-stampT debian/patched
dh_testdir
dh_testroot
rm -f build-stamp configure-stamp
# Add here commands to clean up after the build process.
/usr/bin/make distclean
make[1]: Entering directory `/var/cache/apt-build/build/camlgz-0.5.6'
make[1]: *** No rule to make target `distclean'.  Stop.
make[1]: Leaving directory `/var/cache/apt-build/build/camlgz-0.5.6'
make: [clean] Error 2 (ignored)
dh_clean
Error while building libgz-ocaml-dev !
Some error occured building package

I attached the config.log.

-- 
John Skaller <skaller at users dot sourceforge dot net>

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.57.  Invocation command line was

  $ ./configure --with-findlib

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

hostname = rosella
uname -m = x86_64
uname -r = 2.6.10-5-amd64-k8
uname -s = Linux
uname -v = #1 Fri Jun 24 17:08:40 UTC 2005

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

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

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:1265: checking for ocamlc
configure:1281: found /usr/bin/ocamlc
configure:1294: result: ocamlc
configure:1302: result: OCaml version is 3.08.2
configure:1305: result: OCaml library path is /usr/lib/ocaml/3.08
configure:1310: checking for ocamlopt
configure:1326: found /usr/bin/ocamlopt
configure:1336: result: ocamlopt
configure:1360: checking for ocamlc.opt
configure:1376: found /usr/bin/ocamlc.opt
configure:1386: result: ocamlc.opt
configure:1406: checking for ocamlopt.opt
configure:1422: found /usr/bin/ocamlopt.opt
configure:1432: result: ocamlopt.opt
configure:1452: checking for ocamldep
configure:1468: found /usr/bin/ocamldep
configure:1481: result: ocamldep
configure:1492: checking for ocamlmktop
configure:1508: found /usr/bin/ocamlmktop
configure:1520: result: ocamlmktop
configure:1530: checking for ocamlmklib
configure:1546: found /usr/bin/ocamlmklib
configure:1558: result: ocamlmklib
configure:1568: checking for ocamldoc
configure:1584: found /usr/bin/ocamldoc
configure:1596: result: ocamldoc
configure:1631: checking for ocamlfind
configure:1647: found /usr/bin/ocamlfind
configure:1660: result: ocamlfind
configure:1791: checking for gcc
configure:1817: result: gcc
gcc.real: ": No such file or directory
gcc.real: ": No such file or directory
`-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
ac_ocaml_tmp.c:1: error: bad value (Strong) for -march= switch
ac_ocaml_tmp.c:1: error: bad value (Strong) for -mtune= switch
configure:2061: checking for C compiler version
configure:2064: gcc
gcc.real: ": No such file or directory
gcc.real: ": No such file or directory
`-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
ac_ocaml_tmp.c:1: error: bad value (Strong) for -march= switch
ac_ocaml_tmp.c:1: error: bad value (Strong) for -mtune= switch --version </dev/null >&5
gcc.real (GCC) 4.0.0 20050301 (prerelease) (Debian 4.0-0pre6ubuntu7)
Copyright (C) 2005 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:2067: $? = 0
configure:2069: gcc
gcc.real: ": No such file or directory
gcc.real: ": No such file or directory
`-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
ac_ocaml_tmp.c:1: error: bad value (Strong) for -march= switch
ac_ocaml_tmp.c:1: error: bad value (Strong) for -mtune= switch -v </dev/null >&5
gcc.real: gcc.real:: No such file or directory
gcc.real: ":: No such file or directory
gcc.real: No: No such file or directory
gcc.real: such: No such file or directory
gcc.real: file: No such file or directory
gcc.real: or: No such file or directory
gcc.real: directory: No such file or directory
gcc.real: gcc.real:: No such file or directory
gcc.real: ":: No such file or directory
gcc.real: No: No such file or directory
gcc.real: such: No such file or directory
gcc.real: file: No such file or directory
gcc.real: or: No such file or directory
gcc.real: directory: No such file or directory
gcc.real: `-mcpu=': No such file or directory
gcc.real: is: No such file or directory
gcc.real: deprecated.: No such file or directory
gcc.real: Use: No such file or directory
gcc.real: `-mtune=': No such file or directory
gcc.real: or: No such file or directory
gcc.real: '-march=': No such file or directory
gcc.real: instead.: No such file or directory
gcc.real: ac_ocaml_tmp.c:1:: No such file or directory
gcc.real: error:: No such file or directory
gcc.real: bad: No such file or directory
gcc.real: value: No such file or directory
gcc.real: (Strong): No such file or directory
gcc.real: for: No such file or directory
gcc.real: switch: No such file or directory
gcc.real: ac_ocaml_tmp.c:1:: No such file or directory
gcc.real: error:: No such file or directory
gcc.real: bad: No such file or directory
gcc.real: value: No such file or directory
gcc.real: (Strong): No such file or directory
gcc.real: for: No such file or directory
gcc.real: switch: No such file or directory
gcc.real: ": No such file or directory
gcc.real: ": No such file or directory
Using built-in specs.
Target: x86_64-linux
Configured with: ../src/configure -v --enable-languages=c,c++,java,f95,objc,ada --prefix=/usr --libexecdir=/usr/lib --enable-shared --with-system-zlib --enable-nls --enable-threads=posix --without-included-gettext --program-suffix=-4.0 --enable-__cxa_atexit --enable-libstdcxx-allocator=mt --enable-clocale=gnu --enable-libstdcxx-debug --enable-java-gc=boehm --enable-java-awt=gtk --enable-gtk-cairo --enable-mpfr --enable-checking=release x86_64-linux
Thread model: posix
gcc version 4.0.0 20050301 (prerelease) (Debian 4.0-0pre6ubuntu7)
configure:2072: $? = 0
configure:2074: gcc
gcc.real: ": No such file or directory
gcc.real: ": No such file or directory
`-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
ac_ocaml_tmp.c:1: error: bad value (Strong) for -march= switch
ac_ocaml_tmp.c:1: error: bad value (Strong) for -mtune= switch -V </dev/null >&5
gcc.real: '-V' must come at the start of the command line
gcc.real: '-V' must come at the start of the command line
configure:2077: $? = 1
configure:2101: checking for C compiler default output
configure:2104: gcc
gcc.real: ": No such file or directory
gcc.real: ": No such file or directory
`-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
ac_ocaml_tmp.c:1: error: bad value (Strong) for -march= switch
ac_ocaml_tmp.c:1: error: bad value (Strong) for -mtune= switch -O2   conftest.c  >&5
gcc.real: gcc.real:: No such file or directory
gcc.real: ":: No such file or directory
gcc.real: No: No such file or directory
gcc.real: such: No such file or directory
gcc.real: file: No such file or directory
gcc.real: or: No such file or directory
gcc.real: directory: No such file or directory
gcc.real: gcc.real:: No such file or directory
gcc.real: ":: No such file or directory
gcc.real: No: No such file or directory
gcc.real: such: No such file or directory
gcc.real: file: No such file or directory
gcc.real: or: No such file or directory
gcc.real: directory: No such file or directory
gcc.real: `-mcpu=': No such file or directory
gcc.real: is: No such file or directory
gcc.real: deprecated.: No such file or directory
gcc.real: Use: No such file or directory
gcc.real: `-mtune=': No such file or directory
gcc.real: or: No such file or directory
gcc.real: '-march=': No such file or directory
gcc.real: instead.: No such file or directory
gcc.real: ac_ocaml_tmp.c:1:: No such file or directory
gcc.real: error:: No such file or directory
gcc.real: bad: No such file or directory
gcc.real: value: No such file or directory
gcc.real: (Strong): No such file or directory
gcc.real: for: No such file or directory
gcc.real: switch: No such file or directory
gcc.real: ac_ocaml_tmp.c:1:: No such file or directory
gcc.real: error:: No such file or directory
gcc.real: bad: No such file or directory
gcc.real: value: No such file or directory
gcc.real: (Strong): No such file or directory
gcc.real: for: No such file or directory
gcc.real: switch: No such file or directory
gcc.real: ": No such file or directory
gcc.real: ": No such file or directory
conftest.c:1: error: bad value (Strong) for -march= switch
conftest.c:1: error: bad value () for -mtune= switch
gcc.real: gcc.real:: No such file or directory
gcc.real: ":: No such file or directory
gcc.real: No: No such file or directory
gcc.real: such: No such file or directory
gcc.real: file: No such file or directory
gcc.real: or: No such file or directory
gcc.real: directory: No such file or directory
gcc.real: gcc.real:: No such file or directory
gcc.real: ":: No such file or directory
gcc.real: No: No such file or directory
gcc.real: such: No such file or directory
gcc.real: file: No such file or directory
gcc.real: or: No such file or directory
gcc.real: directory: No such file or directory
gcc.real: `-mcpu=': No such file or directory
gcc.real: is: No such file or directory
gcc.real: deprecated.: No such file or directory
gcc.real: Use: No such file or directory
gcc.real: `-mtune=': No such file or directory
gcc.real: or: No such file or directory
gcc.real: '-march=': No such file or directory
gcc.real: instead.: No such file or directory
gcc.real: ac_ocaml_tmp.c:1:: No such file or directory
gcc.real: error:: No such file or directory
gcc.real: bad: No such file or directory
gcc.real: value: No such file or directory
gcc.real: (Strong): No such file or directory
gcc.real: for: No such file or directory
gcc.real: switch: No such file or directory
gcc.real: ac_ocaml_tmp.c:1:: No such file or directory
gcc.real: error:: No such file or directory
gcc.real: bad: No such file or directory
gcc.real: value: No such file or directory
gcc.real: (Strong): No such file or directory
gcc.real: for: No such file or directory
gcc.real: switch: No such file or directory
conftest.c:1: error: bad value () for -march= switch
conftest.c:1: error: bad value () for -mtune= switch
configure:2107: $? = 1
configure: failed program was:
| #line 2080 "configure"
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| /* end confdefs.h.  */
| 
| int
| main ()
| {
| 
|   ;
|   return 0;
| }
configure:2146: error: C compiler cannot create executables
See `config.log' for more details.

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

ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
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=
ac_cv_env_build_alias_value=
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_prog_OCAMLC=ocamlc
ac_cv_prog_OCAMLCDOTOPT=ocamlc.opt
ac_cv_prog_OCAMLDEP=ocamldep
ac_cv_prog_OCAMLDOC=ocamldoc
ac_cv_prog_OCAMLFIND=ocamlfind
ac_cv_prog_OCAMLMKLIB=ocamlmklib
ac_cv_prog_OCAMLMKTOP=ocamlmktop
ac_cv_prog_OCAMLOPT=ocamlopt
ac_cv_prog_OCAMLOPTDOTOPT=ocamlopt.opt
ac_cv_prog_ac_ct_CC='gcc

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

BZ_PREFIX=''
CC='gcc
CFLAGS='-O2'
CPP=''
CPPFLAGS=''
DEFS=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
INSTALLDIR=''
INSTALL_DATA=''
INSTALL_PROGRAM=''
INSTALL_SCRIPT=''
LDFLAGS=''
LIBOBJS=''
LIBS=''
LTLIBOBJS=''
OBJEXT=''
OCAMLBEST='opt'
OCAMLC='ocamlc.opt'
OCAMLCDOTOPT='ocamlc.opt'
OCAMLDEP='ocamldep'
OCAMLDOC='ocamldoc'
OCAMLFIND='ocamlfind'
OCAMLLIB='/usr/lib/ocaml/3.08'
OCAMLMKLIB='ocamlmklib'
OCAMLMKTOP='ocamlmktop'
OCAMLOPT='ocamlopt.opt'
OCAMLOPTDOTOPT='ocamlopt.opt'
OCAMLVERSION='3.08.2'
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
SHELL='/bin/sh'
`-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
`-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
ac_ct_CC='gcc
ac_ocaml_tmp.c:1: error: bad value (Strong) for -march= switch
ac_ocaml_tmp.c:1: error: bad value (Strong) for -march= switch
ac_ocaml_tmp.c:1: error: bad value (Strong) for -mtune= switch'
ac_ocaml_tmp.c:1: error: bad value (Strong) for -mtune= switch'
bindir='${exec_prefix}/bin'
build_alias=''
datadir='${prefix}/share'
exec_prefix='NONE'
gcc.real: ": No such file or directory
gcc.real: ": No such file or directory
gcc.real: ": No such file or directory
gcc.real: ": No such file or directory
host_alias=''
includedir='${prefix}/include'
infodir='${prefix}/info'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localstatedir='${prefix}/var'
mandir='${prefix}/man'
oldincludedir='/usr/include'
prefix='NONE'
program_transform_name='s,x,x,'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''

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

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

configure: exit 77

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
Demexp-dev mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/demexp-dev

Répondre à