See error #1068722 for more information.


On Wed, 13 Aug 2025 09:04:05 -0400 Robert Heller <[email protected]> wrote:
> Package: android-libandroidfw
> Version: 1:10.0.0+r36-10
> Severity: normal
> Tags: ftbfs
>
> Dear Maintainer,
>
>    * What led up to the situation?
> I am trying to build a package for the Android system.
>
>    * What exactly did you do (or not do) that was effective (or
>      ineffective)?
> /usr/bin/aapt2 -v
>
>    * What was the outcome of this action?
> /usr/bin/aapt2: symbol lookup error: 
> /usr/lib/aarch64-linux-gnu/android/libandroidfw.so.0: undefined symbol: 
> _Z18ExtractEntryToFileP10ZipArchiveP8ZipEntryi
>    * What outcome did you expect instead?
> Get the version number of aapt2
>
> I did some additional exploration:
>
> marchhare% nm -D --demangle -A /usr/lib/aarch64-linux-gnu/android/lib* | grep 
> ExtractEntryToFile
> /usr/lib/aarch64-linux-gnu/android/libandroidfw.so.0:                 U 
> ExtractEntryToFile(ZipArchive*, ZipEntry*, int)
> /usr/lib/aarch64-linux-gnu/android/libziparchive.so:000000000001c508 T 
> ExtractEntryToFile(ZipArchive*, ZipEntry64 const*, int)
> /usr/lib/aarch64-linux-gnu/android/libziparchive.so:000000000001c470 T 
> ExtractEntryToFile(ZipArchive*, ZipEntry const*, int)
> /usr/lib/aarch64-linux-gnu/android/libziparchive.so.0:000000000001c508 T 
> ExtractEntryToFile(ZipArchive*, ZipEntry64 const*, int)
> /usr/lib/aarch64-linux-gnu/android/libziparchive.so.0:000000000001c470 T 
> ExtractEntryToFile(ZipArchive*, ZipEntry const*, int)
>
> I also used apt-get to download the sources and attempted to rebuild the
> package from source, but encounted errors there:
>
> marchhare% dpkg-buildpackage
> dpkg-buildpackage: info: source package android-platform-frameworks-base
> dpkg-buildpackage: info: source version 1:10.0.0+r36-10
> dpkg-buildpackage: info: source distribution unstable
> dpkg-buildpackage: info: source changed by Roger Shimizu <[email protected]>
>  dpkg-source --before-build .
> dpkg-buildpackage: info: host architecture arm64
>  debian/rules clean
> dh clean --with bash-completion
>    dh_clean
>  dpkg-source -b .
> dpkg-source: info: using source format '3.0 (quilt)'
> dpkg-source: info: building android-platform-frameworks-base using existing 
> ./android-platform-frameworks-base_10.0.0+r36.orig.tar.xz
> dpkg-source: info: using patch list from debian/patches/series
> dpkg-source: warning: ignoring deletion of file 
> media/native/midi/include/Doxyfile.orig, use --include-removal to override
> dpkg-source: info: building android-platform-frameworks-base in 
> android-platform-frameworks-base_10.0.0+r36-10.debian.tar.xz
> dpkg-source: info: building android-platform-frameworks-base in 
> android-platform-frameworks-base_10.0.0+r36-10.dsc
>  debian/rules binary
> dh binary --with bash-completion
>    dh_update_autotools_config
>    dh_autoreconf
>    debian/rules override_dh_auto_configure
> make[1]: Entering directory 
> '/home/heller/android-platform-frameworks-base-10.0.0+r36'
> mkdir -p debian/out
> dh_auto_configure
> make[1]: Leaving directory 
> '/home/heller/android-platform-frameworks-base-10.0.0+r36'
>    debian/rules override_dh_auto_build-arch
> make[1]: Entering directory 
> '/home/heller/android-platform-frameworks-base-10.0.0+r36'
> dh_auto_build --buildsystem=makefile -- -f debian/libandroidfw.mk


--
Robert Heller             -- Cell: 413-658-7953 GV: 978-633-5364
Deepwoods Software        -- Custom Software Services
http://www.deepsoft.com/  -- Linux Administration Services
[email protected]       -- Webhosting Services


Reply via email to