Your message dated Thu, 25 Jun 2015 17:58:10 +0000 (UTC)
with message-id <529537413.2051466.1435255090213.javamail.ya...@mail.yahoo.com>
and subject line 
has caused the Debian Bug report #777993,
regarding lucene++: ftbfs with GCC-5
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 ow...@bugs.debian.org
immediately.)


-- 
777993: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=777993
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: src:lucene++
Version: 3.0.6-4
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/lucene++_3.0.6-4_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/pthread/once_atomic.hpp:121:15: note: candidate: 
template<class Function, class ... ArgTypes> void 
boost::call_once(boost::once_flag&, boost::detail::thread_move_t<T>, 
boost::detail::thread_move_t<Args>...)
   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:
/build/lucene++-fp03V_/lucene++-3.0.6/src/core/analysis/standard/StandardTokenizerImpl.cpp:283:41:
 note:   mismatched types 'boost::detail::thread_move_t<T>' and 'void (*)()'
     boost::call_once(once, ZZ_TRANS_INIT);
                                         ^
In file included from 
/build/lucene++-fp03V_/lucene++-3.0.6/src/core/analysis/standard/StandardTokenizerImpl.cpp:15:0:
/usr/include/boost/thread/once.hpp:35:13: note: candidate: template<class 
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:
/build/lucene++-fp03V_/lucene++-3.0.6/src/core/analysis/standard/StandardTokenizerImpl.cpp:283:41:
 note:   cannot convert 'Lucene::StandardTokenizerImpl::ZZ_TRANS_INIT' (type 
'void()') to type 'boost::once_flag&'
     boost::call_once(once, ZZ_TRANS_INIT);
                                         ^
/build/lucene++-fp03V_/lucene++-3.0.6/src/core/analysis/standard/StandardTokenizerImpl.cpp:
 In static member function 'static const int32_t* 
Lucene::StandardTokenizerImpl::ZZ_ATTRIBUTE()':
/build/lucene++-fp03V_/lucene++-3.0.6/src/core/analysis/standard/StandardTokenizerImpl.cpp:304:45:
 error: no matching function for call to 'call_once(boost::once_flag&, void 
(&)())'
     boost::call_once(once, ZZ_ATTRIBUTE_INIT);
                                             ^
In file included from /usr/include/boost/thread/once.hpp:20:0,
                 from 
/build/lucene++-fp03V_/lucene++-3.0.6/src/core/analysis/standard/StandardTokenizerImpl.cpp:15:
/usr/include/boost/thread/pthread/once_atomic.hpp:121:15: note: candidate: 
template<class Function, class ... ArgTypes> void 
boost::call_once(boost::once_flag&, boost::detail::thread_move_t<T>, 
boost::detail::thread_move_t<Args>...)
   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:
/build/lucene++-fp03V_/lucene++-3.0.6/src/core/analysis/standard/StandardTokenizerImpl.cpp:304:45:
 note:   mismatched types 'boost::detail::thread_move_t<T>' and 'void (*)()'
     boost::call_once(once, ZZ_ATTRIBUTE_INIT);
                                             ^
In file included from 
/build/lucene++-fp03V_/lucene++-3.0.6/src/core/analysis/standard/StandardTokenizerImpl.cpp:15:0:
/usr/include/boost/thread/once.hpp:35:13: note: candidate: template<class 
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:
/build/lucene++-fp03V_/lucene++-3.0.6/src/core/analysis/standard/StandardTokenizerImpl.cpp:304:45:
 note:   cannot convert 'Lucene::StandardTokenizerImpl::ZZ_ATTRIBUTE_INIT' 
(type 'void()') to type 'boost::once_flag&'
     boost::call_once(once, ZZ_ATTRIBUTE_INIT);
                                             ^
make[3]: *** 
[src/core/CMakeFiles/lucene++.dir/analysis/standard/StandardTokenizerImpl.cpp.o]
 Error 1
make[3]: *** Waiting for unfinished jobs....
src/core/CMakeFiles/lucene++.dir/build.make:3088: recipe for target 
'src/core/CMakeFiles/lucene++.dir/analysis/standard/StandardTokenizerImpl.cpp.o'
 failed
make[3]: Leaving directory 
'/build/lucene++-fp03V_/lucene++-3.0.6/obj-x86_64-linux-gnu'
make[2]: *** [src/core/CMakeFiles/lucene++.dir/all] Error 2
CMakeFiles/Makefile2:209: recipe for target 
'src/core/CMakeFiles/lucene++.dir/all' failed
make[2]: Leaving directory 
'/build/lucene++-fp03V_/lucene++-3.0.6/obj-x86_64-linux-gnu'
make[1]: *** [all] Error 2
Makefile:120: recipe for target 'all' failed
make[1]: Leaving directory 
'/build/lucene++-fp03V_/lucene++-3.0.6/obj-x86_64-linux-gnu'
dh_auto_build: make -j10 returned exit code 2
make: *** [build-arch] Error 2
debian/rules:7: recipe for target 'build-arch' failed
dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2

--- End Message ---
--- Begin Message ---
This particular bug has been fixed in boost 1.55.0+dfsg-4.

However trying to build it against g++5 in experimental gives me some troubles, 
but I guess they will be fixed once the transition is completed and boost is 
rebuilt on top of the new ABI (linking issues about symbols mismatches)

cd /lucene++-3.0.7/obj-x86_64-linux-gnu/src/demo && /usr/bin/cmake -E 
cmake_link_script CMakeFiles/deletefiles.dir/link.txt --verbose=1
/usr/bin/c++   -g -O2 -fstack-protector-strong -Wformat -Werror=format-security 
-D_FORTIFY_SOURCE=2    -Wl,-z,relro 
CMakeFiles/deletefiles.dir/deletefiles/main.cpp.o  -o deletefiles -rdynamic 
../core/liblucene++.so.3.0.7 -lpthread -lboost_date_time -lboost_filesystem 
-lboost_iostreams -lboost_regex -lboost_system -lboost_thread -lpthread 
-lboost_filesystem -lboost_iostreams -lboost_regex -lboost_system 
-lboost_thread -lpthread 
-Wl,-rpath,/lucene++-3.0.7/obj-x86_64-linux-gnu/src/core 
../core/liblucene++.so.3.0.7: undefined reference to 
`boost::filesystem::path_traits::convert(wchar_t const*, wchar_t const*, 
std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> 
>&, std::codecvt<wchar_t, char, __mbstate_t> const&)'
../core/liblucene++.so.3.0.7: undefined reference to 
`boost::re_detail::perl_matcher<__gnu_cxx::__normal_iterator<wchar_t const*, 
std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, 
std::allocator<wchar_t> > >, 
std::allocator<boost::sub_match<__gnu_cxx::__normal_iterator<wchar_t const*, 
std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, 
std::allocator<wchar_t> > > > >, boost::regex_traits<wchar_t, 
boost::cpp_regex_traits<wchar_t> > 
>::construct_init(boost::basic_regex<wchar_t, boost::regex_traits<wchar_t, 
boost::cpp_regex_traits<wchar_t> > > const&, 
boost::regex_constants::_match_flags)'
../core/liblucene++.so.3.0.7: undefined reference to 
`boost::filesystem::path_traits::convert(char const*, char const*, 
std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, 
std::allocator<wchar_t> >&, std::codecvt<wchar_t, char, __mbstate_t> const&)'
../core/liblucene++.so.3.0.7: undefined reference to 
`boost::match_results<__gnu_cxx::__normal_iterator<wchar_t const*, 
std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, 
std::allocator<wchar_t> > >, 
std::allocator<boost::sub_match<__gnu_cxx::__normal_iterator<wchar_t const*, 
std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, 
std::allocator<wchar_t> > > > > 
>::maybe_assign(boost::match_results<__gnu_cxx::__normal_iterator<wchar_t 
const*, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, 
std::allocator<wchar_t> > >, 
std::allocator<boost::sub_match<__gnu_cxx::__normal_iterator<wchar_t const*, 
std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, 
std::allocator<wchar_t> > > > > > const&)'
collect2: error: ld returned 1 exit status
src/demo/CMakeFiles/deletefiles.dir/build.make:102: recipe for target 
'src/demo/deletefiles' failed
make[3]: *** [src/demo/deletefiles] Error 1
make[3]: Leaving directory '/lucene++-3.0.7/obj-x86_64-linux-gnu'
CMakeFiles/Makefile2:503: recipe for target 
'src/demo/CMakeFiles/deletefiles.dir/all' failed
make[2]: *** [src/demo/CMakeFiles/deletefiles.dir/all] Error 2


so I'm closing this bug.
cheers,

G.

--- End Message ---

Reply via email to