All of lore.kernel.org
 help / color / mirror / Atom feed
* "trap: 80: SIGHUP: bad trap" comes up when building core-image-sato.
@ 2013-03-07 15:09 Biao
  2013-04-10 12:00 ` Jean-baptiste DUONEA
  2013-04-10 12:07 ` Jean-baptiste DUONEA
  0 siblings, 2 replies; 6+ messages in thread
From: Biao @ 2013-03-07 15:09 UTC (permalink / raw)
  To: yocto

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

I got an ERROR when building the core-image-sato.


branch is danny-8.0



Build Configuration:
BB_VERSION        = "1.17.1"
BUILD_SYS         = "x86_64-linux"
NATIVELSBSTRING   = "Ubuntu-10.04"
TARGET_SYS        = "x86_64-poky-linux"
MACHINE           = "qemux86-64"
DISTRO            = "poky"
DISTRO_VERSION    = "1.3+snapshot-20130307"
TUNE_FEATURES     = "m64"
TARGET_FPU        = ""
meta              
meta-yocto        
meta-yocto-bsp    = "danny-8.0:6663b79452bcdd95fc69e1ec853baae6c5297ab2"


NOTE: Resolving any missing task queue dependencies
NOTE: Preparing runqueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
NOTE: validating kernel config, see log.do_kernel_configcheck for details
WARNING: QA Issue: rpm: Files/directories were installed but not shipped
  /etc
  /etc/rcS.d
  /etc/rcS.d/S98run-postinsts
ERROR: Function failed: do_configure (see /home/zb/mnt/building/yocto/mybuild/tmp/work/x86_64-poky-linux/busybox/1.20.2-r5/temp/log.do_configure.15097 for further information)
ERROR: Logfile of failure stored in: /home/zb/mnt/building/yocto/mybuild/tmp/work/x86_64-poky-linux/busybox/1.20.2-r5/temp/log.do_configure.15097
Log data follows:
| DEBUG: Executing python function sysroot_cleansstate
| DEBUG: Python function sysroot_cleansstate finished
| DEBUG: Executing shell function do_configure
| trap: 80: SIGHUP: bad trap
| ERROR: Function failed: do_configure (see /home/zb/mnt/building/yocto/mybuild/tmp/work/x86_64-poky-linux/busybox/1.20.2-r5/temp/log.do_configure.15097 for further information)
ERROR: Task 1217 (/mnt/working/yocto/poky/meta/recipes-core/busybox/busybox_1.20.2.bb, do_configure) failed with exit code '1'
NOTE: Tasks Summary: Attempted 3729 tasks of which 1320 didn't need to be rerun and 1 failed.
Waiting for 0 running tasks to finish:


Summary: 1 task failed:
  /mnt/working/yocto/poky/meta/recipes-core/busybox/busybox_1.20.2.bb, do_configure
Summary: There was 1 WARNING message shown.
Summary: There was 1 ERROR message shown, returning a non-zero exit code.


1. What the problem might be?

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

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

* Re: "trap: 80: SIGHUP: bad trap" comes up when building core-image-sato.
  2013-03-07 15:09 "trap: 80: SIGHUP: bad trap" comes up when building core-image-sato Biao
@ 2013-04-10 12:00 ` Jean-baptiste DUONEA
  2013-04-10 12:07 ` Jean-baptiste DUONEA
  1 sibling, 0 replies; 6+ messages in thread
From: Jean-baptiste DUONEA @ 2013-04-10 12:00 UTC (permalink / raw)
  To: yocto

Problem comes from Dash shell, which is used by default on Ubuntu.
You have to reconfigure your terminal and disable the usage of Dash :
Type in your console : sudo dpkg-reconfigure dash
Choose the answer "No"
Close and launch your terminal, now it will works !


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

* Re: "trap: 80: SIGHUP: bad trap" comes up when building core-image-sato.
  2013-03-07 15:09 "trap: 80: SIGHUP: bad trap" comes up when building core-image-sato Biao
  2013-04-10 12:00 ` Jean-baptiste DUONEA
@ 2013-04-10 12:07 ` Jean-baptiste DUONEA
  2013-04-10 12:33   ` Paul Eggleton
  1 sibling, 1 reply; 6+ messages in thread
From: Jean-baptiste DUONEA @ 2013-04-10 12:07 UTC (permalink / raw)
  To: yocto

Problem comes from Dash shell, which is used by default on Ubuntu.
You have to reconfigure your terminal and disable the usage of Dash :
Type in your console : sudo dpkg-reconfigure dash
Choose the answer "No"
Close and launch your terminal, now it will works !


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

* Re: "trap: 80: SIGHUP: bad trap" comes up when building core-image-sato.
  2013-04-10 12:07 ` Jean-baptiste DUONEA
@ 2013-04-10 12:33   ` Paul Eggleton
  2013-05-29 13:02     ` Martyn Welch
  0 siblings, 1 reply; 6+ messages in thread
From: Paul Eggleton @ 2013-04-10 12:33 UTC (permalink / raw)
  To: Jean-baptiste DUONEA; +Cc: yocto

On Wednesday 10 April 2013 14:07:20 Jean-baptiste DUONEA wrote:
> Problem comes from Dash shell, which is used by default on Ubuntu.
> You have to reconfigure your terminal and disable the usage of Dash :
> Type in your console : sudo dpkg-reconfigure dash
> Choose the answer "No"
> Close and launch your terminal, now it will works !

We do not need to do this anymore as of the denzil release (1.2) - we 
explicitly support /bin/sh not being bash, and in fact I am running with 
/bin/sh -> dash on Ubuntu here right now.

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre


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

* Re: "trap: 80: SIGHUP: bad trap" comes up when building core-image-sato.
  2013-04-10 12:33   ` Paul Eggleton
@ 2013-05-29 13:02     ` Martyn Welch
  2013-05-29 13:25       ` Burton, Ross
  0 siblings, 1 reply; 6+ messages in thread
From: Martyn Welch @ 2013-05-29 13:02 UTC (permalink / raw)
  To: Paul Eggleton; +Cc: Jean-baptiste DUONEA, yocto

On 10/04/13 13:33, Paul Eggleton wrote:
> On Wednesday 10 April 2013 14:07:20 Jean-baptiste DUONEA wrote:
>> Problem comes from Dash shell, which is used by default on Ubuntu.
>> You have to reconfigure your terminal and disable the usage of Dash :
>> Type in your console : sudo dpkg-reconfigure dash
>> Choose the answer "No"
>> Close and launch your terminal, now it will works !
> 
> We do not need to do this anymore as of the denzil release (1.2) - we 
> explicitly support /bin/sh not being bash, and in fact I am running with 
> /bin/sh -> dash on Ubuntu here right now.
> 

Which release of Ubuntu are you using?

I've just hit this exact problem building busybox from Yocto 1.4 on Ubuntu 10.04.

Martyn


-- 
Martyn Welch (Lead Software Engineer)  | Registered in England and Wales
GE Intelligent Platforms               | (3828642) at 100 Barbirolli Square
T +44(0)1327322748                     | Manchester, M2 3AB
E martyn.welch@ge.com                  | VAT:GB 927559189


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

* Re: "trap: 80: SIGHUP: bad trap" comes up when building core-image-sato.
  2013-05-29 13:02     ` Martyn Welch
@ 2013-05-29 13:25       ` Burton, Ross
  0 siblings, 0 replies; 6+ messages in thread
From: Burton, Ross @ 2013-05-29 13:25 UTC (permalink / raw)
  To: Martyn Welch; +Cc: Jean-baptiste DUONEA, Paul Eggleton, yocto

Hi Martyn,

On 29 May 2013 14:02, Martyn Welch <martyn.welch@ge.com> wrote:
> I've just hit this exact problem building busybox from Yocto 1.4 on Ubuntu 10.04.

This was root-caused down to a bug in a script in the kern-tools
package.  You can either switch from 1.4 tarball to the dylan branch
from git (where it's already fixed), wait for 1.4.1 (due early July, I
think), or apply the fix yourself:

http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=3faa5039c8147d0bf9e352dc5ad1e9e12cf2086a

Ross


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

end of thread, other threads:[~2013-05-29 13:26 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-07 15:09 "trap: 80: SIGHUP: bad trap" comes up when building core-image-sato Biao
2013-04-10 12:00 ` Jean-baptiste DUONEA
2013-04-10 12:07 ` Jean-baptiste DUONEA
2013-04-10 12:33   ` Paul Eggleton
2013-05-29 13:02     ` Martyn Welch
2013-05-29 13:25       ` Burton, Ross

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.