[haiku-bugs] Re: [Haiku] #15828: Add automatic path remapping in packages in secondary architectures

  • From: "Haiku" <trac@xxxxxxxxxxxx>
  • To: undisclosed-recipients: ;
  • Date: Tue, 24 Mar 2020 21:17:55 -0000

#15828: Add automatic path remapping in packages in secondary architectures
--------------------------------------+----------------------------
   Reporter:  X512                    |      Owner:  bonefish
       Type:  enhancement             |     Status:  closed
   Priority:  normal                  |  Milestone:  Unscheduled
  Component:  File Systems/packagefs  |    Version:  R1/Development
 Resolution:  invalid                 |   Keywords:
 Blocked By:                          |   Blocking:
Has a Patch:  0                       |   Platform:  All
--------------------------------------+----------------------------
Comment (by X512):

 Replying to [comment:3 waddlesplash]:

This is simply not possible as most ported software winds up hard-coding
 some component of the path in files or libraries themselves.

 This is bad practice and it should be avoided. As I understand hpkg
 packages are also intended for native software, not only ports. It is also
 possible to redirect file system requests for secondary architecture
 process like Windows does for system32.

When we add 32-bit secondary architectures to x86_64, we will simply
 have to rebuild x86_gcc2 packages as being for the secondary architecture

 It will cause having different packages with same contents, but a bit
 different paths, that is weird.
-- 
Ticket URL: <https://dev.haiku-os.org/ticket/15828#comment:4>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: