Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 704770 - >=net-mail/mailutils-3.8 fails several tests on Big Endian arches
Summary: >=net-mail/mailutils-3.8 fails several tests on Big Endian arches
Status: RESOLVED DUPLICATE of bug 670924
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Eray Aslan
URL: https://savannah.gnu.org/bugs/?60395
Whiteboard:
Keywords: PATCH, TESTFAILURE
Depends on:
Blocks: CVE-2019-18862
  Show dependency tree
 
Reported: 2020-01-04 15:43 UTC by ernsteiswuerfel
Modified: 2021-04-15 16:59 UTC (History)
2 users (show)

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


Attachments
emerge --info (file_704770.txt,5.93 KB, text/plain)
2020-01-04 15:43 UTC, ernsteiswuerfel
Details
build.log.xz (mailutils-3.8:20200104-150718.log.xz,56.04 KB, application/x-xz)
2020-01-04 15:50 UTC, ernsteiswuerfel
Details
testsuite.log (testsuite.log,538.25 KB, text/plain)
2020-01-04 15:50 UTC, ernsteiswuerfel
Details
emerge --info (file_704770.txt,5.98 KB, text/plain)
2021-04-14 19:30 UTC, ernsteiswuerfel
Details
build.log.xz (ppc, 3.12) (mailutils-3.12:20210414-184534.log.xz,58.50 KB, application/x-xz)
2021-04-14 19:33 UTC, ernsteiswuerfel
Details
testsuite.log (ppc, 3.12) (testsuite.log,561.65 KB, text/plain)
2021-04-14 19:34 UTC, ernsteiswuerfel
Details
fixes testsuite for Big Endian arches (fix-mimeview_tests.patch,698 bytes, patch)
2021-04-15 16:46 UTC, ernsteiswuerfel
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description ernsteiswuerfel archtester 2020-01-04 15:43:16 UTC
Created attachment 602540 [details]
emerge --info

## ----------------------------- ##
## GNU Mailutils 3.8 test suite. ##
## ----------------------------- ##
  1: lmtpd version                                   FAILED (testsuite.at:26)
  2: lmtpd                                           ok
  3: putmail version                                 FAILED (testsuite.at:30)
  4: putmail                                         ok
  5: testmda version                                 FAILED (testsuite.at:34)
  6: mda                                             FAILED (mda.at:27)
  7: mda, explicit envelope                          FAILED (mda.at:45)
  8: forwarding support                              FAILED (forward.at:36)

## ------------- ##
## Test results. ##
## ------------- ##

ERROR: All 8 tests were run,
6 failed unexpectedly.
Comment 1 ernsteiswuerfel archtester 2020-01-04 15:50:36 UTC
Created attachment 602542 [details]
build.log.xz
Comment 2 ernsteiswuerfel archtester 2020-01-04 15:50:57 UTC
Created attachment 602544 [details]
testsuite.log
Comment 3 Mart Raudsepp gentoo-dev 2020-04-12 11:12:43 UTC
fails on arm64 as well for this USE flag combination:

USE='berkdb -bidi clients emacs -gdbm -guile -ipv6 kerberos -kyotocabinet ldap mysql nls pam postgres -python -sasl servers -ssl -static-libs tcpd threads'
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2020-05-12 21:57:24 UTC
I can't reproduce these anymore on my arm64 stable chroot so I've proceeded with stabilisation in the security bug. This doesn't mean they aren't happening for others though.
Comment 5 Jonathan Lovelace 2020-06-03 11:00:22 UTC
I'm seeing the "putmail version" failure on amd64; from the test log ($S/mda/putmail/tests/testsuite.log) it looks like it's running the test suite against the previously-installed version rather than the version it's just built:

## ---------------------- ##
## Detailed failed tests. ##
## ---------------------- ##

#                             -*- compilation -*-
1. testsuite.at:19: testing putmail version ...
./testsuite.at:19: putmail --version | sed '1{s/-[0-9][0-9]* //;s/ *\[.*\]//;q;}' 
--- -   2020-06-02 22:06:05.131094758 -0400
+++ /var/tmp/portage/net-mail/mailutils-3.9/work/mailutils-3.9/mda/putmail/tests/testsuite.dir/at-groups/1/stdout       2020-0
6-02 22:06:05.123251459 -0400
@@ -1,2 +1,2 @@
-putmail (GNU Mailutils) 3.9
+putmail (GNU Mailutils) 3.8
 
1. testsuite.at:19: 1. putmail version (testsuite.at:19): FAILED (testsuite.at:19)


USE="clients ipv6 nls pam (split-usr) ssl threads -berkdb -bidi -emacs -gdbm -guile -kerberos -kyotocabinet -ldap -mysql -postgres -python -sasl -servers -static-libs -tcpd -tokyocabinet" PYTHON_SINGLE_TARGET="python3_7 (-python3_6) (-python3_8)"
Comment 6 ernsteiswuerfel archtester 2021-04-14 19:30:39 UTC
Created attachment 699882 [details]
emerge --info
Comment 7 ernsteiswuerfel archtester 2021-04-14 19:33:33 UTC
Created attachment 699885 [details]
build.log.xz (ppc, 3.12)

Other test failures for 3.12 on ppc:

[...]
  8: printable                                       FAILED (testsuite.at:120)
  9: regex                                           FAILED (testsuite.at:128)
 12: char                                            FAILED (testsuite.at:150)
 16: argument strings                                FAILED (testsuite.at:180)
 18: logical and                                     FAILED (testsuite.at:200)

## ------------- ##
## Test results. ##
## ------------- ##

ERROR: All 21 tests were run,
5 failed unexpectedly.
Comment 8 ernsteiswuerfel archtester 2021-04-14 19:34:13 UTC
Created attachment 699888 [details]
testsuite.log (ppc, 3.12)
Comment 9 ernsteiswuerfel archtester 2021-04-14 20:03:22 UTC
Took it upstream and sent a corresponding email to <bug-mailutils@gnu.org>.
Comment 10 ernsteiswuerfel archtester 2021-04-15 16:46:30 UTC
Created attachment 700014 [details, diff]
fixes testsuite for Big Endian arches

This issue was fixed upstream with: http://git.savannah.gnu.org/cgit/mailutils.git/patch/?id=c0af3be2fcee73c1a61f58572ecef1ef3f385015

For convenience I'll attach the patch. Fixes tests in 3.12 ppc/ppc64 and also in 3.9 ppc/ppc64.
Comment 11 ernsteiswuerfel archtester 2021-04-15 16:59:53 UTC
Hmm, seems this is a duplicate of bug #670924 which I reported earlier. D'oh.. ;)

*** This bug has been marked as a duplicate of bug 670924 ***