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 | ............................................................................... | | ./controls/webtest.cpp:242: FAILED: | CHECK( m_browser->HasSelection() ) | with expansion: | false | | ./controls/webtest.cpp:243: FAILED: | CHECK( m_browser->GetSelectedText() == "Some strong text" ) | with expansion: | == "Some strong text" | | ./controls/webtest.cpp:252: FAILED: | REQUIRE( (selSource.Lower().Matches("*some*<strong*strong</strong>*text*")) ) | with expansion: | false | with message: | Unexpected selection source: "" | | ------------------------------------------------------------------------------- | 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 | ------------------------------------------------------------------------------- | ./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 | SetPage | ------------------------------------------------------------------------------- | ./controls/webtest.cpp:432 | ............................................................................... | | ./controls/webtest.cpp:436: FAILED: | CHECK( m_browser->GetPageText() == "text" ) | with expansion: | == "text" | | ./controls/webtest.cpp:440: FAILED: | CHECK( m_browser->GetPageText() == "other text" ) | with expansion: | text == "other text" | | ------------------------------------------------------------------------------- | 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 | 0xffffff00 instead of the expected 0x00000000 | | =============================================================================== | test cases: 358 | 356 passed | 2 failed | assertions: 17981 | 17958 passed | 23 failed The full build log is not yet available on buildd.debian.org as a few build dependencies are still missing, but I expect the build to be tried in the next 2 days once they get built. 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 Regards Aurelien