Check (make-)depends are up-to-date before trying to build #15

Closed
opened 2021-07-09 17:43:22 +02:00 by anonfunc · 0 comments
Owner

There is a chance that updated PKGBUILDs in svn2git repositories are more recent then (dependency) packages we sync from our sync mirror (RWTH Aachen's mirror in the case of alhp.harting.dev), which would result in building and potentially linking to an older dependency version.

There needs to be a check before building a particular package that all dependencies are up-to-date with the main arch repo, otherwise delay the build to a later cycle (to give the mirror time to sync up).

This can be solved a few different ways:

  1. Compare mirror version and svn2git version (can be done locally via e.g. pacman -Si)
  2. Compare mirror via http with crawled version of https://archlinux.org/packages/$repo/x86_64/$pkgname/ (would like to avoid that one)
  3. A combination of the above
There is a chance that updated `PKGBUILD`s in svn2git repositories are more recent then (dependency) packages we sync from our sync mirror (*RWTH Aachen*'s mirror in the case of alhp.harting.dev), which would result in building and potentially linking to an older dependency version. There needs to be a check before building a particular package that all dependencies are up-to-date with the main arch repo, otherwise delay the build to a later cycle (to give the mirror time to sync up). This can be solved a few different ways: 1. Compare mirror version and svn2git version (can be done locally via e.g. `pacman -Si`) 2. Compare mirror via http with crawled version of `https://archlinux.org/packages/$repo/x86_64/$pkgname/` (would like to avoid that one) 3. A combination of the above
anonfunc added this to the beta milestone 2021-07-09 17:43:25 +02:00
anonfunc changed title from Check (make-)depends are latest before trying to build to Check (make-)depends are up-to-date before trying to build 2021-07-09 19:47:32 +02:00
anonfunc added the
enhancement
label 2021-07-09 19:49:05 +02:00
anonfunc added a new dependency 2021-07-09 22:47:12 +02:00
anonfunc added a new dependency 2021-07-09 22:56:10 +02:00
anonfunc added the
priority: high
label 2021-07-11 22:04:40 +02:00
Sign in to join this conversation.
No description provided.