findbugs-contrib building on i686 builders despite ExcludeArch


Due to a dependency on Eclipse, findbugs-contrib can no longer be
built on non-64-bit architectures. According to
<a href="" title=""></a>

So I added ExcludeArch to the findbugs-contrib spec:

<a href="" title=""></a>

which I based on a similar change for eclipse itself:

<a href="" title=""></a>

For some reason though, the findbugs-contrib build earlier today for
the F31 mass rebuild was done on an i686 builder:

<a href="" title=""></a>
<a href="" title=""></a>

and failed with an error:

BUILDSTDERR: error: Architecture is excluded: i386

The same thing happened with a recent Koschei build:

<a href="" title=""></a>

Have I gone about this the wrong way?



Re: findbugs-contrib building on i686 builders despite ExcludeAr

By Jason L Tibbitts III at 07/25/2019 - 17:07

RF> According to
RF> <a href="" title=""></a>

Sure, but also just a small bit further down the document is
<a href="" title=""></a>
which tells you what to do if you have a noarch package that has
dependencies which are not present on all architectures.

This involves some rather odd magic in koji, and so what is in the
guidelines is the best information that we've been able to extract from
releng and the koji source code.

Can you try the ExclusiveArch: method shown in the example, keeping in
mind that you must explicitly list "noarch" at the end? Of course, a
successful build isn't a guarantee because the build host you get may be
completely random. What we'd like to know is if someone finds a failure
using the recommended method (which would imply that we need to get
something fixed or find another way to accomplish this).

- J<

Re: findbugs-contrib building on i686 builders despite ExcludeAr

By =?ISO-8859-1?Q?... at 07/26/2019 - 04:47

Dne 25. 07. 19 v 23:07 Jason L Tibbitts III napsal(a):

These tickets might be of interest:

<a href="" title=""></a>

<a href="" title=""></a>


Re: findbugs-contrib building on i686 builders despite ExcludeAr

By Richard Fearn at 08/17/2019 - 05:30

Thanks, Jason and Vit, for your replies. Unfortunately it looks like
many of findbugs-contrib's Java dependencies are being retired at the
moment, so I need to decide what to do about that first...


Re: findbugs-contrib building on i686 builders despite ExcludeAr

By Fabio Valentini at 08/17/2019 - 05:53

Let me suggest joining the Java SIG (if you haven't already), taking over
the orphaned / retired packages your own packages depend on, and adding
them to the set of packages maintained by the SIG.

That's probably the most productive way forward, provided you even want to
continue maintaining findbugs-contrib.