I'm using portage-3.0.38.1 and have just noticed that, for example, emerge of gnome-base/librsvg-2.54* ( which uses Rust & Cargo) fails if I have set CARGO_HOME in my environment. It fails in final phase when sandbox stops the ebuild trying to write into it. Reproducible: Always Steps to Reproduce: 1. export CARGO_HOME=/some/dir 2. emerge -1 librsvg 3. Actual Results: * Final size of installed tree: 25528 KiB ( 24.9 MiB) * ----------------------- SANDBOX ACCESS VIOLATION SUMMARY ----------------------- * LOG FILE: "/var/tmp/portage/gnome-base/librsvg-2.54.4-r1/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: open_wr S: deny P: /home/000_MAIN/000_PROJECTS/000_CARGO/.package-cache A: /home/000_MAIN/000_PROJECTS/000_CARGO/.package-cache R: /home/000_MAIN/000_PROJECTS/000_CARGO/.package-cache C: cargo --locked build --verbose --release --bin rsvg-convert
Created attachment 823603 [details] emerge --info of the machine
*** This bug has been marked as a duplicate of bug 753764 ***
*** Bug 876817 has been marked as a duplicate of this bug. ***