[yocto] YoctoProject: problem bitbake core-image-minimal

Luca Boscariol DEC lboscariol at decelettronica.com
Tue Oct 25 08:33:22 PDT 2016


Hello,

I'm using SUSE Linux Enterprise Desktop 12. I follow Yocto 
documentation. I start the buid with following command:

 >>bitbake core-image-minimal

Output is the following with error:

Loading cache: 100% |#############################

##########################################################################################################################################################################################################################################################| 
ETA:  00:00:00
Loaded 1302 entries from dependency cache.
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION        = "1.30.0"
BUILD_SYS         = "x86_64-linux"
NATIVELSBSTRING   = "universal"
TARGET_SYS        = "arm-poky-linux-gnueabi"
MACHINE           = "qemuarm"
DISTRO            = "poky"
DISTRO_VERSION    = "2.1.1"
TUNE_FEATURES     = "arm armv5 thumb dsp"
TARGET_FPU        = "soft"
meta
meta-poky
meta-yocto-bsp    = "<unknown>:<unknown>"

NOTE: Preparing RunQueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: quilt-native-0.64-r0 do_populate_sysroot: Error executing a 
python function in exec_python_func() autogenerated:

The stack trace of python calls that resulted in this exception/failure was:
File: 'exec_python_func() autogenerated', lineno: 2, function: <module>
      0001:
  *** 0002:relocatable_binaries_preprocess(d)
      0003:
File: '/opt/yocto/poky-krogoth-15.0.1/meta/classes/relocatable.bbclass', 
lineno: 6, function: relocatable_binaries_preprocess
      0002:
      0003:SYSROOT_PREPROCESS_FUNCS += "relocatable_binaries_preprocess"
      0004:
      0005:python relocatable_binaries_preprocess() {
  *** 0006:    rpath_replace(d.expand('${SYSROOT_DESTDIR}'), d)
      0007:}
File: '/opt/yocto/poky-krogoth-15.0.1/meta/classes/chrpath.bbclass', 
lineno: 116, function: rpath_replace
      0112:
      0113:    for bindir in bindirs:
      0114:        #bb.note ("Processing directory " + bindir)
      0115:        directory = path + "/" + bindir
  *** 0116:        process_dir (path, directory, d)
      0117:
File: '/opt/yocto/poky-krogoth-15.0.1/meta/classes/chrpath.bbclass', 
lineno: 105, function: process_dir
      0101:                perms = None
      0102:            else:
      0103:                # Temporarily make the file writeable so we 
can chrpath it
      0104:                os.chmod(fpath, perms|stat.S_IRWXU)
  *** 0105:            process_file(cmd, fpath, rootdir, baseprefix, 
tmpdir, d)
      0106:
      0107:            if perms:
      0108:                os.chmod(fpath, perms)
      0109:
File: '/opt/yocto/poky-krogoth-15.0.1/meta/classes/chrpath.bbclass', 
lineno: 7, function: process_file_linux
      0003:
      0004:def process_file_linux(cmd, fpath, rootdir, baseprefix, 
tmpdir, d):
      0005:    import subprocess as sub
      0006:
  *** 0007:    p = sub.Popen([cmd, '-l', 
fpath],stdout=sub.PIPE,stderr=sub.PIPE)
      0008:    err, out = p.communicate()
      0009:    # If returned successfully, process stderr for results
      0010:    if p.returncode != 0:
      0011:        return
File: '/usr/lib64/python2.7/subprocess.py', lineno: 710, function: __init__
      0706:        cwd, env, universal_newlines,
   0707:        startupinfo, creationflags, shell, to_close,
      0708:        p2cread, p2cwrite,
      0709:        c2pread, c2pwrite,
  *** 0710:        errread, errwrite)
      0711:        except Exception:
      0712:            # Preserve original exception in case os.close 
raises.
      0713:            exc_type, exc_value, exc_trace = sys.exc_info()
      0714:
File: '/usr/lib64/python2.7/subprocess.py', lineno: 1327, function: 
_execute_child
      1323:                except OSError as e:
      1324:                    if e.errno != errno.ECHILD:
      1325:                        raise
      1326:                child_exception = pickle.loads(data)
  *** 1327:                raise child_exception
      1328:
      1329:
      1330:        def _handle_exitstatus(self, sts, 
_WIFSIGNALED=os.WIFSIGNALED,
      1331:                _WTERMSIG=os.WTERMSIG, _WIFEXITED=os.WIFEXITED,
Exception: OSError: [Errno 2] No such file or directory

ERROR: quilt-native-0.64-r0 do_populate_sysroot: Function failed: 
relocatable_binaries_preprocess
ERROR: Logfile of failure stored in: 
/opt/yocto/poky-krogoth-15.0.1/qemuarm/tmp/work/x86_64-linux/quilt-native/0.64-r0/temp/log.do
ERROR: Task 23 
(/opt/yocto/poky-krogoth-15.0.1/meta/recipes-devtools/quilt/quilt-native_0.64.bb 
<http://quilt-native_0.64.bb>, do_populate_sysroot) failed with
NOTE: Tasks Summary: Attempted 20 tasks of which 15 didn't need to be 
rerun and 1 failed.
Waiting for 0 running tasks to finish:

Summary: 1 task failed:
   
/opt/yocto/poky-krogoth-15.0.1/meta/recipes-devtools/quilt/quilt-native_0.64.bb 
<http://quilt-native_0.64.bb>, do_populate_sysroot
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.


Does anyone know what might be causing this error?

Regards,

Luca

-----------------------------------------------------------
*Luca BOSCARIOL*
email: lboscariol at decelettronica.com<mailto:lboscariol at decelettronica.com>
-----------------------------------------------------------
DEC ELETTRONICA S.r.l.
Via dell'Artigianato 12/1 - 31040 Fossalta Maggiore di Chiarano (TV) Italy
Tel: +39 0422 806097 - 806159 - Fax:+39 0422 806128 - URL: 
www.decelettronica.com<http://www.decelettronica.com/>- email: 
info at decelettronica.com<mailto:info at decelettronica.com>
-----------------------------------------------------------------------------------------
Le informazioni contenute in questo messaggio di posta elettronica e/o 
nei file allegati sono da considerarsi strettamente riservate. Il loro 
utilizzo è consentito esclusivamente al destinatario del messaggio, per 
le finalità indicate nel messaggio stesso. Qualora riceveste questo 
messaggio senza esserne il destinatario, Vi preghiamo cortesemente di 
darcene notizia via e-mail e di procedere alla distruzione del messaggio 
stesso, cancellandolo dal Vostro sistema.
Vi ricordiamo che costituisce comportamento contrario ai principi 
dettati dal Dlgs. 196/2003 il trattenere il messaggio stesso, 
divulgarlo, anche in parte, distribuirlo ad altri soggetti, copiarlo od 
utilizzarlo per finalità diverse.
-----------------------------------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20161025/c021ca1f/attachment.html>


More information about the yocto mailing list