All of lore.kernel.org
 help / color / mirror / Atom feed
* bitbake task not returning
@ 2018-05-14  3:56 Tim Godfrey
  2018-05-15 14:40 ` Becker Béla
  0 siblings, 1 reply; 2+ messages in thread
From: Tim Godfrey @ 2018-05-14  3:56 UTC (permalink / raw)
  To: bitbake-devel

[-- Attachment #1: Type: text/plain, Size: 2397 bytes --]

Hello!

A recipe I am working with hangs on the do_unpack task. Looking at the
logs, the sub-task appears to complete successfully, but the calling task
doesn't, and the overall bitbake build process doesn't either.

This is the complete log for the do_unpack task:

DEBUG: Executing python function do_unpack
DEBUG: Executing python function base_do_unpack
NOTE: Unpacking
/home/tim/tisdk/downloads/ti_cgt_c6000_8.2.2_linux_installer_x86.bin to
/home/tim/tisdk/build/arago-tmp-external-linaro-toolchain/work/x86_64-nativesdk-arago-linux/nativesdk-ti-cgt6x/1_8.2.2-r0/
DEBUG: Python function base_do_unpack finished
DEBUG: Executing python function ti_bin_do_unpack
----------------------------------------------------------------------------
Welcome to the C6000 Code Generation Tools Setup Wizard.

----------------------------------------------------------------------------
Select Installation Directory

Please specify the directory where C6000 Code Generation Tools will be
installed. The installation requires 264592 KB.

Destination Directory
[/home/tim/tisdk/build/arago-tmp-external-linaro-toolchain/work/x86_64-nativesdk-arago-linux/nativesdk-ti-cgt6x/1_8.2.2-r0/ti-cgt6x-8.2.2/ti-cgt-c6000_8.2.2]:

----------------------------------------------------------------------------
Setup is now ready to begin installing C6000 Code Generation Tools on your
computer.

Do you want to continue? [Y/n]:
----------------------------------------------------------------------------
Please wait while Setup installs C6000 Code Generation Tools on your
computer.

 Installing
 0% ______________ 50% ______________ 100%
 #########################################

----------------------------------------------------------------------------
Setup has finished installing C6000 Code Generation Tools on your computer.

The cooker log includes this line:

NOTE: recipe nativesdk-ti-cgt6x-1_8.2.2-r0: task do_unpack: Started

but there is no corresponding 'Succeeded' line in the log. I'm guessing it
has something to do with the ti_bin_do_unpack task not returning to the
calling do_unpack task.

Is this a known problem? Is there a known solution to it? On a related
point, if I would like to call the python tasks directly in order to
troubleshoot the problem, is there a standard/easy way to do that?

All input warmly received, thanks!
Tim

[-- Attachment #2: Type: text/html, Size: 2607 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: bitbake task not returning
  2018-05-14  3:56 bitbake task not returning Tim Godfrey
@ 2018-05-15 14:40 ` Becker Béla
  0 siblings, 0 replies; 2+ messages in thread
From: Becker Béla @ 2018-05-15 14:40 UTC (permalink / raw)
  To: bitbake-devel; +Cc: Tim Godfrey

This looks like an interactive script that reads its parameters from the terminal. As such it will not work well inside an automated build environment.
Check its docs if you can supply the information on the command line, so that it can run non-interactively. If that isn't possible, read into the script and rewrite it so it does not need any input.




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-05-15 14:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-05-14  3:56 bitbake task not returning Tim Godfrey
2018-05-15 14:40 ` Becker Béla

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.