Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 533746 - app-office/libreoffice-4.3.4.1 (and other version) fails to compile with dev-libs/boost-1.56+: cairo_spritecanvashelper.cxx:409:93: error: use of deleted function ‘void boost::cref(const T&&) [with T = boost::shared_ptr<cairo::Surface>]’
Summary: app-office/libreoffice-4.3.4.1 (and other version) fails to compile with dev-...
Status: RESOLVED DUPLICATE of bug 522178
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-12-28 09:28 UTC by Attila Tóth
Modified: 2014-12-28 12:40 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Attila Tóth 2014-12-28 09:28:35 UTC
[build CXX] canvas/source/opengl/ogl_bitmapcanvashelper.cxx
/var/tmp/portage/app-office/libreoffice-4.3.4.1-r1/work/libreoffice-4.3.4.1/canvas/source/cairo/cairo_spritecanvashelper.cxx: In member function ‘void cairocanvas::SpriteCanvasHelper::scrollUpdate(const basegfx::B2DRange&, const basegfx::B2DRange&, const UpdateArea&)’:
/var/tmp/portage/app-office/libreoffice-4.3.4.1-r1/work/libreoffice-4.3.4.1/canvas/source/cairo/cairo_spritecanvashelper.cxx:409:93: error: use of deleted function ‘void boost::cref(const T&&) [with T = boost::shared_ptr<cairo::Surface>]’
                                         boost::cref(mpOwningSpriteCanvas->getBufferSurface()),
                                                                                             ^
In file included from /usr/include/boost/ref.hpp:15:0,
                 from /usr/include/boost/function/function_base.hpp:29,
                 from /usr/include/boost/function/detail/prologue.hpp:17,
                 from /usr/include/boost/function.hpp:24,
                 from /var/tmp/portage/app-office/libreoffice-4.3.4.1-r1/work/libreoffice-4.3.4.1/include/comphelper/scopeguard.hxx:24,
                 from /var/tmp/portage/app-office/libreoffice-4.3.4.1-r1/work/libreoffice-4.3.4.1/canvas/source/cairo/cairo_spritecanvashelper.cxx:27:
/usr/include/boost/core/ref.hpp:179:24: error: declared here
 template<class T> void cref(T const&&) BOOST_REF_DELETE;

Breaks on netbsd as well:
http://mail-index.netbsd.org/pkgsrc-users/2014/08/15/msg020233.html
And also on LFS:
http://osdir.com/ml/blfs-book/2014-08/msg00562.html

I think the reason is this:
https://svn.boost.org/trac/boost/ticket/10368
4 months old, no fix so far that I know of.

It's a blocker. I hope there will be a fix out sometimes in the near future...
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2014-12-28 09:31:37 UTC

*** This bug has been marked as a duplicate of bug 522178 ***