android-platform-tools-base: FTBFS: SignatureExtension.java:32: error: DEROutputStream is not public in org.bouncycastle.asn1; cannot be accessed from outside package

Bug #2056088 reported by Vladimir Petko
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
android-platform-tools-base (Debian)
New
Unknown
android-platform-tools-base (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

The package fails to build due to the following error:

> /<<PKGBUILDDIR>>/build-system/builder/src/main/java/com/android/builder/signing/SignedJarApkCreator.java:403: error: DEROutputStream is not public in org.bouncycastle.asn1; cannot be accessed from outside package
> DEROutputStream dos = new DEROutputStream(mOutputJar);

Tags: ftbfs

Related branches

Revision history for this message
Vladimir Petko (vpa1977) wrote :

piuparts install/upgrade/purge test (pass)

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package android-platform-tools-base - 2.2.2-4ubuntu1

---------------
android-platform-tools-base (2.2.2-4ubuntu1) noble; urgency=medium

  * Resolve the failure to build from source (LP: #2056088):
    - d/p/{der-output-stream.patch, add-exports.patch}: sun.security
      PKCS7 class now only supports encoding to DerOutputStream.
      Explicitly instantiate it.
    - d/p/bouncycastle177-compat.patch: use ASN1OutputStream instead
      of remove DerOutputStream.

 -- Vladimir Petko <email address hidden> Wed, 06 Mar 2024 13:16:37 +1300

Changed in android-platform-tools-base (Ubuntu):
status: New → Fix Released
Vladimir Petko (vpa1977)
tags: added: ftbfs
Changed in android-platform-tools-base (Debian):
status: Unknown → New
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.