Comment 1 for bug 27995

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <20060104195617.5924.86548.reportbug@localhost>
Date: Wed, 04 Jan 2006 20:56:17 +0100
From: Falk Hueffner <email address hidden>
To: Debian Bug Tracking System <email address hidden>
Subject: FTBFS (alpha): -mieee kludge in debian/rules broken

Package: gsl
Severity: serious
Justification: no longer builds from source

gsl 1.7-3 does not build on Alpha:

[...]
mv libtool-2 libtool
chmod 755 libtool
touch configure-stamp
dh_testdir
/usr/bin/make CFLAGS="-g -O2 -D_REENTRANT" " -mieee"
make[1]: Entering directory `/build/buildd/gsl-1.7'
make[1]: *** No rule to make target ` -mieee'. Stop.
make[1]: Leaving directory `/build/buildd/gsl-1.7'
make: *** [build-stamp] Error 2

(http://buildd.debian.org/fetch.php?pkg=gsl&arch=alpha&ver=1.7-3&stamp=1136325772&file=log)

You need this:

--- debian/rules~ 2006-01-04 20:50:55.000000000 +0100
+++ debian/rules 2006-01-04 20:52:32.000000000 +0100
@@ -20,13 +20,13 @@
 endif

 # edd 12 Mar 2002 m68k barks when using -O2
-compilerflags = "-g -O2 -D_REENTRANT"
+compilerflags = -g -O2 -D_REENTRANT
 ifeq ($(arch),m68k)
-compilerflags = "-g -O0 -D_REENTRANT"
+compilerflags = -g -O0 -D_REENTRANT
 endif
 # edd 29 Sep 2005 alpha needs -mieee with gcc 4.0
 ifeq ($(arch),alpha)
-compilerflags += " -mieee"
+compilerflags += -mieee
 endif

 #export DH_VERBOSE=1

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: alpha
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.13.2
Locale: LANG=C, LC_CTYPE=de_DE@euro (charmap=ISO-8859-15)