[haiku-bugs] [Haiku] #15498: hardlink_packages.py misorders versions of any arch packages sometimes

  • From: "Haiku" <trac@xxxxxxxxxxxx>
  • To: undisclosed-recipients: ;
  • Date: Wed, 27 Nov 2019 19:51:01 -0000

#15498: hardlink_packages.py misorders versions of any arch packages sometimes
--------------------------+------------------------------
 Reporter:  kallisti5     |        Owner:  bonefish
     Type:  bug           |       Status:  new
 Priority:  normal        |    Milestone:  Unscheduled
Component:  Build System  |      Version:  R1/Development
 Keywords:  hardlink      |   Blocked By:
 Blocking:                |  Has a Patch:  0
 Platform:  All           |
--------------------------+------------------------------
 hardlink_packages.py will mis-parse versions sometimes resulting in
 unexpected results.

 Example:

 * Take https://git.haiku-
 
os.org/haiku/commit/build/jam/repositories/HaikuPorts/arm?id=81afd20b2131a3f6941e086f7a6ff1aa67237065
 * Bump gnu_efi_kernel from 3.0.9-1 to 3.0.10-1.

 Leverage hardlink_packages.py, and provide a source package pool with
 gnu_efi_kernel 3.0.9-1 and 3.0.10-1.

 hardlink_packages.py will silently adjust the arm repo back to use 3.0.9
 instead of 3.0.10.

 I'm assuming the parsing of 9 > 1.


 Workaround is to select just the packages you want for the source pool,
 and remove older packages from it.
-- 
Ticket URL: <https://dev.haiku-os.org/ticket/15498>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: