Bug#1050238: wxwidgets3.2: FTBFS: testsuite issues

2023-08-22 Thread Aurelien Jarno
On 2023-08-22 15:40, Aurelien Jarno wrote:
> | 
> ---
> | wxImage::Paste
> |   Paste semitransparent image over transparent image
> | 
> ---
> | ./image/image.cpp:1931
> | 
> ...
> | 
> | ./image/image.cpp:1945: FAILED:
> |   CHECK_THAT( actual, 
> RGBSimilarTo(wxImage("image/paste_result_no_background_square_over_circle.png"),
>  1) )
> | with expansion:
> |   image of size 100*100 with alpha doesn't have the same RGB data as image 
> of
> |   size 100*100 with alpha: first mismatch is at (0, 0) which has value
> |   0xff00 instead of the expected 0x
> | 

That part is an upstream issue reported as 
https://github.com/wxWidgets/wxWidgets/issues/23791

-- 
Aurelien Jarno  GPG: 4096R/1DDD8C9B
aurel...@aurel32.net http://aurel32.net



Bug#1050238: wxwidgets3.2: FTBFS: testsuite issues

2023-08-22 Thread Olly Betts
On Tue, Aug 22, 2023 at 03:40:57PM +0200, Aurelien Jarno wrote:
> It appears that the failing tests are already filtered on some
> architectures, would it be possible to do the same on riscv64 until we
> have time to investigate the issue? The following patches enables the
> package to build successfully:
> 
> --- wxwidgets3.2-3.2.2+dfsg/debian/rules
> +++ wxwidgets3.2-3.2.2+dfsg/debian/rules
> @@ -9,13 +9,13 @@
>  ifneq (,$(filter $(DEB_HOST_ARCH), alpha mips64el riscv64 s390x))
>  TEST_FILTER += ~[special-file]
>  endif
> -ifneq (,$(filter $(DEB_HOST_ARCH), hppa mips64el ppc64 s390x sparc64 x32))
> +ifneq (,$(filter $(DEB_HOST_ARCH), hppa mips64el ppc64 riscv64 s390x sparc64 
> x32))
>  TEST_GUI_FILTER += ~WebView
>  endif
>  ifneq (,$(filter $(DEB_HOST_ARCH), i386))
>  TEST_GUI_FILTER += ~wxImage::ChangeColours
>  endif
> -ifneq (,$(filter $(DEB_HOST_ARCH), mips64el sparc64))
> +ifneq (,$(filter $(DEB_HOST_ARCH), mips64el riscv64 sparc64))
>  TEST_GUI_FILTER += ~wxImage::Paste
>  endif

I don't know the background to these test failures, but extending them
for a new arch is clearly reasonable.  If this is blocking progress for
you please feel free to NMU the change above - otherwise we can include
this in the next upload.

Cheers,
Olly



Bug#1050238: wxwidgets3.2: FTBFS: testsuite issues

2023-08-22 Thread Aurelien Jarno
Source: wxwidgets3.2
Version: 3.2.2+dfsg-3
Severity: important
Tags: patch ftbfs
User: debian-ri...@lists.debian.org
Usertags: riscv64
X-Debbugs-Cc: debian-ri...@lists.debian.org

Dear maintainer,

wxwidgets3.2 fails to build from source on riscv64 due to error in the
testsuite. From my build log:

| 
---
| WebView
| 
---
| ./controls/webtest.cpp:96
| 
...
| 
| ./controls/webtest.cpp:109: FAILED:
|   CHECK( m_loaded->WaitEvent() )
| with expansion:
|   false
| 
| 
---
| WebView
|   Title
| 
---
| ./controls/webtest.cpp:111
| 
...
| 
| ./controls/webtest.cpp:117: FAILED:
|   CHECK( m_loaded->WaitEvent() )
| with expansion:
|   false
| 
| ./controls/webtest.cpp:118: FAILED:
|   CHECK( m_browser->GetCurrentTitle() == "Title" )
| with expansion:
|== "Title"
| 
| 
---
| WebView
| 
---
| ./controls/webtest.cpp:96
| 
...
| 
| ./controls/webtest.cpp:109: FAILED:
|   CHECK( m_loaded->WaitEvent() )
| with expansion:
|   false
| 
| 
---
| WebView
|   URL
| 
---
| ./controls/webtest.cpp:125
| 
...
| 
| ./controls/webtest.cpp:131: FAILED:
|   CHECK( m_browser->GetCurrentURL() == m_alternateHistoryURL )
| with expansion:
|   about:blank == about:
| 
| 
---
| WebView
| 
---
| ./controls/webtest.cpp:96
| 
...
| 
| ./controls/webtest.cpp:109: FAILED:
|   CHECK( m_loaded->WaitEvent() )
| with expansion:
|   false
| 
| 
---
| WebView
|   History
| 
---
| ./controls/webtest.cpp:134
| 
...
| 
| ./controls/webtest.cpp:145: FAILED:
|   CHECK( m_browser->CanGoForward() )
| with expansion:
|   false
| 
| ./controls/webtest.cpp:153: FAILED:
|   CHECK( !m_browser->CanGoBack() )
| with expansion:
|   false
| 
| 
---
| WebView
| 
---
| ./controls/webtest.cpp:96
| 
...
| 
| ./controls/webtest.cpp:109: FAILED:
|   CHECK( m_loaded->WaitEvent() )
| with expansion:
|   false
| 
| 
---
| WebView
|   HistoryList
| 
---
| ./controls/webtest.cpp:192
| 
...
| 
| ./controls/webtest.cpp:198: FAILED:
|   CHECK( m_browser->GetBackwardHistory().size() == 1 )
| with expansion:
|   0 == 1
| 
| ./controls/webtest.cpp:199: FAILED:
|   CHECK( m_browser->GetForwardHistory().size() == 1 )
| with expansion:
|   2 == 1
| 
| 
---
| WebView
| 
---
| ./controls/webtest.cpp:96
| 
...
| 
| ./controls/webtest.cpp:109: FAILED:
|   CHECK( m_loaded->WaitEvent() )
| with expansion:
|   false
| 
| 
---
| WebView
| 
---
| ./controls/webtest.cpp:96
| 
...
| 
| ./controls/webtest.cpp:109: FAILED:
|   CHECK( m_loaded->WaitEvent() )
| with expansion:
|   false
| 
| 
---
| WebView
|   Selection
| 
---
| ./controls/webtest.cpp:223
|