在线时间2 小时
UID3590866
注册时间2019-9-17
NXP金币0
该用户从未签到
新手上路

- 积分
- 20
- 最后登录
- 2019-9-22
|
编译前执行了bitbake -c cleanall fsl-image-validation-imx
下面是编译过程:
alpha@Lenovo:~/pand/nxp/imx-yocto-bsp/build$ bitbake fsl-image-validation-imx
Loading cache: 100% |################################################################################################################################| Time: 0:00:01
Loaded 3262 entries from dependency cache.
Parsing recipes: 100% |##############################################################################################################################| Time: 0:00:04
Parsing of 2423 .bb files complete (2421 cached, 2 parsed). 3264 targets, 218 skipped, 8 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
Build Configuration:
BB_VERSION = "1.36.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "ubuntu-16.04"
TARGET_SYS = "arm-poky-linux-gnueabi"
MACHINE = "imx6ullevk"
DISTRO = "fsl-imx-x11"
DISTRO_VERSION = "4.9.88-2.0.0"
TUNE_FEATURES = "arm armv7ve vfp thumb neon callconvention-hard cortexa7"
TARGET_FPU = "hard"
meta
meta-poky = "HEAD:0ec241873367e18f5371a3ad9aca1e2801dcd4ee"
meta-oe
meta-multimedia = "HEAD:dacfa2b1920e285531bec55cd2f08743390aaf57"
meta-freescale = "HEAD:49ac225a38f6d84519798e3264f2e4d19b84f70a"
meta-freescale-3rdparty = "HEAD:1d6d5961dbf82624b28bb318b4950a64abc31d12"
meta-freescale-distro = "HEAD:0ec6d7e206705702b5b534611754de0787f92b72"
meta-bsp
meta-sdk = "HEAD:d65692ecb3a4136fc1cc137152634e8633ddb3c6"
meta-browser = "HEAD:d6f9aed41c73b75a97d71bff060b03a66ee087b1"
meta-gnome
meta-networking
meta-python
meta-filesystems = "HEAD:dacfa2b1920e285531bec55cd2f08743390aaf57"
meta-qt5 = "HEAD:32bb7d18a08d1c48873d7ab6332d4cc3815a4dff"
Initialising tasks: 100% |###########################################################################################################################| Time: 0:00:34
NOTE: Executing SetScene Tasks
ERROR: libtool-native-2.4.6-r0 do_populate_sysroot_setscene: 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:do_populate_sysroot_setscene(d)
0003:
File: '/home/alpha/pand/nxp/imx-yocto-bsp/sources/poky/meta/classes/staging.bbclass', lineno: 126, function: do_populate_sysroot_setscene
0122:do_populate_sysroot[sstate-outputdirs] = "${COMPONENTS_DIR}/${PACKAGE_ARCH}/${PN}"
0123:do_populate_sysroot[sstate-fixmedir] = "${COMPONENTS_DIR}/${PACKAGE_ARCH}/${PN}"
0124:
0125:python do_populate_sysroot_setscene () {
*** 0126: sstate_setscene(d)
0127:}
0128:addtask do_populate_sysroot_setscene
0129:
0130:def staging_copyfile(c, target, dest, postinsts, seendirs):
File: '/home/alpha/pand/nxp/imx-yocto-bsp/sources/poky/meta/classes/sstate.bbclass', lineno: 681, function: sstate_setscene
0677: break
0678:
0679:def sstate_setscene(d):
0680: shared_state = sstate_state_fromvars(d)
*** 0681: accelerate = sstate_installpkg(shared_state, d)
0682: if not accelerate:
0683: bb.fatal("No suitable staging package found")
0684:
0685:python sstate_task_prefunc () {
File: '/home/alpha/pand/nxp/imx-yocto-bsp/sources/poky/meta/classes/sstate.bbclass', lineno: 328, function: sstate_installpkg
0324: for f in (d.getVar('SSTATEPREINSTFUNCS') or '').split() + ['sstate_unpack_package']:
0325: # All hooks should run in the SSTATE_INSTDIR
0326: bb.build.exec_func(f, d, (sstateinst,))
0327:
*** 0328: return sstate_installpkgdir(ss, d)
0329:
0330:def sstate_installpkgdir(ss, d):
0331: import oe.path
0332: import subprocess
File: '/home/alpha/pand/nxp/imx-yocto-bsp/sources/poky/meta/classes/sstate.bbclass', lineno: 351, function: sstate_installpkgdir
0347:
0348: for state in ss['dirs']:
0349: prepdir(state[1])
0350: os.rename(sstateinst + state[0], state[1])
*** 0351: sstate_install(ss, d)
0352:
0353: for plain in ss['plaindirs']:
0354: workdir = d.getVar('WORKDIR')
0355: src = sstateinst + "/" + plain.replace(workdir, '')
File: '/home/alpha/pand/nxp/imx-yocto-bsp/sources/poky/meta/classes/sstate.bbclass', lineno: 280, function: sstate_install
0276:
0277: # Run the actual file install
0278: for state in ss['dirs']:
0279: if os.path.exists(state[1]):
*** 0280: oe.path.copyhardlinktree(state[1], state[2])
0281:
0282: for postinst in (d.getVar('SSTATEPOSTINSTFUNCS') or '').split():
0283: # All hooks should run in the SSTATE_INSTDIR
0284: bb.build.exec_func(postinst, d, (sstateinst,))
File: '/home/alpha/pand/nxp/imx-yocto-bsp/sources/poky/meta/lib/oe/path.py', lineno: 113, function: copyhardlinktree
0109: else:
0110: source = src
0111: s_dir = os.getcwd()
0112: cmd = 'cp -afl --preserve=xattr %s %s' % (source, os.path.realpath(dst))
*** 0113: subprocess.check_output(cmd, shell=True, cwd=s_dir, stderr=subprocess.STDOUT)
0114: else:
0115: copytree(src, dst)
0116:
0117:def remove(path, recurse=True):
File: '/usr/lib/python3.5/subprocess.py', lineno: 626, function: check_output
0622: # empty string. That is maintained here for backwards compatibility.
0623: kwargs['input'] = '' if kwargs.get('universal_newlines', False) else b''
0624:
0625: return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
*** 0626: **kwargs).stdout
0627:
0628:
0629:class CompletedProcess(object):
0630: """A process that has finished running.
File: '/usr/lib/python3.5/subprocess.py', lineno: 708, function: run
0704: raise
0705: retcode = process.poll()
0706: if check and retcode:
0707: raise CalledProcessError(retcode, process.args,
*** 0708: output=stdout, stderr=stderr)
0709: return CompletedProcess(process.args, retcode, stdout, stderr)
0710:
0711:
0712:def list2cmdline(seq):
Exception: subprocess.CalledProcessError: Command 'cp -afl --preserve=xattr ./* /home/alpha/pand/nxp/imx-yocto-bsp/build/tmp/sysroots-components/x86_64/libtool-native' returned non-zero exit status 1
Subprocess output:
cp: cannot create hard link '/home/alpha/pand/nxp/imx-yocto-bsp/build/tmp/sysroots-components/x86_64/libtool-native/usr/lib/libltdl.so' to './usr/lib/libltdl.so': Operation not permitted
cp: cannot create hard link '/home/alpha/pand/nxp/imx-yocto-bsp/build/tmp/sysroots-components/x86_64/libtool-native/usr/lib/libltdl.so.7' to './usr/lib/libltdl.so.7': Operation not permitted
WARNING: Logfile for failed setscene task is /home/alpha/pand/nxp/imx-yocto-bsp/build/tmp/work/x86_64-linux/libtool-native/2.4.6-r0/temp/log.do_populate_sysroot_setscene.27873
WARNING: Setscene task (/home/alpha/pand/nxp/imx-yocto-bsp/sources/poky/meta/recipes-devtools/libtool/libtool-native_2.4.6.bb:do_populate_sysroot_setscene) failed with exit code '1' - real task will be run instead
NOTE: Executing RunQueue Tasks
ERROR: libtool-native-2.4.6-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:sstate_task_postfunc(d)
0003:
File: '/home/alpha/pand/nxp/imx-yocto-bsp/sources/poky/meta/classes/sstate.bbclass', lineno: 706, function: sstate_task_postfunc
0702:
0703: sstateinst = d.getVar("SSTATE_INSTDIR")
0704: d.setVar('SSTATE_FIXMEDIR', shared_state['fixmedir'])
0705:
*** 0706: sstate_installpkgdir(shared_state, d)
0707:
0708: bb.utils.remove(d.getVar("SSTATE_BUILDDIR"), recurse=True)
0709:}
0710:sstate_task_postfunc[dirs] = "${WORKDIR}"
File: '/home/alpha/pand/nxp/imx-yocto-bsp/sources/poky/meta/classes/sstate.bbclass', lineno: 351, function: sstate_installpkgdir
0347:
0348: for state in ss['dirs']:
0349: prepdir(state[1])
0350: os.rename(sstateinst + state[0], state[1])
*** 0351: sstate_install(ss, d)
0352:
0353: for plain in ss['plaindirs']:
0354: workdir = d.getVar('WORKDIR')
0355: src = sstateinst + "/" + plain.replace(workdir, '')
File: '/home/alpha/pand/nxp/imx-yocto-bsp/sources/poky/meta/classes/sstate.bbclass', lineno: 280, function: sstate_install
0276:
0277: # Run the actual file install
0278: for state in ss['dirs']:
0279: if os.path.exists(state[1]):
*** 0280: oe.path.copyhardlinktree(state[1], state[2])
0281:
0282: for postinst in (d.getVar('SSTATEPOSTINSTFUNCS') or '').split():
0283: # All hooks should run in the SSTATE_INSTDIR
0284: bb.build.exec_func(postinst, d, (sstateinst,))
File: '/home/alpha/pand/nxp/imx-yocto-bsp/sources/poky/meta/lib/oe/path.py', lineno: 113, function: copyhardlinktree
0109: else:
0110: source = src
0111: s_dir = os.getcwd()
0112: cmd = 'cp -afl --preserve=xattr %s %s' % (source, os.path.realpath(dst))
*** 0113: subprocess.check_output(cmd, shell=True, cwd=s_dir, stderr=subprocess.STDOUT)
0114: else:
0115: copytree(src, dst)
0116:
0117:def remove(path, recurse=True):
File: '/usr/lib/python3.5/subprocess.py', lineno: 626, function: check_output
0622: # empty string. That is maintained here for backwards compatibility.
0623: kwargs['input'] = '' if kwargs.get('universal_newlines', False) else b''
0624:
0625: return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
*** 0626: **kwargs).stdout
0627:
0628:
0629:class CompletedProcess(object):
0630: """A process that has finished running.
File: '/usr/lib/python3.5/subprocess.py', lineno: 708, function: run
0704: raise
0705: retcode = process.poll()
0706: if check and retcode:
0707: raise CalledProcessError(retcode, process.args,
*** 0708: output=stdout, stderr=stderr)
0709: return CompletedProcess(process.args, retcode, stdout, stderr)
0710:
0711:
0712:def list2cmdline(seq):
Exception: subprocess.CalledProcessError: Command 'cp -afl --preserve=xattr ./* /home/alpha/pand/nxp/imx-yocto-bsp/build/tmp/sysroots-components/x86_64/libtool-native' returned non-zero exit status 1
Subprocess output:
cp: cannot create hard link '/home/alpha/pand/nxp/imx-yocto-bsp/build/tmp/sysroots-components/x86_64/libtool-native/usr/lib/libltdl.so' to './usr/lib/libltdl.so': Operation not permitted
cp: cannot create hard link '/home/alpha/pand/nxp/imx-yocto-bsp/build/tmp/sysroots-components/x86_64/libtool-native/usr/lib/libltdl.so.7' to './usr/lib/libltdl.so.7': Operation not permitted
ERROR: libtool-native-2.4.6-r0 do_populate_sysroot: Function failed: sstate_task_postfunc
ERROR: Logfile of failure stored in: /home/alpha/pand/nxp/imx-yocto-bsp/build/tmp/work/x86_64-linux/libtool-native/2.4.6-r0/temp/log.do_populate_sysroot.27885
ERROR: Task (/home/alpha/pand/nxp/imx-yocto-bsp/sources/poky/meta/recipes-devtools/libtool/libtool-native_2.4.6.bb:do_populate_sysroot) failed with exit code '1'
NOTE: Tasks Summary: Attempted 70 tasks of which 65 didn't need to be rerun and 1 failed.
Summary: 1 task failed:
/home/alpha/pand/nxp/imx-yocto-bsp/sources/poky/meta/recipes-devtools/libtool/libtool-native_2.4.6.bb:do_populate_sysroot
Summary: There were 3 ERROR messages shown, returning a non-zero exit code.
alpha@Lenovo:~/pand/nxp/imx-yocto-bsp/build$
|
|