[Android-tools-devel] Bug#838542: android-platform-system-core: profile build does not actually work

Wookey wookey at debian.org
Thu Sep 22 05:08:26 UTC 2016


Source: android-platform-system-core
Version: 6.0.1+r55
Severity: normal

Dear Maintainer,

I was very pleased to see that this package had build-profile info for
untangling the bootstrap of this and android-platform-system-extras.

However when I tried using it I found that it didn't build.

android-libunwind-dev is needed (by libbacktrace), which is needed by libutils.

I don't know if it could be removed, but it seemed tricky, and as
android-libunwind-dev comes from a separate source with minimal
build-deps there seems to be no need to skip this build-dep. So I put it back.

Similarly libsafe-iop-dev is needed too and is not obvisoulypart of a
loop so I put that back.

Now it builds but tries to use pango for the manpages and so fails.

not using pango should use the 'nodoc' build profile rather than the
'stage1' profile as that is more specific. So I changed that and fixed
up the rules files not to run those rules. And use dh-exec to avoid
dh_installman trying to install non-existent manpages.

Now it works. 

You can test it with 
apt-get -P stage1,nodoc build-dep android-platform-system-core
cd android-platform-system-core-*
dpkg-buildpackage -Pstage1,nodoc

Hope this is useful.

There is still a bootstrapping issue with the self-dependency on 
android-platform-system-core-headers

not sure if there is any build magic to generate those, or build without them?

-- 
Wookey
-------------- next part --------------
A non-text attachment was scrubbed...
Name: android-platform-system-core_6.0.1+r55-stage1-nodoc-fix.patch
Type: text/x-diff
Size: 3415 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/android-tools-devel/attachments/20160922/e081af08/attachment.patch>


More information about the Android-tools-devel mailing list