Re: build failure since commit 'xt: Rewrite unsupported compat expression dumping'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Neels,

On Wed, Jan 11, 2023 at 01:00:17AM +0100, Neels Hofmeyr wrote:
> Hi,
> 
> building current master of https://git.netfilter.org/nftables i get a build
> error that i didn't see a few weeks ago. I thought I'd report it here.
> 
> I bisected to identify this commit to be the start of build failures for me:
> 
>  commit 79195a8cc9e9d9cf2d17165bf07ac4cc9d55539f
>  Author: Phil Sutter <phil@xxxxxx>
>  Date:   Thu Nov 24 14:17:17 2022 +0100
>  "xt: Rewrite unsupported compat expression dumping"
> 
> This is the build error at above commit:
> 
>    CC       xt.lo
>    CC       libparser_la-scanner.lo
>  ../src/nftables/src/scanner.l: In function 'nft_lex':
>  ../src/nftables/src/scanner.l:804:60: error: 'XT' undeclared (first use in this function); did you mean 'CT'?
>  ../src/nftables/src/scanner.l:804:60: note: each undeclared identifier is reported only once for each function it appears in
> 
> On 'master', the build error is different:
> 
>    CC       libparser_la-scanner.lo
>  ../src/nftables/src/scanner.l: In function 'nft_lex':
>  ../src/nftables/src/scanner.l:625:10: error: 'VXLAN' undeclared (first use in this function); did you mean 'VLAN'?
>  ../src/nftables/src/scanner.l:625:10: note: each undeclared identifier is reported only once for each function it appears in
>  ../src/nftables/src/scanner.l:626:10: error: 'VNI' undeclared (first use in this function)
>  ../src/nftables/src/scanner.l:628:10: error: 'GENEVE' undeclared (first use in this function)
>  ../src/nftables/src/scanner.l:630:61: error: 'GRE' undeclared (first use in this function); did you mean 'GTE'?
>  ../src/nftables/src/scanner.l:631:61: error: 'GRETAP' undeclared (first use in this function)
>  ../src/nftables/src/scanner.l:812:60: error: 'XT' undeclared (first use in this function); did you mean 'CT'?

I cannot reproduce this.

Could you have a look at src/parser_bison.h? This file is
autogenerated by bison and it is included by the src/scanner.c (which
is also autogenerated).

Thanks.



[Index of Archives]     [Netfitler Users]     [Berkeley Packet Filter]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux