Latest version of libreoffice fails to build with the following error: [build CXX] vcl/source/gdi/bitmap3.cxx /var/tmp/portage/app-office/libreoffice-4.2.6.2/work/libreoffice-4.2.6.2/vcl/source/filter/jpeg/JpegReader.cxx: In function 'void init_source(j_decompress_ptr)': /var/tmp/portage/app-office/libreoffice-4.2.6.2/work/libreoffice-4.2.6.2/vcl/source/filter/jpeg/JpegReader.cxx:74:27: error: invalid conversion from 'sal_Bool {aka unsigned char}' to 'boolean' [-fpermissive] source->start_of_file = sal_True; ^ /var/tmp/portage/app-office/libreoffice-4.2.6.2/work/libreoffice-4.2.6.2/vcl/source/filter/jpeg/JpegReader.cxx: In function 'boolean fill_input_buffer(j_decompress_ptr)': /var/tmp/portage/app-office/libreoffice-4.2.6.2/work/libreoffice-4.2.6.2/vcl/source/filter/jpeg/JpegReader.cxx:122:27: error: invalid conversion from 'sal_Bool {aka unsigned char}' to 'boolean' [-fpermissive] source->start_of_file = sal_False; ^ In file included from /var/tmp/portage/app-office/libreoffice-4.2.6.2/work/libreoffice-4.2.6.2/include/tools/solar.h:23:0, from /var/tmp/portage/app-office/libreoffice-4.2.6.2/work/libreoffice-4.2.6.2/vcl/source/filter/jpeg/JpegReader.cxx:21: /var/tmp/portage/app-office/libreoffice-4.2.6.2/work/libreoffice-4.2.6.2/include/sal/types.h:48:34: error: invalid conversion from 'sal_Bool {aka unsigned char}' to 'boolean' [-fpermissive] # define sal_True ((sal_Bool)1) ^ /var/tmp/portage/app-office/libreoffice-4.2.6.2/work/libreoffice-4.2.6.2/vcl/source/filter/jpeg/JpegReader.cxx:124:12: note: in expansion of macro 'sal_True' return sal_True; ^ In file included from /var/tmp/portage/app-office/libreoffice-4.2.6.2/work/libreoffice-4.2.6.2/include/tools/solar.h:23:0, from /var/tmp/portage/app-office/libreoffice-4.2.6.2/work/libreoffice-4.2.6.2/vcl/source/filter/jpeg/JpegWriter.cxx:28: /var/tmp/portage/app-office/libreoffice-4.2.6.2/work/libreoffice-4.2.6.2/vcl/source/filter/jpeg/JpegWriter.cxx: In function 'boolean empty_output_buffer(j_compress_ptr)': /var/tmp/portage/app-office/libreoffice-4.2.6.2/work/libreoffice-4.2.6.2/include/sal/types.h:48:34: error: invalid conversion from 'sal_Bool {aka unsigned char}' to 'boolean' [-fpermissive] # define sal_True ((sal_Bool)1) ^ /var/tmp/portage/app-office/libreoffice-4.2.6.2/work/libreoffice-4.2.6.2/vcl/source/filter/jpeg/JpegWriter.cxx:89:12: note: in expansion of macro 'sal_True' return sal_True; ^ /var/tmp/portage/app-office/libreoffice-4.2.6.2/work/libreoffice-4.2.6.2/solenv/gbuild/LinkTarget.mk:177: recipe for target '/var/tmp/portage/app-office/libreoffice-4.2.6.2/work/libreoffice-4.2.6.2/workdir/CxxObject/vcl/source/filter/jpeg/JpegReader.o' failed make[1]: *** [/var/tmp/portage/app-office/libreoffice-4.2.6.2/work/libreoffice-4.2.6.2/workdir/CxxObject/vcl/source/filter/jpeg/JpegReader.o] Error 1 make[1]: *** Waiting for unfinished jobs.... /var/tmp/portage/app-office/libreoffice-4.2.6.2/work/libreoffice-4.2.6.2/solenv/gbuild/LinkTarget.mk:177: recipe for target '/var/tmp/portage/app-office/libreoffice-4.2.6.2/work/libreoffice-4.2.6.2/workdir/CxxObject/vcl/source/filter/jpeg/JpegWriter.o' failed make[1]: *** [/var/tmp/portage/app-office/libreoffice-4.2.6.2/work/libreoffice-4.2.6.2/workdir/CxxObject/vcl/source/filter/jpeg/JpegWriter.o] Error 1 Makefile:217: recipe for target 'build' failed make: *** [build] Error 2 * ERROR: app-office/libreoffice-4.2.6.2::gentoo failed (compile phase): * (no error message) * * Call stack: * ebuild.sh, line 93: Called src_compile * environment, line 7293: Called die * The specific snippet of code: * make ${target} || die * * If you need support, post the output of `emerge --info '=app-office/libreoffice-4.2.6.2::gentoo'`, * the complete build log and the output of `emerge -pqv '=app-office/libreoffice-4.2.6.2::gentoo'`. !!! 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 =libreoffice-4.2.6.2 * The complete build log is located at '/var/log/portage/app-office:libreoffice-4.2.6.2:20140829-221701.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/app-office/libreoffice-4.2.6.2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-office/libreoffice-4.2.6.2/temp/environment'. * Working directory: '/var/tmp/portage/app-office/libreoffice-4.2.6.2/work/libreoffice-4.2.6.2' * S: '/var/tmp/portage/app-office/libreoffice-4.2.6.2/work/libreoffice-4.2.6.2' >>> Failed to emerge app-office/libreoffice-4.2.6.2, Log file: >>> '/var/log/portage/app-office:libreoffice-4.2.6.2:20140829-221701.log' * Messages for package app-office/libreoffice-4.2.6.2: * ERROR: app-office/libreoffice-4.2.6.2::gentoo failed (compile phase): * (no error message) * * Call stack: * ebuild.sh, line 93: Called src_compile * environment, line 7293: Called die * The specific snippet of code: * make ${target} || die * * If you need support, post the output of `emerge --info '=app-office/libreoffice-4.2.6.2::gentoo'`, * the complete build log and the output of `emerge -pqv '=app-office/libreoffice-4.2.6.2::gentoo'`. * The complete build log is located at '/var/log/portage/app-office:libreoffice-4.2.6.2:20140829-221701.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/app-office/libreoffice-4.2.6.2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-office/libreoffice-4.2.6.2/temp/environment'. * Working directory: '/var/tmp/portage/app-office/libreoffice-4.2.6.2/work/libreoffice-4.2.6.2' * S: '/var/tmp/portage/app-office/libreoffice-4.2.6.2/work/libreoffice-4.2.6.2'
I believe this is a duplicate of bug 479946
(In reply to Andreas Sturmlechner from comment #1) > I believe this is a duplicate of bug 479946 Yes looks like. Closing then. *** This bug has been marked as a duplicate of bug 479946 ***