Your message dated Thu, 16 May 2013 23:17:51 +0000
with message-id <[email protected]>
and subject line Bug#694951: fixed in bison 2:2.7.1.dfsg-1
has caused the Debian Bug report #694951,
regarding bison: FTBFS with eglibc 2.16: Needs gnulib update
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.)


-- 
694951: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=694951
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: bison
Version: 2:2.5.dfsg-3
Severity: normal
Tags: patch
User: [email protected]
Usertags: port-x32 ftbfs-gnulib

If I try to build the current package with eglibc 2.16 from experimental 
installed, I get this build failure:

gcc -std=gnu99  -I.   -D_FORTIFY_SOURCE=2  -g -O2 -fstack-protector --
param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -c -o fseterr.o 
fseterr.c
In file included from fseterr.h:20:0,
                 from fseterr.c:20:
./stdio.h:496:1: error: 'gets' undeclared here (not in a function)
make[5]: *** [fseterr.o] Error 1
make[5]: Leaving directory `/tmp/buildd/bison-2.5.dfsg/lib'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/tmp/buildd/bison-2.5.dfsg/lib'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/tmp/buildd/bison-2.5.dfsg/lib'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/buildd/bison-2.5.dfsg'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/tmp/buildd/bison-2.5.dfsg'
make: *** [debian/stamp-makefile-build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2

Attached is a debdiff of the changes I made to get it to compile again.  
Alternately, the 1:2.6.2.dfsg-1 version which was briefly in the archive built 
fine against eglibc 2.16.
-- 
Daniel Schepler
diff -Nru bison-2.5.dfsg/debian/changelog bison-2.5.dfsg/debian/changelog
--- bison-2.5.dfsg/debian/changelog	2012-11-01 11:04:49.000000000 -0700
+++ bison-2.5.dfsg/debian/changelog	2012-11-21 11:30:31.000000000 -0800
@@ -1,3 +1,10 @@
+bison (2:2.5.dfsg-3+x32) UNRELEASED; urgency=low
+
+  * Fix gnulib's stdio.in.h to compile against eglibc 2.16, which no longer
+    declares gets() by default.
+
+ -- Daniel Schepler <[email protected]>  Wed, 21 Nov 2012 11:29:58 -0800
+
 bison (2:2.5.dfsg-3) unstable; urgency=low
 
   * Bump epoch to downgrade unstable version from 2.6.2.dfsg-1 back to
diff -Nru bison-2.5.dfsg/debian/patches/01_gnulib_eglibc2_16.diff bison-2.5.dfsg/debian/patches/01_gnulib_eglibc2_16.diff
--- bison-2.5.dfsg/debian/patches/01_gnulib_eglibc2_16.diff	1969-12-31 16:00:00.000000000 -0800
+++ bison-2.5.dfsg/debian/patches/01_gnulib_eglibc2_16.diff	2012-11-21 11:29:19.000000000 -0800
@@ -0,0 +1,14 @@
+Index: bison-2.5.dfsg/lib/stdio.in.h
+===================================================================
+--- bison-2.5.dfsg.orig/lib/stdio.in.h	2011-05-14 22:23:46.000000000 +0000
++++ bison-2.5.dfsg/lib/stdio.in.h	2012-11-21 19:29:15.000000000 +0000
+@@ -181,7 +181,9 @@
+    so any use of gets warrants an unconditional warning.  Assume it is
+    always declared, since it is required by C89.  */
+ #undef gets
++#if 0
+ _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
++#endif
+ 
+ #if @GNULIB_FOPEN@
+ # if @REPLACE_FOPEN@
diff -Nru bison-2.5.dfsg/debian/patches/series bison-2.5.dfsg/debian/patches/series
--- bison-2.5.dfsg/debian/patches/series	1969-12-31 16:00:00.000000000 -0800
+++ bison-2.5.dfsg/debian/patches/series	2012-11-21 11:28:52.000000000 -0800
@@ -0,0 +1 @@
+01_gnulib_eglibc2_16.diff

--- End Message ---
--- Begin Message ---
Source: bison
Source-Version: 2:2.7.1.dfsg-1

We believe that the bug you reported is fixed in the latest version of
bison, which is due to be installed in the Debian FTP archive.

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.
Chuan-kai Lin <[email protected]> (supplier of updated bison 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: Thu, 16 May 2013 10:06:11 -0700
Source: bison
Binary: bison libbison-dev
Architecture: source amd64
Version: 2:2.7.1.dfsg-1
Distribution: unstable
Urgency: low
Maintainer: Chuan-kai Lin <[email protected]>
Changed-By: Chuan-kai Lin <[email protected]>
Description: 
 bison      - YACC-compatible parser generator
 libbison-dev - YACC-compatible parser generator - development library
Closes: 694951 701388
Changes: 
 bison (2:2.7.1.dfsg-1) unstable; urgency=low
 .
   * New upstream version (Closes: #694951, #701388).
   * Update Standards-Version to 3.9.4.0 (no change required).
   * Revise makeinfo inhibit in debian/rules.
Checksums-Sha1: 
 aa4811e8a1ceca4ddfe459b09fa6c7c2b8f6ddc2 1172 bison_2.7.1.dfsg-1.dsc
 f60268514099e7b62e1bf5b2a32de8055b272995 2015363 bison_2.7.1.dfsg.orig.tar.bz2
 8ca0b6a95502befb203333f9249e1a8c9f92db88 8810 bison_2.7.1.dfsg-1.debian.tar.gz
 a908ae48620fe557ab68482ff29bf5c29e5af88b 789434 bison_2.7.1.dfsg-1_amd64.deb
 e87b92d0cd1ab7ade7c2a677c2973dd7f9b50be5 345882 
libbison-dev_2.7.1.dfsg-1_amd64.deb
Checksums-Sha256: 
 53fb20847a894408c84a5828f1011eab703331c8fc586ceb1c984e2a2bafc291 1172 
bison_2.7.1.dfsg-1.dsc
 0db1ca7d274cc95bbbcfa8841beb758a0a49bfd4cc43ad726f36f8bae14f247e 2015363 
bison_2.7.1.dfsg.orig.tar.bz2
 2e95efeea9e41808a2bf11f80b104b0b0d53feefba9ee60181904f65bc02d787 8810 
bison_2.7.1.dfsg-1.debian.tar.gz
 209643a9d2e4d17eeabfd87738ca53813786d4bf9f9cea21d24e857e6b766e5f 789434 
bison_2.7.1.dfsg-1_amd64.deb
 53ec2738c41694cd658b7cdcf0136d918a590e0e51281c24bad3b4557461c242 345882 
libbison-dev_2.7.1.dfsg-1_amd64.deb
Files: 
 34cd23c9631387104b11f531d395dd6e 1172 devel optional bison_2.7.1.dfsg-1.dsc
 6b9070660217c7a22d327458e718ca01 2015363 devel optional 
bison_2.7.1.dfsg.orig.tar.bz2
 e44f9b1e26806138d8f7453e5eca4a5d 8810 devel optional 
bison_2.7.1.dfsg-1.debian.tar.gz
 eca9d121f3ec92f79539218a1148e338 789434 devel optional 
bison_2.7.1.dfsg-1_amd64.deb
 094a9fc71de1de704890adc3b219a4a9 345882 libdevel optional 
libbison-dev_2.7.1.dfsg-1_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlGVZm4ACgkQqq7AEt0PYmjKDwCfdqS7kuGwP7wYO9WLSfeUuJsW
vqsAn0x6XhImAr7nLwHseS4VGl6iQg6/
=1SbI
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to