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

Re: Byte swapped /usr/share?



* Rene Engelhard <rene@debian.org>, 2015-09-26, 14:30:
Just to make it sure: for the architectures that currently built on Debian (officially or inofficially), I should then use someting like the following in d/control:

Depends: astrometry-data-tycho2-07-bigendian [any-amd64 | any-i386 | armel | mipsel | ppc64el | mips64el | x32 | alpha],
        astrometry-data-tycho2-07-bigendian [mips | arm64 | armhf | powerpc | powerpcspe | ppc64 | hppa | m68k | sparc64 | s390x | sh4],
        ${misc:Depends}

Does this look correctly (especiall what arch is little and whatis big endian)? BTW, wrap-and-sort doesn't break this nicely :-(

ITYM -littleendian in the first line ;)

And you got some archs wrong, see https://wiki.debian.org/ArchitectureSpecificsMemo e.g. arm64/armhf is LE

Also, the syntax is wrong. Architectures between square brackets should be separated by spaces.

But more importantly, every time you hardcode architecture list in debian/control, you make architecture bootstrappers cry.

Instead, you should use something like this:

Depends: ${astrometry-data}, ${misc:Depends}

and generate substitution for ${astrometry-data} appropriate for the host architecture in debian/rules.

--
Jakub Wilk


Reply to: