Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 920795 - net-misc/passt-2023.12.04 - sandbox issue
Summary: net-misc/passt-2023.12.04 - sandbox issue
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Rahil Bhimjiani
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2023-12-27 09:00 UTC by Toralf Förster
Modified: 2024-03-21 02:19 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,18.29 KB, text/plain)
2023-12-27 09:00 UTC, Toralf Förster
Details
emerge-history.txt.xz (emerge-history.txt.xz,80.11 KB, application/x-xz)
2023-12-27 09:00 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,968 bytes, application/x-xz)
2023-12-27 09:00 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,26.95 KB, application/x-xz)
2023-12-27 09:00 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,1.55 KB, application/x-xz)
2023-12-27 09:00 UTC, Toralf Förster
Details
net-misc:passt-2023.12.04:20231227-011652.log (net-misc:passt-2023.12.04:20231227-011652.log,4.18 KB, text/plain)
2023-12-27 09:00 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,84.88 KB, application/x-xz)
2023-12-27 09:00 UTC, Toralf Förster
Details
sandbox.log (sandbox.log,341 bytes, text/plain)
2023-12-27 09:00 UTC, Toralf Förster
Details
passt-2023.12.30-disable-tests.patch (passt-2023.12.30-disable-tests.patch,4.75 KB, patch)
2024-02-11 09:36 UTC, Yury Katuar
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2023-12-27 09:00:32 UTC
==> /var/tmp/portage/net-misc/passt-2023.12.04/temp/sandbox.log <==
VERSION 1.0
FORMAT: F - Function called
FORMAT: S - Access Status
FORMAT: P - Path as passed to function
FORMAT: A - Absolute Path (not canonical)
FORMAT: R - Canonical Path
FORMAT: C - Command Line

F: remove
S: deny
P: /dev/null.85.ctu-info
A: /dev/null.85.ctu-info
R: /dev/null.85.ctu-info
C: cppcheck --check-level=exhaustive /dev/null 

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no_multilib_systemd-20231221-120506

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10
 [2] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
clang version 17.0.6
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/17/bin
Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg
/usr/lib/llvm/17
17.0.6
Python 3.11.7
Available Ruby profiles:
  [1]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.74.1 *
The following VMs are available for generation-2:
1)	IcedTea JDK 3.16.0 [icedtea-bin-8]
2)	Eclipse Temurin JDK 11.0.20.1_p1 [openjdk-bin-11]
3)	Eclipse Temurin JDK 17.0.8.1_p1 [openjdk-bin-17]
4)	Eclipse Temurin JDK 21.0.1_p12 [openjdk-bin-21]
*)	Eclipse Temurin JDK 8.382_p05 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8 
  [2]   openjdk-bin-8  system-vm
  [3]   openjdk-bin-11 
  [4]   openjdk-bin-17 
  [5]   openjdk-bin-21 

The Glorious Glasgow Haskell Compilation System, version 9.2.8
php cli (if any):
go version go1.21.5 linux/amd64

  HEAD of ::gentoo
commit c2b55f904ce2a24eba3112bed95ef0ba72239c04
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Wed Dec 27 00:32:01 2023 +0000

    2023-12-27 00:32:01 UTC

emerge -qpvO net-misc/passt
[ebuild  N    ] net-misc/passt-2023.12.04  USE="-static"
Comment 1 Toralf Förster gentoo-dev 2023-12-27 09:00:33 UTC
Created attachment 880609 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-12-27 09:00:34 UTC
Created attachment 880610 [details]
emerge-history.txt.xz
Comment 3 Toralf Förster gentoo-dev 2023-12-27 09:00:35 UTC
Created attachment 880611 [details]
etc.clang.tar.xz
Comment 4 Toralf Förster gentoo-dev 2023-12-27 09:00:36 UTC
Created attachment 880612 [details]
etc.portage.tar.xz
Comment 5 Toralf Förster gentoo-dev 2023-12-27 09:00:37 UTC
Created attachment 880613 [details]
logs.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-12-27 09:00:37 UTC
Created attachment 880614 [details]
net-misc:passt-2023.12.04:20231227-011652.log
Comment 7 Toralf Förster gentoo-dev 2023-12-27 09:00:39 UTC
Created attachment 880615 [details]
qlist-info.txt.xz
Comment 8 Toralf Förster gentoo-dev 2023-12-27 09:00:39 UTC
Created attachment 880616 [details]
sandbox.log
Comment 9 Rahil Bhimjiani 2023-12-29 04:20:58 UTC
I'm unable to figure out root cause of this. Help in solving this would be really appreciated.
Comment 10 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-02-03 00:10:11 UTC
We shouldn't be running `cppcheck` in ebuilds anyway, as it's not really useful for checking if something is built correctly and working fine from a downstream perspective.
Comment 11 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-02-03 00:11:06 UTC
Also, unrelated to this bug, it looks like it's calling CC directly.
Comment 12 Yury Katuar 2024-02-11 09:36:40 UTC
Created attachment 884715 [details, diff]
passt-2023.12.30-disable-tests.patch

Something like this for starters, it also disables "clang-tidy" target which doesn't violate the sandbox restrictions but implies unnecessary dependency on clang.

And then it would be great to contact upstream devs and ask them to make these testing targets in Makefile optional.
Comment 13 Larry the Git Cow gentoo-dev 2024-03-21 02:19:39 UTC
The bug has been closed via the following commit(s):

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

commit edfeb8763ac56112c59248c62c9cda13e5d01c97
Author:     Rahil Bhimjiani <me@rahil.rocks>
AuthorDate: 2024-02-22 21:32:14 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-03-21 02:18:45 +0000

    net-misc/passt: add 2024.03.20 and bug fixes
    
    Closes: https://bugs.gentoo.org/920795
    Closes: https://bugs.gentoo.org/924494
    Signed-off-by: Rahil Bhimjiani <me@rahil.rocks>
    Closes: https://github.com/gentoo/gentoo/pull/35500
    Signed-off-by: Sam James <sam@gentoo.org>

 net-misc/passt/Manifest                        |  1 +
 net-misc/passt/files/Makefile-2024.03.20.patch | 13 +++++++++
 net-misc/passt/passt-2024.03.20.ebuild         | 40 ++++++++++++++++++++++++++
 net-misc/passt/passt-9999.ebuild               | 15 ++++++++--
 4 files changed, 67 insertions(+), 2 deletions(-)