Bug#476013: owl: FTBFS: configure: error: installation or, configuration problem: C compiler cannot create executables.

2008-05-22 Thread Chaskiel M Grundman

The problem results from this questionable looking line in configure.in

FOO=`perl -MExtUtils::Embed -e ldopts | sed 's/,-E//' | sed 's/-liconv//'`

It changes '-Wl,-E' to '-Wl'

if owl really wants to be built without --export-dynamic, it should remove 
the -Wl too.




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



Bug#476013: owl: FTBFS: configure: error: installation or, configuration problem: C compiler cannot create executables.

2008-04-30 Thread peter green
I have reproduced this in my experimental chroot and have attatched the 
config.log.


Strangely the CFLAGS that dpkg-buildpackage claims to be using do not 
seem to match up with the on the compiler is complaining about.


dpkg-buildpackage: set CFLAGS to default value: -g -O2
dpkg-buildpackage: set CPPFLAGS to default value:
dpkg-buildpackage: set LDFLAGS to default value:
dpkg-buildpackage: set FFLAGS to default value: -g -O2
dpkg-buildpackage: set CXXFLAGS to default value: -g -O2

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

configure:530: checking for gcc
configure:643: checking whether the C compiler (gcc -g -O2 -Wall -g  
-D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fno-strict-aliasing -pipe 
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  
-I/usr/lib/perl/5.10/CORE   -Wl  -L/usr/local/lib  -L/usr/lib/perl/5.10/CORE 
-lperl -ldl -lm -lpthread -lc -lcrypt) works
configure:659: gcc -o conftest -g -O2 -Wall -g  -D_REENTRANT -D_GNU_SOURCE 
-DDEBIAN -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE 
-D_FILE_OFFSET_BITS=64  -I/usr/lib/perl/5.10/CORE-Wl  -L/usr/local/lib  
-L/usr/lib/perl/5.10/CORE -lperl -ldl -lm -lpthread -lc -lcrypt conftest.c  15
cc1: error: unrecognized command line option -Wl
configure: failed program was:

#line 654 configure
#include confdefs.h

main(){return(0);}


Bug#476013: owl: FTBFS: configure: error: installation or configuration problem: C compiler cannot create executables.

2008-04-14 Thread Mark Eichin
Do you keep config.log from these?  (Although in this case it's
libfaim/config.log I guess.)   The report doesn't actually give
enough information to figure out what the bug is...



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



Bug#476013: owl: FTBFS: configure: error: installation or configuration problem: C compiler cannot create executables.

2008-04-14 Thread Lucas Nussbaum
On 14/04/08 at 12:20 -0400, Mark Eichin wrote:
 Do you keep config.log from these?  (Although in this case it's
 libfaim/config.log I guess.)

no sorry

 The report doesn't actually give
 enough information to figure out what the bug is...

it's likely to be caused by dpkg-buildpackage exporting a default value
for CFLAGS.
-- 
| Lucas Nussbaum
| [EMAIL PROTECTED]   http://www.lucas-nussbaum.net/ |
| jabber: [EMAIL PROTECTED] GPG: 1024D/023B3F4F |



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



Bug#476013: owl: FTBFS: configure: error: installation or configuration problem: C compiler cannot create executables.

2008-04-14 Thread Lucas Nussbaum
Package: owl
Version: 2.1.8-2.1
Severity: serious
User: [EMAIL PROTECTED]
Usertags: qa-ftbfs-20080413 qa-ftbfs
Justification: FTBFS on i386

Hi,

During a rebuild of all packages in sid, your package failed to build on i386.

This rebuild was done with gcc 4.3 instead of gcc 4.2, because gcc 4.3 is now
the default on most architectures (even if it's not the case on i386 yet).
Feel free to downgrade this bug to 'important' if your package is only built
on i386, and this bug is specific to gcc 4.3 (i.e the package builds fine with
gcc 4.2).

Relevant part:
 make[1]: Entering directory `/build/user/owl-2.1.8'
 make[1]: *** No rule to make target `distclean'.  Stop.
 make[1]: Leaving directory `/build/user/owl-2.1.8'
 make: [clean] Error 2 (ignored)
 dh_clean
 dh_clean: Compatibility levels before 4 are deprecated.
  dpkg-source -b owl-2.1.8
 dpkg-source: info: using source format `1.0'
 dpkg-source: info: building owl using existing owl_2.1.8.orig.tar.gz
 dpkg-source: info: building owl in owl_2.1.8-2.1.diff.gz
 dpkg-source: info: building owl in owl_2.1.8-2.1.dsc
  debian/rules build
 dh_testdir
 # Add here commands to configure the package.
 ./configure --host=i486-linux-gnu --build=i486-linux-gnu --prefix=/usr 
 --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info
 creating cache ./config.cache
 checking for gcc... gcc
 checking whether the C compiler (gcc -g -O2 ) works... yes
 checking whether the C compiler (gcc -g -O2 ) is a cross-compiler... no
 checking whether we are using GNU C... yes
 checking whether gcc accepts -g... yes
 checking for /usr/athena/include... no
 checking for /usr/athena/lib... no
 checking for initscr in -lncurses... yes
 checking for com_err in -lcom_err... yes
 checking for gethostbyname in -lnsl... yes
 checking for socket in -lsocket... no
 checking for krb5_derive_key in -lk5crypto... yes
 checking for req_act_vno in -ldes425... no
 checking for res_search in -lresolv... yes
 checking for krb5_get_credentials in -lkrb5... yes
 checking for krb_sendauth in -lkrb4... yes
 checking for ZGetSender in -lzephyr... yes
 checking for ZInitLocationInfo in -lzephyr... yes
 checking for use_default_colors... yes
 checking for des_string_to_key... yes
 checking for des_key_sched... yes
 checking for des_ecb_encrypt... yes
 checking for des_ecb_encrypt prototype... yes
 checking how to run the C preprocessor... gcc -E
 checking for ANSI C header files... yes
 checking for sys/wait.h that is POSIX.1 compatible... yes
 checking for strings.h... yes
 checking for sys/ioctl.h... yes
 checking for sys/filio.h... no
 checking for unistd.h... yes
 checking for com_err.h... yes
 Adding perl CFLAGS -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBIAN 
 -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE 
 -D_FILE_OFFSET_BITS=64 -I/usr/lib/perl/5.8/CORE
 checking for the perl xsubpp precompiler... /usr/share/perl/5.8/ExtUtils
 Adding perl LDFLAGS -Wl -L/usr/local/lib 
 /usr/lib/perl/5.8/auto/DynaLoader/DynaLoader.a -L/usr/lib/perl/5.8/CORE 
 -lperl -ldl -lm -lpthread -lc -lcrypt
 checking for /usr/share/terminfo... yes
 checking for a BSD compatible install... /usr/bin/install -c
 updating cache ./config.cache
 creating ./config.status
 creating Makefile
 creating config.h
 configuring in libfaim
 running /bin/sh ./configure  --host=i486-linux-gnu --build=i486-linux-gnu 
 --prefix=/usr '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' 
 --cache-file=.././config.cache --srcdir=.
 loading cache .././config.cache
 checking for gcc... (cached) gcc
 checking whether the C compiler (gcc -g -O2 -Wall -g  -D_REENTRANT 
 -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBIAN -fno-strict-aliasing -pipe 
 -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  
 -I/usr/lib/perl/5.8/CORE   -Wl  -L/usr/local/lib 
 /usr/lib/perl/5.8/auto/DynaLoader/DynaLoader.a -L/usr/lib/perl/5.8/CORE 
 -lperl -ldl -lm -lpthread -lc -lcrypt) works... no
 configure: error: installation or configuration problem: C compiler cannot 
 create executables.
 configure: error: ./configure failed for libfaim
 make: *** [config.status] Error 1

The full build log is available from:
   http://people.debian.org/~lucas/logs/2008/04/13

A list of current common problems and possible solutions is available at 
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on about 50 AMD64 nodes
of the Grid'5000 platform, using a clean chroot containing a sid i386
environment.  Internet was not accessible from the build systems.

-- 
| Lucas Nussbaum
| [EMAIL PROTECTED]   http://www.lucas-nussbaum.net/ |
| jabber: [EMAIL PROTECTED] GPG: 1024D/023B3F4F |



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