Created attachment 542210 [details] build.log PASS: unit/test-queue PASS: unit/test-endian PASS: unit/test-hashmap PASS: unit/test-string libtool: link: powerpc64-unknown-linux-gnu-gcc -fvisibility=hidden -DUNITDIR=\"/var/tmp/portage/dev-libs/ell-0.6/work/ell-0.6/unit/\" -DCERTDIR=\"./unit/\" -O2 -mcpu=powerpc64 -maltivec -mabi=altivec -pipe -Wl,-O1 -Wl,--as-needed -o unit/test-dhcp unit/test-dhcp.o ell/.libs/libell-private.a /var/tmp/portage/dev-libs/ell-0.6/work/ell-0.6/build-aux/test-driver: line 107: 24358 Aborted (core dumped) "$@" > $log_file 2>&1 FAIL: unit/test-utf8 PASS: unit/test-io PASS: unit/test-plugin PASS: unit/test-ringbuf PASS: unit/test-settings PASS: unit/test-netlink PASS: unit/test-checksum PASS: unit/test-genl PASS: unit/test-genl-msg PASS: unit/test-siphash PASS: unit/test-random PASS: unit/test-util PASS: unit/test-uintset PASS: unit/test-cipher PASS: unit/test-uuid PASS: unit/test-base64 PASS: unit/test-dhcp PASS: unit/test-main PASS: unit/test-pbkdf2 make --no-print-directory all-am ============================================================================ Testsuite summary for ell 0.6 ============================================================================ # TOTAL: 24 # PASS: 23 # SKIP: 0 # XFAIL: 0 # FAIL: 1 # XPASS: 0 # ERROR: 0 ============================================================================ See ./test-suite.log ============================================================================
Created attachment 542212 [details] emerge --info
=============================== ell 0.6: ./test-suite.log =============================== # TOTAL: 24 # PASS: 23 # SKIP: 0 # XFAIL: 0 # FAIL: 1 # XPASS: 0 # ERROR: 0 .. contents:: :depth: 2 FAIL: unit/test-utf8 ==================== test-utf8: /var/tmp/portage/dev-libs/ell-0.6/work/ell-0.6/unit/test-utf8.c:827: test_utf8_codepoint: Assertion `ret > 0 && val == test->ucs4[i]' failed. TEST: Validate UTF 1
Created attachment 542648 [details] build.log (ppc_32) Same on ppc (32 bit): =============================== ell 0.6: ./test-suite.log =============================== # TOTAL: 24 # PASS: 23 # SKIP: 0 # XFAIL: 0 # FAIL: 1 # XPASS: 0 # ERROR: 0 .. contents:: :depth: 2 FAIL: unit/test-utf8 ==================== test-utf8: /var/tmp/portage/dev-libs/ell-0.6/work/ell-0.6/unit/test-utf8.c:827: test_utf8_codepoint: Assertion `ret > 0 && val == test->ucs4[i]' failed. TEST: Validate UTF 1 # coredumpctl gdb PID: 16078 (test-utf8) UID: 250 (portage) GID: 250 (portage) Signal: 6 (ABRT) Timestamp: Tue 2018-08-07 00:51:33 CEST (8min ago) Command Line: ./unit/test-utf8 Executable: /var/tmp/portage/dev-libs/ell-0.6/work/ell-0.6-abi_ppc_32.ppc/unit/test-utf8 Control Group: /user.slice/user-1000.slice/session-c1.scope Unit: session-c1.scope Slice: user-1000.slice Session: c1 Owner UID: 1000 (ef) Boot ID: e21dbde081ed4a9c9bfab9a4b933a9db Machine ID: a11f6dbd63d44c20941f9f48a8fbb3e4 Hostname: T800 Storage: /var/lib/systemd/coredump/core.test-utf8.250.e21dbde081ed4a9c9bfab9a4b933a9db.16078.1533595893000000.lz4 Message: Process 16078 (test-utf8) of user 250 dumped core. Stack trace of thread 16078: #0 0x00000000005e2580 __libc_signal_restore_set (libc.so.6) #1 0x00000000005e4264 __GI_abort (libc.so.6) #2 0x00000000005d93c4 __assert_fail_base (libc.so.6) #3 0x00000000005d9454 __GI___assert_fail (libc.so.6) #4 0x00000000007a8308 n/a (/var/tmp/portage/dev-libs/ell-0.6/work/ell-0.6-abi_ppc_32.ppc/unit/test-utf8) GNU gdb (Gentoo 8.1 p1) 8.1 Copyright (C) 2018 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "powerpc-unknown-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: <https://bugs.gentoo.org/>. Find the GDB manual and other documentation resources online at: <http://www.gnu.org/software/gdb/documentation/>. For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from /var/tmp/portage/dev-libs/ell-0.6/work/ell-0.6-abi_ppc_32.ppc/unit/test-utf8...done. [New LWP 16078] Core was generated by `./unit/test-utf8'. Program terminated with signal SIGABRT, Aborted. #0 0x005e2580 in __libc_signal_restore_set (set=0xfffb9878) at ../sysdeps/unix/sysv/linux/nptl-signals.h:80 80 return INTERNAL_SYSCALL (rt_sigprocmask, err, 4, SIG_SETMASK, set, NULL,
Created attachment 552820 [details] build.log (0.11, ppc_32) Fails on 0.9 and 0.11 too.
Created attachment 554597 [details] build.log (0.13, ppc_32) No improvement with 0.13.
Can you please attach the test-suite.log file to this bug?
Created attachment 554631 [details] test-suite.log (0.13)
No improvement with 0.15.
============================================================================ Testsuite summary for ell 0.16 ============================================================================ # TOTAL: 25 # PASS: 24 # SKIP: 0 # XFAIL: 0 # FAIL: 1 # XPASS: 0 # ERROR: 0
Created attachment 565660 [details] test-suite.log (0.17) ================================ ell 0.17: ./test-suite.log ================================ # TOTAL: 27 # PASS: 26 # SKIP: 0 # XFAIL: 0 # FAIL: 1 # XPASS: 0 # ERROR: 0 .. contents:: :depth: 2 FAIL: unit/test-utf8 ==================== test-utf8: /var/tmp/portage/dev-libs/ell-0.17/work/ell-0.17/unit/test-utf8.c:827: test_utf8_codepoint: Assertion `ret > 0 && val == test->ucs4[i]' failed.
Created attachment 570674 [details] ell-0.9-r1.ebuild Heavily inspired by bug #670753 I realized that adding -fsigned-char to CFLAGS will make ell-0.9 pass this utf8 test too. ;) Modified the ebuild so this CFLAG gets appended.
============================================================================ Testsuite summary for ell 0.9 ============================================================================ # TOTAL: 25 # PASS: 25 # SKIP: 0 # XFAIL: 0 # FAIL: 0 # XPASS: 0 # ERROR: 0 ============================================================================ >>> Completed testing dev-libs/ell-0.9-r1
Fair enough. Although I find it a bit over-the-top adding that flag to each architecture, despite this only fails on ppc64.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7423ade70cfc2d7b97a6b73799839efeccd505c0 commit 7423ade70cfc2d7b97a6b73799839efeccd505c0 Author: Lars Wendler <polynomial-c@gentoo.org> AuthorDate: 2019-04-05 13:24:46 +0000 Commit: Lars Wendler <polynomial-c@gentoo.org> CommitDate: 2019-04-05 13:24:46 +0000 dev-libs/ell: Fix test suite failure Closes: https://bugs.gentoo.org/662694 Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org> dev-libs/ell/ell-0.17.ebuild | 3 ++- dev-libs/ell/ell-0.18.ebuild | 3 ++- dev-libs/ell/ell-0.9.ebuild | 5 +++-- dev-libs/ell/ell-9999.ebuild | 3 ++- 4 files changed, 9 insertions(+), 5 deletions(-)
*** Bug 662078 has been marked as a duplicate of this bug. ***