On Wednesday, September 21, 2016 6:12:55 PM CEST Björn Persson wrote:
Stephen Gallagher <sgallagh(a)redhat.com> wrote:
> On 09/21/2016 11:32 AM, Pavel Raiskup wrote:
> > On Wednesday, September 21, 2016 12:16:39 PM CEST buildsys(a)fedoraproject.org
wrote:
> >> vim-syntastic has broken dependencies in the rawhide tree:
> >> On aarch64:
> >> vim-syntastic-lisp-3.7.0-6.fc26.noarch requires clisp
> >> On aarch64:
> >> vim-syntastic-cs-3.7.0-6.fc26.noarch requires mono-core
> >> On aarch64:
> >> vim-syntastic-d-3.7.0-6.fc26.noarch requires ldc
> >> On armhfp:
> >> vim-syntastic-d-3.7.0-6.fc26.noarch requires ldc
> >> Please resolve this as soon as possible.
> >
> > What's should packager do in such case? Recap: noarch package depends on
> > arch-dependant package, which is not available everywhere.
>
> That's what the ExclusiveArch directive in RPM is for.
I have found that when using ExclusiveArch in a noarch package you need
to include "noarch" in addition to the architectures where the
dependencies are available. Otherwise the build won't work.
Well, thanks for this point. I thought that ExclusiveArch basically means
switching to non-noarch.
Anyways, black/white-listing architectures sounds like a hack to me. It is
very likely I'll never recognize the deps are available on blacklisted
architectures (so I'll likely never revert this black/white-list).
Pavel