yocto build imx6qsabresd

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

yocto build imx6qsabresd

1,500 Views
小李
Contributor III

ERROR: gnu-config-native-20150728+gitAUTOINC+b576fa87c1-r0 do_unpack: 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:base_do_unpack(d)
0003:
File: '/home/book/work/sources/poky/meta/classes/base.bbclass', lineno: 155, function: base_do_unpack
0151: bb.utils.remove(p_dir, True)
0152:
0153: try:
0154: fetcher = bb.fetch2.Fetch(src_uri, d)
*** 0155: fetcher.unpack(rootdir)
0156: except bb.fetch2.BBFetchException as e:
0157: raise bb.build.FuncFailed(e)
0158:}
0159:
File: '/home/book/work/sources/poky/bitbake/lib/bb/fetch2/__init__.py', lineno: 1675, function: unpack
1671:
1672: if ud.lockfile:
1673: lf = bb.utils.lockfile(ud.lockfile)
1674:
*** 1675: ud.method.unpack(ud, root, self.d)
1676:
1677: if ud.lockfile:
1678: bb.utils.unlockfile(lf)
1679:
File: '/home/book/work/sources/poky/bitbake/lib/bb/fetch2/git.py', lineno: 278, function: unpack
0274: branchname = ud.branches[ud.names[0]]
0275: runfetchcmd("%s checkout -B %s %s" % (ud.basecmd, branchname, \
0276: ud.revisions[ud.names[0]]), d)
0277: runfetchcmd("%s branch --set-upstream-to origin/ %s" % (ud.basecmd, branchname, \
*** 0278: branchname), d)
0279: else:
0280: runfetchcmd("%s checkout %s" % (ud.basecmd, ud.revisions[ud.names[0]]), d)
0281:
0282: return True
Exception: TypeError: not all arguments converted during string formatting

ERROR: gnu-config-native-20150728+gitAUTOINC+b576fa87c1-r0 do_unpack: Function failed: base_do_unpack
ERROR: Logfile of failure stored in: /home/book/work/build/tmp/work/x86_64-linux/gnu-config-native/20150728+gitAUTOINC+b576fa87c1-r0/temp/log.do_unpack.8847
ERROR: Task 635 (virtual:native:/home/book/work/sources/poky/meta/recipes-devtools/gnu-config/gnu-config_git.bb, do_unpack) failed with exit code '1'
NOTE: Tasks Summary: Attempted 11 tasks of which 0 didn't need to be rerun and 1 failed.
Waiting for 0 running tasks to finish:

Excuse me, what is the reason?Is there a solution

0 Kudos
Reply
1 Reply

1,487 Views
igorpadykov
NXP Employee
NXP Employee

Hi 李宇程 李

 

one can check ubuntu version, recommended version is provided in sect.3 Host Setup Yocto Guide

 for each BSP on nxp linux documentation link

https://www.nxp.com/design/software/embedded-software/i-mx-software/embedded-linux-for-i-mx-applicat...

 

Best regards
igor

0 Kudos
Reply