Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 926648 - sys-libs/libseccomp-2.5.5-r1 fails tests: FAIL: regression
Summary: sys-libs/libseccomp-2.5.5-r1 fails tests: FAIL: regression
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords: PullRequest, TESTFAILURE
Depends on:
Blocks:
 
Reported: 2024-03-10 08:09 UTC by Agostino Sarubbo
Modified: 2024-04-17 19:47 UTC (History)
0 users

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


Attachments
build.log (build.log,603.69 KB, text/plain)
2024-03-10 08:09 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2024-03-10 08:09:42 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: sys-libs/libseccomp-2.5.5-r1 fails tests.
Discovered on: amd64 (internal ref: clang-lld_tinderbox)
System: CLANG-LLD (https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CLANG-LLD)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0015
Comment 1 Agostino Sarubbo gentoo-dev 2024-03-10 08:09:44 UTC
Created attachment 887229 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2024-03-10 08:09:45 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


FAIL: regression
grep: ../include/seccomp-syscalls.h: No such file or directory
tail: cannot open './syscalls.csv' for reading: No such file or directory
Comment 3 Larry the Git Cow gentoo-dev 2024-04-13 17:11:08 UTC
The bug has been referenced in the following commit(s):

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

commit d58730757b79ce429d5fbe8f35dede6074d4c243
Author:     Mike Gilbert <floppym@gentoo.org>
AuthorDate: 2024-04-13 17:05:00 +0000
Commit:     Mike Gilbert <floppym@gentoo.org>
CommitDate: 2024-04-13 17:10:47 +0000

    sys-libs/libseccomp: backport fix for arch-syscall-check
    
    Bug: https://bugs.gentoo.org/926648
    Signed-off-by: Mike Gilbert <floppym@gentoo.org>

 .../libseccomp-2.5.5-arch-syscall-check.patch      | 45 ++++++++++++++++++++++
 sys-libs/libseccomp/libseccomp-2.5.5-r1.ebuild     |  1 +
 2 files changed, 46 insertions(+)
Comment 4 Mike Gilbert gentoo-dev 2024-04-13 17:19:29 UTC
I am unable to reproduce the "regression" test failure. I suspect it is caused by something specific to the tinderbox environment.

Does the tinderbox run with its own set of seccomp filters? This might be implemented by a container manager or something like that.
Comment 5 Agostino Sarubbo gentoo-dev 2024-04-14 06:03:53 UTC
there are no filters here. However I reproduced the issue only with clang+lld
Comment 6 Larry the Git Cow gentoo-dev 2024-04-17 19:47:36 UTC
The bug has been referenced in the following commit(s):

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

commit a65ce7b0b71668fb49b960d7259b36eba6ab34cc
Author:     Matoro Mahri <matoro_gentoo@matoro.tk>
AuthorDate: 2024-04-15 23:04:59 +0000
Commit:     WANG Xuerui <xen0n@gentoo.org>
CommitDate: 2024-04-17 19:45:21 +0000

    sys-libs/libseccomp: rebase experimental-loong patches
    
    The fix backported in d58730757b79ce429d5fbe8f35dede6074d4c243 was
    already in the loong tree which makes the patch fail to apply.  Rebase
    this and also now rather than having a huge patch that doesn't
    correspond to VCS with a bunch of checked-in autotools stuff, use the
    github diff and eautoreconf for 9999 and loong.
    
    Fixes: d58730757b79 ("sys-libs/libseccomp: backport fix for arch-syscall-check")
    Bug: https://bugs.gentoo.org/926648
    Signed-off-by: Matoro Mahri <matoro_gentoo@matoro.tk>
    Signed-off-by: WANG Xuerui <xen0n@gentoo.org>

 sys-libs/libseccomp/Manifest                   |  1 +
 sys-libs/libseccomp/libseccomp-2.5.5-r1.ebuild | 18 +++++++++++++-----
 2 files changed, 14 insertions(+), 5 deletions(-)