[debhelper-devel] arch bulid dependency

Niels Thykier niels at thykier.net
Sat Dec 19 22:25:00 UTC 2015


Igor Kozhukhov:
> Hello All,
> 
> [...]
> 
> Question is: can we specify Build-Architecture: in control file for package
> what can be build only on specified platform and will be ignored for build
> on another platform?
> 
> [...]
> 
> --
> Best regards,
> Igor Kozhukhov
> 
> 
> [...]

Hi Igor,

No, you cannot at present as all Debian build tools ignore said field as
far as I know.
  The current proposal for Build-Architecture (not yet implemented
though) puts that field in the *source* part rather than the *binary*
part of the control file.

The reason for this is that it is the build scheduler, which need
schedule a build as a "arch:any-only" build or a "arch:any+arch:all"
based[1] on value of the Build-Architecture field.
  Please also note that the Debian infrastructure assumes that all
packages of a given architecture (including "arch:all") are uploaded
together.  That is, if you upload an arch:all package, you would have to
upload *all* arch:all packages built by that source.

Mind you, I have not followed the topic a lot given it did not seem to
be of immediate interest to debhelper.  Accordingly, I may not be
entirely up to speed on this.

Thanks,
~Niels

[1] Basically dpkg-buildpackage -B vs. dpkg-buildpackage -b



-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/debhelper-devel/attachments/20151219/3ada608b/attachment.sig>


More information about the debhelper-devel mailing list