Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 807178

Summary: net-mail/dovecot-2.3.16 fails tests: - make[4]: *** [Makefile:<snip>: check-local] Error 1
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Eray Aslan <eras>
Status: RESOLVED FIXED    
Severity: normal Keywords: TESTFAILURE
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=340791
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tar.bz2
logs.tar.bz2
net-mail:dovecot-2.3.16:20210808-144543.log.bz2
temp.tar.bz2

Description Toralf Förster gentoo-dev 2021-08-08 14:52:33 UTC
Failed to run: ./test-lib
make[4]: *** [Makefile:3632: check-local] Error 1
make[4]: Leaving directory '/var/tmp/portage/net-mail/dovecot-2.3.16/work/dovecot-2.3.16/src/lib'
make[3]: *** [Makefile:2978: check-am] Error 2
make[3]: Leaving directory '/var/tmp/portage/net-mail/dovecot-2.3.16/work/dovecot-2.3.16/src/lib'
make[2]: *** [Makefile:2980: check] Error 2

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_systemd-j3_test-20210805-210811

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-11.2.0 *
/usr/lib/llvm/12
12.0.1
Python 3.9.6
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.54.0 *
The Glorious Glasgow Haskell Compilation System, version 8.10.4
  [1]   php7.3
  [2]   php7.4
  [3]   php8.0 *

  HEAD of ::gentoo
commit 0cc734cdddc2400e6042e3982797c891fe545936
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun Aug 8 13:36:39 2021 +0000

    2021-08-08 13:36:37 UTC

emerge -qpvO net-mail/dovecot
[ebuild  N    ] net-mail/dovecot-2.3.16  USE="bzip2 ipv6 pam systemd tcpd zlib -argon2 -caps -doc -kerberos -ldap -lua -lucene -lz4 -lzma -managesieve -mysql -postgres -rpc (-selinux) -sieve -solr -sqlite -static-libs -suid -textcat -unwind -zstd" LUA_SINGLE_TARGET="lua5-1 -lua5-3"
Comment 1 Toralf Förster gentoo-dev 2021-08-08 14:52:35 UTC
Created attachment 731512 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-08-08 14:52:37 UTC
Created attachment 731515 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2021-08-08 14:52:38 UTC
Created attachment 731518 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2021-08-08 14:52:39 UTC
Created attachment 731521 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2021-08-08 14:52:41 UTC
Created attachment 731524 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-08-08 14:52:42 UTC
Created attachment 731527 [details]
net-mail:dovecot-2.3.16:20210808-144543.log.bz2
Comment 7 Toralf Förster gentoo-dev 2021-08-08 14:52:43 UTC
Created attachment 731530 [details]
temp.tar.bz2
Comment 8 Agostino Sarubbo gentoo-dev 2022-02-13 10:10:38 UTC
Update summary. [something] is used when something refers to an overlay
Comment 9 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-03-27 01:31:28 UTC
It's trying to use Valgrind like in bug 340791.

```
make[4]: Entering directory '/var/tmp/portage/net-mail/dovecot-2.3.16/work/dovecot-2.3.16/src/lib'
for bin in test-lib; do \
  if ! /bin/sh ../../libtool execute /bin/sh ../../run-test.sh ../.. ./$bin; then exit 1; fi; \
done

valgrind:  Fatal error at startup: a function redirection
valgrind:  which is mandatory for this platform-tool combination
valgrind:  cannot be set up.  Details of the redirection are:
valgrind:  
valgrind:  A must-be-redirected function
valgrind:  whose name matches the pattern:      strlen
valgrind:  in an object with soname matching:   ld-linux-x86-64.so.2
valgrind:  was not found whilst processing
valgrind:  symbols from the object with soname: ld-linux-x86-64.so.2
valgrind:  
valgrind:  Possible fixes: (1, short term): install glibc's debuginfo
valgrind:  package on this machine.  (2, longer term): ask the packagers
valgrind:  for your Linux distribution to please in future ship a non-
valgrind:  stripped ld.so (or whatever the dynamic linker .so is called)
valgrind:  that exports the above-named function using the standard
valgrind:  calling conventions for this platform.  The package you need
valgrind:  to install for fix (1) is called
valgrind:  
valgrind:    On Debian, Ubuntu:                 libc6-dbg
valgrind:    On SuSE, openSuSE, Fedora, RHEL:   glibc-debuginfo
valgrind:  
valgrind:  Note that if you are debugging a 32 bit process on a
valgrind:  64 bit system, you will need a corresponding 32 bit debuginfo
valgrind:  package (e.g. libc6-dbg:i386).
valgrind:  
valgrind:  Cannot continue -- exiting now.  Sorry.

Failed to run: ./test-lib
make[4]: *** [Makefile:3632: check-local] Error 1
```
Comment 10 Larry the Git Cow gentoo-dev 2023-03-27 01:36:48 UTC
The bug has been closed via the following commit(s):

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

commit bc229a2fee5c750c618f04489979bf97e9c47865
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-03-27 01:36:23 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-03-27 01:36:23 +0000

    net-mail/dovecot: disable Valgrind tests
    
    Bug: https://bugs.gentoo.org/340791
    Closes: https://bugs.gentoo.org/807178
    Signed-off-by: Sam James <sam@gentoo.org>

 net-mail/dovecot/dovecot-2.3.20-r1.ebuild | 3 +++
 1 file changed, 3 insertions(+)