Skip to contentSkip to conversation

[[email protected]: Bug#474768: Conntrack FTBFS due to warning handled as error]

[email protected]: Bug#474768: Conntrack FTBFS due to warning handled as error Applied Max Kellermann 2 participants 2 messages Apr 8, 2008 netfilter

lore
Share & tools
lore
#0 lore raw

Hi Pablo,

we got another build failure, please review and commit the patch.

Max

----- Forwarded message from Thiemo Seufer <[email protected]> -----

From: Thiemo Seufer <[email protected]>
To: [email protected]
Subject: Bug#474768: Conntrack FTBFS due to warning handled as error
X-Virus-Scanned: Debian amavisd-new at swift.blarg.de
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level:
X-Spam-Status: No, score=-1.9 required=5 tests=[AWL=0.100, BAYES_00=-3,

	MY_DSL=1]

List-Owner: <mailto:[email protected]>
X-No-Auth: unauthenticated sender
Reply-To: Thiemo Seufer <[email protected]>, [email protected]
Resent-To: [email protected]
Resent-Date: Mon, 07 Apr 2008 17:30:01 +0000
X-Debian-PR-Source: conntrack
Resent-Date: Mon, 07 Apr 2008 17:30:04 +0000 X-ned.snow-crash.org-MailScanner: Found to be clean, Found to be clean
X-ned.snow-crash.org-MailScanner-SpamCheck: not spam, SpamAssassin (Wertung=-2.436, benoetigt 4.5, autolearn=not spam, AWL 0.16, BAYES_00 -2.60, UNPARSEABLE_RELAY 0.00), not spam (whitelisted),

	SpamAssassin (Wertung=-2.44, benoetigt 4.5, autolearn=not spam,
	AWL 0.16, BAYES_00 -2.60, UNPARSEABLE_RELAY 0.00)

X-MailScanner-From: netfilter-maintainers-bounce-18-e81e0a38933e21e9c959d60f6f3f863f@ned.snow-crash.org

Package: conntrack
Version: 0.9.6-2
Severity: serious
Tags: patch

Conntrack FTBFS on armel, mips and powerpc due to:

[...]
cc1: warnings being treated as errors read_config_lex.c:4451: error: 'input' defined but not used make[2]: *** [read_config_lex.o] Error 1
make[2]: Leaving directory `/build/buildd/conntrack-0.9.6/src' make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/build/buildd/conntrack-0.9.6'
make: *** [build-stamp] Error 2

I believe other architectures will also start to fail once they (re-)build conntrack with gcc-4.3. The appended patch fixes the problem. Tested with a build on mips.

Thiemo

src/read_config_lex.l +1 -0
@@ -23,6 +23,7 @@
 %}
 
 %option yylineno
+%option noinput
 %option nounput
 
 ws		[ \t]+
Signature · 3 lines
To unsubscribe, send mail to [email protected].

----- End forwarded message -----
maintainer Applied
#1 lore raw
Quoted 3 lines · Max Kellermann

Hi Pablo,

we got another build failure, please review and commit the patch.

I have applied. Thanks Max.

Signature · 1 line
"Los honestos son inadaptados sociales" -- Les Luthiers