Bug#1042124: Flex help needed for eegdev (Was: Re: eegdev: FTBFS: ../../lib/stdio.h:64:3: error: #error "Please include config.h first.")

Jeremy Sowden <[email protected]>
Newsgroups gmane.linux.debian.devel.bugs.general,gmane.linux.debian.devel.medical,gmane.linux.debian.devel.mentors
Message-ID <[email protected]>
On 2023-08-25, at 18:29:34 +0200, Niels Thykier wrote:
> Nilesh Patra:
> > On Fri, Aug 25, 2023 at 05:17:47PM +0200, Niels Thykier wrote:
> > > [...]
> > 
> > I had figured out this already, but conffile.lex.c does not exist in the
> > project, it is generated as a part of the lexer output. In particular:
> > 
> 
> Ok, apologies it was not clear to me from your opening email, where you were
> stuck. I incorrectly assumed it was an an earlier stage than you are, so my
> input was not useful to you.
> 
> I checked the source of `conffile.l` and it need already has to runes to
> include config.h where I would have assumed you needed to (https://salsa.debian.org/med-team/eegdev/-/blob/master/src/core/conffile.l#L24).
> 
> A bit of searching found the following flex upstream bug:
> 
>   * https://github.com/westes/flex/issues/564
> 
> Which seems related. Hopefully, it can help you.

Another possibility would be just not to use gnulib.  Debian is a GNU
system, so it shouldn't be needed.  If one removes the dh_autoreconf
override and just lets dh_autoreconf do its thing, the package builds
successfully.

J.
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEEbB20U2PvQDe9VtUXKYasCr3xBA0FAmTo57oACgkQKYasCr3x
BA0UMg/+MqeOmBmgNoK30t2eEOC5WGXePkViOVLpT8XLCxQ6X6LjUSYViQzyiVTX
kD8DSLBL+C705eLfcTh1Wmp9T6zIdHuy/KaNm2Lv9qSdEwjqXke+eGErAZ2DP0zt
9HVFc4r+O5LcemcyxwSI01kazXjjZPnup6U1DsO+jdkAcKzNBVSklswRa1R7XdHY
NiQJHilRhAU3tthpDiCyLaEL1Nj3TzgF1tUkyN8dLFjHzfZjOCzIRS2Ch7ZI7hWo
mDC489v3v/dWh51JePt5p7Yp6ouYhDX0CyHihYD/dMvgahNv0dHYlexIrbmaGmX9
xtjerDnC4TvLJyNDEGsCeFU3CkvJ9B3mMBcgGXXt8/pnwxzCGU1izWfV4e9veQd9
WFYfdJvzEofuKx1QbINBxbXqY2dP1BOoz1LnaZpo/cuKqJL8fyJEYBzJRWTRWnGR
rkoLB5F1PDZFovnrQUuxuZsLv7pwMOBb2B6TbmihCMz8ZxzXbRYimwKxH4MxwJxH
E+/D/y6PfmBJ3GfeZUHxFd8fmZnqXMRu2d6kh1wxHbf/sTq6RM/kZyfQiPhxeT6R
FLFDqyf7b3SFKhfrjYaYlRC3duTDzKYY7d1O+Cr9drqEc6t0WWB72r3zD237RvNy
xZra12eaYtYBAZtt/RqKfAWbhQDRpQqEEnzuR1nqLu0lQUivPms=
=bbS3
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.