[Android-tools-devel] Bug#770328: Bug#769251: android-platform-build: FTBFS in jessie/i386: libutils.so: undefined reference to `android_atomic_or'

Simon McVittie smcv at debian.org
Sat Nov 22 14:53:22 UTC 2014


Version: 21-4
Control: tags 769646 - sid
Control: tags 770328 + patch

On Sat, 15 Nov 2014 at 11:24:43 +0100, Cyril Brulebois wrote:
> Looking at the contents of the android-libutils package one can see a
> .so and a .a; the .so contains undefined references to various
> android_atomic_* things, which don't seem to be available anywhere in
> the dependencies declared either at the ELF level or in the package
> dependencies:
> | $ nm -D /usr/lib/android/libutils.so|grep android_atomic_
> |          U android_atomic_add
> |          U android_atomic_dec
> |          U android_atomic_inc
> |          U android_atomic_or
> |          U android_atomic_release_cas

I think this has already been fixed in 21-4: libcutils and liblog didn't
have shlibs metadata at all, but now they do. The diff looks small enough
for an unblock request to be reasonable.

Unfortunately, 21-4 has its own new RC bug, #770328, because the maintainer
didn't add the correct Breaks/Replaces when moving files between binary
packages; so it can't just be unblocked as-is. I attach a possible patch
for that.

I think #769236, #769251 could just be merged with #769646. They aren't
really separate bugs, and would be fixed automatically by letting the
fix for #769646 migrate.

    S
-------------- next part --------------
A non-text attachment was scrubbed...
Name: android-libs-replaces.diff
Type: text/x-diff
Size: 2040 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/android-tools-devel/attachments/20141122/52cbe8c9/attachment.diff>


More information about the Android-tools-devel mailing list