Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 847853 - <dev-lang/vala-0.56.0: test failures on sparc w/ SIGBUS (basic-types/arrays, posix/arrays)
Summary: <dev-lang/vala-0.56.0: test failures on sparc w/ SIGBUS (basic-types/arrays, ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks: unaligned-access
  Show dependency tree
 
Reported: 2022-05-28 05:18 UTC by Sam James
Modified: 2022-10-10 22:09 UTC (History)
0 users

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


Attachments
build.log (file_847853.txt,635.82 KB, text/plain)
2022-05-28 05:19 UTC, Sam James
Details
test-suite.log (file_847853.txt,10.50 KB, text/plain)
2022-05-28 05:19 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 2022-05-28 05:18:21 UTC
FAIL: basic-types/arrays
========================

In file included from /usr/lib64/glib-2.0/include/glibconfig.h:9,
                 from /usr/include/glib-2.0/glib/gtypes.h:32,
                 from /usr/include/glib-2.0/glib/galloca.h:32,
                 from /usr/include/glib-2.0/glib.h:30,
                 from /var/tmp/portage/dev-lang/vala-0.54.7/work/vala-0.54.7/tests/_test.3202/basic_types_arrays.c:4:
/var/tmp/portage/dev-lang/vala-0.54.7/work/vala-0.54.7/tests/_test.3202/basic_types_arrays.c: In function ‘test_inline_array’:
/var/tmp/portage/dev-lang/vala-0.54.7/work/vala-0.54.7/tests/_test.3202/basic_types_arrays.c:901:49: warning: passing argument 1 of ‘_vala_int_array_contains’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  901 |         _vala_assert (_vala_int_array_contains (a, G_N_ELEMENTS (a), 1), "1 in a");
      |                                                 ^
/usr/include/glib-2.0/glib/gmacros.h:1090:25: note: in definition of macro ‘G_LIKELY’
 1090 | #define G_LIKELY(expr) (expr)
      |                         ^~~~
/var/tmp/portage/dev-lang/vala-0.54.7/work/vala-0.54.7/tests/_test.3202/basic_types_arrays.c:901:9: note: in expansion of macro ‘_vala_assert’
  901 |         _vala_assert (_vala_int_array_contains (a, G_N_ELEMENTS (a), 1), "1 in a");
      |         ^~~~~~~~~~~~
/var/tmp/portage/dev-lang/vala-0.54.7/work/vala-0.54.7/tests/_test.3202/basic_types_arrays.c:252:34: note: expected ‘gint *’ {aka ‘int *’} but argument is of type ‘const gint *’ {aka ‘const int *’}
  252 | _vala_int_array_contains (gint * stack,
      |                           ~~~~~~~^~~~~
In file included from /usr/include/glib-2.0/glib/gthread.h:32,
                 from /usr/include/glib-2.0/glib/gasyncqueue.h:32,
                 from /usr/include/glib-2.0/glib.h:32:
/var/tmp/portage/dev-lang/vala-0.54.7/work/vala-0.54.7/tests/_test.3202/basic_types_arrays.c: In function ‘foo_get_type’:
/usr/include/glib-2.0/glib/gatomic.h:113:5: warning: argument 2 of ‘__atomic_load’ discards ‘volatile’ qualifier [-Wincompatible-pointer-types]
  113 |     __atomic_load (gapg_temp_atomic, &gapg_temp_newval, __ATOMIC_SEQ_CST); \
      |     ^~~~~~~~~~~~~
/usr/include/glib-2.0/glib/gthread.h:260:7: note: in expansion of macro ‘g_atomic_pointer_get’
  260 |     (!g_atomic_pointer_get (location) &&                             \
      |       ^~~~~~~~~~~~~~~~~~~~
/var/tmp/portage/dev-lang/vala-0.54.7/work/vala-0.54.7/tests/_test.3202/basic_types_arrays.c:1394:13: note: in expansion of macro ‘g_once_init_enter’
 1394 |         if (g_once_init_enter (&foo_type_id__volatile)) {
      |             ^~~~~~~~~~~~~~~~~
/var/tmp/portage/dev-lang/vala-0.54.7/work/vala-0.54.7/tests/_test.3202/basic_types_arrays.c: In function ‘bar_get_type’:
/usr/include/glib-2.0/glib/gatomic.h:113:5: warning: argument 2 of ‘__atomic_load’ discards ‘volatile’ qualifier [-Wincompatible-pointer-types]
  113 |     __atomic_load (gapg_temp_atomic, &gapg_temp_newval, __ATOMIC_SEQ_CST); \
      |     ^~~~~~~~~~~~~
/usr/include/glib-2.0/glib/gthread.h:260:7: note: in expansion of macro ‘g_atomic_pointer_get’
  260 |     (!g_atomic_pointer_get (location) &&                             \
      |       ^~~~~~~~~~~~~~~~~~~~
/var/tmp/portage/dev-lang/vala-0.54.7/work/vala-0.54.7/tests/_test.3202/basic_types_arrays.c:1429:13: note: in expansion of macro ‘g_once_init_enter’
 1429 |         if (g_once_init_enter (&bar_type_id__volatile)) {
      |             ^~~~~~~~~~~~~~~~~
/var/tmp/portage/dev-lang/vala-0.54.7/work/vala-0.54.7/tests/_test.3202/basic_types_arrays.c: In function ‘manam_get_type’:
/usr/include/glib-2.0/glib/gatomic.h:113:5: warning: argument 2 of ‘__atomic_load’ discards ‘volatile’ qualifier [-Wincompatible-pointer-types]
  113 |     __atomic_load (gapg_temp_atomic, &gapg_temp_newval, __ATOMIC_SEQ_CST); \
      |     ^~~~~~~~~~~~~
/usr/include/glib-2.0/glib/gthread.h:260:7: note: in expansion of macro ‘g_atomic_pointer_get’
  260 |     (!g_atomic_pointer_get (location) &&                             \
      |       ^~~~~~~~~~~~~~~~~~~~
/var/tmp/portage/dev-lang/vala-0.54.7/work/vala-0.54.7/tests/_test.3202/basic_types_arrays.c:1464:13: note: in expansion of macro ‘g_once_init_enter’
 1464 |         if (g_once_init_enter (&manam_type_id__volatile)) {
      |             ^~~~~~~~~~~~~~~~~
/var/tmp/portage/dev-lang/vala-0.54.7/work/vala-0.54.7/tests/_test.3202/basic_types_arrays.c: In function ‘test_fixed_array’:
/var/tmp/portage/dev-lang/vala-0.54.7/work/vala-0.54.7/tests/_test.3202/basic_types_arrays.c:1597:29: warning: passing argument 1 of ‘change_fixed_array’ from incompatible pointer type [-Wincompatible-pointer-types]
 1597 |         change_fixed_array (&k);
      |                             ^~
      |                             |
      |                             gint (*)[3] {aka int (*)[3]}
/var/tmp/portage/dev-lang/vala-0.54.7/work/vala-0.54.7/tests/_test.3202/basic_types_arrays.c:1573:28: note: expected ‘gint **’ {aka ‘int **’} but argument is of type ‘gint (*)[3]’ {aka ‘int (*)[3]’}
 1573 | change_fixed_array (gint** i)
      |                     ~~~~~~~^
/var/tmp/portage/dev-lang/vala-0.54.7/work/vala-0.54.7/tests/_test.3202/basic_types_arrays.c:1599:27: warning: passing argument 1 of ‘give_fixed_array’ from incompatible pointer type [-Wincompatible-pointer-types]
 1599 |         give_fixed_array (&_tmp2_);
      |                           ^~~~~~~
      |                           |
      |                           gint (*)[3] {aka int (*)[3]}
/var/tmp/portage/dev-lang/vala-0.54.7/work/vala-0.54.7/tests/_test.3202/basic_types_arrays.c:1550:26: note: expected ‘gint **’ {aka ‘int **’} but argument is of type ‘gint (*)[3]’ {aka ‘int (*)[3]’}
 1550 | give_fixed_array (gint** i)
      |                   ~~~~~~~^
/var/tmp/portage/dev-lang/vala-0.54.7/work/vala-0.54.7/tests/_test.3202/basic_types_arrays.c: In function ‘test_array_resize’:
/var/tmp/portage/dev-lang/vala-0.54.7/work/vala-0.54.7/tests/_test.3202/basic_types_arrays.c:1359:32: warning: ‘memset’ specified size 18446744073709551600 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=]
 1359 |         (_tmp2_ > a_length1) ? memset (a + a_length1, 0, sizeof (gint) * (_tmp2_ - a_length1)) : NULL;
      |                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/portage/dev-lang/vala-0.54.7/work/vala-0.54.7/build-aux/testrunner.sh: line 190: 13646 Bus error               (core dumped) ./$testpath$EXEEXT
FAIL basic-types/arrays.vala (exit status: 138)

FAIL: posix/arrays
==================

In file included from /var/tmp/portage/dev-lang/vala-0.54.7/work/vala-0.54.7/tests/_test.66616/posix_arrays.c:5:
/var/tmp/portage/dev-lang/vala-0.54.7/work/vala-0.54.7/tests/_test.66616/posix_arrays.c: In function ‘test_inline_array’:
/var/tmp/portage/dev-lang/vala-0.54.7/work/vala-0.54.7/tests/_test.66616/posix_arrays.c:930:43: warning: passing argument 1 of ‘_vala_int_array_contains’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  930 |         assert (_vala_int_array_contains (a, VALA_N_ELEMENTS (a), 1));
      |                                           ^
/var/tmp/portage/dev-lang/vala-0.54.7/work/vala-0.54.7/tests/_test.66616/posix_arrays.c:259:33: note: expected ‘int *’ but argument is of type ‘const int *’
  259 | _vala_int_array_contains (int * stack,
      |                           ~~~~~~^~~~~
/var/tmp/portage/dev-lang/vala-0.54.7/work/vala-0.54.7/tests/_test.66616/posix_arrays.c:930:43: warning: passing argument 1 of ‘_vala_int_array_contains’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  930 |         assert (_vala_int_array_contains (a, VALA_N_ELEMENTS (a), 1));
      |                                           ^
/var/tmp/portage/dev-lang/vala-0.54.7/work/vala-0.54.7/tests/_test.66616/posix_arrays.c:259:33: note: expected ‘int *’ but argument is of type ‘const int *’
  259 | _vala_int_array_contains (int * stack,
      |                           ~~~~~~^~~~~
/var/tmp/portage/dev-lang/vala-0.54.7/work/vala-0.54.7/tests/_test.66616/posix_arrays.c: In function ‘test_fixed_array’:
/var/tmp/portage/dev-lang/vala-0.54.7/work/vala-0.54.7/tests/_test.66616/posix_arrays.c:1575:29: warning: passing argument 1 of ‘change_fixed_array’ from incompatible pointer type [-Wincompatible-pointer-types]
 1575 |         change_fixed_array (&k);
      |                             ^~
      |                             |
      |                             int (*)[3]
/var/tmp/portage/dev-lang/vala-0.54.7/work/vala-0.54.7/tests/_test.66616/posix_arrays.c:1551:27: note: expected ‘int **’ but argument is of type ‘int (*)[3]’
 1551 | change_fixed_array (int** i)
      |                     ~~~~~~^
/var/tmp/portage/dev-lang/vala-0.54.7/work/vala-0.54.7/tests/_test.66616/posix_arrays.c:1577:27: warning: passing argument 1 of ‘give_fixed_array’ from incompatible pointer type [-Wincompatible-pointer-types]
 1577 |         give_fixed_array (&_tmp2_);
      |                           ^~~~~~~
      |                           |
      |                           int (*)[3]
/var/tmp/portage/dev-lang/vala-0.54.7/work/vala-0.54.7/tests/_test.66616/posix_arrays.c:1528:25: note: expected ‘int **’ but argument is of type ‘int (*)[3]’
 1528 | give_fixed_array (int** i)
      |                   ~~~~~~^
/var/tmp/portage/dev-lang/vala-0.54.7/work/vala-0.54.7/tests/_test.66616/posix_arrays.c: In function ‘test_array_resize’:
/var/tmp/portage/dev-lang/vala-0.54.7/work/vala-0.54.7/tests/_test.66616/posix_arrays.c:1397:32: warning: ‘memset’ specified size 18446744073709551600 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=]
 1397 |         (_tmp2_ > a_length1) ? memset (a + a_length1, 0, sizeof (int) * (_tmp2_ - a_length1)) : NULL;
      |                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/portage/dev-lang/vala-0.54.7/work/vala-0.54.7/build-aux/testrunner.sh: line 190: 69610 Bus error               (core dumped) ./$testpath$EXEEXT
FAIL posix/arrays.vala (exit status: 138)
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-05-28 05:19:12 UTC
Created attachment 781133 [details]
build.log

# emerge --info
!!! It seems /run is not mounted. Process management may malfunction.
Portage 3.0.30 (python 3.9.10-final-0, default/linux/sparc/17.0/64ul/desktop, gcc-12.1.0, glibc-2.34-r13, 5.15.32-gentoo-r1 sparc64)
=================================================================
System uname: Linux-5.15.32-gentoo-r1-sparc64-sun4v-with-glibc2.34
KiB Mem:   531346544 total, 451709184 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Sat, 28 May 2022 05:03:23 +0000
sh dash 0.5.11.5
ld GNU ld (Gentoo 2.37_p1 p2) 2.37
ccache version 4.5.1 [disabled]
app-misc/pax-utils:        1.3.3::gentoo
app-shells/bash:           5.1_p16::gentoo
dev-lang/perl:             5.34.0-r9::gentoo
dev-lang/python:           2.7.18_p15::gentoo, 3.8.13::gentoo, 3.9.10_p1::gentoo, 3.10.4::gentoo
dev-util/ccache:           4.5.1::gentoo
dev-util/cmake:            3.22.2::gentoo
dev-util/meson:            0.61.4-r2::gentoo
sys-apps/baselayout:       2.7-r3::gentoo
sys-apps/openrc:           0.44.10::gentoo
sys-apps/sandbox:          2.29::gentoo
sys-devel/autoconf:        2.13-r1::gentoo, 2.71-r1::gentoo
sys-devel/automake:        1.16.5::gentoo
sys-devel/binutils:        2.37_p1-r2::gentoo
sys-devel/binutils-config: 5.4.1::gentoo
sys-devel/gcc:             10.3.1_p20211126::gentoo, 11.2.1_p20220115::gentoo, 12.1.0::gentoo
sys-devel/gcc-config:      2.5-r1::gentoo
sys-devel/libtool:         2.4.6-r6::gentoo
sys-devel/make:            4.3::gentoo
sys-kernel/linux-headers:  5.15-r3::gentoo (virtual/os-headers)
sys-libs/glibc:            2.34-r13::gentoo
Repositories:

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

ACCEPT_KEYWORDS="sparc"
ACCEPT_LICENSE="*"
CBUILD="sparc64-unknown-linux-gnu"
CFLAGS="-O2 -mcpu=native -pipe -fdiagnostics-show-option -frecord-gcc-switches"
CHOST="sparc64-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php7.4/ext-active/ /etc/php/apache2-php8.0/ext-active/ /etc/php/cgi-php7.4/ext-active/ /etc/php/cgi-php8.0/ext-active/ /etc/php/cli-php7.4/ext-active/ /etc/php/cli-php8.0/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -mcpu=native -pipe"
DISTDIR="/bound/distfiles"
EMERGE_DEFAULT_OPTS="--complete-graph --with-bdeps=y --keep-going --deep"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY 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"
FCFLAGS="-O2 -mcpu=native -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg-live cgroup config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -mcpu=native -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="C.UTF8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu"
PKGDIR="/var/cache/binpkgs"
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="X a52 aac acl alsa big-endian branding bzip2 cairo caps cdda cdr cli crypt cups dbus dri dts dvd dvdr encode exif filecaps flac fortran gdbm gif gmp gpm gtk gui iconv icu introspection ipv6 jit jpeg lcms libglvnd libnotify libtirpc llvm-libunwind mad mng mp3 mp4 mpeg ncurses nls nptl ogg opengl openmp pam pango pcre pdf png policykit ppds readline sdl sparc spell split-usr ssl startup-notification svg tiff truetype udev udisks unicode upower usb vorbis wxwidgets x264 xattr xcb xml xv xvid zlib" ADA_TARGET="gnat_2020" 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="php7-4 php8-0" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_9" PYTHON_TARGETS="python3_9 python3_7 python3_8" RUBY_TARGETS="ruby27" USERLAND="GNU" VIDEO_CARDS="dummy fbdev" 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, LEX, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, MAKEOPTS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-05-28 05:19:30 UTC
Created attachment 781136 [details]
test-suite.log
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-05-28 05:21:59 UTC
Apparently this is fixed by https://gitlab.gnome.org/GNOME/vala/-/commit/c59ee0984d25a00c3ad0f80dbad97e11053ed92a.
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-05-28 05:23:10 UTC
(In reply to Sam James from comment #3)
> Apparently this is fixed by
> https://gitlab.gnome.org/GNOME/vala/-/commit/
> c59ee0984d25a00c3ad0f80dbad97e11053ed92a.

... which is in 0.56.0.