[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#799390: linuxbrew-wrapper: over-restrictive architecture setting?



+++ lumin [2015-09-20 12:19 +0000]:
> Hi Aaron M. Ucko,
> 
> On Fri, 2015-09-18 at 13:11 -0400, Aaron M. Ucko wrote:
> 
> > linuxbrew-wrapper's control file declares amd64 to be the only
> > supported architure.  Is that restriction really necessary?  From what
> > I gather, Linuxbrew is perfectly capable of building software from
> > source, so it should be no big deal if prebuilt binaries aren't
> > available for other architectures.

> > Please consider changing the Architecture value to linux-any, or even
> > any.

It certainly builds fine on arm64. (It may not actually be very useful
but as it's just a shell and ruby script, I don't see why it should do
whatever it does. I don't really understand how brew works, but from
what I do understand, I don't see why it should only work on
amd64. And anyway brew is not in this package. This package itself is
not arch specific, and in fact seems to be arch-independent, so should
realy be Arch: all, not Arch: any and certainly not Arch: amd64

> Agree with you.
> Linuxbrew upstream declares that it only supports amd64,
> and there is only amd64 machines for me to test, so I wrote
> amd64 in Architecture.
> 
> This is quoted from upstream README:
> 
>   Linuxbrew does not currently support 32-bit x86 platforms nor    
>   platforms other than x86. It would be possible for Linuxbrew to
>   work on 32-bit x86 platforms with some effort. 
> 
> which means users under ARCHs other than amd64 may need to take care
> of themselves.
> 
> I don't think it's appropriate to bump Architecture from "amd64"
> to a wildcard without sort of notice to user.

This package is not 'linuxbrew'. It does not seem to have anything arch-dependent about it.

In debian we built lots of stuff for arches where they are never used,
just in case it's useful for someone. We default to building
everything that will build on all architectures, no matter how
useless. In this case it should just be arch all IMHO, whatever actual
limitations there are in the wrapped linuxbrew. Then if someone makes
linuxbrew more capable one day this wrapper will at leastbe available
on all arches already.

Wookey
-- 
Principal hats:  Linaro, Debian, Wookware, ARM
http://wookware.org/


Reply to: