Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 456162 - app-office/libreoffice-3.4.6.3: fails to build with dev-libs/boost-1.53.0
Summary: app-office/libreoffice-3.4.6.3: fails to build with dev-libs/boost-1.53.0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Office Team
URL:
Whiteboard: Fixed-in: 4.0.4
Keywords:
Depends on:
Blocks: boost-1.53
  Show dependency tree
 
Reported: 2013-02-08 12:28 UTC by Mark Wright
Modified: 2013-05-12 09:44 UTC (History)
0 users

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 Mark Wright gentoo-dev 2013-02-08 12:28:32 UTC
[ build CXX ] editeng/source/editeng/impedit5.cxx
In file included from /h/argus/3/root/var/tmp/portage/app-office/libreoffice-3.6.4.3/work/libreoffice-core-3.6.4.3/editeng/source/editeng/eerdll2.hxx:35:0,
                 from /h/argus/3/root/var/tmp/portage/app-office/libreoffice-3.6.4.3/work/libreoffice-core-3.6.4.3/editeng/source/editeng/eerdll.cxx:40:
/h/argus/3/root/var/tmp/portage/app-office/libreoffice-3.6.4.3/work/libreoffice-core-3.6.4.3/solver/unxlngx6.pro/inc/comphelper/scoped_disposing_ptr.hxx: In instantiation of 'comphelper::scoped_disposing_ptr<T>::operator bool() const [with T = OutputDevice]':
/h/argus/3/root/var/tmp/portage/app-office/libreoffice-3.6.4.3/work/libreoffice-core-3.6.4.3/editeng/source/editeng/eerdll.cxx:208:11:   required from here
/h/argus/3/root/var/tmp/portage/app-office/libreoffice-3.6.4.3/work/libreoffice-core-3.6.4.3/solver/unxlngx6.pro/inc/comphelper/scoped_disposing_ptr.hxx:81:16: error: cannot convert 'const boost::scoped_ptr<OutputDevice>' to 'bool' in return
/h/argus/3/root/var/tmp/portage/app-office/libreoffice-3.6.4.3/work/libreoffice-core-3.6.4.3/solver/unxlngx6.pro/inc/comphelper/scoped_disposing_ptr.hxx: In member function 'comphelper::scoped_disposing_ptr<T>::operator bool() const [with T = OutputDevice]':
/h/argus/3/root/var/tmp/portage/app-office/libreoffice-3.6.4.3/work/libreoffice-core-3.6.4.3/solver/unxlngx6.pro/inc/comphelper/scoped_disposing_ptr.hxx:82:5: warning: control reaches end of non-void function [-Wreturn-type]
make[2]: *** [/h/argus/3/root/var/tmp/portage/app-office/libreoffice-3.6.4.3/work/libreoffice-core-3.6.4.3/workdir/unxlngx6.pro/CxxObject/editeng/source/editeng/eerdll.o] Error 1
make[2]: *** Waiting for unfinished jobs....
rm /h/argus/3/root/var/tmp/portage/app-office/libreoffice-3.6.4.3/work/libreoffice-core-3.6.4.3/workdir/unxlngx6.pro/CustomTarget/i18npool/breakiterator/edit_word_hu.txt /h/argus/3/root/var/tmp/portage/app-office/libreoffice-3.6.4.3/work/libreoffice-core-3.6.4.3/workdir/unxlngx6.pro/ExternalHeaders/Library/libXext.so /h/argus/3/root/var/tmp/portage/app-office/libreoffice-3.6.4.3/work/libreoffice-core-3.6.4.3/workdir/unxlngx6.pro/CustomTarget/i18npool/breakiterator/dict_word_fi.txt /h/argus/3/root/var/tmp/portage/app-office/libreoffice-3.6.4.3/work/libreoffice-core-3.6.4.3/workdir/unxlngx6.pro/CustomTarget/i18npool/breakiterator/dict_word_prepostdash.txt /h/argus/3/root/var/tmp/portage/app-office/libreoffice-3.6.4.3/work/libreoffice-core-3.6.4.3/workdir/unxlngx6.pro/CustomTarget/i18npool/breakiterator/sent.brk /h/argus/3/root/var/tmp/portage/app-office/libreoffice-3.6.4.3/work/libreoffice-core-3.6.4.3/workdir/unxlngx6.pro/CustomTarget/i18npool/breakiterator/line.txt /h/argus/3/root/var/tmp/portage/app-office/libreoffice-3.6.4.3/work/libreoffice-core-3.6.4.3/workdir/unxlngx6.pro/CustomTarget/i18npool/breakiterator/sent.txt /h/argus/3/root/var/tmp/portage/app-office/libreoffice-3.6.4.3/work/libreoffice-core-3.6.4.3/workdir/unxlngx6.pro/CustomTarget/i18npool/breakiterator/dict_word_nodash.txt /h/argus/3/root/var/tmp/portage/app-office/libreoffice-3.6.4.3/work/libreoffice-core-3.6.4.3/workdir/unxlngx6.pro/ExternalHeaders/StaticLibrary/libxmlsec1-nss.a /h/argus/3/root/var/tmp/portage/app-office/libreoffice-3.6.4.3/work/libreoffice-core-3.6.4.3/workdir/unxlngx6.pro/CustomTarget/i18npool/breakiterator/edit_word_he.txt /h/argus/3/root/var/tmp/portage/app-office/libreoffice-3.6.4.3/work/libreoffice-core-3.6.4.3/workdir/unxlngx6.pro/CustomTarget/i18npool/breakiterator/dict_word_hu.brk /h/argus/3/root/var/tmp/portage/app-office/libreoffice-3.6.4.3/work/libreoffice-core-3.6.4.3/workdir/unxlngx6.pro/CustomTarget/i18npool/breakiterator/dict_word.txt /h/argus/3/root/var/tmp/portage/app-office/libreoffice-3.6.4.3/work/libreoffice-core-3.6.4.3/workdir/unxlngx6.pro/CustomTarget/i18npool/breakiterator/count_word.txt /h/argus/3/root/var/tmp/portage/app-office/libreoffice-3.6.4.3/work/libreoffice-core-3.6.4.3/workdir/unxlngx6.pro/CustomTarget/i18npool/breakiterator/edit_word_hu.brk /h/argus/3/root/var/tmp/portage/app-office/libreoffice-3.6.4.3/work/libreoffice-core-3.6.4.3/workdir/unxlngx6.pro/CustomTarget/i18npool/breakiterator/dict_word.brk /h/argus/3/root/var/tmp/portage/app-office/libreoffice-3.6.4.3/work/libreoffice-core-3.6.4.3/workdir/unxlngx6.pro/CustomTarget/i18npool/breakiterator/edit_word.txt /h/argus/3/root/var/tmp/portage/app-office/libreoffice-3.6.4.3/work/libreoffice-core-3.6.4.3/workdir/unxlngx6.pro/CustomTarget/i18npool/breakiterator/edit_word.brk /h/argus/3/root/var/tmp/portage/app-office/libreoffice-3.6.4.3/work/libreoffice-core-3.6.4.3/workdir/unxlngx6.pro/CustomTarget/i18npool/breakiterator/count_word_fi.txt /h/argus/3/root/var/tmp/portage/app-office/libreoffice-3.6.4.3/work/libreoffice-core-3.6.4.3/workdir/unxlngx6.pro/CustomTarget/i18npool/breakiterator/dict_word_hu.txt /h/argus/3/root/var/tmp/portage/app-office/libreoffice-3.6.4.3/work/libreoffice-core-3.6.4.3/workdir/unxlngx6.pro/CustomTarget/i18npool/breakiterator/dict_word_he.brk /h/argus/3/root/var/tmp/portage/app-office/libreoffice-3.6.4.3/work/libreoffice-core-3.6.4.3/workdir/unxlngx6.pro/CustomTarget/i18npool/breakiterator/dict_word_fi.brk /h/argus/3/root/var/tmp/portage/app-office/libreoffice-3.6.4.3/work/libreoffice-core-3.6.4.3/workdir/unxlngx6.pro/CustomTarget/i18npool/breakiterator/count_word_fi.brk /h/argus/3/root/var/tmp/portage/app-office/libreoffice-3.6.4.3/work/libreoffice-core-3.6.4.3/workdir/unxlngx6.pro/CustomTarget/i18npool/breakiterator/dict_word_prepostdash.brk /h/argus/3/root/var/tmp/portage/app-office/libreoffice-3.6.4.3/work/libreoffice-core-3.6.4.3/workdir/unxlngx6.pro/ExternalHeaders/StaticLibrary/libxmlsec1.a /h/argus/3/root/var/tmp/portage/app-office/libreoffice-3.6.4.3/work/libreoffice-core-3.6.4.3/workdir/unxlngx6.pro/CustomTarget/i18npool/breakiterator/dict_word_ca.txt /h/argus/3/root/var/tmp/portage/app-office/libreoffice-3.6.4.3/work/libreoffice-core-3.6.4.3/workdir/unxlngx6.pro/CustomTarget/i18npool/breakiterator/line.brk /h/argus/3/root/var/tmp/portage/app-office/libreoffice-3.6.4.3/work/libreoffice-core-3.6.4.3/workdir/unxlngx6.pro/CustomTarget/i18npool/breakiterator/edit_word_he.brk /h/argus/3/root/var/tmp/portage/app-office/libreoffice-3.6.4.3/work/libreoffice-core-3.6.4.3/workdir/unxlngx6.pro/CustomTarget/i18npool/breakiterator/dict_word_ca.brk /h/argus/3/root/var/tmp/portage/app-office/libreoffice-3.6.4.3/work/libreoffice-core-3.6.4.3/workdir/unxlngx6.pro/ExternalHeaders/Library/libICE.so /h/argus/3/root/var/tmp/portage/app-office/libreoffice-3.6.4.3/work/libreoffice-core-3.6.4.3/workdir/unxlngx6.pro/CustomTarget/i18npool/breakiterator/char_in.txt /h/argus/3/root/var/tmp/portage/app-office/libreoffice-3.6.4.3/work/libreoffice-core-3.6.4.3/workdir/unxlngx6.pro/CustomTarget/i18npool/breakiterator/dict_word_nodash.brk /h/argus/3/root/var/tmp/portage/app-office/libreoffice-3.6.4.3/work/libreoffice-core-3.6.4.3/workdir/unxlngx6.pro/CustomTarget/i18npool/breakiterator/count_word.brk /h/argus/3/root/var/tmp/portage/app-office/libreoffice-3.6.4.3/work/libreoffice-core-3.6.4.3/workdir/unxlngx6.pro/CustomTarget/i18npool/breakiterator/char_in.brk /h/argus/3/root/var/tmp/portage/app-office/libreoffice-3.6.4.3/work/libreoffice-core-3.6.4.3/workdir/unxlngx6.pro/CustomTarget/i18npool/breakiterator/char.brk /h/argus/3/root/var/tmp/portage/app-office/libreoffice-3.6.4.3/work/libreoffice-core-3.6.4.3/workdir/unxlngx6.pro/ExternalHeaders/Library/libXrender.so /h/argus/3/root/var/tmp/portage/app-office/libreoffice-3.6.4.3/work/libreoffice-core-3.6.4.3/workdir/unxlngx6.pro/ExternalHeaders/Library/libm.so /h/argus/3/root/var/tmp/portage/app-office/libreoffice-3.6.4.3/work/libreoffice-core-3.6.4.3/workdir/unxlngx6.pro/CustomTarget/i18npool/breakiterator/char.txt /h/argus/3/root/var/tmp/portage/app-office/libreoffice-3.6.4.3/work/libreoffice-core-3.6.4.3/workdir/unxlngx6.pro/ExternalHeaders/Library/libGL.so /h/argus/3/root/var/tmp/portage/app-office/libreoffice-3.6.4.3/work/libreoffice-core-3.6.4.3/workdir/unxlngx6.pro/ExternalHeaders/Library/libX11.so /h/argus/3/root/var/tmp/portage/app-office/libreoffice-3.6.4.3/work/libreoffice-core-3.6.4.3/workdir/unxlngx6.pro/ExternalHeaders/Library/libGLU.so /h/argus/3/root/var/tmp/portage/app-office/libreoffice-3.6.4.3/work/libreoffice-core-3.6.4.3/workdir/unxlngx6.pro/ExternalHeaders/Library/libSM.so /h/argus/3/root/var/tmp/portage/app-office/libreoffice-3.6.4.3/work/libreoffice-core-3.6.4.3/workdir/unxlngx6.pro/CustomTarget/i18npool/breakiterator/dict_word_he.txt
make[2]: Leaving directory `/h/argus/3/root/var/tmp/portage/app-office/libreoffice-3.6.4.3/work/libreoffice-core-3.6.4.3/tail_build'

-----------------------------------------------------------------------
        Oh dear - something failed during the build - sorry !
  For more help with debugging build errors, please see the section in:
            http://wiki.documentfoundation.org/Development

  internal build errors:

ERROR: error 512 occurred while making /h/argus/3/root/var/tmp/portage/app-office/libreoffice-3.6.4.3/work/libreoffice-core-3.6.4.3/tail_build/prj

 it seems that the error is inside 'tail_build', please re-run build
 inside this module to isolate the error and/or test your fix:

build_error.log should contain the captured output of the failed module(s)

-----------------------------------------------------------------------
To rebuild a specific module:

make tail_build.clean # not recommended, this will re-build almost everything
make tail_build

when the problem is isolated and fixed, re-run 'make'
make[1]: *** [build-packimages] Error 1
make[1]: Leaving directory `/h/argus/3/root/var/tmp/portage/app-office/libreoffice-3.6.4.3/work/libreoffice-core-3.6.4.3'
make: *** [build] Error 2
 * ERROR: app-office/libreoffice-3.6.4.3 failed (compile phase):
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line  93:  Called src_compile
 *   environment, line 9024:  Called die
 * The specific snippet of code:
 *       make build || die
 * 
 * If you need support, post the output of `emerge --info '=app-office/libreoffice-3.6.4.3'`,
 * the complete build log and the output of `emerge -pqv '=app-office/libreoffice-3.6.4.3'`.
!!! When you file a bug report, please include the following information:
GENTOO_VM=  CLASSPATH="" JAVA_HOME="/etc/java-config-2/current-system-vm"
JAVACFLAGS="" COMPILER=""
and of course, the output of emerge --info
 * The complete build log is located at '/h/argus/3/root/var/tmp/portage/app-office/libreoffice-3.6.4.3/temp/build.log'.
 * The ebuild environment file is located at '/h/argus/3/root/var/tmp/portage/app-office/libreoffice-3.6.4.3/temp/environment'.
 * Working directory: '/h/argus/3/root/var/tmp/portage/app-office/libreoffice-3.6.4.3/work/libreoffice-core-3.6.4.3'
 * S: '/h/argus/3/root/var/tmp/portage/app-office/libreoffice-3.6.4.3/work/libreoffice-core-3.6.4.3'
Comment 1 Mark Wright gentoo-dev 2013-02-08 13:26:52 UTC
I placed the patch I created here:

http://dev.gentoo.org/~gienah/test/app-office/libreoffice/files/libreoffice-3.6.4.3-boost-1.53.0.patch

I'm testing it now (as in, its not yet tested).
Comment 2 Mark Wright gentoo-dev 2013-02-09 15:14:45 UTC
My test passed, app-office/libreoffice-3.4.6.3 merged with dev-libs/boost-1.53.0 with my patch.  I submitted it upstream:

https://gerrit.libreoffice.org/2064
Comment 3 Mark Wright gentoo-dev 2013-02-11 01:30:36 UTC
Upstream merged my patch.
Comment 4 Mark Wright gentoo-dev 2013-02-16 13:22:29 UTC
The status of this bug is: I created a patch that fixes it, my fixes are merged upstream, but I am asked not the apply the patch to the libreoffice-3.6.4.3.ebuild as that is a stable ebuild and boost-1.53.0 is package masked.

Catch 22, as boost-1.53.0 is package masked with this bug as one of its blockers.

I added the patch to portage, but its not applied.  It can be applied by copying
app-office/libreoffice to a local overlay and applying the patch:

argus% diff -wc libreoffice-3.6.4.3.ebuild /usr/local/portage/app-office/libreoffice/libreoffice-3.6.4.3.ebuild 
*** libreoffice-3.6.4.3.ebuild	Sun Dec 23 10:22:29 2012
--- /usr/local/portage/app-office/libreoffice/libreoffice-3.6.4.3.ebuild	Sat Feb  9 00:21:16 2013
***************
*** 215,220 ****
--- 215,222 ----
  	# not upstreamable stuff
  	"${FILESDIR}/${PN}-3.6-system-pyuno.patch"
  	"${FILESDIR}/${PN}-3.6-separate-checks.patch"
+ 	# bug 456162
+ 	"${FILESDIR}/${PN}-3.6.4.3-boost-1.53.0.patch"
  )
  
  REQUIRED_USE="
argus%
Comment 5 Mark Wright gentoo-dev 2013-02-16 21:16:10 UTC
Options to close this bug:

(1) we could do more testing to see if applying the patch is ok or not.

or

(2) we can always close bug 456162 as wontfix and make libreoffice-3.6.4.3 depend on <boost-1.53.  The patch to fix libreoffice-4.0.0.3 to build with boost 1.53.0 is applied, see bug 454274.
Comment 6 Tomáš Chvátal (RETIRED) gentoo-dev 2013-05-12 09:44:28 UTC
We will stabilise 4.0.4 which contains your patchset. The 3.6 branch is almost EOLed so it is not worth the fuzz.