Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build from temporary depot (so that relocatability issues are locally reproducible) #942

Open
topolarity opened this issue May 14, 2024 · 0 comments

Comments

@topolarity
Copy link
Member

The majority of relocatability issues have to do with reaching into a hard-coded depot or package path on your local machine, and it'd be very nice to be able to detect these problems without a separate machine.

If we use a temporary depot (or a temporarily redirected depot path) during package construction, that path will be gone by the time the user tests the build product locally. That way, relocatability issues referring to your local depot should fail on your local machine.

It's not as good as fixing relocatability at the root causes, but it makes a user a lot less likely to accidentally deliver bad binaries with PackageCompiler.

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

No branches or pull requests

2 participants