Debian Bug report logs - #836768
libphonenumber: FTBFS with glibc 2.24: int readdir_r() is deprecated

version graph

Package: src:libphonenumber; Maintainer for src:libphonenumber is Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>;

Reported by: Graham Inggs <ginggs@debian.org>

Date: Mon, 5 Sep 2016 14:51:01 UTC

Severity: serious

Found in version libphonenumber/7.1.0-4

Fixed in version libphonenumber/7.1.0-5

Done: Markus Koschany <apo@debian.org>

Bug is archived. No further changes may be made.

Forwarded to https://github.com/googlei18n/libphonenumber/issues/1307

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>:
Bug#836768; Package src:libphonenumber. (Mon, 05 Sep 2016 14:51:05 GMT) (full text, mbox, link).


Acknowledgement sent to Graham Inggs <ginggs@debian.org>:
New Bug report received and forwarded. Copy sent to Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>. (Mon, 05 Sep 2016 14:51:05 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Graham Inggs <ginggs@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: libphonenumber: FTBFS with glibc 2.24: int readdir_r() is deprecated
Date: Mon, 5 Sep 2016 16:47:43 +0200
Source: libphonenumber
Version: 7.1.0-4
Severity: serious


Hi Maintainer

Your package FTBFS with glibc 2.24 now in unstable.
This issue has been reported upstream: 
https://github.com/googlei18n/libphonenumber/issues/1307 .
Below is an excerpt of the build log (hopefully the relevant part):

[  0%] Building CXX object 
tools/CMakeFiles/generate_geocoding_data.dir/src/cpp-build/generate_geocoding_data.cc.o
/<<PKGBUILDDIR>>/tools/cpp/src/cpp-build/generate_geocoding_data.cc: In 
function ‘bool i18n::phonenumbers::ListDirectory(const string&, 
std::vector<i18n::phonenumbers::DirEntry>*)’:
/<<PKGBUILDDIR>>/tools/cpp/src/cpp-build/generate_geocoding_data.cc:108:21: 
error: ‘int readdir_r(DIR*, dirent*, dirent**)’ is deprecated 
[-Werror=deprecated-declarations]
     const int res = readdir_r(dir, &entry, &dir_result);
                     ^~~~~~~~~
In file included from 
/<<PKGBUILDDIR>>/tools/cpp/src/cpp-build/generate_geocoding_data.cc:19:0:
/usr/include/dirent.h:183:12: note: declared here
 extern int readdir_r (DIR *__restrict __dirp,
            ^~~~~~~~~
/<<PKGBUILDDIR>>/tools/cpp/src/cpp-build/generate_geocoding_data.cc:108:55: 
error: ‘int readdir_r(DIR*, dirent*, dirent**)’ is deprecated 
[-Werror=deprecated-declarations]
     const int res = readdir_r(dir, &entry, &dir_result);
                                                       ^
In file included from 
/<<PKGBUILDDIR>>/tools/cpp/src/cpp-build/generate_geocoding_data.cc:19:0:
/usr/include/dirent.h:183:12: note: declared here
 extern int readdir_r (DIR *__restrict __dirp,
            ^~~~~~~~~
cc1plus: all warnings being treated as errors
tools/CMakeFiles/generate_geocoding_data.dir/build.make:62: recipe for 
target 
'tools/CMakeFiles/generate_geocoding_data.dir/src/cpp-build/generate_geocoding_data.cc.o' 
failed

Regards
Graham




Set Bug forwarded-to-address to 'https://github.com/googlei18n/libphonenumber/issues/1307'. Request was from Graham Inggs <ginggs@debian.org> to control@bugs.debian.org. (Mon, 05 Sep 2016 15:09:09 GMT) (full text, mbox, link).


Added indication that bug 836768 blocks 834855 Request was from Graham Inggs <ginggs@debian.org> to control@bugs.debian.org. (Mon, 05 Sep 2016 15:09:11 GMT) (full text, mbox, link).


Reply sent to Markus Koschany <apo@debian.org>:
You have taken responsibility. (Tue, 13 Sep 2016 23:27:07 GMT) (full text, mbox, link).


Notification sent to Graham Inggs <ginggs@debian.org>:
Bug acknowledged by developer. (Tue, 13 Sep 2016 23:27:07 GMT) (full text, mbox, link).


Message #14 received at 836768-close@bugs.debian.org (full text, mbox, reply):

From: Markus Koschany <apo@debian.org>
To: 836768-close@bugs.debian.org
Subject: Bug#836768: fixed in libphonenumber 7.1.0-5
Date: Tue, 13 Sep 2016 23:25:40 +0000
Source: libphonenumber
Source-Version: 7.1.0-5

We believe that the bug you reported is fixed in the latest version of
libphonenumber, 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 836768@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Markus Koschany <apo@debian.org> (supplier of updated libphonenumber 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@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Tue, 13 Sep 2016 23:13:45 +0200
Source: libphonenumber
Binary: libphonenumber7-java libphonenumber-dev libphonenumber7 libgeocoding7
Architecture: source
Version: 7.1.0-5
Distribution: unstable
Urgency: medium
Maintainer: Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>
Changed-By: Markus Koschany <apo@debian.org>
Description:
 libgeocoding7 - geocoding phone numbers
 libphonenumber-dev - parsing/formatting/validating phone numbers - development files
 libphonenumber7 - parsing/formatting/validating phone numbers
 libphonenumber7-java - parsing/formatting/validating phone numbers - java
Closes: 836768
Changes:
 libphonenumber (7.1.0-5) unstable; urgency=medium
 .
   * Team upload.
   * Revert "Set environment to GCC-6." because this is the default now.
   * Add readdir_r-is-deprecated.patch and fix FTBFS with glibc 2.24.
     Thanks to Graham Inggs for the report. (Closes: #836768)
   * Add libboost-filesystem-dev to Build-Depends.
Checksums-Sha1:
 49f4c4b936d5b303a1200b368ce1a6c269696278 2969 libphonenumber_7.1.0-5.dsc
 b124d3fb221687b751d8d10e552736dd02c02d51 12496 libphonenumber_7.1.0-5.debian.tar.xz
Checksums-Sha256:
 04744559875f74fc240520f36953f01f67d88cd9bd1c96e85faca9c3002d5536 2969 libphonenumber_7.1.0-5.dsc
 3a389a399d77450fe750d30291cac4e1ea939fea0d3d583567d4587f35d2d2eb 12496 libphonenumber_7.1.0-5.debian.tar.xz
Files:
 a6bb4519a74105c7a5bffea174318adc 2969 libs optional libphonenumber_7.1.0-5.dsc
 a5aa90af5f1ba1ea7b318f1f01db12db 12496 libs optional libphonenumber_7.1.0-5.debian.tar.xz

-----BEGIN PGP SIGNATURE-----

iQKMBAEBCgB2BQJX2HnSXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRBQ0YzRDA4OEVGMzJFREVGNkExQTgzNUZE
OUFEMTRCOTUxM0I1MUU0DxxhcG9AZGViaWFuLm9yZwAKCRDZrRS5UTtR5HX/D/91
IZWv2N2SEK4NT2DYzNB8IIMHd44uVX6KohZgoznyyHdQB9hCRaz2cZCgzb/nXXnL
vrRrcdRU3J3xiKnBdOpcLKTcQ0XgcYytGEqnJUs4oYAong7lDKmbR1FWtrrToXbj
e6NwUmQAA2bJPqFPf9E9DeE5eXZML0lUb8esTck1Wc1SZ2jyQ4bttF2orVhk0Vfy
jj0P5mxDj54Cjryzsf81ZCLpdJu4aY1GeYMMY9z+ebpwnnzCsACQD9IsrEYmYgIJ
gl8i40C5DxqUnKTcpjVm4hp+3/KRhMpJr65CpU4ROdXM7V5ot6gamixWRNCEKDjr
6+fLYjrAcvXbLVL+0LK989Q4FsLV6irA+xzysobkmflBfuTzGglggtn3QunbCIqc
wT61laqyD07dHdUl1ZmphDG5wvKo5DmkFp57PjNG4EjSK8/eftaZ6qt+CDFqgSCq
jCFKSDC1zJlgnjAbgkk+xzl8Md8wvXBSiEVSuAjr+UYstG3k6XvS1n++xR7KalSN
nDisK4dSLjGVDXcbb45EZvITuA1jfNMigQAq1JmZCRZk2wqnaASARl5hvKnjNLgW
cFu+hBOMmh6camkK0zia/1i3OikAklw9z5eXsw+fgQ4V1r9e5c/leKNp4glQ8jD9
lt4I7Vn3iURgtg73MhmidNvYh/iwu2aePMFvoYTv7Q==
=CN9+
-----END PGP SIGNATURE-----




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Wed, 12 Oct 2016 07:30:58 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: Sat Jan 6 14:23:25 2018; Machine Name: beach

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.