forked from msys2/MSYS2-packages
-
Notifications
You must be signed in to change notification settings - Fork 32
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
Fix "Permission denied" problem in svnadmin.exe
#58
Open
dscho
wants to merge
6
commits into
git-for-windows:main
Choose a base branch
from
dscho:fix-svnadmin
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This patch may have "fixed" the build at some stage when it failed with this symptom: [...] cd subversion/tests && /bin/sh "/usr/src/MSYS2-packages/subversion/src/subversion-1.14.2/libtool" --tag=CC --silent --mode=link gcc -shared -march=x86-64 -mtune=generic -O2 -pipe -march=x86-64 -mtune=generic -O2 -pipe -pipe -rpath /usr/lib -version-info 0 -o libsvn_test-1.la svn_test_fs.lo svn_test_main.lo ../../subversion/libsvn_repos/libsvn_repos-1.la ../../subversion/libsvn_fs/libsvn_fs-1.la ../../subversion/libsvn_delta/libsvn_delta-1.la ../../subversion/libsvn_subr/libsvn_subr-1.la -laprutil-1 -lapr-1 -lintl libtool: error: can't build x86_64-pc-msys shared library unless -no-undefined is specified make: *** [build-outputs.mk:794: subversion/tests/libsvn_test-1.la] Error 1 However, some tests expect to be located in the original location. For example, `checksum-test.exe` needs to find `zlib.deflated`, but that is not in `subversion/tests/`, it is in `subversion/tests/libsvn_subr/`. Hence the `.exe` needs to live there, too. Let's put in a hack that lets that library build _and_ the tests to pass. Signed-off-by: Johannes Schindelin <[email protected]>
It is a more consistent format and makes it easier to modify the patches in the future. Signed-off-by: Johannes Schindelin <[email protected]>
Previously, it simply would not work, erroring out with a bogus "Permission denied" in the middle of creating a repository. Signed-off-by: Johannes Schindelin <[email protected]>
It really does not fill anyone with confidence if the checks are skipped while building a central package... Signed-off-by: Johannes Schindelin <[email protected]>
We cherry-picked a newer definition from upstream MSYS2, which lives in `.ci/`. Unfortunately, we forgot to remove the obsolete definition in the old location and therefore had near duplicates. This hurt a lot because it caused an unnecessary day of digging and pulling hair to find out why the CI changes did not take effect (narrator's voice: it helps to edit the correct file). Signed-off-by: Johannes Schindelin <[email protected]>
We do not want any regressions to slip through. Signed-off-by: Johannes Schindelin <[email protected]>
Is this the same |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I had not run the Subversion tests in quite a while and was surprised that they all failed. A closer look revealed that they failed already in the part where the Subversion repository is set up, because of a bug in
svnadmin.exe
.This PR is intended to fix that issue.