Build starts slowly and get stuck

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Build starts slowly and get stuck

Glanda
I have a problem to build my AOSP. And "lunch" and "m" takes quite a long time (1 or 2 minutes) to start, but I'm mainly here for the other issue.
There is no Error or something else, the build only gets stuck.

Here is where it get stuck:

============================================
PLATFORM_VERSION_CODENAME
=R
PLATFORM_VERSION
=R
TARGET_PRODUCT
=full_a5y17lte
TARGET_BUILD_VARIANT
=userdebug
TARGET_BUILD_TYPE
=release
TARGET_ARCH
=arm64
TARGET_ARCH_VARIANT
=armv8-a
HOST_ARCH
=x86_64
HOST_2ND_ARCH
=x86
HOST_OS
=linux
HOST_OS_EXTRA
=Linux-5.0.0-32-generic-x86_64-Ubuntu-18.04.3-LTS
HOST_CROSS_OS
=windows
HOST_CROSS_ARCH
=x86
HOST_CROSS_2ND_ARCH
=x86_64
HOST_BUILD_TYPE
=release
BUILD_ID
=QD1A.190821.011
OUT_DIR
=out
============================================
[ 0% 0/1] out/soong/.bootstrap/bin/soong_build out/soong/build.ninja
   
(time) out/soong/.bootstrap/bin/soong_build out/soong/build.ninja

When the build starts after the 1-2 minutes my CPU useage is on all 6 cores for a short time fully utilized. Then the CPU useage is normal.
I already made one build attempt for 3 hours, it didn't help.

Note: My out directory is linked with a folder of an Raid 0 partition from 3 HDDs, NTFS formated. I use it because my SSD with the AOSP is to small.

--
--
You received this message because you are subscribed to the "Android Building" mailing list.
To post to this group, send email to [hidden email]
To unsubscribe from this group, send email to
[hidden email]
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/android-building/d085eb8e-563c-4dad-a75f-1cb425da2267%40googlegroups.com.
Reply | Threaded
Open this post in threaded view
|

Re: Build starts slowly and get stuck

Colin Cross
I would expect using the NTFS for the out directory is the problem.  You can get soong_build to dump stack traces of where it is stuck with `killall -QUIT soong_build`.

Does the build get further if you put the OUT_DIR on your SSD?  Try `m nothing`, which will parse all the build files but not build anything so it shouldn't use too much disk space.


On Wed, Nov 13, 2019 at 2:20 PM Glanda <[hidden email]> wrote:
I have a problem to build my AOSP. And "lunch" and "m" takes quite a long time (1 or 2 minutes) to start, but I'm mainly here for the other issue.
There is no Error or something else, the build only gets stuck.

Here is where it get stuck:

============================================
PLATFORM_VERSION_CODENAME
=R
PLATFORM_VERSION
=R
TARGET_PRODUCT
=full_a5y17lte
TARGET_BUILD_VARIANT
=userdebug
TARGET_BUILD_TYPE
=release
TARGET_ARCH
=arm64
TARGET_ARCH_VARIANT
=armv8-a
HOST_ARCH
=x86_64
HOST_2ND_ARCH
=x86
HOST_OS
=linux
HOST_OS_EXTRA
=Linux-5.0.0-32-generic-x86_64-Ubuntu-18.04.3-LTS
HOST_CROSS_OS
=windows
HOST_CROSS_ARCH
=x86
HOST_CROSS_2ND_ARCH
=x86_64
HOST_BUILD_TYPE
=release
BUILD_ID
=QD1A.190821.011
OUT_DIR
=out
============================================
[ 0% 0/1] out/soong/.bootstrap/bin/soong_build out/soong/build.ninja
   
(time) out/soong/.bootstrap/bin/soong_build out/soong/build.ninja

When the build starts after the 1-2 minutes my CPU useage is on all 6 cores for a short time fully utilized. Then the CPU useage is normal.
I already made one build attempt for 3 hours, it didn't help.

Note: My out directory is linked with a folder of an Raid 0 partition from 3 HDDs, NTFS formated. I use it because my SSD with the AOSP is to small.

--
--
You received this message because you are subscribed to the "Android Building" mailing list.
To post to this group, send email to [hidden email]
To unsubscribe from this group, send email to
[hidden email]
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/android-building/d085eb8e-563c-4dad-a75f-1cb425da2267%40googlegroups.com.

--
--
You received this message because you are subscribed to the "Android Building" mailing list.
To post to this group, send email to [hidden email]
To unsubscribe from this group, send email to
[hidden email]
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/android-building/CAMbhsRRejC5gX3FnFTBO2t%3DNGb5MoQxH2Gh2TyH6EPceEmZA8w%40mail.gmail.com.
Reply | Threaded
Open this post in threaded view
|

Re: Build starts slowly and get stuck

Glanda
Ok, the build gets further if I m nothing on the SDD. I have formated my partition on the Raid ext4, it's currently working, update will follow.
And I noticed that the slow speed comes from the Raid. It took around 1 minute to m nothing on the SDD.

Thanks for you help.

Am Mittwoch, 13. November 2019 23:30:44 UTC+1 schrieb Colin Cross:
I would expect using the NTFS for the out directory is the problem.  You can get soong_build to dump stack traces of where it is stuck with `killall -QUIT soong_build`.

Does the build get further if you put the OUT_DIR on your SSD?  Try `m nothing`, which will parse all the build files but not build anything so it shouldn't use too much disk space.


On Wed, Nov 13, 2019 at 2:20 PM Glanda <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="F27kX0geBQAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">Leande...@...> wrote:
I have a problem to build my AOSP. And "lunch" and "m" takes quite a long time (1 or 2 minutes) to start, but I'm mainly here for the other issue.
There is no Error or something else, the build only gets stuck.

Here is where it get stuck:

============================================
PLATFORM_VERSION_CODENAME
=R
PLATFORM_VERSION
=R
TARGET_PRODUCT
=full_a5y17lte
TARGET_BUILD_VARIANT
=userdebug
TARGET_BUILD_TYPE
=release
TARGET_ARCH
=arm64
TARGET_ARCH_VARIANT
=armv8-a
HOST_ARCH
=x86_64
HOST_2ND_ARCH
=x86
HOST_OS
=linux
HOST_OS_EXTRA
=Linux-5.0.0-32-generic-x86_64-Ubuntu-18.04.3-LTS
HOST_CROSS_OS
=windows
HOST_CROSS_ARCH
=x86
HOST_CROSS_2ND_ARCH
=x86_64
HOST_BUILD_TYPE
=release
BUILD_ID
=QD1A.190821.011
OUT_DIR
=out
============================================
[ 0% 0/1] out/soong/.bootstrap/bin/soong_build out/soong/build.ninja
   
(time) out/soong/.bootstrap/bin/soong_build out/soong/build.ninja

When the build starts after the 1-2 minutes my CPU useage is on all 6 cores for a short time fully utilized. Then the CPU useage is normal.
I already made one build attempt for 3 hours, it didn't help.

Note: My out directory is linked with a folder of an Raid 0 partition from 3 HDDs, NTFS formated. I use it because my SSD with the AOSP is to small.

--
--
You received this message because you are subscribed to the "Android Building" mailing list.
To post to this group, send email to <a href="javascript:" target="_blank" gdf-obfuscated-mailto="F27kX0geBQAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">android-...@googlegroups.com
To unsubscribe from this group, send email to
<a href="javascript:" target="_blank" gdf-obfuscated-mailto="F27kX0geBQAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">android-...@googlegroups.com
For more options, visit this group at
<a href="http://groups.google.com/group/android-building?hl=en" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://groups.google.com/group/android-building?hl\x3den&#39;;return true;" onclick="this.href=&#39;http://groups.google.com/group/android-building?hl\x3den&#39;;return true;">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 <a href="javascript:" target="_blank" gdf-obfuscated-mailto="F27kX0geBQAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">android-...@googlegroups.com.
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/android-building/d085eb8e-563c-4dad-a75f-1cb425da2267%40googlegroups.com?utm_medium=email&amp;utm_source=footer" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/msgid/android-building/d085eb8e-563c-4dad-a75f-1cb425da2267%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/msgid/android-building/d085eb8e-563c-4dad-a75f-1cb425da2267%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;">https://groups.google.com/d/msgid/android-building/d085eb8e-563c-4dad-a75f-1cb425da2267%40googlegroups.com.

--
--
You received this message because you are subscribed to the "Android Building" mailing list.
To post to this group, send email to [hidden email]
To unsubscribe from this group, send email to
[hidden email]
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/android-building/dcebdec4-778f-4819-8771-c3b9cd5c13b9%40googlegroups.com.