Re: Build failure, Error: no matching function for call on x86 Linux

2021-07-16 Thread Rene Engelhard
Hi,

Am 16.07.21 um 09:33 schrieb Rene Engelhard:
> Am 16.07.21 um 09:03 schrieb Luke Benes:
>> Yes, a 'make check' passes with "stack_guard_gap=1" kernel parameter for the 
>> java bug and clang 12.
> clang
>
>
> "Of course" I use gcc here. (Except for skia where the build system
> chooses clang if present and I follow.)
Just for completeness: same cppunit test failures (didn't try to the
end, just writing the mail after the mfio one) as before with clang builds.

Regards,


Rene


___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: Build failure, Error: no matching function for call on x86 Linux

2021-07-16 Thread Rene Engelhard
Hi,

Am 16.07.21 um 09:33 schrieb Rene Engelhard:
> [...] The uicheck which prompted by for my linked fix
> is
> https://ci.debian.net/data/autopkgtest/unstable/i386/libr/libreoffice/13632639/log.gz
> (has also the junit dbaccess_complex segfault.)

Sorry, wrong link.

That one actually is the one which has the uicheck already fixed and
where just the junit breakage remains.

The uicheck failure was

==
FAIL: test_resize_object (drawinglayer.ImpressDrawinglayerTest)
--
Traceback (most recent call last):
  File
"/tmp/autopkgtest-lxc.a86_7ziu/downtmp/build.BHI/src/uitest/impress_tests/drawinglayer.py",
line 81, in test_resize_object
    self.assertEqual(9134, document.DrawPages[0].getByIndex(1).Size.Height)
AssertionError: 9134 != 9133

==
FAIL: test_rotate_object (drawinglayer.ImpressDrawinglayerTest)
--
Traceback (most recent call last):
  File
"/tmp/autopkgtest-lxc.a86_7ziu/downtmp/build.BHI/src/uitest/impress_tests/drawinglayer.py",
line 130, in test_rotate_object
    self.assertEqual(9134, document.DrawPages[0].getByIndex(1).Size.Height)
AssertionError: 9134 != 9133

--
Ran 7 tests in 20.516s

FAILED (failures=2)

Regards,


Rene

___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: Build failure, Error: no matching function for call on x86 Linux

2021-07-16 Thread Rene Engelhard
Hi,

Am 16.07.21 um 09:03 schrieb Luke Benes:
> Yes, a 'make check' passes with "stack_guard_gap=1" kernel parameter for the 
> java bug and clang 12.

clang


"Of course" I use gcc here. (Except for skia where the build system
chooses clang if present and I follow.)


(Since with clang, even an amd64 build fails its tests miserably here,
just crashes., gcc works fine.)

> I also see the off-by-one gcc test failures.

So it doesn't pass. At least with gcc.


The attachment shows a run (run, fail, run, ..) of the failing
(j|cp)unit tests here. The uicheck which prompted by for my linked fix
is
https://ci.debian.net/data/autopkgtest/unstable/i386/libr/libreoffice/13632639/log.gz
(has also the junit dbaccess_complex segfault.)


Regards,

Rene

___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: Build failure, Error: no matching function for call on x86 Linux

2021-07-16 Thread Luke Benes
Yes, a 'make check' passes with "stack_guard_gap=1" kernel parameter for the 
java bug and clang 12.

I also see the off-by-one gcc test failures. I think these started with gcc 8 
or 9. We probably have to turn off some floating point math optimization for 
gcc i686.

-Luke






From: Rene Engelhard 
Sent: Friday, July 16, 2021 1:20 AM
To: Luke Benes; Libreoffice Dev List
Subject: Re: Build failure, Error: no matching function for call on x86 Linux

Hi,

Am 15.07.21 um 15:10 schrieb Luke Benes:
> Build succeeds now and tests pass on Arch 32. Thanks!

Tests pass?

uicheck does with two patches not upstream[1], but junit crashes with
segfault and then other mosly off-by one cppunit test failures here
which are i386 only.

Regards,


Rene


[1]
https://salsa.debian.org/libreoffice-team/libreoffice/libreoffice/-/blob/debian-experimental-7.2/patches/fix-uicheck-tests-on-i386.patch

___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: Build failure, Error: no matching function for call on x86 Linux

2021-07-15 Thread Rene Engelhard
Hi,

Am 15.07.21 um 15:10 schrieb Luke Benes:
> Build succeeds now and tests pass on Arch 32. Thanks!

Tests pass?

uicheck does with two patches not upstream[1], but junit crashes with
segfault and then other mosly off-by one cppunit test failures here
which are i386 only.

Regards,


Rene


[1]
https://salsa.debian.org/libreoffice-team/libreoffice/libreoffice/-/blob/debian-experimental-7.2/patches/fix-uicheck-tests-on-i386.patch

___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: Build failure, Error: no matching function for call on x86 Linux

2021-07-15 Thread Luke Benes
Rene fixed this issue with:
https://cgit.freedesktop.org/libreoffice/core/commit/?id=51754ca5349d

Build succeeds now and tests pass on Arch 32. Thanks!
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: Build failure, Error: no matching function for call on x86 Linux

2021-06-06 Thread Noel Grandin
those int values being passed into makeAny should be sal_uInt32, judging by
the definition of that UNO command
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Build failure, Error: no matching function for call on x86 Linux

2021-06-05 Thread Luke Benes
Mert,
After commit 
https://cgit.freedesktop.org/libreoffice/core/commit/?id=67277595902d
Unit tests for .uno:MoveShapeHandle command

Fails with the error below on both Arch 32 and OpenSUSE i686. Any idea why this 
would fail on 32-bit linux? 

-Luke


[CXX] sd/qa/unit/tiledrendering/tiledrendering.cxx
In file included from /core/sd/qa/unit/tiledrendering/tiledrendering.cxx:10:
In file included from /core/sd/qa/unit/tiledrendering/../sdmodeltestbase.hxx:15:
In file included from /core/include/test/bootstrapfixture.hxx:15:
In file included from /core/include/vcl/salctype.hxx:25:
In file included from /core/include/vcl/graph.hxx:26:
In file included from /core/include/vcl/bitmapex.hxx:26:
In file included from /core/include/tools/color.hxx:24:
In file included from /core/include/com/sun/star/uno/Any.hxx:35:
In file included from /core/include/com/sun/star/uno/Any.h:33:
/core/include/cppu/unotype.hxx:300:16: error: no matching function for call to 
'cppu_detail_getUnoType'
return cppu_detail_getUnoType(static_cast< T1 * >(0));
   ^~
/core/include/cppu/unotype.hxx:325:34: note: in instantiation of member 
function 'cppu::UnoType::get' requested here
return ::cppu::UnoType< T >::get();
 ^
/core/include/com/sun/star/uno/Any.hxx:70:17: note: in instantiation of 
function template specialization 'cppu::getTypeFavourUnsigned' requested 
here
::cppu::getTypeFavourUnsigned().getTypeLibType(),
^
/core/include/com/sun/star/uno/Any.hxx:234:12: note: in instantiation of 
function template specialization 'com::sun::star::uno::Any::Any' requested 
here
return Any(value);
   ^
/core/sd/qa/unit/tiledrendering/tiledrendering.cxx:2643:32: note: in 
instantiation of function template specialization 
'com::sun::star::uno::makeAny' requested here
{"HandleNum", uno::makeAny(id)},
   ^
/core/include/cppu/unotype.hxx:124:1: note: candidate function not viable: no 
known conversion from 'T1 *' (aka 'int *') to 'const ::cppu::UnoVoidType *' for 
1st argument
cppu_detail_getUnoType(SAL_UNUSED_PARAMETER ::cppu::UnoVoidType const *) {
^
/core/include/cppu/unotype.hxx:129:1: note: candidate function not viable: no 
known conversion from 'T1 *' (aka 'int *') to 'const bool *' for 1st argument
cppu_detail_getUnoType(SAL_UNUSED_PARAMETER bool const *) {
^
/core/include/cppu/unotype.hxx:134:1: note: candidate function not viable: no 
known conversion from 'T1 *' (aka 'int *') to 'const sal_Bool *' (aka 'const 
unsigned char *') for 1st argument
cppu_detail_getUnoType(SAL_UNUSED_PARAMETER sal_Bool const *) {
^
/core/include/cppu/unotype.hxx:139:1: note: candidate function not viable: no 
known conversion from 'T1 *' (aka 'int *') to 'const ::sal_Int8 *' (aka 'const 
signed char *') for 1st argument
cppu_detail_getUnoType(SAL_UNUSED_PARAMETER ::sal_Int8 const *) {
^
/core/include/cppu/unotype.hxx:144:1: note: candidate function not viable: no 
known conversion from 'T1 *' (aka 'int *') to 'const ::sal_Int16 *' (aka 'const 
short *') for 1st argument
cppu_detail_getUnoType(SAL_UNUSED_PARAMETER ::sal_Int16 const *) {
^
/core/include/cppu/unotype.hxx:149:1: note: candidate function not viable: no 
known conversion from 'T1 *' (aka 'int *') to 'const 
::cppu::UnoUnsignedShortType *' for 1st argument
cppu_detail_getUnoType(
^
/core/include/cppu/unotype.hxx:159:1: note: candidate function not viable: no 
known conversion from 'T1 *' (aka 'int *') to 'const sal_uInt16 *' (aka 'const 
unsigned short *') for 1st argument
cppu_detail_getUnoType(SAL_UNUSED_PARAMETER sal_uInt16 const *) {
^
/core/include/cppu/unotype.hxx:165:1: note: candidate function not viable: no 
known conversion from 'T1 *' (aka 'int *') to 'const ::sal_Int32 *' (aka 'const 
long *') for 1st argument
cppu_detail_getUnoType(SAL_UNUSED_PARAMETER ::sal_Int32 const *) {
^
/core/include/cppu/unotype.hxx:170:1: note: candidate function not viable: no 
known conversion from 'T1 *' (aka 'int *') to 'const ::sal_uInt32 *' (aka 
'const unsigned long *') for 1st argument
cppu_detail_getUnoType(SAL_UNUSED_PARAMETER ::sal_uInt32 const *) {
^
/core/include/cppu/unotype.hxx:176:1: note: candidate function not viable: no 
known conversion from 'T1 *' (aka 'int *') to 'const ::sal_Int64 *' (aka 'const 
long long *') for 1st argument
cppu_detail_getUnoType(SAL_UNUSED_PARAMETER ::sal_Int64 const *) {
^
/core/include/cppu/unotype.hxx:181:1: note: candidate function not viable: no 
known conversion from 'T1 *' (aka 'int *') to 'const ::sal_uInt64 *' (aka 
'const unsigned long long *') for 1st argument
cppu_detail_getUnoType(SAL_UNUSED_PARAMETER ::sal_uInt64 const *) {
^
/core/include/cppu/unotype.hxx:187:1: note: candidate function not viable: no 
known conversion from 'T1 *' (aka 'int *') to 'const float *' for 1st argument
cppu_detail_getUnoType(SAL_UNUSED_PARAMETER float const *) {
^
/core/include/cppu/unotype.hxx:192:1: note: candidate function