Re: request: check installability of Depends before building
على السبت 2 كانون الأول 2017 06:14، كتب Julien Cristau:
> On Wed, Oct 18, 2017 at 00:40:12 -0400, Afif Elghraoui wrote:
>> Priority: optional
>> Build-Depends: debhelper (>= 10),
>> zlib1g-dev | libz-dev,
>> # Run-Time Depends
>> # (to prevent building on architectures where it won't be installable)
>> Standards-Version: 4.1.0
>> ...which is an abuse of the build-depends field since those at the
>> bottom are not actually needed for building the package.
> I think this is actually a reasonable use of build-depends.
How? They are packages not needed during the build process. Do you think
this needs a special build profile?
> The Depends
> field in source packages can have a number of substvars that would make
> any sort of pre-build parsing meaningless.
Well, I wouldn't say /any/ sort. The explicitly specified dependencies
are still read.
Alternatively, installability of Depends could be tested after the
package build and before upload by the buildds.
Afif Elghraoui | عفيف الغراوي