[haiku-bugs] Re: [Haiku] #14665: HaikuPorts bots using gcc8
- From: "Haiku" <trac@xxxxxxxxxxxx>
- To: undisclosed-recipients: ;
- Date: Mon, 29 Oct 2018 13:53:58 -0000
#14665: HaikuPorts bots using gcc8
-------------------------+----------------------------
Reporter: miqlas | Owner: haiku-web
Type: bug | Status: new
Priority: normal | Milestone: Unscheduled
Component: Sys-Admin | Version: R1/Development
Resolution: | Keywords:
Blocked By: | Blocking:
Has a Patch: 0 | Platform: All
-------------------------+----------------------------
Comment (by mmlr):
This issue should be raised on the HaikuPorts side, not here.
The compiler that is used is in no way special as far as HaikuPorter is
concerned. It is resolved as a dependency the same way any library or
other program is and all of the providers that are available in the
repository are considered. So if the gcc8 package provides overlapping
commands (which it does, here it's {{{cmd:gcc$secondaryArchSuffix compat
= 7}}}) then matching the gcc8 packages for the
{{{cmd:gcc$secondaryArchSuffix}}} dependency is perfectly valid.
There is no notion of "official gcc version". There is only the set of
build packages that are used to initially build the images. These also
serve as the set of initial packages when the buildmaster system is
originally bootstrapped. From there on out, new packages are built and
made available and will shadow the original ones. Restricting HaikuPorts
to the set of build packages would obviously not be desirable, as it would
preclude any updated packages and packages outside of the build packages
set.
I guess the gcc8 package was not actually supposed to be present in the
repository at all, as the recipe for gcc8-8.1.0 seems to disable all the
primary architectures. It does not disable the x86 secondary architecture
however, which caused it to be built and added to the repository on
x86_gcc2. The gcc8-8.0.0 recipe did also disable the x86 secondary
architecture, which is the reason why that one did not get built at all.
So if gcc8 is not supposed to be available in the x86_gcc2 repository,
just disable the x86 secondary architecture and the corresponding packages
will be purged.
--
Ticket URL: <
https://dev.haiku-os.org/ticket/14665#comment:3>
Haiku <
https://dev.haiku-os.org>
The Haiku operating system.
Other related posts: