[pkg-boost-devel] Bug#695826: Bug#701310: libreoffice: ftbfs with GCC-4.8

Rene Engelhard rene at debian.org
Sat Feb 23 16:05:59 UTC 2013


block 701310 by 695826
thanks

On Sat, Feb 23, 2013 at 01:43:15PM +0100, Rene Engelhard wrote:
> On Sat, Feb 23, 2013 at 11:21:12AM +0000, Matthias Klose wrote:
> [...]
> > checking which mdds to use... external
> > checking which hash container mdds shall use... std::unordered_map
> > checking mdds/flat_segment_tree.hpp usability... yes
> > checking mdds/flat_segment_tree.hpp presence... yes
> > checking for mdds/flat_segment_tree.hpp... yes
> > checking mdds/mixed_type_matrix.hpp usability... no
> > checking mdds/mixed_type_matrix.hpp presence... yes
> > configure: WARNING: mdds/mixed_type_matrix.hpp: present but cannot be compiled
> > configure: WARNING: mdds/mixed_type_matrix.hpp:     check for missing prerequisite headers?
> > configure: WARNING: mdds/mixed_type_matrix.hpp: see the Autoconf documentation
> > configure: WARNING: mdds/mixed_type_matrix.hpp:     section "Present But Cannot Be Compiled"
> > configure: WARNING: mdds/mixed_type_matrix.hpp: proceeding with the compiler's result
> > checking for mdds/mixed_type_matrix.hpp... no
> > configure: error: mdds/mixed_type_matrix.hpp not found. install mdds >= 0.4.0
> > Error running configure at ./autogen.sh line 157.
> > make: *** [config.status] Error 25
> > dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2
>
> This works with LO 4.0.0-1 (and with mdds at 0.6.1, LO 3.6+ needs >= 0.6.0)
>
> Let's see whether the build actually finishes, though

It would...

In your original post you wrote:

On Sat, Feb 23, 2013 at 11:21:12AM +0000, Matthias Klose wrote:
> The test rebuild was done with eglibc-2.17 and GCC-4.8, so some issues
> might be caused by the updated glibc.

... except that building some tests fail (because g++ 4.8 pulls in libc6
from experimental and thus stuff using boost_thread can't be built,
see #695826):

In file included from /usr/include/boost/thread/pthread/mutex.hpp:14:0,
                 from /usr/include/boost/thread/mutex.hpp:16,
                 from /usr/include/boost/pool/detail/mutex.hpp:14,
                 from /usr/include/boost/pool/poolfwd.hpp:24,
                 from /usr/include/boost/pool/object_pool.hpp:18,
                 from /usr/include/mdds/mixed_type_matrix_storage.hpp:39,
                 from /usr/include/mdds/mixed_type_matrix.hpp:33,
                 from /home/rene/Debian/Pakete/LibreOffice/libreoffice-4.0.0/sc/qa/unit/helper/debughelper.hxx:51,
                 from /home/rene/Debian/Pakete/LibreOffice/libreoffice-4.0.0/sc/qa/unit/helper/qahelper.hxx:33,
                 from /home/rene/Debian/Pakete/LibreOffice/libreoffice-4.0.0/sc/qa/unit/filters-test.cxx:46:
/usr/include/boost/thread/xtime.hpp:23:5: error: expected identifier before numeric constant
     TIME_UTC=1
     ^
/usr/include/boost/thread/xtime.hpp:23:5: error: expected ‘}’ before numeric constant
/usr/include/boost/thread/xtime.hpp:23:5: error: expected unqualified-id before numeric constant
/usr/include/boost/thread/xtime.hpp:46:14: error: expected type-specifier before ‘system_time’
     operator system_time() const
              ^
In file included from /usr/include/boost/thread/pthread/mutex.hpp:14:0,
                 from /usr/include/boost/thread/mutex.hpp:16,
                 from /usr/include/boost/pool/detail/mutex.hpp:14,
                 from /usr/include/boost/pool/poolfwd.hpp:24,
                 from /usr/include/boost/pool/object_pool.hpp:18,
                 from /usr/include/mdds/mixed_type_matrix_storage.hpp:39,
                 from /usr/include/mdds/mixed_type_matrix.hpp:33,
                 from /home/rene/Debian/Pakete/LibreOffice/libreoffice-4.0.0/sc/qa/unit/helper/debughelper.hxx:51,
                 from /home/rene/Debian/Pakete/LibreOffice/libreoffice-4.0.0/sc/qa/unit/helper/qahelper.hxx:33,
                 from /home/rene/Debian/Pakete/LibreOffice/libreoffice-4.0.0/sc/qa/unit/filters-test.cxx:46:
/usr/include/boost/thread/xtime.hpp: In function ‘int xtime_get(xtime*, int)’:
/usr/include/boost/thread/xtime.hpp:73:40: error: ‘get_system_time’ was not declared in this scope
         *xtp=get_xtime(get_system_time());
                                        ^
/usr/include/boost/thread/xtime.hpp:73:40: note: suggested alternative:
In file included from /usr/include/boost/thread/locks.hpp:12:0,
                 from /usr/include/boost/thread/pthread/mutex.hpp:12,
                 from /usr/include/boost/thread/mutex.hpp:16,
                 from /usr/include/boost/pool/detail/mutex.hpp:14,
                 from /usr/include/boost/pool/poolfwd.hpp:24,
                 from /usr/include/boost/pool/object_pool.hpp:18,
                 from /usr/include/mdds/mixed_type_matrix_storage.hpp:39,
                 from /usr/include/mdds/mixed_type_matrix.hpp:33,
                 from /home/rene/Debian/Pakete/LibreOffice/libreoffice-4.0.0/sc/qa/unit/helper/debughelper.hxx:51,
                 from /home/rene/Debian/Pakete/LibreOffice/libreoffice-4.0.0/sc/qa/unit/helper/qahelper.hxx:33,
                 from /home/rene/Debian/Pakete/LibreOffice/libreoffice-4.0.0/sc/qa/unit/filters-test.cxx:46:
/usr/include/boost/thread/thread_time.hpp:19:24: note:   ‘boost::get_system_time’
     inline system_time get_system_time()
:                        ^
In file included from /usr/include/boost/thread/pthread/mutex.hpp:14:0,
                 from /usr/include/boost/thread/mutex.hpp:16,
                 from /usr/include/boost/pool/detail/mutex.hpp:14,
                 from /usr/include/boost/pool/poolfwd.hpp:24,
                 from /usr/include/boost/pool/object_pool.hpp:18,
                 from /usr/include/mdds/mixed_type_matrix_storage.hpp:39,
                 from /usr/include/mdds/mixed_type_matrix.hpp:33,
                 from /home/rene/Debian/Pakete/LibreOffice/libreoffice-4.0.0/sc/qa/unit/helper/debughelper.hxx:51,
                 from /home/rene/Debian/Pakete/LibreOffice/libreoffice-4.0.0/sc/qa/unit/helper/qahelper.hxx:33,
                 from /home/rene/Debian/Pakete/LibreOffice/libreoffice-4.0.0/sc/qa/unit/filters-test.cxx:46:
/usr/include/boost/thread/xtime.hpp: At global scope:
/usr/include/boost/thread/xtime.hpp:88:1: error: expected declaration before ‘}’ token
 } // namespace boost
 ^
make[5]: *** [/home/rene/Debian/Pakete/LibreOffice/libreoffice-4.0.0/workdir/unxlngx6.pro/CxxObject/sc/qa/unit/filters-test.o] Fehler 1

Regards,

Rene



More information about the pkg-boost-devel mailing list