On Sat, 12 May 2012 23:29:30 +0200, Sebastian Ramacher wrote:

> On 30/03/12 11:14, Lucas Nussbaum wrote:
> > Relevant part:
> >> gcc version 4.6.3 (Debian 4.6.3-1) 
> >> configure:2329: $? = 0
> >> configure:2331: gcc -V </dev/null >&5
> >> gcc: error: unrecognized option '-V'
> >> gcc: fatal error: no input files
> >> compilation terminated.
> 
> Please find attached a patch to fix this FTBFS.

Here's a different approach to this issue that looks more
debhelper-ish to me.

But lintian -F (ftp-amster autoreject reasosns) reports a problem:
E: euler: binary-or-shlib-defines-rpath usr/bin/euler /usr/lib/x86_64-linux-gnu

That means the package can't be uploaded as-is ...


Cheers,
gregor 
-- 
 .''`.  Homepage: http://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06
 : :' : Debian GNU/Linux user, admin, and developer  -  http://www.debian.org/
 `. `'  Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe
   `-   NP: Funny Van Dannen: Ich habe einen Arbeitsplatz vernichtet
diff -Nru euler-1.61.0/debian/changelog euler-1.61.0/debian/changelog
--- euler-1.61.0/debian/changelog       2009-11-18 13:39:47.000000000 +0100
+++ euler-1.61.0/debian/changelog       2012-05-31 19:16:50.000000000 +0200
@@ -1,3 +1,12 @@
+euler (1.61.0-8.1) UNRELEASED; urgency=low
+
+  * Non-maintainer upload.
+  * Fix "FTBFS: gcc: error: unrecognized option '-V'":
+    use debhelper override in debian/rules.
+    (Closes: #666337)
+
+ -- gregor herrmann <gre...@debian.org>  Thu, 31 May 2012 18:58:18 +0200
+
 euler (1.61.0-8) unstable; urgency=low
 
   * Switched to source format "3.0 (quilt)".
diff -Nru euler-1.61.0/debian/rules euler-1.61.0/debian/rules
--- euler-1.61.0/debian/rules   2009-11-18 13:39:47.000000000 +0100
+++ euler-1.61.0/debian/rules   2012-05-31 19:15:04.000000000 +0200
@@ -2,12 +2,10 @@
 
 LDFLAGS += -Wl,--as-needed
 
-build:
-       cp -f /usr/share/misc/config.guess .
-       cp -f /usr/share/misc/config.sub .
-       dh build
-
 %:
        dh $@
 
-.PHONY: build
+override_dh_auto_configure:
+       cp -f /usr/share/misc/config.guess .
+       cp -f /usr/share/misc/config.sub .
+       dh_auto_configure

Attachment: signature.asc
Description: Digital signature

Reply via email to