[Kolab-devel] [issue2928] gmp-4.2.2-20080101 does not compile on Debian lenny/amd64

Thomas Arendsen Hein kolab-issues at intevation.de
Wed Jul 23 15:31:56 CEST 2008


New submission from Thomas Arendsen Hein <thomas at intevation.de>:

After working around
kolab/issue2871 (openpkg-20071227-20071227 does not compile on Debian lenny/amd64)
by using gcc-4.2 instead of 4.3, compilation aborts when compiling gmp:

:::: /tmp/install-kolab.5086.2720.23876.4138/gmp-4.2.2-20080101.src.rpm ::::
Installing /tmp/install-kolab.5086.2720.23876.4138/gmp-4.2.2-20080101.src.rpm
Executing(%prep): env -i /kolab/lib/openpkg/bash --norc --noprofile --posix -e
/kolab/RPM/TMP/rpm-tmp.76106
+ cd /kolab/RPM/TMP
+ cd /kolab/RPM/TMP
+ rm -rf gmp-4.2.2
+ /kolab/lib/openpkg/gzip -dc /kolab/RPM/SRC/gmp/gmp-4.2.2.tar.gz
+ /kolab/lib/openpkg/tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd gmp-4.2.2
+ echo 'Patch #0 (gmp.patch):'
Patch #0 (gmp.patch):
+ /kolab/lib/openpkg/patch -p0 -s -b
+ rm -rf mpn/sparc32 mpn/sparc64
+ exit 0
Executing(%build): env -i /kolab/lib/openpkg/bash --norc --noprofile --posix -e
/kolab/RPM/TMP/rpm-tmp.76106
+ cd /kolab/RPM/TMP
+ cd gmp-4.2.2
+ export CC=/kolab/bin/cc
+ CC=/kolab/bin/cc
+ export CFLAGS=-fPIC
+ CFLAGS=-fPIC
+ case "amd64-debian" in
+ ./configure --prefix=/kolab --disable-shared
checking build system type... pentium3-unknown-linux-gnu
checking host system type... pentium3-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking ABI=32
checking whether /kolab/bin/cc is gcc... yes
checking compiler /kolab/bin/cc -fPIC ... yes
checking compiler /kolab/bin/cc -fPIC has sizeof(long)==4... no
configure: error: could not find a working compiler, see config.log for details
error: Bad exit status from /kolab/RPM/TMP/rpm-tmp.76106 (%build)


RPM build errors:
    Bad exit status from /kolab/RPM/TMP/rpm-tmp.76106 (%build)


config.log contains:

configure: testlist sizeof-long-4
configure:4866: checking compiler /kolab/bin/cc -fPIC has sizeof(long)==4
configure:4879: /kolab/bin/cc -fPIC -c conftest.c >&5
conftest.c: In function 'main':
conftest.c:4: error: size of array 'test_array' is negative
configure:4882: $? = 1
configure:4887: result: no
configure:4929: error: could not find a working compiler, see config.log for details
...
ac_cv_build=pentium3-unknown-linux-gnu
ac_cv_build_alias=pentium3-unknown-linux-gnu

----------
assignedto: thomas
messages: 15874
nosy: thl, thomas, wilde
priority: urgent
status: unread
title: gmp-4.2.2-20080101 does not compile on Debian lenny/amd64
topic: server
___________________________________________________
Kolab issue tracker <kolab-issues at intevation.de>
<https://www.intevation.de/roundup/kolab/issue2928>
___________________________________________________




More information about the devel mailing list