Gentoo Archives: gentoo-user

From: itsgrant <itsgrant@××××××××××.com>
To: "gentoo-user@l.g.o" <gentoo-user@l.g.o>
Subject: [gentoo-user] Sandbox violation when emerging gentoo-kernel-5.4.105
Date: Fri, 02 Apr 2021 16:59:15
Message-Id: ZsYgfI-Jkq-XLyJy8tduIJQ6Oi5JwseMXFWLD9CbrhsZIjfN8j6z6RhyYMPYOAJc5gEOhgJtmtomaXYT1G57HcHkFzeTc74y3qK1qYEOfs4=@protonmail.com
1 Hello Gentoo,
2 I've recently started with Gentoo in the last few months, still interested in learning about the build system and to start trying to slim down my install. This morning I ran into the following issue, I'll try to provide as much detail as I can:
3
4 THE ISSUE:
5 I am failing to emerge sys-kernel/gentoo-kernel-5.4.105 with a sandbox violation. The violation summary is inserted below:
6
7 * --------------------------- ACCESS VIOLATION SUMMARY ---------------------------
8 * LOG FILE: "/var/tmp/portage/sys-kernel/gentoo-kernel-5.4.105/temp/sandbox.log"
9 *
10 VERSION 1.0
11 FORMAT: F - Function called
12 FORMAT: S - Access Status
13 FORMAT: P - Path as passed to function
14 FORMAT: A - Absolute Path (not canonical)
15 FORMAT: R - Canonical Path
16 FORMAT: C - Command Line
17
18 F: unlink
19 S: deny
20 P: /dev/null.dwo
21 A: /dev/null.dwo
22 R: /dev/null.dwo
23 C: x86_64-pc-linux-gnu-gcc -Werror -gsplit-dwarf -S -x c /dev/null -o /dev/null
24 * --------------------------------------------------------------------------------
25
26 The relevant section of the log is:
27 x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -o scripts/kconfig/conf scripts/kconfig/conf.o scripts/kconfig/confdata.o scripts/kconfig/expr.o scripts/kconfig/lexer.lex.o scripts/kconfig/parser.tab.o scripts/kconfig/preprocess.o scripts/kconfig/symbol.o
28 scripts/kconfig/conf --olddefconfig Kconfig
29 * ACCESS DENIED: unlink: /dev/null.dwo
30 #
31 # configuration written to .config
32 #
33 make[1]: Leaving directory '/var/tmp/portage/sys-kernel/gentoo-kernel-5.4.105/work/modprep'
34
35 I am trying to use a custom config file and am building gentoo-kernel with the "savedconfig" USE flag. I also recently updated to Portage 3.0.17.
36
37 TROUBLESHOOTING STEPS:
38 To try to troubleshoot, I have ran "eclean distfiles" and have removed the "/var/tmp/portage/sys-kernel/gentoo-kernel-5.4.105" directory. I then ran a sync and deep update, but the issue remains.
39
40 I have attached the log generated by portage. Let me know if there is any other info that would be helpful.
41
42 Any help would be greatly appreciated,
43 Grant

Attachments

File name MIME type
build.log text/x-log

Replies

Subject Author
Re: [gentoo-user] Sandbox violation when emerging gentoo-kernel-5.4.105 Mr Guillaume Seren <guillaumeseren@×××××.com>
Re: [gentoo-user] Sandbox violation when emerging gentoo-kernel-5.4.105 Ionen Wolkens <sudinave@×××××.com>