Your message dated Sat, 30 Jun 2012 16:24:51 +0000
with message-id <[email protected]>
and subject line Bug#667027: fixed in flex 2.5.35-10.1
has caused the Debian Bug report #667027,
regarding flex: no protypes for yy_[gs]etcolumn in re-entrant mode
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
667027: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=667027
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: flex
Version: 2.5.35-10
Severity: normal
Tags: upstream patch
Hi,
When using flex in re-entrant mode, no prototypes are generated for
yy_getcolumn and yy_setcolumn, despite non-static declarations. This
leads to warnings which can tank a build if using -Werror (I know,
pointless in distributions and tarballs, but useful for upstream
maintenance ...):
CC src/xkbcomp/xkbscan.lo
src/xkbcomp/xkbscan.c:2416:5: error: no previous prototype for 'yyget_column'
[-Werror=missing-prototypes]
src/xkbcomp/xkbscan.c:2492:6: error: no previous prototype for 'yyset_column'
[-Werror=missing-prototypes]
The attached patch has been shipped in Fedora since Fedora 13, with no
complaints AFAICT. Please consider including this in the Debian
package.
Cheers,
Daniel
-- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 3.3.0-rc5+ (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages flex depends on:
ii debconf [debconf-2.0] 1.5.42
ii dpkg 1.16.2
ii install-info 4.13a.dfsg.1-9
ii libc6 2.13-27
ii m4 1.4.16-2
Versions of packages flex recommends:
ii gcc [c-compiler] 4:4.6.3-3
ii gcc-4.6 [c-compiler] 4.6.3-1
Versions of packages flex suggests:
ii bison 1:2.5.dfsg-2.1
ii build-essential 11.5
-- no debconf information
diff -up flex-2.5.35/flex.skl\~ flex-2.5.35/flex.skl
--- flex-2.5.35/flex.skl~ 2010-07-13 17:18:43.000000000 +0200
+++ flex-2.5.35/flex.skl 2010-07-13 17:23:49.000000000 +0200
@@ -960,6 +960,22 @@ m4_ifdef( [[M4_YY_NO_SET_LINENO]],,
void yyset_lineno M4_YY_PARAMS( int line_number M4_YY_PROTO_LAST_ARG );
]])
+m4_ifdef( [[M4_YY_REENTRANT]],
+[[
+m4_ifdef( [[M4_YY_NO_GET_COLUMN]],,
+[[
+int yyget_column M4_YY_PARAMS( M4_YY_PROTO_ONLY_ARG );
+]])
+]])
+
+m4_ifdef( [[M4_YY_REENTRANT]],
+[[
+m4_ifdef( [[M4_YY_NO_SET_COLUMN]],,
+[[
+void yyset_column M4_YY_PARAMS( int column_no M4_YY_PROTO_LAST_ARG );
+]])
+]])
+
%if-bison-bridge
m4_ifdef( [[M4_YY_NO_GET_LVAL]],,
[[
Diff finished. Tue Jul 13 17:27:50 2010
--- End Message ---
--- Begin Message ---
Source: flex
Source-Version: 2.5.35-10.1
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.35-10.1_all.deb
to main/f/flex/flex-doc_2.5.35-10.1_all.deb
flex_2.5.35-10.1.diff.gz
to main/f/flex/flex_2.5.35-10.1.diff.gz
flex_2.5.35-10.1.dsc
to main/f/flex/flex_2.5.35-10.1.dsc
flex_2.5.35-10.1_amd64.deb
to main/f/flex/flex_2.5.35-10.1_amd64.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 [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Guillem Jover <[email protected]> (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 [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.8
Date: Sat, 30 Jun 2012 17:03:27 +0200
Source: flex
Binary: flex flex-doc
Architecture: source amd64 all
Version: 2.5.35-10.1
Distribution: unstable
Urgency: low
Maintainer: Manoj Srivastava <[email protected]>
Changed-By: Guillem Jover <[email protected]>
Description:
flex - A fast lexical analyzer generator.
flex-doc - Documentation for flex (a fast lexical analyzer generator).
Closes: 655414 667027
Changes:
flex (2.5.35-10.1) unstable; urgency=low
.
* Non-maintainer upload.
* Use dpkg-buildflags to enable hardened build flags.
Thanks to Moritz Muehlenhoff <[email protected]>. (Closes: #655414)
* Add prototypes for yy_[gs]etcolumn in re-entrant mode, taken from Fedora.
Thanks to Daniel Stone <[email protected]>. (Closes: #667027)
Checksums-Sha1:
38ad59208104ba46bfcb583cd809781b95e1320a 1264 flex_2.5.35-10.1.dsc
05a6b0c4536e5bde1d955c489c1a821cb4de0a83 41229 flex_2.5.35-10.1.diff.gz
dd12d073f24fe89f7e8c066325a144620ac72163 331982 flex_2.5.35-10.1_amd64.deb
48de375e0099a9c76559a3cdd5130b74075fc016 205282 flex-doc_2.5.35-10.1_all.deb
Checksums-Sha256:
441d2ed4e3daa38c25784c2311e153d7232c906abfceafcb1a9a5fa5b95a9b8c 1264
flex_2.5.35-10.1.dsc
98f1c978f0f2bd07672d47fadc0219911a2c74727d32f7654cc2885d112e8195 41229
flex_2.5.35-10.1.diff.gz
ffa241774e7d5f163a0132ae4b96dd88c11b831712ec78dbc4ac142211018542 331982
flex_2.5.35-10.1_amd64.deb
736b6dd120d7a5b14956a8200a9cdbf435ca25a611447326181a254d98354e6d 205282
flex-doc_2.5.35-10.1_all.deb
Files:
b20ed8c63db9e26d16f9ec060bd28382 1264 devel optional flex_2.5.35-10.1.dsc
c2907cbd8ff8ca6adb9694d462caa897 41229 devel optional flex_2.5.35-10.1.diff.gz
a542c836fa32c10c570c902d3b0bf113 331982 devel optional
flex_2.5.35-10.1_amd64.deb
3cbefabd5d440b8f98461d610621fcbf 205282 doc optional
flex-doc_2.5.35-10.1_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
iEYEARECAAYFAk/vFs0ACgkQuW9ciZ2SjJtEVgCeOj2HEkUSVf2tn+XgDl8SLmtq
losAoP2FBx5kQwYeMVnSijR1kIhVKbsK
=Xfwt
-----END PGP SIGNATURE-----
--- End Message ---