Summary: | kde-apps/cantor-23.04.2 failed to emerge - SANDBOX ACCESS | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Leonid Kopylov <leonchik1976> |
Component: | Current packages | Assignee: | Gentoo KDE team <kde> |
Status: | UNCONFIRMED --- | ||
Severity: | normal | CC: | mjo, sandbox |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | build.log |
Description
Leonid Kopylov
2023-07-01 10:52:16 UTC
Created attachment 864946 [details]
build.log
Not Julia again... -- Found Python3: /usr/include/python3.12 (found version "3.12.0") found components: Development Development.Module Development.Embed -- Found LuaJIT: /usr/lib64/libluajit-5.1.so [31;01m*[0m [31;01mACCESS DENIED[0m: fchmod: /proc/self/fd/14 [31;01m*[0m [31;01mACCESS DENIED[0m: fchmod: /proc/self/fd/14 [31;01m*[0m [31;01mACCESS DENIED[0m: fchmod: /proc/self/fd/14 -- Found Julia: /usr/lib64/libjulia.so (found version "1.8.5") -- The following OPTIONAL packages have been found: Note that sys-apps/sandbox-2.33 added a fchmod wrapper, which is now catching this strange call. 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: fchmod S: deny P: /proc/self/fd/14 A: /proc/self/fd/14 R: /memfd:julia-codegen (deleted) C: /usr/bin/julia -E joinpath(match(r"(.*)(bin)",Sys.BINDIR).captures[1],"include","julia") F: fchmod S: deny P: /proc/self/fd/14 A: /proc/self/fd/14 R: /memfd:julia-codegen (deleted) C: /usr/bin/julia -E using Libdl; abspath(dirname(Libdl.dlpath("libjulia"))) F: fchmod S: deny P: /proc/self/fd/14 A: /proc/self/fd/14 R: /memfd:julia-codegen (deleted) C: /usr/bin/julia -E using Libdl; abspath(dirname(Libdl.dlpath("libjulia-internal"))) There's a slightly less insane way to find libjulia. See "Use in Makefiles" in, https://docs.julialang.org/en/v1/manual/embedding/ Outside of Gentoo, Julia aggresively rejects anything that could be considered a best practice, so these hacks are needed in upstream projects. But maybe the jl-config hack works better than the current one and will avoid the need to patch out bits of FindJulia.cmake. |