Bug#836768: libphonenumber: FTBFS with glibc 2.24: int readdir_r() is deprecated
Graham Inggs
ginggs at debian.org
Mon Sep 5 14:47:43 UTC 2016
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
More information about the pkg-java-maintainers
mailing list