Bug#777967: libphonenumber: ftbfs with GCC-5

2015-07-24 Thread tony mancill
On 07/21/2015 08:13 AM, Matthias Klose wrote:
 Control: tags -1 + patch
 
 packaged a new upstream version, the library needs a transition anyway. Would 
 it
 be ok to upload this version to experimental?
 
 package at
 https://launchpad.net/~ci-train-ppa-service/+archive/ubuntu/landing-016/+sourcepub/5227114/+listing-archive-extra

Hi Matthias,

Thank you for packaging this update.  Feel free to upload to
experimental, but I'll work on getting 7.0.8 into Debian experimental if
you don't beat me to it.

Cheers,
tony



signature.asc
Description: OpenPGP digital signature
__
This is the maintainer address of Debian's Java team
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-maintainers. 
Please use
debian-j...@lists.debian.org for discussions and questions.

Bug#777967: libphonenumber: ftbfs with GCC-5

2015-07-21 Thread Matthias Klose
Control: tags -1 + patch

packaged a new upstream version, the library needs a transition anyway. Would it
be ok to upload this version to experimental?

package at
https://launchpad.net/~ci-train-ppa-service/+archive/ubuntu/landing-016/+sourcepub/5227114/+listing-archive-extra

__
This is the maintainer address of Debian's Java team
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-maintainers. 
Please use
debian-j...@lists.debian.org for discussions and questions.


Bug#777967: libphonenumber: ftbfs with GCC-5

2015-02-12 Thread Matthias Klose
Package: src:libphonenumber
Version: 6.3~svn698-3
Severity: normal
Tags: sid stretch
User: debian-...@lists.debian.org
Usertags: ftbfs-gcc-5

Please keep this issue open in the bug tracker for the package it
was filed for.  If a fix in another package is required, please
file a bug for the other package (or clone), and add a block in this
package. Please keep the issue open until the package can be built in
a follow-up test rebuild.

The package fails to build in a test rebuild on at least amd64 with
gcc-5/g++-5, but succeeds to build with gcc-4.9/g++-4.9. The
severity of this report may be raised before the stretch release.

The full build log can be found at:
http://people.debian.org/~doko/logs/gcc5-20150205/libphonenumber_6.3~svn698-3_unstable_gcc5.log
The last lines of the build log are at the end of this report.

To build with GCC 5, either set CC=gcc-5 CXX=g++-5 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.

  apt-get -t experimental install g++ 

Common build failures are C11 as the default C mode, new warnings
resulting in build failures with -Werror turned on, or new/dropped
symbols in Debian symbols files.  For other C/C++ related build failures
see the porting guide at http://gcc.gnu.org/gcc-5/porting_to.html

[...]
 ^
/usr/include/boost/thread/once.hpp:35:13: note:   template argument 
deduction/substitution failed:
/usr/include/boost/thread/once.hpp:38:18: note:   cannot convert 'func' (type 
'void (*)()') to type 'boost::once_flag'
 call_once(flag,func);
  ^
make[4]: *** [CMakeFiles/phonenumber.dir/src/phonenumbers/phonenumberutil.cc.o] 
Error 1
make[4]: *** Waiting for unfinished jobs
CMakeFiles/phonenumber.dir/build.make:248: recipe for target 
'CMakeFiles/phonenumber.dir/src/phonenumbers/phonenumberutil.cc.o' failed
In file included from 
/«PKGBUILDDIR»/cpp/src/phonenumbers/base/memory/singleton.h:23:0,
 from 
/«PKGBUILDDIR»/cpp/src/phonenumbers/phonenumbermatcher.cc:41:
/usr/include/boost/thread/once.hpp: In instantiation of 'void 
boost::call_once(Function, boost::once_flag) [with Function = void (*)()]':
/«PKGBUILDDIR»/cpp/src/phonenumbers/base/memory/singleton.h:35:21:   required 
from 'static T* i18n::phonenumbers::SingletonT::GetInstance() [with T = 
i18n::phonenumbers::PhoneNumberMatcherRegExps]'
/«PKGBUILDDIR»/cpp/src/phonenumbers/phonenumbermatcher.cc:398:44:   required 
from here
/usr/include/boost/thread/once.hpp:38:18: error: no matching function for call 
to 'call_once(boost::once_flag, void (*)())'
 call_once(flag,func);
  ^
In file included from /usr/include/boost/thread/once.hpp:20:0,
 from 
/«PKGBUILDDIR»/cpp/src/phonenumbers/base/memory/singleton.h:23,
 from 
/«PKGBUILDDIR»/cpp/src/phonenumbers/phonenumbermatcher.cc:41:
/usr/include/boost/thread/pthread/once_atomic.hpp:121:15: note: candidate: 
templateclass Function, class ... ArgTypes void 
boost::call_once(boost::once_flag, boost::detail::thread_move_tT, 
boost::detail::thread_move_tArgs...)
   inline void call_once(once_flag flag, BOOST_THREAD_RV_REF(Function) f, 
BOOST_THREAD_RV_REF(ArgTypes)... args)
   ^
/usr/include/boost/thread/pthread/once_atomic.hpp:121:15: note:   template 
argument deduction/substitution failed:
In file included from 
/«PKGBUILDDIR»/cpp/src/phonenumbers/base/memory/singleton.h:23:0,
 from 
/«PKGBUILDDIR»/cpp/src/phonenumbers/phonenumbermatcher.cc:41:
/usr/include/boost/thread/once.hpp:38:18: note:   mismatched types 
'boost::detail::thread_move_tT' and 'void (*)()'
 call_once(flag,func);
  ^
/usr/include/boost/thread/once.hpp:35:13: note: candidate: templateclass 
Function void boost::call_once(Function, boost::once_flag)
 inline void call_once(Function func,once_flag flag)
 ^
/usr/include/boost/thread/once.hpp:35:13: note:   template argument 
deduction/substitution failed:
/usr/include/boost/thread/once.hpp:38:18: note:   cannot convert 'func' (type 
'void (*)()') to type 'boost::once_flag'
 call_once(flag,func);
  ^
make[4]: *** 
[CMakeFiles/phonenumber.dir/src/phonenumbers/phonenumbermatcher.cc.o] Error 1
CMakeFiles/phonenumber.dir/build.make:524: recipe for target 
'CMakeFiles/phonenumber.dir/src/phonenumbers/phonenumbermatcher.cc.o' failed
make[4]: Leaving directory '/«PKGBUILDDIR»/cpp/build'
make[3]: *** [CMakeFiles/phonenumber.dir/all] Error 2
CMakeFiles/Makefile2:362: recipe for target 'CMakeFiles/phonenumber.dir/all' 
failed
make[3]: Leaving directory '/«PKGBUILDDIR»/cpp/build'
make[2]: *** [CMakeFiles/phonenumber.dir/rule] Error 2
CMakeFiles/Makefile2:374: recipe for target 'CMakeFiles/phonenumber.dir/rule' 
failed
make[2]: Leaving directory '/«PKGBUILDDIR»/cpp/build'
make[1]: *** [phonenumber] Error 2
Makefile:268: recipe for target 'phonenumber' failed
make[1]: Leaving directory '/«PKGBUILDDIR»/cpp/build'
make: ***