Comment 2 for bug 64501

Revision history for this message
In , Guillem Jover (guillem) wrote : Re: Bug#322300: openhackware: should not try to build on !powerpc environments

package openhackware
severity 322300 normal
retitle 322300 openhackware: should not try to build on !powerpc environments
thanks

On Wed, Aug 10, 2005 at 09:22:17AM +0200, Reinhard Tartler wrote:
> Package: openhackware
> Version: 0.4.1-1
> Severity: Serious

> I tried to build openhackware on i386 (well, actually on amd64 inside a
> chroot), but did not succeed. I attached the build log.

Yes, it does not build because as Peter explained it's ppc specific
code, and needs a ppc build environment.

On Wed, Aug 10, 2005, Peter 'p2' De Schrijver wrote:
> This package only works on ppc as it contains ppc assembler code. The
> architecture field in debian/control should therefor be
>
> Architecture: powerpc

No, it's code that can be used by emulators like qemu, that's why
it's an all package, there's existing practice for this, and the
problem comes from a deficiency in the source format, that does
not allow to specify that an all package needs a specific building
environment (or arch).

The only thing I can do is fail gracefully with a message if the
environment, be it native or a cross toolchain, is not the
apropropriate.

regards,
guillem