Summary: | dev-python/cryptography-39.0.0: error: can't find Rust compiler | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Petr Vaněk <arkamar> |
Component: | Current packages | Assignee: | Python Gentoo Team <python> |
Status: | RESOLVED INVALID | ||
Severity: | normal | CC: | mgorny, rust |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=893298 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | build.log |
Description
Petr Vaněk
2023-02-05 13:40:49 UTC
Do you have /usr/bin/rustc there? FWICS it's a symlink but it doesn't seem to be owned (sigh), so maybe something's failing to create it. There are also some sandbox messages that look suspicious. Could you try disabling it (FEATURES="-sandbox -usersandbox")? Could also be namespace-related, could you try chroot-ing into the docker image and trying outside docker? *** Bug 893298 has been marked as a duplicate of this bug. *** symlink is there and it seems to be correctly owned # ls -Llha /usr/bin/rustc -rwxr-xr-x 2 root root 478K Feb 5 13:49 /usr/bin/rustc $ /usr/bin/rustc --help prints the help message if it is run as portage user. I missed the sandbox message. It was necessary to enable CAP_SYS_PTRACE in container. It works with this capability enabled. IIRC Rust and Go both try to run a static binary when calling so sandbox needs ptrace to work. |