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

Fix vercmp warning in pacman-packages #91

Open
dscho opened this issue Jan 7, 2025 · 0 comments
Open

Fix vercmp warning in pacman-packages #91

dscho opened this issue Jan 7, 2025 · 0 comments

Comments

@dscho
Copy link
Member

dscho commented Jan 7, 2025

The pacman-packages job shows warnings like these when adding new packages to the Pacman database:

==> Adding package 'mingw-w64-i686-git-2.48.0.rc1.windows.1-1-any.pkg.tar.xz'
D:/a/_temp/build-extra/repo-add: line 254: vercmp: command not found
D:/a/_temp/build-extra/repo-add: line 254: ((: > 0 : syntax error: operand expected (error token is "> 0 ")
  -> Computing checksums...
  -> Removing existing entry 'mingw-w64-i686-git-2.48.0.rc0.windows.1-1'...
  -> Creating 'desc' db entry...
  -> Creating 'files' db entry...

While they seem not to prevent the package from being added as intended, they are ugly and the underlying issue may cause future breakages.

Most likely the correct fix will be to add /usr/bin/vercmp.exe to the makepkg-git sparse-checkout definition.

The same will most likely need to be done for git-sdk-32 and git-sdk-arm64, too.

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

No branches or pull requests

1 participant