[Android-tools-devel] Bug#1050300: mkbootimg package missing gki module

William Breathitt Gray william.gray at linaro.org
Tue Aug 22 20:13:26 BST 2023


Package: mkbootimg
Version: 1:34.0.4-1
Severity: grave
Justification: renders package unusable
X-Debbugs-Cc: william.gray at linaro.org

Dear Maintainer,

When attempting to run /usr/bin/mkbootimg, the following is observed:

    root at linaro-developer:~# /usr/bin/mkbootimg --help
    Traceback (most recent call last):
      File "/usr/bin/mkbootimg", line 31, in <module>
        from gki.generate_gki_certificate import generate_gki_certificate
    ModuleNotFoundError: No module named 'gki'

This appears to be the result of the gki module missing from the
mkbootimg package: https://packages.debian.org/sid/all/mkbootimg/filelist

This bug can be resolved by installing the necessary python files (such
as generate_fki_certificate.py) located at system/tools/mkbootimg/gki:
https://sources.debian.org/src/android-platform-tools/34.0.4-1/system/tools/mkbootimg/gki/

I think the generate_gki_certificate dependency was introduced for the
version 33.0.3 release of android-tools, so other Debian versions may be
affected as well.

Thank you,

William Breathitt Gray

-- System Information:
Debian Release: trixie/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: arm64 (aarch64)

Kernel: Linux 6.5.0-rc6-qcomlt-arm64-00060-g797651a03cd8 (SMP w/8 CPU threads; PREEMPT)
Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages mkbootimg depends on:
ii  python3  3.11.4-5+b1

mkbootimg recommends no packages.

mkbootimg suggests no packages.

-- no debconf information



More information about the Android-tools-devel mailing list