msys2 / MSYS2-packages

Package scripts for MSYS2.
https://packages.msys2.org
BSD 3-Clause "New" or "Revised" License
1.29k stars 490 forks source link

Replace hardlink with symlink #2545

Open stevenleeS0ht opened 3 years ago

stevenleeS0ht commented 3 years ago

Describe the issue

In FAT or exFAT, hardlink is not supported, as a result, msys/git cannot properly installed in those filesystem. If the packages which contain hardlink can be replaced by symlink. Those package can properly be fitted in FAT or exFAT filesystem.

Please comment if more detailed info is needed!

stevenleeS0ht commented 3 years ago

@Alexpux , is it a packaging issue (due to PKGBUILD), or due to the Makefiles in git (https://github.com/git/git)?

Biswa96 commented 3 years ago

According to your findings, which file is exactly the hardlink?

stevenleeS0ht commented 3 years ago

@Biswa96 all the executable files.

warning: could not get file information for usr/bin/git-upload-archive.exe
warning: could not get file information for usr/bin/git-upload-pack.exe
warning: could not get file information for usr/bin/git.exe
warning: could not get file information for usr/lib/git-core/git-add.exe
warning: could not get file information for usr/lib/git-core/git-am.exe
warning: could not get file information for usr/lib/git-core/git-annotate.exe
warning: could not get file information for usr/lib/git-core/git-apply.exe
warning: could not get file information for usr/lib/git-core/git-archive.exe
warning: could not get file information for usr/lib/git-core/git-bisect--helper.exe
warning: could not get file information for usr/lib/git-core/git-blame.exe
warning: could not get file information for usr/lib/git-core/git-branch.exe
warning: could not get file information for usr/lib/git-core/git-bugreport.exe
warning: could not get file information for usr/lib/git-core/git-bundle.exe
warning: could not get file information for usr/lib/git-core/git-cat-file.exe
warning: could not get file information for usr/lib/git-core/git-check-attr.exe
warning: could not get file information for usr/lib/git-core/git-check-ignore.exe
warning: could not get file information for usr/lib/git-core/git-check-mailmap.exe
warning: could not get file information for usr/lib/git-core/git-check-ref-format.exe
warning: could not get file information for usr/lib/git-core/git-checkout--worker.exe
warning: could not get file information for usr/lib/git-core/git-checkout-index.exe
warning: could not get file information for usr/lib/git-core/git-checkout.exe
warning: could not get file information for usr/lib/git-core/git-cherry-pick.exe
warning: could not get file information for usr/lib/git-core/git-cherry.exe
warning: could not get file information for usr/lib/git-core/git-clean.exe
warning: could not get file information for usr/lib/git-core/git-clone.exe
warning: could not get file information for usr/lib/git-core/git-column.exe
warning: could not get file information for usr/lib/git-core/git-commit-graph.exe
warning: could not get file information for usr/lib/git-core/git-commit-tree.exe
warning: could not get file information for usr/lib/git-core/git-commit.exe
warning: could not get file information for usr/lib/git-core/git-config.exe
warning: could not get file information for usr/lib/git-core/git-count-objects.exe
warning: could not get file information for usr/lib/git-core/git-credential-cache--daemon.exe
warning: could not get file information for usr/lib/git-core/git-credential-cache.exe
warning: could not get file information for usr/lib/git-core/git-credential-store.exe
warning: could not get file information for usr/lib/git-core/git-credential.exe
warning: could not get file information for usr/lib/git-core/git-cvsserver
warning: could not get file information for usr/lib/git-core/git-describe.exe
warning: could not get file information for usr/lib/git-core/git-diff-files.exe
warning: could not get file information for usr/lib/git-core/git-diff-index.exe
warning: could not get file information for usr/lib/git-core/git-diff-tree.exe
warning: could not get file information for usr/lib/git-core/git-diff.exe
warning: could not get file information for usr/lib/git-core/git-difftool.exe
warning: could not get file information for usr/lib/git-core/git-env--helper.exe
warning: could not get file information for usr/lib/git-core/git-fast-export.exe
warning: could not get file information for usr/lib/git-core/git-fast-import.exe
warning: could not get file information for usr/lib/git-core/git-fetch-pack.exe
warning: could not get file information for usr/lib/git-core/git-fetch.exe
warning: could not get file information for usr/lib/git-core/git-fmt-merge-msg.exe
warning: could not get file information for usr/lib/git-core/git-for-each-ref.exe
warning: could not get file information for usr/lib/git-core/git-for-each-repo.exe
warning: could not get file information for usr/lib/git-core/git-format-patch.exe
warning: could not get file information for usr/lib/git-core/git-fsck-objects.exe
warning: could not get file information for usr/lib/git-core/git-fsck.exe
warning: could not get file information for usr/lib/git-core/git-gc.exe
warning: could not get file information for usr/lib/git-core/git-get-tar-commit-id.exe
warning: could not get file information for usr/lib/git-core/git-grep.exe
warning: could not get file information for usr/lib/git-core/git-gui
warning: could not get file information for usr/lib/git-core/git-hash-object.exe
warning: could not get file information for usr/lib/git-core/git-help.exe
warning: could not get file information for usr/lib/git-core/git-index-pack.exe
warning: could not get file information for usr/lib/git-core/git-init-db.exe
warning: could not get file information for usr/lib/git-core/git-init.exe
warning: could not get file information for usr/lib/git-core/git-interpret-trailers.exe
warning: could not get file information for usr/lib/git-core/git-log.exe
warning: could not get file information for usr/lib/git-core/git-ls-files.exe
warning: could not get file information for usr/lib/git-core/git-ls-remote.exe
warning: could not get file information for usr/lib/git-core/git-ls-tree.exe
warning: could not get file information for usr/lib/git-core/git-mailinfo.exe
warning: could not get file information for usr/lib/git-core/git-mailsplit.exe
warning: could not get file information for usr/lib/git-core/git-maintenance.exe
warning: could not get file information for usr/lib/git-core/git-merge-base.exe
warning: could not get file information for usr/lib/git-core/git-merge-file.exe
warning: could not get file information for usr/lib/git-core/git-merge-index.exe
warning: could not get file information for usr/lib/git-core/git-merge-ours.exe
warning: could not get file information for usr/lib/git-core/git-merge-recursive.exe
warning: could not get file information for usr/lib/git-core/git-merge-subtree.exe
warning: could not get file information for usr/lib/git-core/git-merge-tree.exe
warning: could not get file information for usr/lib/git-core/git-merge.exe
warning: could not get file information for usr/lib/git-core/git-mktag.exe
warning: could not get file information for usr/lib/git-core/git-mktree.exe
warning: could not get file information for usr/lib/git-core/git-multi-pack-index.exe
warning: could not get file information for usr/lib/git-core/git-mv.exe
warning: could not get file information for usr/lib/git-core/git-name-rev.exe
warning: could not get file information for usr/lib/git-core/git-notes.exe
warning: could not get file information for usr/lib/git-core/git-pack-objects.exe
warning: could not get file information for usr/lib/git-core/git-pack-redundant.exe
warning: could not get file information for usr/lib/git-core/git-pack-refs.exe
warning: could not get file information for usr/lib/git-core/git-patch-id.exe
warning: could not get file information for usr/lib/git-core/git-prune-packed.exe
warning: could not get file information for usr/lib/git-core/git-prune.exe
warning: could not get file information for usr/lib/git-core/git-pull.exe
warning: could not get file information for usr/lib/git-core/git-push.exe
warning: could not get file information for usr/lib/git-core/git-range-diff.exe
warning: could not get file information for usr/lib/git-core/git-read-tree.exe
warning: could not get file information for usr/lib/git-core/git-rebase.exe
warning: could not get file information for usr/lib/git-core/git-receive-pack.exe
warning: could not get file information for usr/lib/git-core/git-reflog.exe
warning: could not get file information for usr/lib/git-core/git-remote-ext.exe
warning: could not get file information for usr/lib/git-core/git-remote-fd.exe
warning: could not get file information for usr/lib/git-core/git-remote-ftps.exe
warning: could not get file information for usr/lib/git-core/git-remote-http.exe
warning: could not get file information for usr/lib/git-core/git-remote-https.exe
warning: could not get file information for usr/lib/git-core/git-remote.exe
warning: could not get file information for usr/lib/git-core/git-repack.exe
warning: could not get file information for usr/lib/git-core/git-replace.exe
warning: could not get file information for usr/lib/git-core/git-rerere.exe
warning: could not get file information for usr/lib/git-core/git-reset.exe
warning: could not get file information for usr/lib/git-core/git-restore.exe
warning: could not get file information for usr/lib/git-core/git-rev-list.exe
warning: could not get file information for usr/lib/git-core/git-rev-parse.exe
warning: could not get file information for usr/lib/git-core/git-revert.exe
warning: could not get file information for usr/lib/git-core/git-rm.exe
warning: could not get file information for usr/lib/git-core/git-send-pack.exe
warning: could not get file information for usr/lib/git-core/git-shell.exe
warning: could not get file information for usr/lib/git-core/git-shortlog.exe
warning: could not get file information for usr/lib/git-core/git-show-branch.exe
warning: could not get file information for usr/lib/git-core/git-show-index.exe
warning: could not get file information for usr/lib/git-core/git-show-ref.exe
warning: could not get file information for usr/lib/git-core/git-show.exe
warning: could not get file information for usr/lib/git-core/git-sparse-checkout.exe
warning: could not get file information for usr/lib/git-core/git-stage.exe
warning: could not get file information for usr/lib/git-core/git-stash.exe
warning: could not get file information for usr/lib/git-core/git-status.exe
warning: could not get file information for usr/lib/git-core/git-stripspace.exe
warning: could not get file information for usr/lib/git-core/git-submodule--helper.exe
warning: could not get file information for usr/lib/git-core/git-switch.exe
warning: could not get file information for usr/lib/git-core/git-symbolic-ref.exe
warning: could not get file information for usr/lib/git-core/git-tag.exe
warning: could not get file information for usr/lib/git-core/git-unpack-file.exe
warning: could not get file information for usr/lib/git-core/git-unpack-objects.exe
warning: could not get file information for usr/lib/git-core/git-update-index.exe
warning: could not get file information for usr/lib/git-core/git-update-ref.exe
warning: could not get file information for usr/lib/git-core/git-update-server-info.exe
warning: could not get file information for usr/lib/git-core/git-upload-archive.exe
warning: could not get file information for usr/lib/git-core/git-upload-pack.exe
warning: could not get file information for usr/lib/git-core/git-var.exe
warning: could not get file information for usr/lib/git-core/git-verify-commit.exe
warning: could not get file information for usr/lib/git-core/git-verify-pack.exe
warning: could not get file information for usr/lib/git-core/git-verify-tag.exe
warning: could not get file information for usr/lib/git-core/git-whatchanged.exe
warning: could not get file information for usr/lib/git-core/git-worktree.exe
warning: could not get file information for usr/lib/git-core/git-write-tree.exe
warning: could not get file information for usr/lib/git-core/git.exe
:: Processing package changes...
(1/1) reinstalling git                             [#####################] 100%
warning: warning given when extracting /usr/bin/git-upload-archive.exe (Can't create '/usr/bin/git-upload-archive.exe')
warning: warning given when extracting /usr/bin/git-upload-pack.exe (Can't create '/usr/bin/git-upload-pack.exe')
warning: warning given when extracting /usr/bin/git.exe (Can't create '/usr/bin/git.exe')
warning: warning given when extracting /usr/lib/git-core/git-add.exe (Can't create '/usr/lib/git-core/git-add.exe')
warning: warning given when extracting /usr/lib/git-core/git-am.exe (Can't create '/usr/lib/git-core/git-am.exe')
warning: warning given when extracting /usr/lib/git-core/git-annotate.exe (Can't create '/usr/lib/git-core/git-annotate.exe')
warning: warning given when extracting /usr/lib/git-core/git-apply.exe (Can't create '/usr/lib/git-core/git-apply.exe')
warning: warning given when extracting /usr/lib/git-core/git-archive.exe (Can't create '/usr/lib/git-core/git-archive.exe')
warning: warning given when extracting /usr/lib/git-core/git-bisect--helper.exe (Can't create '/usr/lib/git-core/git-bisect--helper.exe')
warning: warning given when extracting /usr/lib/git-core/git-blame.exe (Can't create '/usr/lib/git-core/git-blame.exe')
warning: warning given when extracting /usr/lib/git-core/git-branch.exe (Can't create '/usr/lib/git-core/git-branch.exe')
warning: warning given when extracting /usr/lib/git-core/git-bugreport.exe (Can't create '/usr/lib/git-core/git-bugreport.exe')
warning: warning given when extracting /usr/lib/git-core/git-bundle.exe (Can't create '/usr/lib/git-core/git-bundle.exe')
warning: warning given when extracting /usr/lib/git-core/git-cat-file.exe (Can't create '/usr/lib/git-core/git-cat-file.exe')
warning: warning given when extracting /usr/lib/git-core/git-check-attr.exe (Can't create '/usr/lib/git-core/git-check-attr.exe')
warning: warning given when extracting /usr/lib/git-core/git-check-ignore.exe (Can't create '/usr/lib/git-core/git-check-ignore.exe')
warning: warning given when extracting /usr/lib/git-core/git-check-mailmap.exe (Can't create '/usr/lib/git-core/git-check-mailmap.exe')
warning: warning given when extracting /usr/lib/git-core/git-check-ref-format.exe (Can't create '/usr/lib/git-core/git-check-ref-format.exe')
warning: warning given when extracting /usr/lib/git-core/git-checkout--worker.exe (Can't create '/usr/lib/git-core/git-checkout--worker.exe')
warning: warning given when extracting /usr/lib/git-core/git-checkout-index.exe (Can't create '/usr/lib/git-core/git-checkout-index.exe')
warning: warning given when extracting /usr/lib/git-core/git-checkout.exe (Can't create '/usr/lib/git-core/git-checkout.exe')
warning: warning given when extracting /usr/lib/git-core/git-cherry-pick.exe (Can't create '/usr/lib/git-core/git-cherry-pick.exe')
warning: warning given when extracting /usr/lib/git-core/git-cherry.exe (Can't create '/usr/lib/git-core/git-cherry.exe')
warning: warning given when extracting /usr/lib/git-core/git-clean.exe (Can't create '/usr/lib/git-core/git-clean.exe')
warning: warning given when extracting /usr/lib/git-core/git-clone.exe (Can't create '/usr/lib/git-core/git-clone.exe')
warning: warning given when extracting /usr/lib/git-core/git-column.exe (Can't create '/usr/lib/git-core/git-column.exe')
warning: warning given when extracting /usr/lib/git-core/git-commit-graph.exe (Can't create '/usr/lib/git-core/git-commit-graph.exe')
warning: warning given when extracting /usr/lib/git-core/git-commit-tree.exe (Can't create '/usr/lib/git-core/git-commit-tree.exe')
warning: warning given when extracting /usr/lib/git-core/git-commit.exe (Can't create '/usr/lib/git-core/git-commit.exe')
warning: warning given when extracting /usr/lib/git-core/git-config.exe (Can't create '/usr/lib/git-core/git-config.exe')
warning: warning given when extracting /usr/lib/git-core/git-count-objects.exe (Can't create '/usr/lib/git-core/git-count-objects.exe')
warning: warning given when extracting /usr/lib/git-core/git-credential-cache--daemon.exe (Can't create '/usr/lib/git-core/git-credential-cache--daemon.exe')
warning: warning given when extracting /usr/lib/git-core/git-credential-cache.exe (Can't create '/usr/lib/git-core/git-credential-cache.exe')
warning: warning given when extracting /usr/lib/git-core/git-credential-store.exe (Can't create '/usr/lib/git-core/git-credential-store.exe')
warning: warning given when extracting /usr/lib/git-core/git-credential.exe (Can't create '/usr/lib/git-core/git-credential.exe')
warning: warning given when extracting /usr/lib/git-core/git-cvsserver (Can't create '/usr/lib/git-core/git-cvsserver')
warning: warning given when extracting /usr/lib/git-core/git-describe.exe (Can't create '/usr/lib/git-core/git-describe.exe')
warning: warning given when extracting /usr/lib/git-core/git-diff-files.exe (Can't create '/usr/lib/git-core/git-diff-files.exe')
warning: warning given when extracting /usr/lib/git-core/git-diff-index.exe (Can't create '/usr/lib/git-core/git-diff-index.exe')
warning: warning given when extracting /usr/lib/git-core/git-diff-tree.exe (Can't create '/usr/lib/git-core/git-diff-tree.exe')
warning: warning given when extracting /usr/lib/git-core/git-diff.exe (Can't create '/usr/lib/git-core/git-diff.exe')
warning: warning given when extracting /usr/lib/git-core/git-difftool.exe (Can't create '/usr/lib/git-core/git-difftool.exe')
warning: warning given when extracting /usr/lib/git-core/git-env--helper.exe (Can't create '/usr/lib/git-core/git-env--helper.exe')
warning: warning given when extracting /usr/lib/git-core/git-fast-export.exe (Can't create '/usr/lib/git-core/git-fast-export.exe')
warning: warning given when extracting /usr/lib/git-core/git-fast-import.exe (Can't create '/usr/lib/git-core/git-fast-import.exe')
warning: warning given when extracting /usr/lib/git-core/git-fetch-pack.exe (Can't create '/usr/lib/git-core/git-fetch-pack.exe')
warning: warning given when extracting /usr/lib/git-core/git-fetch.exe (Can't create '/usr/lib/git-core/git-fetch.exe')
warning: warning given when extracting /usr/lib/git-core/git-fmt-merge-msg.exe (Can't create '/usr/lib/git-core/git-fmt-merge-msg.exe')
warning: warning given when extracting /usr/lib/git-core/git-for-each-ref.exe (Can't create '/usr/lib/git-core/git-for-each-ref.exe')
warning: warning given when extracting /usr/lib/git-core/git-for-each-repo.exe (Can't create '/usr/lib/git-core/git-for-each-repo.exe')
warning: warning given when extracting /usr/lib/git-core/git-format-patch.exe (Can't create '/usr/lib/git-core/git-format-patch.exe')
warning: warning given when extracting /usr/lib/git-core/git-fsck-objects.exe (Can't create '/usr/lib/git-core/git-fsck-objects.exe')
warning: warning given when extracting /usr/lib/git-core/git-fsck.exe (Can't create '/usr/lib/git-core/git-fsck.exe')
warning: warning given when extracting /usr/lib/git-core/git-gc.exe (Can't create '/usr/lib/git-core/git-gc.exe')
warning: warning given when extracting /usr/lib/git-core/git-get-tar-commit-id.exe (Can't create '/usr/lib/git-core/git-get-tar-commit-id.exe')
warning: warning given when extracting /usr/lib/git-core/git-grep.exe (Can't create '/usr/lib/git-core/git-grep.exe')
warning: warning given when extracting /usr/lib/git-core/git-gui (Can't create '/usr/lib/git-core/git-gui')
warning: warning given when extracting /usr/lib/git-core/git-hash-object.exe (Can't create '/usr/lib/git-core/git-hash-object.exe')
warning: warning given when extracting /usr/lib/git-core/git-help.exe (Can't create '/usr/lib/git-core/git-help.exe')
warning: warning given when extracting /usr/lib/git-core/git-index-pack.exe (Can't create '/usr/lib/git-core/git-index-pack.exe')
warning: warning given when extracting /usr/lib/git-core/git-init-db.exe (Can't create '/usr/lib/git-core/git-init-db.exe')
warning: warning given when extracting /usr/lib/git-core/git-init.exe (Can't create '/usr/lib/git-core/git-init.exe')
warning: warning given when extracting /usr/lib/git-core/git-interpret-trailers.exe (Can't create '/usr/lib/git-core/git-interpret-trailers.exe')
warning: warning given when extracting /usr/lib/git-core/git-log.exe (Can't create '/usr/lib/git-core/git-log.exe')
warning: warning given when extracting /usr/lib/git-core/git-ls-files.exe (Can't create '/usr/lib/git-core/git-ls-files.exe')
warning: warning given when extracting /usr/lib/git-core/git-ls-remote.exe (Can't create '/usr/lib/git-core/git-ls-remote.exe')
warning: warning given when extracting /usr/lib/git-core/git-ls-tree.exe (Can't create '/usr/lib/git-core/git-ls-tree.exe')
warning: warning given when extracting /usr/lib/git-core/git-mailinfo.exe (Can't create '/usr/lib/git-core/git-mailinfo.exe')
warning: warning given when extracting /usr/lib/git-core/git-mailsplit.exe (Can't create '/usr/lib/git-core/git-mailsplit.exe')
warning: warning given when extracting /usr/lib/git-core/git-maintenance.exe (Can't create '/usr/lib/git-core/git-maintenance.exe')
warning: warning given when extracting /usr/lib/git-core/git-merge-base.exe (Can't create '/usr/lib/git-core/git-merge-base.exe')
warning: warning given when extracting /usr/lib/git-core/git-merge-file.exe (Can't create '/usr/lib/git-core/git-merge-file.exe')
warning: warning given when extracting /usr/lib/git-core/git-merge-index.exe (Can't create '/usr/lib/git-core/git-merge-index.exe')
warning: warning given when extracting /usr/lib/git-core/git-merge-ours.exe (Can't create '/usr/lib/git-core/git-merge-ours.exe')
warning: warning given when extracting /usr/lib/git-core/git-merge-recursive.exe (Can't create '/usr/lib/git-core/git-merge-recursive.exe')
warning: warning given when extracting /usr/lib/git-core/git-merge-subtree.exe (Can't create '/usr/lib/git-core/git-merge-subtree.exe')
warning: warning given when extracting /usr/lib/git-core/git-merge-tree.exe (Can't create '/usr/lib/git-core/git-merge-tree.exe')
warning: warning given when extracting /usr/lib/git-core/git-merge.exe (Can't create '/usr/lib/git-core/git-merge.exe')
warning: warning given when extracting /usr/lib/git-core/git-mktag.exe (Can't create '/usr/lib/git-core/git-mktag.exe')
warning: warning given when extracting /usr/lib/git-core/git-mktree.exe (Can't create '/usr/lib/git-core/git-mktree.exe')
warning: warning given when extracting /usr/lib/git-core/git-multi-pack-index.exe (Can't create '/usr/lib/git-core/git-multi-pack-index.exe')
warning: warning given when extracting /usr/lib/git-core/git-mv.exe (Can't create '/usr/lib/git-core/git-mv.exe')
warning: warning given when extracting /usr/lib/git-core/git-name-rev.exe (Can't create '/usr/lib/git-core/git-name-rev.exe')
warning: warning given when extracting /usr/lib/git-core/git-notes.exe (Can't create '/usr/lib/git-core/git-notes.exe')
warning: warning given when extracting /usr/lib/git-core/git-pack-objects.exe (Can't create '/usr/lib/git-core/git-pack-objects.exe')
warning: warning given when extracting /usr/lib/git-core/git-pack-redundant.exe (Can't create '/usr/lib/git-core/git-pack-redundant.exe')
warning: warning given when extracting /usr/lib/git-core/git-pack-refs.exe (Can't create '/usr/lib/git-core/git-pack-refs.exe')
warning: warning given when extracting /usr/lib/git-core/git-patch-id.exe (Can't create '/usr/lib/git-core/git-patch-id.exe')
warning: warning given when extracting /usr/lib/git-core/git-prune-packed.exe (Can't create '/usr/lib/git-core/git-prune-packed.exe')
warning: warning given when extracting /usr/lib/git-core/git-prune.exe (Can't create '/usr/lib/git-core/git-prune.exe')
warning: warning given when extracting /usr/lib/git-core/git-pull.exe (Can't create '/usr/lib/git-core/git-pull.exe')
warning: warning given when extracting /usr/lib/git-core/git-push.exe (Can't create '/usr/lib/git-core/git-push.exe')
warning: warning given when extracting /usr/lib/git-core/git-range-diff.exe (Can't create '/usr/lib/git-core/git-range-diff.exe')
warning: warning given when extracting /usr/lib/git-core/git-read-tree.exe (Can't create '/usr/lib/git-core/git-read-tree.exe')
warning: warning given when extracting /usr/lib/git-core/git-rebase.exe (Can't create '/usr/lib/git-core/git-rebase.exe')
warning: warning given when extracting /usr/lib/git-core/git-receive-pack.exe (Can't create '/usr/lib/git-core/git-receive-pack.exe')
warning: warning given when extracting /usr/lib/git-core/git-reflog.exe (Can't create '/usr/lib/git-core/git-reflog.exe')
warning: warning given when extracting /usr/lib/git-core/git-remote-ext.exe (Can't create '/usr/lib/git-core/git-remote-ext.exe')
warning: warning given when extracting /usr/lib/git-core/git-remote-fd.exe (Can't create '/usr/lib/git-core/git-remote-fd.exe')
warning: warning given when extracting /usr/lib/git-core/git-remote-ftps.exe (Can't create '/usr/lib/git-core/git-remote-ftps.exe')
warning: warning given when extracting /usr/lib/git-core/git-remote-http.exe (Can't create '/usr/lib/git-core/git-remote-http.exe')
warning: warning given when extracting /usr/lib/git-core/git-remote-https.exe (Can't create '/usr/lib/git-core/git-remote-https.exe')
warning: warning given when extracting /usr/lib/git-core/git-remote.exe (Can't create '/usr/lib/git-core/git-remote.exe')
warning: warning given when extracting /usr/lib/git-core/git-repack.exe (Can't create '/usr/lib/git-core/git-repack.exe')
warning: warning given when extracting /usr/lib/git-core/git-replace.exe (Can't create '/usr/lib/git-core/git-replace.exe')
warning: warning given when extracting /usr/lib/git-core/git-rerere.exe (Can't create '/usr/lib/git-core/git-rerere.exe')
warning: warning given when extracting /usr/lib/git-core/git-reset.exe (Can't create '/usr/lib/git-core/git-reset.exe')
warning: warning given when extracting /usr/lib/git-core/git-restore.exe (Can't create '/usr/lib/git-core/git-restore.exe')
warning: warning given when extracting /usr/lib/git-core/git-rev-list.exe (Can't create '/usr/lib/git-core/git-rev-list.exe')
warning: warning given when extracting /usr/lib/git-core/git-rev-parse.exe (Can't create '/usr/lib/git-core/git-rev-parse.exe')
warning: warning given when extracting /usr/lib/git-core/git-revert.exe (Can't create '/usr/lib/git-core/git-revert.exe')
warning: warning given when extracting /usr/lib/git-core/git-rm.exe (Can't create '/usr/lib/git-core/git-rm.exe')
warning: warning given when extracting /usr/lib/git-core/git-send-pack.exe (Can't create '/usr/lib/git-core/git-send-pack.exe')
warning: warning given when extracting /usr/lib/git-core/git-shell.exe (Can't create '/usr/lib/git-core/git-shell.exe')
warning: warning given when extracting /usr/lib/git-core/git-shortlog.exe (Can't create '/usr/lib/git-core/git-shortlog.exe')
warning: warning given when extracting /usr/lib/git-core/git-show-branch.exe (Can't create '/usr/lib/git-core/git-show-branch.exe')
warning: warning given when extracting /usr/lib/git-core/git-show-index.exe (Can't create '/usr/lib/git-core/git-show-index.exe')
warning: warning given when extracting /usr/lib/git-core/git-show-ref.exe (Can't create '/usr/lib/git-core/git-show-ref.exe')
warning: warning given when extracting /usr/lib/git-core/git-show.exe (Can't create '/usr/lib/git-core/git-show.exe')
warning: warning given when extracting /usr/lib/git-core/git-sparse-checkout.exe (Can't create '/usr/lib/git-core/git-sparse-checkout.exe')
warning: warning given when extracting /usr/lib/git-core/git-stage.exe (Can't create '/usr/lib/git-core/git-stage.exe')
warning: warning given when extracting /usr/lib/git-core/git-stash.exe (Can't create '/usr/lib/git-core/git-stash.exe')
warning: warning given when extracting /usr/lib/git-core/git-status.exe (Can't create '/usr/lib/git-core/git-status.exe')
warning: warning given when extracting /usr/lib/git-core/git-stripspace.exe (Can't create '/usr/lib/git-core/git-stripspace.exe')
warning: warning given when extracting /usr/lib/git-core/git-submodule--helper.exe (Can't create '/usr/lib/git-core/git-submodule--helper.exe')
warning: warning given when extracting /usr/lib/git-core/git-switch.exe (Can't create '/usr/lib/git-core/git-switch.exe')
warning: warning given when extracting /usr/lib/git-core/git-symbolic-ref.exe (Can't create '/usr/lib/git-core/git-symbolic-ref.exe')
warning: warning given when extracting /usr/lib/git-core/git-tag.exe (Can't create '/usr/lib/git-core/git-tag.exe')
warning: warning given when extracting /usr/lib/git-core/git-unpack-file.exe (Can't create '/usr/lib/git-core/git-unpack-file.exe')
warning: warning given when extracting /usr/lib/git-core/git-unpack-objects.exe (Can't create '/usr/lib/git-core/git-unpack-objects.exe')
warning: warning given when extracting /usr/lib/git-core/git-update-index.exe (Can't create '/usr/lib/git-core/git-update-index.exe')
warning: warning given when extracting /usr/lib/git-core/git-update-ref.exe (Can't create '/usr/lib/git-core/git-update-ref.exe')
warning: warning given when extracting /usr/lib/git-core/git-update-server-info.exe (Can't create '/usr/lib/git-core/git-update-server-info.exe')
warning: warning given when extracting /usr/lib/git-core/git-upload-archive.exe (Can't create '/usr/lib/git-core/git-upload-archive.exe')
warning: warning given when extracting /usr/lib/git-core/git-upload-pack.exe (Can't create '/usr/lib/git-core/git-upload-pack.exe')
warning: warning given when extracting /usr/lib/git-core/git-var.exe (Can't create '/usr/lib/git-core/git-var.exe')
warning: warning given when extracting /usr/lib/git-core/git-verify-commit.exe (Can't create '/usr/lib/git-core/git-verify-commit.exe')
warning: warning given when extracting /usr/lib/git-core/git-verify-pack.exe (Can't create '/usr/lib/git-core/git-verify-pack.exe')
warning: warning given when extracting /usr/lib/git-core/git-verify-tag.exe (Can't create '/usr/lib/git-core/git-verify-tag.exe')
warning: warning given when extracting /usr/lib/git-core/git-whatchanged.exe (Can't create '/usr/lib/git-core/git-whatchanged.exe')
warning: warning given when extracting /usr/lib/git-core/git-worktree.exe (Can't create '/usr/lib/git-core/git-worktree.exe')
warning: warning given when extracting /usr/lib/git-core/git-write-tree.exe (Can't create '/usr/lib/git-core/git-write-tree.exe')
warning: warning given when extracting /usr/lib/git-core/git.exe (Can't create '/usr/lib/git-core/git.exe')

I have tried that it is OK to ln -s hello hello.ln but cannot ln hello hello.ln, hello is a normal file.

stevenleeS0ht commented 3 years ago

@Alexpux and @Biswa96 the only reason why cannot create target file is because it is hardlink.

May upstream forget to add -s option in ln command in make install.

lazka commented 3 years ago

Note that we only support NTFS. Why do you need fat/exFAT?

mati865 commented 3 years ago

Symlinks don't work without administrator privileges for most of the users so they cannot be used.

stevenleeS0ht commented 3 years ago

@mati865 , symlinks works perfectly on all appliance.

I mean unix-style symlink, not the shortcut of Windows.

mati865 commented 3 years ago

@stevenleeS0ht ln by default does copy instead of symlink unless you uncomment set MSYS=winsymlinks:nativestrict. Then it will use Windows symlinks (which require an elevation).

TheQuantumAnchovie commented 3 years ago

hello! i've encountered this issue as well, and while in the process of installing various packages to msys (following the "windows 7 and later" compilation dev guide on libretro's docs), i received an identical error to that of @stevenleeS0ht! does there exist any currently known way to mitigate this issue w/out admin rights, and/or any alternatives?

calendulish commented 3 years ago

I have this issue with the package mingw-w64-x86_64-binutils when running msys2 from a WSL directory

warning: could not get file information for mingw64/bin/ld.exe
warning: could not get file information for mingw64/x86_64-w64-mingw32/bin/ar.exe
warning: could not get file information for mingw64/x86_64-w64-mingw32/bin/as.exe
warning: could not get file information for mingw64/x86_64-w64-mingw32/bin/dlltool.exe
warning: could not get file information for mingw64/x86_64-w64-mingw32/bin/ld.bfd.exe
warning: could not get file information for mingw64/x86_64-w64-mingw32/bin/ld.exe
warning: could not get file information for mingw64/x86_64-w64-mingw32/bin/nm.exe
warning: could not get file information for mingw64/x86_64-w64-mingw32/bin/objcopy.exe
warning: could not get file information for mingw64/x86_64-w64-mingw32/bin/objdump.exe
warning: could not get file information for mingw64/x86_64-w64-mingw32/bin/ranlib.exe
warning: could not get file information for mingw64/x86_64-w64-mingw32/bin/readelf.exe
warning: could not get file information for mingw64/x86_64-w64-mingw32/bin/strip.exe
:: Processing package changes...
(1/1) reinstalling mingw-w64-x86_64-binutils       [#####################] 100%
warning: warning given when extracting /mingw64/bin/ld.exe (Can't create '/mingw64/bin/ld.exe')
warning: warning given when extracting /mingw64/x86_64-w64-mingw32/bin/ar.exe (Can't create '/mingw64/x86_64-w64-mingw32/bin/ar.exe')
warning: warning given when extracting /mingw64/x86_64-w64-mingw32/bin/as.exe (Can't create '/mingw64/x86_64-w64-mingw32/bin/as.exe')
warning: warning given when extracting /mingw64/x86_64-w64-mingw32/bin/dlltool.exe (Can't create '/mingw64/x86_64-w64-mingw32/bin/dlltool.exe')
warning: warning given when extracting /mingw64/x86_64-w64-mingw32/bin/ld.bfd.exe (Can't create '/mingw64/x86_64-w64-mingw32/bin/ld.bfd.exe')
warning: warning given when extracting /mingw64/x86_64-w64-mingw32/bin/ld.exe (Can't create '/mingw64/x86_64-w64-mingw32/bin/ld.exe')
warning: warning given when extracting /mingw64/x86_64-w64-mingw32/bin/nm.exe (Can't create '/mingw64/x86_64-w64-mingw32/bin/nm.exe')
warning: warning given when extracting /mingw64/x86_64-w64-mingw32/bin/objcopy.exe (Can't create '/mingw64/x86_64-w64-mingw32/bin/objcopy.exe')
warning: warning given when extracting /mingw64/x86_64-w64-mingw32/bin/objdump.exe (Can't create '/mingw64/x86_64-w64-mingw32/bin/objdump.exe')
warning: warning given when extracting /mingw64/x86_64-w64-mingw32/bin/ranlib.exe (Can't create '/mingw64/x86_64-w64-mingw32/bin/ranlib.exe')
warning: warning given when extracting /mingw64/x86_64-w64-mingw32/bin/readelf.exe (Can't create '/mingw64/x86_64-w64-mingw32/bin/readelf.exe')
warning: warning given when extracting /mingw64/x86_64-w64-mingw32/bin/strip.exe (Can't create '/mingw64/x86_64-w64-mingw32/bin/strip.exe')