Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 914371 - dev-qt/qtbase-6.5.2-r2: fails 31 tests on hppa
Summary: dev-qt/qtbase-6.5.2-r2: fails 31 tests on hppa
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: HPPA Linux
: Normal normal
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks: 914026
  Show dependency tree
 
Reported: 2023-09-18 06:42 UTC by Sam James
Modified: 2023-09-19 03:02 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log.xz (build.log.xz,163.39 KB, application/x-xz)
2023-09-18 06:42 UTC, Sam James
Details
LastTest.log.xz (LastTest.log.xz,294.39 KB, application/x-xz)
2023-09-18 06:43 UTC, Sam James
Details
LastTest.log.xz w/ stack dir patch (LastTest.log.xz,307.09 KB, application/x-xz)
2023-09-18 23:48 UTC, Sam James
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-09-18 06:42:43 UTC
Created attachment 870833 [details]
build.log.xz

The following tests FAILED:
          3 - tst_uic (Failed)
          4 - tst_qdbuscpp2xml (Failed)
          5 - tst_qdbusxml2cpp (Failed)
         26 - tst_qobject (Failed)
         27 - tst_qsystemsemaphore (Failed)
         40 - tst_qnumeric (Failed)
         53 - tst_qfile (Failed)
         65 - tst_qlockfile (Failed)
         67 - tst_qdir (Failed)
         71 - tst_qprocess (Failed)
         72 - qprocess-noapplication (Failed)
         87 - tst_quuid (Failed)
         88 - tst_qpluginloader (Failed)
         93 - tst_qcborvalue (Failed)
         97 - tst_qtextstream (Failed)
        129 - tst_qlocale (Failed)
        173 - tst_qcommandlineparser (Failed)
        182 - tst_qhashseed (Failed)
        244 - tst_qimagereader (Failed)
        249 - tst_qimagewriter (Failed)
        253 - tst_qicon (Failed)
        269 - tst_qfont (Failed)
        290 - tst_qundogroup (Failed)
        291 - tst_qundostack (Failed)
        318 - tst_qlocalsocket (Failed)
        374 - tst_qapplication (Failed)
        448 - tst_qprocess_and_guieventloop (Failed)
        450 - tst_baseline_painting (Failed)
        451 - tst_baseline_widgets (Failed)
        452 - tst_baseline_stylesheet (Failed)
        453 - tst_baseline_text (Failed)
Errors while running CTest

----

# emerge --info
Portage 3.0.51 (python 3.11.5-final-0, default/linux/hppa/17.0/systemd, gcc-13, glibc-2.38-r1, 6.4.10 parisc64)
=================================================================
System uname: Linux-6.4.10-parisc64-PA8800_-Mako-with-glibc2.38
KiB Mem:     8206292 total,   2097068 free
KiB Swap:    1120380 total,   1120380 free
Timestamp of repository gentoo: Mon, 18 Sep 2023 05:46:36 +0000
sh dash 0.5.12
ld GNU ld (Gentoo 2.41 p2) 2.41.0
app-misc/pax-utils:        1.3.7::gentoo
app-shells/bash:           5.2_p15-r6::gentoo
dev-lang/perl:             5.38.0-r1::gentoo
dev-lang/python:           3.11.5::gentoo, 3.12.0_rc2_p1-r1::gentoo
dev-util/cmake:            3.27.5::gentoo
dev-util/meson:            1.2.1-r1::gentoo
sys-apps/baselayout:       2.14::gentoo
sys-apps/sandbox:          2.38::gentoo
sys-apps/systemd:          254.3::gentoo
sys-devel/autoconf:        2.71-r7::gentoo
sys-devel/automake:        1.16.5-r1::gentoo
sys-devel/binutils:        2.41-r1::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/gcc:             13.2.1_p20230826::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/libtool:         2.4.7-r1::gentoo
sys-devel/make:            4.4.1-r1::gentoo
sys-kernel/linux-headers:  6.5::gentoo (virtual/os-headers)
sys-libs/glibc:            2.38-r1::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    volatile: False
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-jobs: 1
    sync-rsync-extra-opts: 
    sync-rsync-verify-metamanifest: yes

ACCEPT_KEYWORDS="hppa ~hppa"
ACCEPT_LICENSE="*"
CBUILD="hppa2.0-unknown-linux-gnu"
CFLAGS="-O2 -pipe -march=2.0"
CHOST="hppa2.0-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=2.0"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="--nospinner --ask-enter-invalid --quiet-build --keep-going --complete-graph --with-bdeps=y --usepkg=y --deep"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME"
FCFLAGS="-O2 -pipe -march=2.0"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live clean-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms split-elog split-log strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe -march=2.0"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="C.UTF8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LEX="flex"
MAKEOPTS="-j2 -l2"
PKGDIR="/var/cache/binpkgs"
PORTAGE_COMPRESS="xz"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
SHELL="/bin/bash"
USE="acl big-endian bzip2 cli crypt fortran gdbm hppa iconv ipv6 ncurses nls nptl openmp pam pcre readline seccomp split-usr ssl systemd udev unicode xattr zlib" ADA_TARGET="gnat_2021" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-1" POSTGRES_TARGETS="postgres15" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_11" RUBY_TARGETS="ruby31 ruby32" VIDEO_CARDS="fbdev dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-09-18 06:43:46 UTC
Created attachment 870834 [details]
LastTest.log.xz
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-09-18 06:45:08 UTC
I'm going to rerun it with https://sources.debian.org/patches/qt6-base/6.4.2%2Bdfsg-18/forkfd_grow_stack_upwards_on_hppa.patch/ applied.
Comment 3 Ionen Wolkens gentoo-dev 2023-09-18 06:58:54 UTC
>         40 - tst_qnumeric (Failed)
>         93 - tst_qcborvalue (Failed)
Both NaN related, assume something special about this here. Could be ignored, I doubt it results in real runtime problems.

>         88 - tst_qpluginloader (Failed)
>        244 - tst_qimagereader (Failed)
>        249 - tst_qimagewriter (Failed)
Same as bug #914033, and should be of little concern. Guess could skip all 3.

Haven't looked too closely but everything else looks like segfaults so can only hope the forkfd patch helps.
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-09-18 07:03:52 UTC
(In reply to Ionen Wolkens from comment #3)
> >         40 - tst_qnumeric (Failed)
> >         93 - tst_qcborvalue (Failed)
> Both NaN related, assume something special about this here. Could be
> ignored, I doubt it results in real runtime problems.
> 

IIRC hppa has a somewhat unique way of using NaN - I'd have to check mail archives but it's probably fine.

> >         88 - tst_qpluginloader (Failed)
> >        244 - tst_qimagereader (Failed)
> >        249 - tst_qimagewriter (Failed)
> Same as bug #914033, and should be of little concern. Guess could skip all 3.
> 

Yeah, they're almost certainly BE, and I'd like to fix them, but I don't think that's a terrible baseline for now.
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-09-18 23:48:16 UTC
Created attachment 870906 [details]
LastTest.log.xz w/ stack dir patch

Nice!

With the patch:
```
The following tests FAILED:
         40 - tst_qnumeric (Failed)
         88 - tst_qpluginloader (Failed)
         93 - tst_qcborvalue (Failed)
        244 - tst_qimagereader (Failed)
        249 - tst_qimagewriter (Failed)
```
Comment 6 Larry the Git Cow gentoo-dev 2023-09-19 03:02:28 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7f6c7b9be96640df5b5e0fad5807990651ffb315

commit 7f6c7b9be96640df5b5e0fad5807990651ffb315
Author:     Ionen Wolkens <ionen@gentoo.org>
AuthorDate: 2023-09-19 02:57:21 +0000
Commit:     Ionen Wolkens <ionen@gentoo.org>
CommitDate: 2023-09-19 02:59:48 +0000

    dev-qt/qtbase: import hppa forkfd fix from debian
    
    Some of bug #914371's issues could (ideally) still need looking
    into/attention, but believe reasonable to close for now and allow
    keywording assuming did not overlook anything.
    
    Closes: https://bugs.gentoo.org/914371
    Signed-off-by: Ionen Wolkens <ionen@gentoo.org>

 .../qtbase-6.5.2-hppa-forkfd-grow-stack.patch      | 28 ++++++++++++++++++++++
 dev-qt/qtbase/qtbase-6.5.2-r2.ebuild               |  1 +
 dev-qt/qtbase/qtbase-6.5.9999.ebuild               |  1 +
 dev-qt/qtbase/qtbase-6.6.9999.ebuild               |  1 +
 dev-qt/qtbase/qtbase-6.9999.ebuild                 |  1 +
 5 files changed, 32 insertions(+)

Additionally, it has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=efd68dea72969804a4b30a968e037e5ca957bf95

commit efd68dea72969804a4b30a968e037e5ca957bf95
Author:     Ionen Wolkens <ionen@gentoo.org>
AuthorDate: 2023-09-19 02:18:12 +0000
Commit:     Ionen Wolkens <ionen@gentoo.org>
CommitDate: 2023-09-19 02:34:27 +0000

    dev-qt/qtbase: skip NaN related tests for hppa-only
    
    May or may not have other impacts and could use fixing,
    but skipping noise about this for now.
    
    Assuming unlikely to come up on non-hppa, so skipping only
    there. Will see if other arches somehow come up.
    
    Bug: https://bugs.gentoo.org/914371
    Signed-off-by: Ionen Wolkens <ionen@gentoo.org>

 dev-qt/qtbase/qtbase-6.5.2-r2.ebuild | 5 +++++
 dev-qt/qtbase/qtbase-6.5.9999.ebuild | 5 +++++
 dev-qt/qtbase/qtbase-6.6.9999.ebuild | 5 +++++
 dev-qt/qtbase/qtbase-6.9999.ebuild   | 5 +++++
 4 files changed, 20 insertions(+)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9766b6fde49e48247ac9b11b2d52a4b615833c99

commit 9766b6fde49e48247ac9b11b2d52a4b615833c99
Author:     Ionen Wolkens <ionen@gentoo.org>
AuthorDate: 2023-09-19 02:12:07 +0000
Commit:     Ionen Wolkens <ionen@gentoo.org>
CommitDate: 2023-09-19 02:12:17 +0000

    dev-qt/qtbase: skip known failing tests on BE arches
    
    Could use looking into eventually, but these failures should
    not have much of an impact. Skipping globally to avoid coming
    back to this with other arches.
    
    Bug: https://bugs.gentoo.org/914033
    Bug: https://bugs.gentoo.org/914371
    Signed-off-by: Ionen Wolkens <ionen@gentoo.org>

 dev-qt/qtbase/qtbase-6.5.2-r2.ebuild | 6 +++++-
 dev-qt/qtbase/qtbase-6.5.9999.ebuild | 6 +++++-
 dev-qt/qtbase/qtbase-6.6.9999.ebuild | 6 +++++-
 dev-qt/qtbase/qtbase-6.9999.ebuild   | 6 +++++-
 4 files changed, 20 insertions(+), 4 deletions(-)