The error is obviously a big endian problem: # -*- compilation -*- 1. strtoc.at:17: testing mu_str_to_c ... ./strtoc.at:18: strtoc --- /dev/null 2018-05-03 08:45:02.879999416 +0200 +++ /var/tmp/portage/net-mail/mailutils-3.4/work/mailutils-3.4/libmailutils/tests/testsuite.dir/at-groups/1/stderr 2018-05-04 07:51:41.401805688 +0200 @@ -0,0 +1 @@ +14: FAIL: mu_c_cidr value differ: expected: 127.0.0.0/255.0.0.0, but got: 0.0.0.127/255.0.0.0 ./strtoc.at:18: exit code was 1, expected 0 1. strtoc.at:17: 1. mu_str_to_c (strtoc.at:17): FAILED (strtoc.at:18)
Created attachment 536656 [details, diff] 0001-Fix-endianness-bug-in-string-to-IP-conversion.patch Can you please check if the attached patch works? Thanks.
Created attachment 536688 [details, diff] redone patch Your patch is mangled, so it did not apply. I have redone it, this is the version that I used.
Created attachment 536690 [details] build.log This is the build log with the patch. I do not have time to look into it deeper right now, maybe later.
From your log: > Conversions > > 1: mu_str_to_c ok i.e. big endian error is fixed. Some other tests are failing but that's a separate issue - bug 648754. Thanks for testing.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f99b2a0dc1644fd2983a787ff7d0354b09946f7e commit f99b2a0dc1644fd2983a787ff7d0354b09946f7e Author: Eray Aslan <eras@gentoo.org> AuthorDate: 2018-06-22 12:20:34 +0000 Commit: Eray Aslan <eras@gentoo.org> CommitDate: 2018-06-22 12:21:08 +0000 net-mail/mailutils: fix endiannes problem Closes: https://bugs.gentoo.org/654992 Package-Manager: Portage-2.3.40, Repoman-2.3.9 .../files/mailutils-3.4-fix-endianness.patch | 122 +++++++++++++++++++ net-mail/mailutils/mailutils-3.4-r2.ebuild | 133 +++++++++++++++++++++ 2 files changed, 255 insertions(+)