Bug#999665: dh_strip_nondeterminism breaks Multi-Arch: same in binNMUs

Niels Thykier niels at thykier.net
Tue Dec 7 20:20:09 UTC 2021


Chris Lamb:
> Hi Niels,
> 
>> I think it would something like this from the debhelper side:
>>
>>   https://salsa.debian.org/debian/debhelper/-/merge_requests/58
>>
>> Would that work for you? :)
> 
> Indeed it would. Would strip-nondeterminism then simply Depend on the
> version of debhelper this change gets released in? Or rather: should
> we do something more involved than that?
> 
> 
> Regards,
> 

Hi,

You can either depend on it or do a runtime check for the new function
to see if the feature is available - whatever floats your boat. :)

When you concluded the feature is available, you would then call
get_non_binnmu_date_epoch instead of get_source_date_epoch to obtain the
value for SOURCE_DATE_EPOCH.  You may want to do a
`$ENV{SOURCE_DATE_EPOCH} = get_non_binnmu_date_epoch()` depending on
whether you call third-party tools that use the variable.

Thanks,
~Niels


More information about the rb-general mailing list