All of lore.kernel.org
 help / color / mirror / Atom feed
From: Pablo Neira Ayuso <pablo@netfilter.org>
To: Neels Hofmeyr <nhofmeyr@sysmocom.de>
Cc: netfilter-devel@vger.kernel.org
Subject: Re: build failure since commit 'xt: Rewrite unsupported compat expression dumping'
Date: Wed, 11 Jan 2023 10:12:05 +0100	[thread overview]
Message-ID: <Y759ZZioewP6Ohmf@salvia> (raw)
In-Reply-To: <Y738EXSaHcvYLnoH@my.box>

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@nwl.cc>
>  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.

  reply	other threads:[~2023-01-11  9:15 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-11  0:00 build failure since commit 'xt: Rewrite unsupported compat expression dumping' Neels Hofmeyr
2023-01-11  9:12 ` Pablo Neira Ayuso [this message]
2023-01-12  2:20   ` Neels Hofmeyr
2023-01-12 12:07     ` Pablo Neira Ayuso
2023-01-12 12:12       ` Pablo Neira Ayuso

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Y759ZZioewP6Ohmf@salvia \
    --to=pablo@netfilter.org \
    --cc=netfilter-devel@vger.kernel.org \
    --cc=nhofmeyr@sysmocom.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.