Bug 123554 - Building 6.2.1.1 release fails on 32-bit
Summary: Building 6.2.1.1 release fails on 32-bit
Status: RESOLVED MOVED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: sdk (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: x86 (IA32) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-02-19 01:42 UTC by rezso
Modified: 2019-03-22 10:38 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description rezso 2019-02-19 01:42:31 UTC
If I try to compile 6.2.1.1 release on 32-bit with kde5 support, the build fails with this error:

In file included from /var/uhubuild/work/compile/include/com/sun/star/uno/Any.h:29:0,
                 from /var/uhubuild/work/compile/workdir/UnoApiHeadersTarget/udkapi/normal/com/sun/star/uno/XInterface.hdl:6,
                 from /var/uhubuild/work/compile/workdir/UnoApiHeadersTarget/udkapi/normal/com/sun/star/lang/XTypeProvider.hdl:6,
                 from /var/uhubuild/work/compile/workdir/UnoApiHeadersTarget/udkapi/normal/com/sun/star/lang/XTypeProvider.hpp:6,
                 from /var/uhubuild/work/compile/include/cppuhelper/compbase.hxx:25,
                 from /var/uhubuild/work/compile/vcl/unx/kde5/KDE5FilePicker.hxx:22,
                 from /var/uhubuild/work/compile/vcl/unx/kde5/KDE5FilePicker2.cxx:20:
/var/uhubuild/work/compile/include/cppu/unotype.hxx: In instantiation of ‘static const com::sun::star::uno::Type& cppu::UnoType< <template-parameter-1-1> >::get() [with T = int]’:
/var/uhubuild/work/compile/include/cppu/unotype.hxx:321:37:   required from ‘const com::sun::star::uno::Type& cppu::getTypeFavourUnsigned(const T*) [with T = int]’
/var/uhubuild/work/compile/include/com/sun/star/uno/Any.hxx:268:55:   required from ‘void com::sun::star::uno::operator<<=(com::sun::star::uno::Any&, const C&) [with C = int]’
/var/uhubuild/work/compile/vcl/unx/kde5/KDE5FilePicker2.cxx:664:22:   required from here
/var/uhubuild/work/compile/include/cppu/unotype.hxx:296:38: error: no matching function for call to ‘cppu_detail_getUnoType(T1*)’
         return cppu_detail_getUnoType(static_cast< T1 * >(0));
                ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
/var/uhubuild/work/compile/include/cppu/unotype.hxx:161:1: note: candidate: const com::sun::star::uno::Type& cppu::detail::cppu_detail_getUnoType(const sal_Int32*) <near match>
 cppu_detail_getUnoType(SAL_UNUSED_PARAMETER ::sal_Int32 const *) {
 ^~~~~~~~~~~~~~~~~~~~~~
/var/uhubuild/work/compile/include/cppu/unotype.hxx:161:1: note:   conversion of argument 1 would be ill-formed:
/var/uhubuild/work/compile/include/cppu/unotype.hxx:296:38: error: invalid conversion from ‘T1* {aka int*}’ to ‘const sal_Int32* {aka const long int*}’ [-fpermissive]
         return cppu_detail_getUnoType(static_cast< T1 * >(0));
                ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
/var/uhubuild/work/compile/include/cppu/unotype.hxx:166:1: note: candidate: const com::sun::star::uno::Type& cppu::detail::cppu_detail_getUnoType(const sal_uInt32*) <near match>
 cppu_detail_getUnoType(SAL_UNUSED_PARAMETER ::sal_uInt32 const *) {
 ^~~~~~~~~~~~~~~~~~~~~~
/var/uhubuild/work/compile/include/cppu/unotype.hxx:166:1: note:   conversion of argument 1 would be ill-formed:
/var/uhubuild/work/compile/include/cppu/unotype.hxx:296:38: error: invalid conversion from ‘T1* {aka int*}’ to ‘const sal_uInt32* {aka const long unsigned int*}’ [-fpermissive]
         return cppu_detail_getUnoType(static_cast< T1 * >(0));
                ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
/var/uhubuild/work/compile/include/cppu/unotype.hxx:120:1: note: candidate: const com::sun::star::uno::Type& cppu::detail::cppu_detail_getUnoType(const cppu::UnoVoidType*)
 cppu_detail_getUnoType(SAL_UNUSED_PARAMETER ::cppu::UnoVoidType const *) {
 ^~~~~~~~~~~~~~~~~~~~~~
/var/uhubuild/work/compile/include/cppu/unotype.hxx:120:1: note:   no known conversion for argument 1 from ‘T1* {aka int*}’ to ‘const cppu::UnoVoidType*’
/var/uhubuild/work/compile/include/cppu/unotype.hxx:125:1: note: candidate: const com::sun::star::uno::Type& cppu::detail::cppu_detail_getUnoType(const bool*)
 cppu_detail_getUnoType(SAL_UNUSED_PARAMETER bool const *) {
 ^~~~~~~~~~~~~~~~~~~~~~
/var/uhubuild/work/compile/include/cppu/unotype.hxx:125:1: note:   no known conversion for argument 1 from ‘T1* {aka int*}’ to ‘const bool*’
/var/uhubuild/work/compile/include/cppu/unotype.hxx:130:1: note: candidate: const com::sun::star::uno::Type& cppu::detail::cppu_detail_getUnoType(const sal_Bool*)
 cppu_detail_getUnoType(SAL_UNUSED_PARAMETER sal_Bool const *) {
 ^~~~~~~~~~~~~~~~~~~~~~
/var/uhubuild/work/compile/include/cppu/unotype.hxx:130:1: note:   no known conversion for argument 1 from ‘T1* {aka int*}’ to ‘const sal_Bool* {aka const unsigned char*}’
/var/uhubuild/work/compile/include/cppu/unotype.hxx:135:1: note: candidate: const com::sun::star::uno::Type& cppu::detail::cppu_detail_getUnoType(const sal_Int8*)
 cppu_detail_getUnoType(SAL_UNUSED_PARAMETER ::sal_Int8 const *) {
 ^~~~~~~~~~~~~~~~~~~~~~
/var/uhubuild/work/compile/include/cppu/unotype.hxx:135:1: note:   no known conversion for argument 1 from ‘T1* {aka int*}’ to ‘const sal_Int8* {aka const signed char*}’
/var/uhubuild/work/compile/include/cppu/unotype.hxx:140:1: note: candidate: const com::sun::star::uno::Type& cppu::detail::cppu_detail_getUnoType(const sal_Int16*)
 cppu_detail_getUnoType(SAL_UNUSED_PARAMETER ::sal_Int16 const *) {
 ^~~~~~~~~~~~~~~~~~~~~~
/var/uhubuild/work/compile/include/cppu/unotype.hxx:140:1: note:   no known conversion for argument 1 from ‘T1* {aka int*}’ to ‘const sal_Int16* {aka const short int*}’
/var/uhubuild/work/compile/include/cppu/unotype.hxx:145:1: note: candidate: const com::sun::star::uno::Type& cppu::detail::cppu_detail_getUnoType(const cppu::UnoUnsignedShortType*)
 cppu_detail_getUnoType(
 ^~~~~~~~~~~~~~~~~~~~~~
/var/uhubuild/work/compile/include/cppu/unotype.hxx:145:1: note:   no known conversion for argument 1 from ‘T1* {aka int*}’ to ‘const cppu::UnoUnsignedShortType*’
/var/uhubuild/work/compile/include/cppu/unotype.hxx:155:1: note: candidate: const com::sun::star::uno::Type& cppu::detail::cppu_detail_getUnoType(const sal_uInt16*)
 cppu_detail_getUnoType(SAL_UNUSED_PARAMETER sal_uInt16 const *) {
 ^~~~~~~~~~~~~~~~~~~~~~
/var/uhubuild/work/compile/include/cppu/unotype.hxx:155:1: note:   no known conversion for argument 1 from ‘T1* {aka int*}’ to ‘const sal_uInt16* {aka const short unsigned int*}’
/var/uhubuild/work/compile/include/cppu/unotype.hxx:172:1: note: candidate: const com::sun::star::uno::Type& cppu::detail::cppu_detail_getUnoType(const sal_Int64*)
 cppu_detail_getUnoType(SAL_UNUSED_PARAMETER ::sal_Int64 const *) {
 ^~~~~~~~~~~~~~~~~~~~~~
/var/uhubuild/work/compile/include/cppu/unotype.hxx:172:1: note:   no known conversion for argument 1 from ‘T1* {aka int*}’ to ‘const sal_Int64* {aka const long long int*}’
/var/uhubuild/work/compile/include/cppu/unotype.hxx:177:1: note: candidate: const com::sun::star::uno::Type& cppu::detail::cppu_detail_getUnoType(const sal_uInt64*)
 cppu_detail_getUnoType(SAL_UNUSED_PARAMETER ::sal_uInt64 const *) {
 ^~~~~~~~~~~~~~~~~~~~~~
/var/uhubuild/work/compile/include/cppu/unotype.hxx:177:1: note:   no known conversion for argument 1 from ‘T1* {aka int*}’ to ‘const sal_uInt64* {aka const long long unsigned int*}’
/var/uhubuild/work/compile/include/cppu/unotype.hxx:183:1: note: candidate: const com::sun::star::uno::Type& cppu::detail::cppu_detail_getUnoType(const float*)
 cppu_detail_getUnoType(SAL_UNUSED_PARAMETER float const *) {
 ^~~~~~~~~~~~~~~~~~~~~~
/var/uhubuild/work/compile/include/cppu/unotype.hxx:183:1: note:   no known conversion for argument 1 from ‘T1* {aka int*}’ to ‘const float*’
/var/uhubuild/work/compile/include/cppu/unotype.hxx:188:1: note: candidate: const com::sun::star::uno::Type& cppu::detail::cppu_detail_getUnoType(const double*)
 cppu_detail_getUnoType(SAL_UNUSED_PARAMETER double const *) {
 ^~~~~~~~~~~~~~~~~~~~~~
/var/uhubuild/work/compile/include/cppu/unotype.hxx:188:1: note:   no known conversion for argument 1 from ‘T1* {aka int*}’ to ‘const double*’
/var/uhubuild/work/compile/include/cppu/unotype.hxx:193:1: note: candidate: const com::sun::star::uno::Type& cppu::detail::cppu_detail_getUnoType(const cppu::UnoCharType*)
 cppu_detail_getUnoType(SAL_UNUSED_PARAMETER ::cppu::UnoCharType const *) {
 ^~~~~~~~~~~~~~~~~~~~~~
/var/uhubuild/work/compile/include/cppu/unotype.hxx:193:1: note:   no known conversion for argument 1 from ‘T1* {aka int*}’ to ‘const cppu::UnoCharType*’
/var/uhubuild/work/compile/include/cppu/unotype.hxx:200:1: note: candidate: const com::sun::star::uno::Type& cppu::detail::cppu_detail_getUnoType(const sal_Unicode*)
 cppu_detail_getUnoType(SAL_UNUSED_PARAMETER sal_Unicode const *) {
 ^~~~~~~~~~~~~~~~~~~~~~
/var/uhubuild/work/compile/include/cppu/unotype.hxx:200:1: note:   no known conversion for argument 1 from ‘T1* {aka int*}’ to ‘const sal_Unicode* {aka const char16_t*}’
/var/uhubuild/work/compile/include/cppu/unotype.hxx:206:1: note: candidate: const com::sun::star::uno::Type& cppu::detail::cppu_detail_getUnoType(const rtl::OUString*)
 cppu_detail_getUnoType(SAL_UNUSED_PARAMETER ::rtl::OUString const *) {
 ^~~~~~~~~~~~~~~~~~~~~~
/var/uhubuild/work/compile/include/cppu/unotype.hxx:206:1: note:   no known conversion for argument 1 from ‘T1* {aka int*}’ to ‘const rtl::OUString*’
/var/uhubuild/work/compile/include/cppu/unotype.hxx:211:1: note: candidate: const com::sun::star::uno::Type& cppu::detail::cppu_detail_getUnoType(const com::sun::star::uno::Type*)
 cppu_detail_getUnoType(SAL_UNUSED_PARAMETER css::uno::Type const *)
 ^~~~~~~~~~~~~~~~~~~~~~
/var/uhubuild/work/compile/include/cppu/unotype.hxx:211:1: note:   no known conversion for argument 1 from ‘T1* {aka int*}’ to ‘const com::sun::star::uno::Type*’
/var/uhubuild/work/compile/include/cppu/unotype.hxx:217:1: note: candidate: const com::sun::star::uno::Type& cppu::detail::cppu_detail_getUnoType(const com::sun::star::uno::Any*)
 cppu_detail_getUnoType(SAL_UNUSED_PARAMETER css::uno::Any const *)
 ^~~~~~~~~~~~~~~~~~~~~~
/var/uhubuild/work/compile/include/cppu/unotype.hxx:217:1: note:   no known conversion for argument 1 from ‘T1* {aka int*}’ to ‘const com::sun::star::uno::Any*’
/var/uhubuild/work/compile/include/cppu/unotype.hxx:223:1: note: candidate: template<class T> const com::sun::star::uno::Type& cppu::detail::cppu_detail_getUnoType(const cppu::UnoSequenceType<T>*)
 cppu_detail_getUnoType(
 ^~~~~~~~~~~~~~~~~~~~~~
/var/uhubuild/work/compile/include/cppu/unotype.hxx:223:1: note:   template argument deduction/substitution failed:
/var/uhubuild/work/compile/include/cppu/unotype.hxx:296:38: note:   mismatched types ‘const cppu::UnoSequenceType<T>’ and ‘T1 {aka int}’
         return cppu_detail_getUnoType(static_cast< T1 * >(0));
                ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
/var/uhubuild/work/compile/include/cppu/unotype.hxx:236:1: note: candidate: template<class T> const com::sun::star::uno::Type& cppu::detail::cppu_detail_getUnoType(const com::sun::star::uno::Sequence<T>*)
 cppu_detail_getUnoType(
 ^~~~~~~~~~~~~~~~~~~~~~
/var/uhubuild/work/compile/include/cppu/unotype.hxx:236:1: note:   template argument deduction/substitution failed:
/var/uhubuild/work/compile/include/cppu/unotype.hxx:296:38: note:   mismatched types ‘const com::sun::star::uno::Sequence<T>’ and ‘T1 {aka int}’
         return cppu_detail_getUnoType(static_cast< T1 * >(0));
                ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
/var/uhubuild/work/compile/include/cppu/unotype.hxx:243:31: note: candidate: const com::sun::star::uno::Type& cppu::detail::cppu_detail_getUnoType(const com::sun::star::uno::Exception*)
 inline css::uno::Type const & cppu_detail_getUnoType(
                               ^~~~~~~~~~~~~~~~~~~~~~
/var/uhubuild/work/compile/include/cppu/unotype.hxx:243:31: note:   no known conversion for argument 1 from ‘T1* {aka int*}’ to ‘const com::sun::star::uno::Exception*’
/var/uhubuild/work/compile/include/cppu/unotype.hxx:249:31: note: candidate: const com::sun::star::uno::Type& cppu::detail::cppu_detail_getUnoType(const com::sun::star::uno::XInterface*)
 inline css::uno::Type const & cppu_detail_getUnoType(
                               ^~~~~~~~~~~~~~~~~~~~~~
/var/uhubuild/work/compile/include/cppu/unotype.hxx:249:31: note:   no known conversion for argument 1 from ‘T1* {aka int*}’ to ‘const com::sun::star::uno::XInterface*’
/var/uhubuild/work/compile/include/cppu/unotype.hxx:256:1: note: candidate: template<class T> const com::sun::star::uno::Type& cppu::detail::cppu_detail_getUnoType(const com::sun::star::uno::Reference<T>*)
 cppu_detail_getUnoType(
 ^~~~~~~~~~~~~~~~~~~~~~
/var/uhubuild/work/compile/include/cppu/unotype.hxx:256:1: note:   template argument deduction/substitution failed:
/var/uhubuild/work/compile/include/cppu/unotype.hxx:296:38: note:   mismatched types ‘const com::sun::star::uno::Reference<T>’ and ‘T1 {aka int}’
         return cppu_detail_getUnoType(static_cast< T1 * >(0));
                ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
make[1]: *** [/var/uhubuild/work/compile/solenv/gbuild/LinkTarget.mk:293: /var/uhubuild/work/compile/workdir/CxxObject/vcl/unx/kde5/KDE5FilePicker2.o] Error 1
make[1]: *** Waiting for unfinished jobs....

On 64 bit I can compile it without any errors.
Comment 1 Xisco Faulí 2019-03-22 10:38:31 UTC
Hello,
Since this is build issue and not a software issue, would you mind sending an
email to the dev list instead? ->
https://wiki.documentfoundation.org/Development/Mailing_List
Closing as RESOLVED MOVED