Re: Packaging lerc
- To: debian-gis@lists.debian.org
- Subject: Re: Packaging lerc
- From: Sebastiaan Couwenberg <sebastic@xs4all.nl>
- Date: Fri, 8 Sep 2023 20:17:05 +0200
- Message-id: <[🔎] 5f596d00-90e2-4c97-a4e9-d31debe2f50a@xs4all.nl>
- In-reply-to: <472dd0b7-0939-9155-4ce0-2c59001b4a5f@xs4all.nl>
- References: <13388bbd-bb8c-282f-97f5-e42d2d59dd34@tiscali.it> <handler.998171.B.163568080511014.ack@bugs.debian.org> <947f1a6f-c1ea-8667-0e81-b81b3678b3f4@tiscali.it> <cff6da9e-3ed3-a4cb-963e-0174d9bb3c76@xs4all.nl> <39f8eb51-1f76-bb85-ca41-85bd3cd8e681@tiscali.it> <b58ff3cb-e365-df1e-2ef0-6c43e2d860d5@xs4all.nl> <c5aaab74-36d3-4c18-f3e2-803cdb975ffa@tiscali.it> <472dd0b7-0939-9155-4ce0-2c59001b4a5f@xs4all.nl>
On 11/1/21 18:52, Sebastiaan Couwenberg wrote:
On 11/1/21 18:27, Antonio Valentino wrote:
Why is the list of architectures restricted in debian/control?
LERC does not support bigendian architectures
Might be better to use Architecture: any and just have the build fail on
those architectures, any new LE architectures won't need changes to the
architecture list.
I've recently learned about the architecture-properties package which
provides architecture-is-<32|64>-bit and
architecture-is-<little|big>-endian. Using this makes the package
BD-Uninstallable on architectures which don't match the requirement.
osmium-tool uses Spaten which only supports little endian, so I've added
architecture-is-little-endian to its build dependencies to make this
explicit.
This seems like a good option for lerc too, no time will be wasted
building the package on big endian architectures where it will just fail.
Kind Regards,
Bas
--
GPG Key ID: 4096R/6750F10AE88D4AF1
Fingerprint: 8182 DE41 7056 408D 6146 50D1 6750 F10A E88D 4AF1
Reply to: