Yocto Project Discussions
 help / color / mirror / Atom feed
From: "Kjeld Flarup" <kfa@deif.com>
To: "yocto@lists.yoctoproject.org" <yocto@lists.yoctoproject.org>
Subject: Re: [yocto] Build hangs
Date: Fri, 3 Jul 2020 09:36:45 +0000	[thread overview]
Message-ID: <582fde577ff644f5af92d82853472c67@deif.com> (raw)
In-Reply-To: <bNRG.1593763627322531824.X25r@lists.yoctoproject.org>

I found a cause for the error (this time)

In bitbake-cookerdaemon.log I found
recipes-codesys/codesysruntime/codesysruntime.bb: needs merge
recipes-codesys/codesysruntime/codesysruntime.bb: needs merge
recipes-codesys/codesysruntime/codesysruntime.bb: needs merge
recipes-codesys/codesysruntime/codesysruntime.bb: needs merge
recipes-codesys/codesysruntime/codesysruntime.bb: needs merge
recipes-codesys/codesysruntime/codesysruntime.bb: needs merge
recipes-codesys/codesysruntime/codesysruntime.bb: needs merge
recipes-codesys/codesysruntime/codesysruntime.bb: needs merge

After doing a git add on this file the build continued.

I'm however pretty sure that this was not the error in other cases where I experienced this.
In general bitbake does seem to ignore reporting some errors.

Regards
Kjeld Flarup



________________________________________
From: yocto@lists.yoctoproject.org <yocto@lists.yoctoproject.org> on behalf of Kjeld Flarup via lists.yoctoproject.org <kfa=deif.com@lists.yoctoproject.org>
Sent: Friday, July 3, 2020 10:07:07 AM
To: yocto@lists.yoctoproject.org
Subject: [yocto] Build hangs

I sometimes encounters this situation, where a task is running forever. This example only one task, but I have seen 6 tasks which have been running for 10+ minutes

Currently  1 running tasks (680 of 2941)  23% |###########################                                                                                            |
0: openssl-native-1.1.1d-r0 do_install - 6m17s (pid 6007)

When I look into the docker container I see only these processes
user@yocto:~$ ps -ef
UID        PID  PPID  C STIME TTY          TIME CMD
user         1     0  0 07:37 pts/0    00:00:00 /bin/bash scripts/ci.sh pdsystems prepare_artifacts
user        53     1  1 07:37 pts/0    00:00:03 python3 /home/user/meta-poky/bitbake/bin/bitbake machine
user        59     1  4 07:37 ?        00:00:14 python3 /home/user/meta-poky/bitbake/bin/bitbake machine
user       414     0  0 07:38 pts/1    00:00:00 bash
user       449    59  5 07:39 ?        00:00:11 python3 /home/user/meta-poky/bitbake/bin/bitbake-worker decafbad
user     15205   414  0 07:42 pts/1    00:00:00 ps -ef

Usually I can fix this by deleting all of by build folder, which of course is annoying as it takes a loong time. Just deleting caches does not help.

Anybody has an idea of why this happens.

Kjeld Flarup


      parent reply	other threads:[~2020-07-03  9:36 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-03  8:07 Build hangs Kjeld Flarup
2020-07-03  8:25 ` [yocto] " Alexander Kanavin
2020-07-03  8:31   ` Kjeld Flarup
2020-07-03  9:36 ` Kjeld Flarup [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=582fde577ff644f5af92d82853472c67@deif.com \
    --to=kfa@deif.com \
    --cc=yocto@lists.yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox