#6329: [epel7] package builds fail on ppc
----------------------+-----------------------
Reporter: piotrp | Owner: rel-eng@…
Type: task | Status: closed
Milestone: | Component: epel
Resolution: invalid | Keywords:
Blocked By: | Blocking:
----------------------+-----------------------
Comment (by piotrp):
Replying to [comment:21 tomh]:
Replying to [comment:20 piotrp]:
> I've read this again and think I get it. The nodejs packages which
don't have tests enabled can be built on any platform. But if the tests
are enabled it requires npm(engine) which is only available on specifice
%nodejs_arches
>
> So packages without tests:
> {{{
> BuildArch: noarch
> ExclusiveArch: %{nodejs_arches} noarch
> }}}
> with tests:
> {{{
> BuildArch: noarch
> ExclusiveArch: %{nodejs_arches}
> }}}
>
> Correct or am I missing something?
No I don't think you are.
Firstly, it's not just tests, it would be anything which runs node, so
if the
build step runs uglify or something then that would be an issue.
clear
Secondly, if the arch really doesn't matter because node is never run,
then
you can get rid of the ExclusiveArch altogether.
ok
As I understand it the idea is that the "noarch" has to be in
ExclusiveArch because some tools expect to see the BuildArch there, but
for that when koji checks if a builder can be used it always matches the
real arch of the builder against the ExclusiveArch list even if there is a
BuildArch set in the package.
Aren't this then bugs in those tools and need to be fixed there?
At least I believe that was the intention.
As such a PPC builder wouldn't be used because it's not listed in
ExclusiveArch.
--
Ticket URL: <
https://fedorahosted.org/rel-eng/ticket/6329#comment:22>
Fedora Release Engineering <
http://fedorahosted.org/rel-eng>
Release Engineering for the Fedora Project