[haiku-bugs] [Haiku] #17277: @bootstrap-* doesn't filter by HaikuPorts requirements

  • From: "Haiku" <trac@xxxxxxxxxxxx>
  • To: undisclosed-recipients: ;
  • Date: Wed, 22 Sep 2021 14:54:58 -0000

#17277: @bootstrap-* doesn't filter by HaikuPorts requirements
--------------------------+-----------------------------
 Reporter:  kallisti5     |       Owner:  nobody
     Type:  bug           |      Status:  new
 Priority:  normal        |   Milestone:  Unscheduled
Component:  Build System  |     Version:  R1/Development
 Keywords:  bootstrap     |  Blocked By:
 Blocking:                |    Platform:  All
--------------------------+-----------------------------
 While running a boootstrap-* build, i noticed that our build system
 doesn't filter the _source* package creation by what is required within
 {{{build/jam/repositories/HaikuPorts/(arch)}}}

 What this means is during the bootstrap, the latest version of *every*
 package is turned into a _source.hpkg to be "put into" the bootstrap
 image.

 to help highlight this, here is llvm :-)

 {{{
 [kallisti5@eris haiku]$ ls
 .../haiku/generated.riscv64/objects/haiku/riscv64/packaging/repositories
 /HaikuPorts-sources-build/packages/ -la | grep llvm

 -rw-r--r-- 1 kallisti5 users 101861588 Sep 22 09:33
 llvm12_source-12.0.0-1-source.hpkg
 -rw-r--r-- 1 kallisti5 users 101832088 Sep 22 09:35
 llvm12_source_rigged-12.0.0-1-riscv64.hpkg
 -rw-r--r-- 1 kallisti5 users  68067275 Sep 22 09:28
 llvm7_source-7.0.1-2-source.hpkg
 -rw-r--r-- 1 kallisti5 users  68078411 Sep 22 09:29
 llvm7_source_rigged-7.0.1-2-riscv64.hpkg
 -rw-r--r-- 1 kallisti5 users  81062508 Sep 22 09:39
 llvm9_source-9.0.1-2-source.hpkg
 -rw-r--r-- 1 kallisti5 users  81061377 Sep 22 09:41
 llvm9_source_rigged-9.0.1-2-riscv64.hpkg
 -rw-r--r-- 1 kallisti5 users  57360450 Sep 22 09:24
 llvm_source-5.0.0-4-source.hpkg
 -rw-r--r-- 1 kallisti5 users  57371741 Sep 22 09:25
 llvm_source_rigged-5.0.0-4-riscv64.hpkg
 }}}


 I'm guessing this is a remnant of @bootstrap-* being designed before we
 had a massive haikuports repository.

 Overall, @bootstrap-* should only build source packages (and dependencies)
 from haikuports for packages listed in
 {{{build/jam/repositories/HaikuPorts/(arch)}}} as this represents the
 purpose of @bootstrap (generating build-packages)
-- 
Ticket URL: <https://dev.haiku-os.org/ticket/17277>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: