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
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
Keywords: PullRequest, TESTFAILURE
Depends on:
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: ---

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

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

Issue: sys-libs/libseccomp-2.5.5-r1 fails tests.
Discovered on: amd64 (internal ref: clang-lld_tinderbox)
System: CLANG-LLD (

Info about the issue:
Comment 1 Agostino Sarubbo gentoo-dev 2024-03-10 08:09:44 UTC
Created attachment 887229 [details]

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):

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

    sys-libs/libseccomp: backport fix for arch-syscall-check
    Signed-off-by: Mike Gilbert <>

 .../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):

commit a65ce7b0b71668fb49b960d7259b36eba6ab34cc
Author:     Matoro Mahri <>
AuthorDate: 2024-04-15 23:04:59 +0000
Commit:     WANG Xuerui <>
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")
    Signed-off-by: Matoro Mahri <>
    Signed-off-by: WANG Xuerui <>

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