Debian Bug report logs -
#256532
flex: FTBFS: scan.l needs rebuild?
Reported by: Kurt Roeckx <Q@ping.be>
Date: Sun, 27 Jun 2004 17:48:02 UTC
Severity: important
Found in version 2.5.31-26
Fixed in versions flex/2.5.31-27, flex/2.5.31-28
Done: Manoj Srivastava <srivasta@debian.org>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded to debian-bugs-dist@lists.debian.org, Manoj Srivastava <srivasta@debian.org>:
Bug#256532; Package flex.
(full text, mbox, link).
Acknowledgement sent to Kurt Roeckx <Q@ping.be>:
New Bug report received and forwarded. Copy sent to Manoj Srivastava <srivasta@debian.org>.
(full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
Package: flex
Version: 2.5.31-26
Severity: important
The build fails on amd64 like this:
/usr/lib/bison.simple: In function `yyparse':
/usr/lib/bison.simple:285: warning: `yyval' might be used uninitialized in this
function
/bin/sh /usr/src/flex-2.5.31/missing --run flex `test -f scan.l || echo './'`scan.l
/usr/src/flex-2.5.31/missing: line 46: flex: command not found
WARNING: `flex' is missing on your system. You should only need it if
you modified a `.l' file. You may need the `Flex' package
in order for those modifications to take effect. You can get
`Flex' from any GNU archive site.
sed '/^#/ s|\.c|scan.c|' .c >scan.c
sed: can't read .c: No such file or directory
make[3]: *** [scan.c] Error 2
The patch seems to modify both the scan.l file and scan.c file.
And I don't think the scan.c file actually has the changes from
scan.l file either.
I think this is doesn't show up on other arches because they might
think the time of the file is the same?
Kurt
Reply sent to Manoj Srivastava <srivasta@debian.org>:
You have taken responsibility.
(full text, mbox, link).
Notification sent to Kurt Roeckx <Q@ping.be>:
Bug acknowledged by developer.
(full text, mbox, link).
Message #10 received at 256532-close@bugs.debian.org (full text, mbox, reply):
Source: flex
Source-Version: 2.5.31-27
We believe that the bug you reported is fixed in the latest version of
flex, which is due to be installed in the Debian FTP archive:
flex-doc_2.5.31-27_all.deb
to pool/main/f/flex/flex-doc_2.5.31-27_all.deb
flex_2.5.31-27.diff.gz
to pool/main/f/flex/flex_2.5.31-27.diff.gz
flex_2.5.31-27.dsc
to pool/main/f/flex/flex_2.5.31-27.dsc
flex_2.5.31-27_i386.deb
to pool/main/f/flex/flex_2.5.31-27_i386.deb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 256532@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Manoj Srivastava <srivasta@debian.org> (supplier of updated flex package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.7
Date: Thu, 22 Jul 2004 10:20:38 -0500
Source: flex
Binary: flex-doc flex
Architecture: source i386 all
Version: 2.5.31-27
Distribution: unstable
Urgency: low
Maintainer: Manoj Srivastava <srivasta@debian.org>
Changed-By: Manoj Srivastava <srivasta@debian.org>
Description:
flex - A fast lexical analyzer generator.
flex-doc - Documentation for flex (a fast lexical analyzer generator)
Closes: 256532
Changes:
flex (2.5.31-27) unstable; urgency=low
.
* Refreshed the auto-tools generated files
* Bug fix: "flex: scan.l needs rebuild?", thanks to Kurt Roeckx
(Closes: #256532).
Files:
742ed239b143eb754ead00cee7d06236 646 devel standard flex_2.5.31-27.dsc
39d747e2a04b81c7d4794e7a1973e5c3 211490 devel standard flex_2.5.31-27.diff.gz
f945c8e395fac7b2a191dca5b53f1f68 138882 doc optional flex-doc_2.5.31-27_all.deb
11265df6f0e8fdd5242ca326d68b132e 257098 devel standard flex_2.5.31-27_i386.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQFA//BOIbrau78kQkwRAuQ1AJ4hB+q4ssVuqOeSdRYJuyMqK5478QCg5zmV
7FOdVt/5BTVkDPqrLuh5eao=
=Vtpc
-----END PGP SIGNATURE-----
Information forwarded to debian-bugs-dist@lists.debian.org, Manoj Srivastava <srivasta@debian.org>:
Bug#256532; Package flex.
(full text, mbox, link).
Acknowledgement sent to Kurt Roeckx <Q@ping.be>:
Extra info received and forwarded to list. Copy sent to Manoj Srivastava <srivasta@debian.org>.
(full text, mbox, link).
Message #15 received at 256532@bugs.debian.org (full text, mbox, reply):
reopen 256532
thanks
It's still failing in the same way.
Kurt
Bug reopened, originator not changed.
Request was from Kurt Roeckx <Q@ping.be>
to control@bugs.debian.org.
(full text, mbox, link).
Information forwarded to debian-bugs-dist@lists.debian.org, Manoj Srivastava <srivasta@debian.org>:
Bug#256532; Package flex.
(full text, mbox, link).
Acknowledgement sent to LaMont Jones <lamont@debian.org>:
Extra info received and forwarded to list. Copy sent to Manoj Srivastava <srivasta@debian.org>.
(full text, mbox, link).
Message #22 received at 256532@bugs.debian.org (full text, mbox, reply):
Because the .diff.gz patches both scan.c and (then) scan.l, scan.l will
always be newer than scan.c, and the build will fail for want of flex.
Touching scan.c in debian/rules would fix the problem. Although that
would require that you manually create scan.c whenever scan.l really
changes.
lamont
Information forwarded to debian-bugs-dist@lists.debian.org, Manoj Srivastava <srivasta@debian.org>:
Bug#256532; Package flex.
(full text, mbox, link).
Acknowledgement sent to Emmanuel Charpentier <charpent@bacbuc.dyndns.org>:
Extra info received and forwarded to list. Copy sent to Manoj Srivastava <srivasta@debian.org>.
(full text, mbox, link).
Message #27 received at 256532@bugs.debian.org (full text, mbox, reply):
Nick Gorham wrote:
> Emmanuel Charpentier wrote:
>
>> Trying to build unixODBC 2.2.10 :
>>
>> configure --sysconfdir=/etc && make
>> [ ... ]
>> lex.l: In function `yyerror':
>> lex.l:241: error: `YY_FLUSH_BUFFER' undeclared (first use in this
>> function)
>> lex.l:241: error: (Each undeclared identifier is reported only once
>> lex.l:241: error: for each function it appears in.)
>> make[1]: *** [lex.lo] Erreur 1
>> make[1]: Leaving directory `/mnt/hde2/compils/unixODBC-2.2.10/sqp'
>> make: *** [all-recursive] Erreur 1
>>
>> It turns out that YY_FLUSH_BUFFER is a *macro*, definded on line 290
>> of lex.c (#define YY_FLUSH_BUFFER yy_flush_buffer(YY_CURRENT_BUFFER ),
>> and *#undefine*'d on line 2181 of the same C source (about line 281 of
>> lex.l), shortly before being used in yyerror() (line 2232 of lex.c).
>>
>> Commenting out the #undefine-ition of this macro and restarting the
>> compilation gives a set of finely working executables. But that's a
>> kludge ...
>>
>> Emmanuel Charpentier
>
>
>
> Hi,
>
> Yes, I have seen this, I "think" its down to a version of flex, I have
> seen this on the solaris-x86 on sourceforges compile farm, but no others.
>
FWIW, here :
charpent@yod:/mnt/hde2/compils/unixODBC-2.2.10$ flex --version
flex 2.5.31
I CC this answer to Debian's flex maintainers : a bug has bee filed agains
flex which might be related.
Changed Bug title.
Request was from Roland Stigge <stigge@antcom.de>
to control@bugs.debian.org.
(full text, mbox, link).
Reply sent to Manoj Srivastava <srivasta@debian.org>:
You have taken responsibility.
(full text, mbox, link).
Notification sent to Kurt Roeckx <Q@ping.be>:
Bug acknowledged by developer.
(full text, mbox, link).
Message #34 received at 256532-close@bugs.debian.org (full text, mbox, reply):
Source: flex
Source-Version: 2.5.31-28
We believe that the bug you reported is fixed in the latest version of
flex, which is due to be installed in the Debian FTP archive:
flex-doc_2.5.31-28_all.deb
to pool/main/f/flex/flex-doc_2.5.31-28_all.deb
flex_2.5.31-28.diff.gz
to pool/main/f/flex/flex_2.5.31-28.diff.gz
flex_2.5.31-28.dsc
to pool/main/f/flex/flex_2.5.31-28.dsc
flex_2.5.31-28_i386.deb
to pool/main/f/flex/flex_2.5.31-28_i386.deb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 256532@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Manoj Srivastava <srivasta@debian.org> (supplier of updated flex package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.7
Date: Fri, 12 Nov 2004 21:28:58 -0600
Source: flex
Binary: flex-doc flex
Architecture: source i386 all
Version: 2.5.31-28
Distribution: unstable
Urgency: high
Maintainer: Manoj Srivastava <srivasta@debian.org>
Changed-By: Manoj Srivastava <srivasta@debian.org>
Description:
flex - A fast lexical analyzer generator.
flex-doc - Documentation for flex (a fast lexical analyzer generator)
Closes: 256532 261478 263726 267496
Changes:
flex (2.5.31-28) unstable; urgency=high
.
* This is a FTBS bug, after all. This should probably flow through to
testing.
* Bug fix: "flex: FTBFS: scan.l needs rebuild?", thanks to Kurt Roeckx
Added a build depends on flex. (Closes: #256532).
* Bug fix: "XSI:ism `-o' in debian-scripts", thanks to David Weinehall
(Closes: #261478).
* Bug fix: "flex: documentation typo (`}' instead of `{')", thanks to
Dmitry Rutsky (Closes: #267496).
* Bug fix: "[INTL:nl] New Dutch po-debconf translation", thanks to Luk
Claes (Closes: #263726).
Files:
1e59a59afaa59e4dd3dd85c4ba5d1263 665 devel standard flex_2.5.31-28.dsc
22ecea8b6728639d68ff93ec763a810c 249798 devel standard flex_2.5.31-28.diff.gz
52d9a5abf36dffad56948c0f7c6560d1 141256 doc optional flex-doc_2.5.31-28_all.deb
3e8103fc0a044e77bb77cf93fbd2fabc 257514 devel standard flex_2.5.31-28_i386.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
iD8DBQFBlbFvIbrau78kQkwRAobPAJ9mXsIybuW27SfNqLhW83XoiYEGRgCguGTb
nUip/Y7LzNOpkZiSSlUoKLc=
=9YL+
-----END PGP SIGNATURE-----
Bug unarchived.
Request was from Stefano Zacchiroli <zack@debian.org>
to control@bugs.debian.org.
(Sun, 10 Apr 2011 08:43:18 GMT) (full text, mbox, link).
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Mon, 09 May 2011 07:38:12 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Wed Oct 11 12:06:10 2017;
Machine Name:
buxtehude
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.