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

When Pod-Simple is in PERL_CORE we can build with a readonly source directory #175

Merged
merged 1 commit into from
Jan 3, 2025

Conversation

afresh1
Copy link
Contributor

@afresh1 afresh1 commented Oct 31, 2024

Because Cwd::abs_path resolves symlinks, it means if we are in PERL_CORE and building perl outside of the source directory, whle the main source directory is readonly, some of the tests fail because they can't write to the source directory when they should be writing to the build directory, or ideally to a tmpdir.

https://github.com/Perl/perl5/blob/blead/INSTALL#building-perl-outside-of-the-source-directory

We use this feature in OpenBSD.

Because Cwd::abs_path resolves symlinks, it means if we are in PERL_CORE
and building perl outside of the source directory, whle the main source
directory is readonly, some of the tests fail because they can't write
to the source directory when they should be writing to the build
directory, or ideally to a tmpdir.

https://github.com/Perl/perl5/blob/blead/INSTALL#building-perl-outside-of-the-source-directory
afresh1 added a commit to afresh1/OpenBSD-perl that referenced this pull request Nov 16, 2024
afresh1 added a commit to afresh1/OpenBSD-perl that referenced this pull request Nov 17, 2024
@khwilliamson khwilliamson merged commit 506b8a3 into perl-pod:master Jan 3, 2025
18 of 20 checks passed
@afresh1 afresh1 deleted the Improve-readonly-src-tesing branch January 7, 2025 20:13
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