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

Bug#846970: debian-policy: Proposal for a Build-Indep-Architecture: control file field



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

On Sun, Dec 04, 2016 at 07:32:29PM +0100, Christoph Biedl wrote:
> Package: debian-policy
> Severity: normal
> 
> Following a recent discussion on debian-devel[0], I'd like to
> formalize the (XS-)Build-Indep-Architecture: header mentioned there.
> 
> As an initial wording (probably 5.6.30):
> 
> This header is useful in the rare case where Architecture: all
> packages cannot be built on all architectures for reasons outside the
> maintainer's control. The value is an architecture wildcard
> identifying a set of Debian machine architectures, see [Architecture
> wildcards, Section 11.1.1], and should describe at least two
> architectures. The default is "any".
>...
> Pros:
> 
> * The maintainer can document both successful and failing architectures.
> * Thus downstream folks have a better hint which archs to avoid.
> 
> Cons:
> * This creates more complexity in the description and the parser
> * This creates also uncertaincy about the arch not mentioned

There are two additional points why this would be a bad idea:

1. Debian does not currently have non-amd64 binary-all autobuilders

Stating that binary-all packages in the archive are always being 
built on amd64 would actually document the current status quo,
assuming source-only uploads.

AFAIR pixfrogger and pixbros that I converted from binary-all to
an explicit list of all 32bit architectures were the last two
binary-all packages in main that could not be built on amd64.

These were pretty rare cases of requiring a 32bit-only package,
and such a rare hack is better than mandating that Debian must
add binary-all autobuilders for every architecture.


2. We were not able to build all binaries in a release

For aboot and palo we are shipping binaries in jessie that cannot be 
rebuilt in jessie since the build architecture is not part of jessie.

Cross-compilers are available on amd64, and this is how palo and 
openhackware were fixed for stretch.


> Cheers,
>     Christoph
>...

cu
Adrian

- -- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEOvp1f6xuoR0v9F3wiNJCh6LYmLEFAlmAsLMACgkQiNJCh6LY
mLHeVg/9HBvcxd8rWE1A8NLi69mt7EsGWltjr5cTBRhQqptw9Rl+5U3aMBO1yuNN
MVG6vMe/71QAmny1w48PR+cyNkpeGqweO/wDoTO0IMSjFfWwXg0qYr6xOULXHTJU
Cms36EaMKXt7iOirA9m+GQz+b90h5ctu5BvGgb4gVEGo8/kZXJvjU0OxVLJChhRP
2NVknzohwau6rycviEHEGMajxsEb4VNjdSdP8uqsb4YvpDNlRWylJrMvj+T4mOX0
5wc4JOn5TAHYcmPmMecE/ZQM8ADzS/kGcIi+KZDIuTNWYfmQlC32s1INIrbZxdFF
U0wx1ceoJ3m235KmOrfwwY2s6cM8n5SC6ttZHWAVnFVt7OgdMz+7Pec6WHwvC2Hz
cCmUx2bAYvvCSRmtMbrg10K0/RnwRUqJO5DIuctoples1WVAGI1sOZ656Yg68W02
IV3sVKIgJ1mNaNFVjGppzJWNO6Z304psYF3I9iTVDECIxgbkc4OwYHJazO9k5aD5
uYWO7uLh/EiL2wTQkq6W9iY3wW+3P4u543acJ9xPYDIfYxqi40ud83VMdq4q7n0Y
jPOcpWAGAIC41IjT32iNf5BSrqIR8TO6CQG0zhYUQi6NHY+IE8Pmtt8JWdTbzlmw
ZR+GmgG773eCuzQgd3u0116LGMGEUT/jIk/HG3+ZZgzeoKKDg1Q=
=dkgN
-----END PGP SIGNATURE-----


Reply to: