Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 699466 - sys-apps/man-db-2.9.0 : [TEST] FAIL: man-deleted-directory
Summary: sys-apps/man-db-2.9.0 : [TEST] FAIL: man-deleted-directory
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-11-06 17:59 UTC by Toralf Förster
Modified: 2020-08-29 14:04 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,15.63 KB, text/plain)
2019-11-06 17:59 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,14.24 KB, text/plain)
2019-11-06 17:59 UTC, Toralf Förster
Details
environment (environment,58.85 KB, text/plain)
2019-11-06 17:59 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,13.50 KB, application/x-bzip)
2019-11-06 17:59 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,55.07 KB, application/x-bzip)
2019-11-06 17:59 UTC, Toralf Förster
Details
sys-apps:man-db-2.9.0:20191106-102440.log (sys-apps:man-db-2.9.0:20191106-102440.log,511.92 KB, text/plain)
2019-11-06 17:59 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,35.16 KB, application/x-bzip)
2019-11-06 17:59 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2019-11-06 17:59:32 UTC
	abs_path: (null)
	res_path: (null)
FAIL: man-deleted-directory
PASS: man-exact-section-matches
PASS: man-executable-page-on-path
PASS: man-invalid-db-entry

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1-libressl_test-20191105-191648

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.2.0 *


llvm:
9.0.0
Available Python interpreters, in order of preference:
  [1]   python3.6
  [2]   python2.7 (fallback)





repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Wed, 06 Nov 2019 07:06:08 +0000

emerge -qpvO sys-apps/man-db
[ebuild     U ] sys-apps/man-db-2.9.0 [2.7.6.1-r2] USE="berkdb gdbm manpager nls seccomp%* zlib (-selinux) -static-libs"
Comment 1 Toralf Förster gentoo-dev 2019-11-06 17:59:35 UTC
Created attachment 595164 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2019-11-06 17:59:38 UTC
Created attachment 595166 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2019-11-06 17:59:41 UTC
Created attachment 595168 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2019-11-06 17:59:44 UTC
Created attachment 595170 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2019-11-06 17:59:47 UTC
Created attachment 595172 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2019-11-06 17:59:50 UTC
Created attachment 595174 [details]
sys-apps:man-db-2.9.0:20191106-102440.log
Comment 7 Toralf Förster gentoo-dev 2019-11-06 17:59:52 UTC
Created attachment 595176 [details]
temp.tbz2
Comment 8 Thomas Deutschmann (RETIRED) gentoo-dev 2020-08-29 13:55:11 UTC
We need to skip this text when using sandbox which doesn't allow using a non-existent directory this test is testing:

> shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
> /usr/lib/libsandbox.so(+0xbb70)[0xb7f99b70]
> /usr/lib/libsandbox.so(+0xbc13)[0xb7f99c13]
> /usr/lib/libsandbox.so(+0x4021)[0xb7f92021]
> /usr/lib/libsandbox.so(opendir+0x67)[0xb7f95a37]
> /bin/sh(+0x8b913)[0x56a913]
> /bin/sh(+0x8c568)[0x56b568]
> /bin/sh(+0x55f88)[0x534f88]
> /bin/sh(+0x50cf5)[0x52fcf5]
> /bin/sh(+0x223a9)[0x5013a9]
> /bin/sh(+0x2482c)[0x50382c]
> /proc/986/cmdline: /bin/sh /var/tmp/portage/sys-apps/man-db-2.9.3/work/man-db-2.9.3/libtool --mode=execute -dlopen /var/tmp/portage/sys-apps/man-db-2.9.3/work/man-db-2.9.3/lib/.libs/libman.la -dlopen /var/tmp/portage/sys-apps/man-db-2.9.3/work/man-db-2.9.3/libdb/.libs/libmandb.la man -C /var/tmp/portage/sys-apps/man-db-2.9.3/temp/tmp.cFCNXxaHky/manpath.config test
> 
> ./testlib.sh: line 27:   986 Aborted                 (core dumped) "$abs_top_builddir/libtool" --mode=execute -dlopen "$abs_top_builddir/lib/.libs/libman.la" -dlopen "$abs_top_builddir/libdb/.libs/libmandb.la" "$@"
>   FAIL: run from deleted directory
> FAIL man-deleted-directory (exit status: 1)
>
Comment 9 Larry the Git Cow gentoo-dev 2020-08-29 14:04:40 UTC
The bug has been closed via the following commit(s):

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

commit d830027af9804bfd752cbf95e85bfaccda556fc2
Author:     Thomas Deutschmann <whissi@gentoo.org>
AuthorDate: 2020-08-29 14:03:22 +0000
Commit:     Thomas Deutschmann <whissi@gentoo.org>
CommitDate: 2020-08-29 14:04:35 +0000

    sys-apps/man-db: skip man-deleted-directory test under sandbox
    
    Closes: https://bugs.gentoo.org/699466
    Package-Manager: Portage-3.0.4, Repoman-3.0.1
    Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>

 sys-apps/man-db/files/man-db-2.9.3-sandbox-env-tests.patch | 11 +++++++++++
 sys-apps/man-db/man-db-2.9.3.ebuild                        |  2 ++
 sys-apps/man-db/man-db-9999.ebuild                         |  2 ++
 3 files changed, 15 insertions(+)