On 31/05/13 18:29, Stephen Smalley wrote:
On 05/31/2013 01:06 PM, Wasa wrote:
Hi all
I've tried to build the SEAndroid code.
The goldfish kernel compilation worked fine, thanks!
The android middleware part fails with the following (full-eng):
......
host C: libpng <= external/libpng/pngwtran.c
host C: libpng <= external/libpng/pngwutil.c
host StaticLib: libpng
(out/host/linux-x86/obj/STATIC_LIBRARIES/libpng_intermediates/libpng.a)
host Executable: aapt
(out/host/linux-x86/obj/EXECUTABLES/aapt_intermediates/aapt)
Install: out/host/linux-x86/bin/aapt
make: *** No rule to make target
`out/target/common/obj/JAVA_LIBRARIES/conscrypt_intermediates/javalib.jar',
needed by `out/target/common/docs/doc-comment-check-timestamp'. Stop.
I run into the same error with HAVE_SELINUX=true or HAVE_SELINUX=false
or no declaration of HAVE_SELINUX at all. Another error that gets
displayed is "find: ‘src’: No such file or directory".
I use Ubuntu 12.04 as host to build and the compilation of android AOSP
(i.e. no SE code) worked fine.
Any idea what's happening?
It would help to clarify whether you are building master or 4.2. I
assume master.
Try running repo sync again and rebuilding.
I just merged the latest AOSP master into seandroid, so they should be
in sync again.
This kind of problem typically occurs when our trees get out of sync
with AOSP master and there is a cross-project change that spans
projects that we do not modify (and thus pull directly from AOSP) and
projects we do modify (and thus pull from our own branch in our repos,
which can therefore fall behind latest AOSP master).
Thank you. I used seandroid 4.2 and AOSP 4.2 and that fixed the issue.
But I only have mac_permission.xml present in external/sepolicy. I would
like to have intent MAC and revoke MAC.
For this, I have some questions.
First, after cloning https://bitbucket.org/seandroid/manifests, there is
no intent_mac branch available. Is it now cp_mac instead?
Second, when I checkout master, revoke-perms and seandroid-4.2 branches;
the local_manifest.xml's are identical... so do master and seandroid-4.2
have the revoke-perms "functionality" now? If so, is it enabled by
default? I don't have a revoke_permissions.xml created when "repo sync"
android middleware. Prior to "repo sync", i copied local_manifest file
under .repo/local_manifests/ directory. Or do i need to build android to
generate it?
Third, I get an error while compiling "make: *** No rule to make target
`out/target/common/obj/JAVA_LIBRARIES/conscrypt_intermediates/javalib.jar',
needed by `out/target/common/docs/doc-comment-check-timestamp'. Stop. "
Given your previous email, something is out of sync. I believe I should
switch to AOSP master... correct?
Thank you for your advice.
Wasa
--
This message was distributed to subscribers of the seandroid-list mailing list.
If you no longer wish to subscribe, send mail to majord...@tycho.nsa.gov with
the words "unsubscribe seandroid-list" without quotes as the message.