TEXT   60

arm m derived archive rebuild

Guest on 28th May 2022 03:13:51 PM

  1. == Derived Archive Rebuilds ==
  2.  
  3. Two ways to do rebuilds:
  4.  
  5.   * Launchpad
  6.   * Some way involving a cluster managed by a friendly debian guy
  7.  
  8. Problems:
  9.  
  10.  * rebuild tests compete with ppa builds
  11.    * builder hardware, pretty good though
  12.    * soyuz scaling issues
  13.      * process-upload serialization (should be fixed soon)
  14.  * would like to do this for ARM
  15.    * cross compiling will not work
  16.    * hardware is slow (OO.org takes ~2 days)
  17.    * qemu on even very fast hardware is too slow
  18.    * the qemu-with-a-cross-compiler underneath approach has legs, but isn't ready yet
  19.  
  20. Use cases for rebuilds:
  21.  
  22.  * verifying the tool chain works
  23.    * lucid all builds with its own toolchain
  24.    * how much does the new version of gcc break?
  25.  * we want to rebuild the archive with a new tool chain
  26.    * here we keep the results
  27.    * can be because of optimizations, or a bad compiler flag in previous builds
  28.    * needs something like a binNMU if the results go back into the same archive
  29.    * important to be able to measure the differences
  30.  
  31. "scorched earth" rebuilds to do with build dependency loops -- session later in the week
  32.  
  33. The context here is doing rebuilds for Launchpad-managed archives.
  34.  
  35. Iterated rebuids are useful.
  36.  
  37. Some part of the process involves running a script on a DC machine that takes an
  38. hour -- difficult to expose through Launchpad.
  39.  
  40. Diskless archives?
  41.  
  42. The variance of ARM architecture leads towards the requirement of assigning
  43. builds to particular builders.  Builder pools are related, but existing spec
  44. does not cover this.  In general, there is a need to store more data about
  45. buildds.
  46.  
  47. Something about checking if a build uses swap, and general performance
  48. monitoring of builds.
  49.  
  50. We could always build into a derived archive, and possibly copy back into the
  51. source archives.
  52.  
  53. == ACTIONS ==
  54.  
  55.  * implement binNMUs in Launchpad
  56.  * API exposure for copy-archive in Launchpad
  57.  * implementing derived archives would help too

Raw Paste


Login or Register to edit or fork this paste. It's free.