You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For Archlinux auto-incrementing the Release number is needed. It already works in openSUSE, Fedora and similar RPM-based distros and Debian/Ubuntu/Raspbian.
For Debian builds see this issue there seems to be a solution in place that works.
Reason why this is needed
pacman -Sy mypackage searches all available databases for a match and may therefore choose to download a package with the same name and pkgrel version from another not-yet-freshly-synched server with shorter latency, causing a GPG or checksum mismatch detected at installation time compared to the hashes found in the openSUSE database.
Therefore, today a manual pkgrel= update is needed to force pacman to choose a newer package from the openSUSE Archlinux Extra repository. Since rebuild can happen anytime, manual update of pkgrel is not optimal and would benefit from an automatic updating mechanism such as in all the other distributions OBS build service can build.
The text was updated successfully, but these errors were encountered:
The answer to this question seems to have ended up in this thread and reads as follows:
"that functionality is just not implemented in the build script. You may want to create a pull request for build-recipe-arch ..."
I do not have the code for this to propose a merge.
Would somebody be willing to reuse/adapt the code from Debian/Fedora/openSUSE build script to stretch the same functionality to Archlinux/Manjaro builds and implement
pkgrel=<CI_CNT>.<B_CNT>
functionality in Archlinux/Manjaro within build-recipe-arch ?
leukimi
changed the title
OBS fails to set CI_CNT.B_CNT in Archlinux builds
OBS fails to set pkgrel=<CI_CNT>.<B_CNT> in Archlinux builds
Feb 26, 2024
For Archlinux auto-incrementing the Release number is needed. It already works in openSUSE, Fedora and similar RPM-based distros and Debian/Ubuntu/Raspbian.
Typical PKGBUILD header looks like this:
For Debian builds see this issue there seems to be a solution in place that works.
Reason why this is needed
pacman -Sy mypackage
searches all available databases for a match and may therefore choose to download a package with the same name and pkgrel version from another not-yet-freshly-synched server with shorter latency, causing a GPG or checksum mismatch detected at installation time compared to the hashes found in the openSUSE database.Therefore, today a manual
pkgrel=
update is needed to forcepacman
to choose a newer package from the openSUSE Archlinux Extra repository. Since rebuild can happen anytime, manual update ofpkgrel
is not optimal and would benefit from an automatic updating mechanism such as in all the other distributions OBS build service can build.The text was updated successfully, but these errors were encountered: