Re: [android-building] Ninja is unable to find new added Android.mk?

2017-08-23 Thread Colin Cross
Kati is supposed to detect the new Android.mk, but if you put it back
in a way that left it with an old timestamp it may not notice.  Touch
any makefile that is read and it should reread everything:
touch Makefile

On Tue, Aug 22, 2017 at 10:50 PM, Chih-Wei Huang
 wrote:
> Hi,
> I'm building Android O with my device tree but
> I got the error
>
> [1/1] out/soong/.bootstrap/bin/soong_build out/soong/build.ninja
> No need to regenerate ninja file
> ninja: error:
> 'out/host/common/obj/JAVA_LIBRARIES/apksig_intermediates/classes.jar',
> needed by
> 'out/host/common/obj/JAVA_LIBRARIES/signapk_intermediates/classes-full-debug.jar',
> missing and no known rule to make it
> 13:28:20 ninja failed with: exit status 1
> make: *** [run_soong_ui] Error 1
> make: Leaving directory `/home/cwhuang/git/oreo-x86'
>
>  make failed to build some targets (13 seconds) 
>
> After checking my codebase, I accidentally deleted tools/apksig/ dir.
> Then I added it back. However, I still got the error as before.
> It seems Ninja won't parse the new added Android.mk.
> How could I force it to do a full parsing?
> Do I need to do a clean build? (I don't think/hope so)
>
> --
> --
> You received this message because you are subscribed to the "Android
> Building" mailing list.
> To post to this group, send email to android-building@googlegroups.com
> To unsubscribe from this group, send email to
> android-building+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-building?hl=en
>
> ---
> You received this message because you are subscribed to the Google Groups
> "Android Building" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to android-building+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
-- 
You received this message because you are subscribed to the "Android Building" 
mailing list.
To post to this group, send email to android-building@googlegroups.com
To unsubscribe from this group, send email to
android-building+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-building?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"Android Building" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-building+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-building] Re: out/soong/.bootstrap/soong-finder/test/test hangs at the end of the build

2017-08-23 Thread Sahaj Sarup
thanks, works well now!
I guess it was related to low nproc, as most of the people I have asked had 
more than 8 threads.
I just have 4.

On Wednesday, August 23, 2017 at 3:14:08 AM UTC+5:30, jeffry...@google.com 
wrote:
>
> Hi,
>
> Thanks for reporting this.
>
> I think I've now fixed the problem. Could any of you let me know whether 
> https://android-review.googlesource.com/c/platform/build/soong/+/464918 
> causes your tests to not hang?
>
> Thanks
>
> On Saturday, August 19, 2017 at 12:10:43 PM UTC-7, Dominik Helleberg wrote:
>>
>> Hi,
>>
>> I'm building master branch for the hikey960 on Ubuntu 16.04 LTS 
>> Everything seems to compile until the end, the system image is build, 
>> after that the build seems to hang. 
>> I found a "test" process running on one core. After some debugging I 
>> figured out that the the following command seems to be the root cause:
>>
>> out/soong/.bootstrap/bin/gotestrunner -p ./build/soong/finder -f 
>> out/soong/.bootstrap/soong-finder/test/test.passed -- 
>> out/soong/.bootstrap/soong-finder/test/test -test.short
>>
>> I haven't notice these things on earlier android releases and I'm 
>> wondering what's going on here. 
>> Any hints or ideas?
>>
>> Thanks for any help and have a nice weekend
>> Dominik
>>
>

-- 
-- 
You received this message because you are subscribed to the "Android Building" 
mailing list.
To post to this group, send email to android-building@googlegroups.com
To unsubscribe from this group, send email to
android-building+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-building?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"Android Building" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-building+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.