Android desugaring and reproducible builds
Marcus Hoffmann
bubu at bubu1.eu
Tue Aug 10 12:47:54 UTC 2021
On 10.08.21 14:36, Hans-Christoph Steiner wrote:
> Hey Marcus,
>
> This is the only documentation of that issue that I know about:
> https://github.com/TeamNewPipe/NewPipe/issues/6486
>
> Is this maybe related?
> https://issuetracker.google.com/issues/189498001
Is this the bug that you wanted to link to? This is an earlier issue we
opened about reproducible builds for CCTG but is unrelated to desugaring.
I'll open another issue with google about this later I guess.
Marcus
>
> .hc
>
> Marcus Hoffmann via rb-general:
>> Hi,
>>
>> I was wondering if anyone got experience with reproducible builds for
>> Android apps that use the desugaring technique[1].
>>
>> We are forced to turn this on for our app as we need to use a library
>> that makes use of the "new" java 8 time APIs but as soon as we do that
>> the resulting apks more or less change completely from build to build:
>>
>> A sample of apks and diff output can be found in this diffoscope
>> issue:
>> https://salsa.debian.org/reproducible-builds/diffoscope/-/issues/272
>>
>> And yet I've not found anything online or in googles issue tracker
>> that talks about the desugarer being incompatible with reproducible
>> builds. Which I'd hoped would be something someone else noticed if
>> this was a general problem.
>>
>> Anyone got any ideas here?
>>
>> Best,
>> Marcus
>>
>>
>> [1] https://developer.android.com/studio/write/java8-support-table
>
More information about the rb-general
mailing list