Skip to content

use absolute replacement paths in wheel builder#207

Open
matt-sm wants to merge 1 commit intojvolkman:mainfrom
matt-sm:hermetic-wheel-builder
Open

use absolute replacement paths in wheel builder#207
matt-sm wants to merge 1 commit intojvolkman:mainfrom
matt-sm:hermetic-wheel-builder

Conversation

@matt-sm
Copy link

@matt-sm matt-sm commented Nov 28, 2025

Found this when trying to build cffi with our custom hermetic cc toolchain.

The relative paths generated by execroot_prefix() dont resolve correctly from that directory, causing linker errors when trying to find system libraries like libm and libc in the hermetic toolchains sysroot.

found this when trying to build cffi with our custom hermetic cc toolchain.  The relative paths generated by execroot_prefix() dont resolve correctly from that directory, causing linker errors when trying to find system libraries like libm and libc in the hermetic toolchains sysroot.
@matt-sm matt-sm marked this pull request as ready for review November 28, 2025 04:57
@jvolkman
Copy link
Owner

Looks like this may be related to #104.

Is there an easy reproduction?

Long ago I used absolute paths everywhere, but at some point I tried to make everything relative to increase reproducibility, as I kept finding absolute path names in built binaries. So I hesitate to go back, but maybe there's a better strategy.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants