Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 521698 - app-office/libreoffice-4.2.6.2 build fails due to invalid conversion error
Summary: app-office/libreoffice-4.2.6.2 build fails due to invalid conversion error
Status: RESOLVED DUPLICATE of bug 479946
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal major (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-08-29 22:25 UTC by Rafal Kupiec
Modified: 2014-08-30 14:28 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 Rafal Kupiec 2014-08-29 22:25:57 UTC
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'
Comment 1 Andreas Sturmlechner gentoo-dev 2014-08-30 14:23:39 UTC
I believe this is a duplicate of bug 479946
Comment 2 Rafal Kupiec 2014-08-30 14:28:48 UTC
(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 ***