[buildd-tools-devel] Bug#806931: Bug#806931: make CROSSBUILD_CORE_DEPENDS work for more architectures

Wookey wookey at wookware.org
Thu Dec 3 12:27:35 UTC 2015


+++ Helmut Grohne [2015-12-03 06:34 +0100]:
> 
> It seems that every new port needs to be registered with
> CROSSBUILD_CORE_DEPENDS. This is annoying, as the work to be done is
> trivial. I'd rather like to have the default be generated using the
> obvious pattern. To that end I am proposing the attached patch.

This seems sensible, but as I user I like to see an example in the
config file to change (especially in this case where it's a hash, so a
bit more complicated than just setting a variable). 

As the example config file is generated from the defaults IIRC, this
will remove that example, so the docs should be exanpanded to give an
example of how to set it. Also we should explain anyway that now the
variable is defaulted but can be set as an override, so a change to
the man page is warranted. (Sorry no patch right now, got to dash).
 
> --- a/lib/Sbuild/Conf.pm
> +++ b/lib/Sbuild/Conf.pm
> @@ -811,16 +811,7 @@ sub setup ($) {
>  	    TYPE => 'HASH:ARRAY:STRING',
>  	    VARNAME => 'crossbuild_core_depends',
>  	    GROUP => 'Multiarch support (transitional)',
> -	    DEFAULT => { arm64 => ['crossbuild-essential-arm64:native'],
> -			 armel => ['crossbuild-essential-armel:native'],
> -			 armhf => ['crossbuild-essential-armhf:native'],
> -			 ia64 => ['crossbuild-essential-ia64:native'],
> -			 mips => ['crossbuild-essential-mips:native'],
> -			 mipsel => ['crossbuild-essential-mipsel:native'],
> -			 powerpc => ['crossbuild-essential-powerpc:native'],
> -			 ppc64el => ['crossbuild-essential-ppc64el:native'],
> -			 sparc => ['crossbuild-essential-sparc:native']
> -	    	       },
> +	    DEFAULT => {},
>  	    HELP => 'Per-architecture dependencies required for cross-building.'
>  	},	'BUILD_SOURCE'				=> {
>  	    TYPE => 'BOOL',
> -- 

Wookey
-- 
Principal hats:  Linaro, Debian, Wookware, ARM
http://wookware.org/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/buildd-tools-devel/attachments/20151203/f871efc8/attachment.sig>


More information about the Buildd-tools-devel mailing list