Your message dated Tue, 20 Aug 2013 13:33:05 +0000
with message-id <[email protected]>
and subject line Bug#693892: fixed in libprelude 1.0.0-11
has caused the Debian Bug report #693892,
regarding prelude-manager: FTBFS with glibc 2.16
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.)


-- 
693892: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=693892
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: prelude-manager
Version: 1.0.1-3.1
Severity: normal
Tags: patch
User: [email protected]
Usertags: origin-ubuntu ubuntu-patch raring

prelude-manager fails to build with glibc 2.16 due to it no longer
declaring gets:

  
https://launchpadlibrarian.net/121688463/buildlog_ubuntu-raring-i386.prelude-manager_1.0.1-3.1_FAILEDTOBUILD.txt.gz

This was fixed in gnulib upstream (from which some files are embedded
into prelude-manager) a little while ago.  Here's a patch.  It seemed
simplest to use dh-autoreconf here to avoid timestamp issues with
changing a .m4 file.

  * Avoid assuming that gets is declared.
  * Use dh-autoreconf to help apply the above patch.

diff -u prelude-manager-1.0.1/debian/rules prelude-manager-1.0.1/debian/rules
--- prelude-manager-1.0.1/debian/rules
+++ prelude-manager-1.0.1/debian/rules
@@ -5,8 +5,14 @@
 
 include /usr/share/quilt/quilt.make
 
+autoreconf: autoreconf-stamp
+autoreconf-stamp: $(QUILT_STAMPFN)
+       dh_testdir
+       dh_autoreconf
+       touch autoreconf-stamp
+
 configure: configure-stamp
-configure-stamp: patch
+configure-stamp: autoreconf-stamp
        dh_testdir
 
        ./configure --prefix=/usr \
@@ -32,8 +38,9 @@
 clean-patched:
        dh_testdir
        dh_testroot
-       rm -f build-stamp configure-stamp
+       rm -f build-stamp configure-stamp autoreconf-stamp
        [ ! -f Makefile ] || $(MAKE) distclean
+       dh_autoreconf_clean
        dh_clean
 
 install: build
@@ -97 +104 @@
-.PHONY: build clean binary-indep binary-arch binary install configure
+.PHONY: build clean binary-indep binary-arch binary install configure 
autoreconf
diff -u prelude-manager-1.0.1/debian/control 
prelude-manager-1.0.1/debian/control
--- prelude-manager-1.0.1/debian/control
+++ prelude-manager-1.0.1/debian/control
@@ -12,7 +12,8 @@
      libevent-dev,
      pkg-config,
      quilt,
-     hardening-wrapper
+     hardening-wrapper,
+     dh-autoreconf
 Standards-Version: 3.9.2
 Homepage: http://www.prelude-ids.org/
 
diff -u prelude-manager-1.0.1/debian/patches/series 
prelude-manager-1.0.1/debian/patches/series
--- prelude-manager-1.0.1/debian/patches/series
+++ prelude-manager-1.0.1/debian/patches/series
@@ -2,0 +3 @@
+gnulib-gets.patch
only in patch2:
unchanged:
--- prelude-manager-1.0.1.orig/debian/patches/gnulib-gets.patch
+++ prelude-manager-1.0.1/debian/patches/gnulib-gets.patch
@@ -0,0 +1,40 @@
+Description: Avoid assuming that gets is declared
+Origin: backport, 
http://git.savannah.gnu.org/gitweb/?p=gnulib.git;a=commitdiff;h=66712c23388e93e5c518ebc8515140fa0c807348
+Forwarded: no
+Last-Update: 2012-11-21
+
+Index: b/libmissing/m4/stdio_h.m4
+===================================================================
+--- a/libmissing/m4/stdio_h.m4
++++ b/libmissing/m4/stdio_h.m4
+@@ -35,9 +35,9 @@
+ 
+   dnl Check for declarations of anything we want to poison if the
+   dnl corresponding gnulib module is not in use, and which is not
+-  dnl guaranteed by C89.
++  dnl guaranteed by both C89 and C11.
+   gl_WARN_ON_USE_PREPARE([[#include <stdio.h>
+-    ]], [dprintf fpurge fseeko ftello getdelim getline popen renameat
++    ]], [dprintf fpurge fseeko ftello getdelim getline gets popen renameat
+     snprintf tmpfile vdprintf vsnprintf])
+ ])
+ 
+Index: b/libmissing/stdio.in.h
+===================================================================
+--- a/libmissing/stdio.in.h
++++ b/libmissing/stdio.in.h
+@@ -139,10 +139,12 @@
+ #endif
+ 
+ /* It is very rare that the developer ever has full control of stdin,
+-   so any use of gets warrants an unconditional warning.  Assume it is
+-   always declared, since it is required by C89.  */
++   so any use of gets warrants an unconditional warning; besides, C11
++   removed it.  */
+ #undef gets
++#if HAVE_RAW_DECL_GETS
+ _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
++#endif
+ 
+ #if @GNULIB_FOPEN@
+ # if @REPLACE_FOPEN@

Thanks,

-- 
Colin Watson                                       [[email protected]]

--- End Message ---
--- Begin Message ---
Source: libprelude
Source-Version: 1.0.0-11

We believe that the bug you reported is fixed in the latest version of
libprelude, 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.
Pierre Chifflier <[email protected]> (supplier of updated libprelude 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: Tue, 20 Aug 2013 15:10:04 +0200
Source: libprelude
Binary: libprelude-dev libprelude2 libprelude2-dbg libprelude-perl 
python-prelude
Architecture: source amd64
Version: 1.0.0-11
Distribution: unstable
Urgency: low
Maintainer: Pierre Chifflier <[email protected]>
Changed-By: Pierre Chifflier <[email protected]>
Description: 
 libprelude-dev - Security Information Management System [ Development files ]
 libprelude-perl - Security Information Management System [ Base library ]
 libprelude2 - Security Information Management System [ Base library ]
 libprelude2-dbg - Security Information Management System [ Debug symbols ]
 python-prelude - Security Information Management System [ Base library ]
Closes: 693892
Changes: 
 libprelude (1.0.0-11) unstable; urgency=low
 .
   * Upload to unstable (Closes: #693892)
   * Add patch 004-fix-link-gcrypt to fix missing linkage (missing libs)
Checksums-Sha1: 
 a0123db8819131dc5a2f88e7e2e1a9decb9332d8 1729 libprelude_1.0.0-11.dsc
 09b5bac39a6b55b894f23f252946a404a17a90d1 7734 libprelude_1.0.0-11.debian.tar.gz
 ae1356ccf28e4d136843e3a572e0e35e7c018cb7 348592 
libprelude-dev_1.0.0-11_amd64.deb
 e923dbb318036b7a4195eba84fad849925996b7a 750190 libprelude2_1.0.0-11_amd64.deb
 440b9ed31155eccde8dae23c71627db451601bbd 3235672 
libprelude2-dbg_1.0.0-11_amd64.deb
 fde6c536f9d61e660c51f4d267ab517134293b31 591934 
libprelude-perl_1.0.0-11_amd64.deb
 c3712c20ea0bcbb7f4d4eb195da75dd29cc2be96 509338 
python-prelude_1.0.0-11_amd64.deb
Checksums-Sha256: 
 24adc981e37fa847d609bb9c3144ceb126080402a3a2131916b0bc564ff0a01b 1729 
libprelude_1.0.0-11.dsc
 ec58031688e2dc5bfde7d89887b608b96d51a8e23451de6960401e5fa2a9416f 7734 
libprelude_1.0.0-11.debian.tar.gz
 5e0e75518cb336e2205bc926f5ff867983ad760aed73e8c536b0445af28fbf0a 348592 
libprelude-dev_1.0.0-11_amd64.deb
 6501ff578b752c71bfd8495d4e58edb358aeab4e2fd5f70b69433945e4e9a158 750190 
libprelude2_1.0.0-11_amd64.deb
 b1223972a357fc662dcc9721471a16a0c0840bfeaafce9400134040badf2ea6a 3235672 
libprelude2-dbg_1.0.0-11_amd64.deb
 d42b0496d6daf05e2d4e6d970346f9674238e9cfbdd8716763987ebe01654d74 591934 
libprelude-perl_1.0.0-11_amd64.deb
 d6bbb6b4f6b7ce0a8bde356a3ab620c7ae0beda52a61c419927838f00bfc59cb 509338 
python-prelude_1.0.0-11_amd64.deb
Files: 
 30344ac0dc341ed0eee736f2a446d8b0 1729 libs extra libprelude_1.0.0-11.dsc
 c49b6d37d4bdd84534f4549775ddfe2d 7734 libs extra 
libprelude_1.0.0-11.debian.tar.gz
 ba13cf4a77ddb4ce5f4b8b9fda7486de 348592 libdevel extra 
libprelude-dev_1.0.0-11_amd64.deb
 f08f2b3692bce1347273eb689272c674 750190 libs extra 
libprelude2_1.0.0-11_amd64.deb
 645031e573a7a5c4bd0a7fd3f132b917 3235672 debug extra 
libprelude2-dbg_1.0.0-11_amd64.deb
 32b481b9888e576a0e361382ca4f205e 591934 perl extra 
libprelude-perl_1.0.0-11_amd64.deb
 53aa1e26ea7fb2913190cae547de753b 509338 python extra 
python-prelude_1.0.0-11_amd64.deb

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

iQEcBAEBAgAGBQJSE2ymAAoJEFqCeQfe0MQYsIwH+gN/FLr07EbddEDzR2V/e0Gv
GbcvNZGTmINowi8gQYtudCgbVnEg1p6t80ZXihMTKvFJ3Dqb8f6L5PtUQ3SxSRwS
V3SxlOWy8ef2aV/moRKJWXginijj1kyPBUsU9ep1hnTF5YosUSgFEI3Y4ouysB3J
P2FV/LuZcasH01BIj/mGlASJmrRTC23YIYHlBGmesnKHlJEB2LhtyusgogefgKyb
pL+OkSqghLA+6SJDPNtPJDXH1y/buXGDLh3tAqsQM9VroKDdlqdFVbICbARuEgGZ
g40af6YRevMVLkFatoFydioXHlf/cI61bMZSNNmDLUsQR2UE/v8K39vonmboKdE=
=PCtK
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to