Hello Dmitry,

On 3/11/23 19:19, Dmitry Shachnev wrote:
On Mon, Feb 06, 2023 at 10:12:37PM +0100, Helge Deller wrote:
Package: qtquickcontrols-opensource-src
Tags: ftbfs, hppa
Version:  5.15.8-2

qtquickcontrols-opensource-src FTBFS on hppa with this testcase failure:
FAIL!  : qtquickcontrols::Tests_TreeView::test_pressAndHold() Compared values 
are not the same
    Actual   (): 0
    Expected (): 1
    Loc: [/<<PKGBUILDDIR>>/tests/auto/controls/data/tst_treeview.qml(274)]

see:
https://buildd.debian.org/status/fetch.php?pkg=qtquickcontrols-opensource-src&arch=hppa&ver=5.15.8-2&stamp=1675556283&raw=0

Looking at debian/rules file I see:
         $(MAKE) install INSTALL_ROOT=$(CURDIR)/test_root
ifneq (,$(filter $(DEB_HOST_ARCH),mips mips64el mipsel powerpc ppc64 riscv64 
s390x))
         # mips*: segmentation fault, see #868745
         # powerpc, ppc64: some failures in extras::Tests_Picture and 
extras::Tests_StatusIndicator
         # riscv64: failure in 
qtquickcontrols::Tests_TreeView::test_pressAndHold
         # s390x: some failures in qtquickcontrols::Tests_TableView and 
qtquickcontrols::Tests_TreeView
         -xvfb-run -a -s "-screen 0 1024x768x24 +extension RANDR +extension RENDER 
+extension GLX" \
                 dh_auto_test --no-parallel -- 
QML2_IMPORT_PATH=$(CURDIR)/test_root/usr/lib/$(DEB_HOST_MULTIARCH)/qt5/qml
else

so, "riscv64" fails the same testcase.
I don't know the backgrounds why riscv64 fails, but I assume adding "hppa" to 
the ifneq() like this:
ifneq (,$(filter $(DEB_HOST_ARCH),mips mips64el mipsel powerpc ppc64 riscv64 
s390x hppa))
might fix (or avoid) the FTBFS.

I see that someone forced the package to build without the tests, so
now it's available in the hppa archive.

Yes, sometimes we need to force a build without tests to guarantee
forward progress for dependend packages. But we do that rarely and of
course it's better to really fix such issues (and avoid that extra build).

But have you checked that the produced package is usable?

I'm not sure any longer if it was me or not.
So, at least I did not check.

Does Qt QML engine work on hppa, or there are issues caused by stack
growing up?

I can't easily test, as my machines run server builds.

If you think it works, then I will be happy to disable the tests there.

If you look at the log
https://buildd.debian.org/status/fetch.php?pkg=qtquickcontrols-opensource-src&arch=hppa&ver=5.15.8-2&stamp=1675556283&raw=0
the "qtquickcontrols::Tests_TreeView::test_pressAndHold()" test was the only 
one which failed,
same as on the other platforms. So I'd believe it works.

It would be great if you could apply that patch.

Thank you,
Helge

Reply via email to