Skip to contentSkip to conversation

Building pseudo fails

DISCUSSION Barros Pena, Belen 3 participants 4 messages Dec 12, 2012

lore
Share & tools
lore
#0 lore raw

I just downloaded the Danny release to an Ubuntu 12.10 computer, and pseudo failed to build. Before opening a bug, I just wanted to make sure it's not something silly I am doing. The log file is attached and below I've pasted the terminal output.

Thanks!

Belen

Pseudo is not present but is required, building this first before the main build
Loading cache: 100% |###########################################| ETA:
00:00:00
Loaded 1132 entries from dependency cache.

Build Configuration:

BB_VERSION        = "1.16.0"
TARGET_ARCH       = "i586"
TARGET_OS         = "linux"
MACHINE           = "qemux86"
DISTRO            = "poky"
DISTRO_VERSION    = "1.3"
TUNE_FEATURES     = "m32 i586"
TARGET_FPU        = ""

meta
meta-yocto
meta-yocto-bsp = "<unknown>:<unknown>"

NOTE: Resolving any missing task queue dependencies
NOTE: Preparing runqueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: Error executing a python function in /home/yocto/poky-danny-8.0/meta/recipes-devtools/quilt/quilt-native_0.60.bb
<http://quilt-native_0.60.bb/>:
OSError: [Errno 2] No such file or directory

ERROR: The stack trace of python calls that resulted in this exception/failure was:
ERROR: File "relocatable_binaries_preprocess", line 6, in <module>
ERROR:
ERROR: File "relocatable_binaries_preprocess", line 3, in
relocatable_binaries_preprocess
ERROR:
ERROR: File "chrpath.bbclass", line 7, in rpath_replace
ERROR:
ERROR: File "chrpath.bbclass", line 36, in process_dir
ERROR:

ERROR:   File "/usr/lib/python2.7/subprocess.py", line 679, in __init__
ERROR:     errread, errwrite)

ERROR:
ERROR: File "/usr/lib/python2.7/subprocess.py", line 1259, in
_execute_child
ERROR: raise child_exception
ERROR:

ERROR: The code that was being executed was:
ERROR:      0002:def relocatable_binaries_preprocess(d):
ERROR:      0003:  
rpath_replace(d.expand('/home/yocto/poky-danny-8.0/build/tmp/work/i686-linu
x/quilt-native-0.60-r0/sysroot-destdir/'), d)
ERROR:      0004:
ERROR:      0005:
ERROR:  *** 0006:relocatable_binaries_preprocess(d)
ERROR:      0007:
ERROR: [From file: 'relocatable_binaries_preprocess', lineno: 6, function:
<module>]
ERROR:      0001:
ERROR:      0002:def relocatable_binaries_preprocess(d):
ERROR:  *** 0003:  
rpath_replace(d.expand('/home/yocto/poky-danny-8.0/build/tmp/work/i686-linu
x/quilt-native-0.60-r0/sysroot-destdir/'), d)
ERROR:      0004:
ERROR:      0005:
ERROR:      0006:relocatable_binaries_preprocess(d)
ERROR:      0007:
ERROR: [From file: 'relocatable_binaries_preprocess', lineno: 3, function:
relocatable_binaries_preprocess]
ERROR:      0003:
ERROR:      0004:    for bindir in bindirs:
ERROR:      0005:        #bb.note ("Processing directory " + bindir)
ERROR:      0006:        directory = path + "/" + bindir
ERROR:  *** 0007:        process_dir (directory, d)
ERROR:      0008:
ERROR: [From file: 'chrpath.bbclass', lineno: 7, function: rpath_replace]
ERROR:      0032:            else:
ERROR:      0033:                # Temporarily make the file writeable so
we can chrpath it
ERROR:      0034:                os.chmod(fpath, perms|stat.S_IRWXU)
ERROR:      0035:
ERROR:  *** 0036:            p = sub.Popen([cmd, '-l',
fpath],stdout=sub.PIPE,stderr=sub.PIPE)
ERROR:      0037:            err, out = p.communicate()
ERROR:      0038:            # If returned succesfully, process stderr for
results
ERROR:      0039:            if p.returncode != 0:
ERROR:      0040:                continue
ERROR: [From file: 'chrpath.bbclass', lineno: 36, function: process_dir]
ERROR: Function failed: relocatable_binaries_preprocess
ERROR: Logfile of failure stored in:

/home/yocto/poky-danny-8.0/build/tmp/work/i686-linux/quilt-native-0.60-r0/t emp/log.do_populate_sysroot.7795
ERROR: Task 10 (/home/yocto/poky-danny-8.0/meta/recipes-devtools/quilt/quilt-native_0.60.b b <http://quilt-native_0.60.bb/>, do_populate_sysroot) failed with exit code '1'
NOTE: Tasks Summary: Attempted 7 tasks of which 6 didn't need to be rerun and 1 failed.
No currently running tasks (7 of 63)

Summary: 1 task failed:

/home/yocto/poky-danny-8.0/meta/recipes-devtools/quilt/quilt-native_0.60.bb
<http://quilt-native_0.60.bb/>, do_populate_sysroot
Summary: There were 50 ERROR messages shown, returning a non-zero exit code.

---------------------------------------------------------------------
Intel Corporation (UK) Limited
Registered No. 1134945 (England)
Registered Office: Pipers Way, Swindon SN3 1RJ
VAT No: 860 2173 47

This e-mail and any attachments may contain confidential material for the sole use of the intended recipient(s). Any review or distribution by others is strictly prohibited. If you are not the intended recipient, please contact the sender and delete all copies.

#1 lore raw
Quoted 4 lines · Belen

I just downloaded the Danny release to an Ubuntu 12.10 computer, and pseudo failed to build. Before opening a bug, I just wanted to make sure it's not something silly I am doing. The log file is attached and below I've pasted the terminal output.

It appears you need to install the "chrpath" package. If that fixes it then we've clearly got a mismatch between the "assumed to exist" list and the "verified to exist" list.

Ross

#2 lore raw
Quoted 11 lines · Ross

On 12 December 2012 14:09, Barros Pena, Belen

Quoted 4 lines · <[email protected]> wrote:

I just downloaded the Danny release to an Ubuntu 12.10 computer, and pseudo failed to build. Before opening a bug, I just wanted to make sure it's not something silly I am doing. The log file is attached and below I've pasted the terminal output.

It appears you need to install the "chrpath" package. If that fixes it then we've clearly got a mismatch between the "assumed to exist" list and the "verified to exist" list.

Whoops, missed this earlier when I talked to Belen about this issue off-list. chrpath is in the list of "verified to exist" utilities (SANITY_REQUIRED_UTILITIES), however the catch is that when running hob the sanity checks are deferred until the UI actually starts (which is after pseudo gets built), so you won't get the error on startup.

Obviously this is not an ideal situation; I suspect we're going to need to re- engineer how the sanity checks are run within hob so that the critical ones can run before pseudo gets built and only the ones that may require configuration (e.g. network connectivity checks) are deferred.

Cheers,
Paul

Signature · 2 lines
Paul Eggleton
Intel Open Source Technology Centre
#3 lore raw
In reply to Burton, Ross

That totally worked. Silly me, just realised I forgot to check the quick start guide to install the required packages.

Thanks, Ross.

Belen

Quoted 7 lines · Ross
Quoted 4 lines · Belen

I just downloaded the Danny release to an Ubuntu 12.10 computer, and pseudo failed to build. Before opening a bug, I just wanted to make sure it's not something silly I am doing. The log file is attached and below I've pasted the terminal output.

Quoted 5 lines

It appears you need to install the "chrpath" package. If that fixes it then we've clearly got a mismatch between the "assumed to exist" list and the "verified to exist" list.

Ross

---------------------------------------------------------------------
Intel Corporation (UK) Limited
Registered No. 1134945 (England)
Registered Office: Pipers Way, Swindon SN3 1RJ
VAT No: 860 2173 47

This e-mail and any attachments may contain confidential material for the sole use of the intended recipient(s). Any review or distribution by others is strictly prohibited. If you are not the intended recipient, please contact the sender and delete all copies.