ERROR: pkgconfig-0.29.1+gitAUTOINC+87152c05be-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: '/opt/pkg/petalinux/components/yocto/source/arm/layers/core/meta/classes/staging.bbclass', lineno: 238, function: do_populate_sysroot_setscene
0234:do_populate_sysroot[sstate-outputdirs] = "${STAGING_DIR_HOST}/"
0235:do_populate_sysroot[stamp-extra-info] = "${MACHINE}"
0236:
0237:python do_populate_sysroot_setscene () {
*** 0238: sstate_setscene(d)
0239:}
0240:addtask do_populate_sysroot_setscene
0241:
0242:
File: '/opt/pkg/petalinux/components/yocto/source/arm/layers/core/meta/classes/sstate.bbclass', lineno: 659, function: sstate_setscene
0655: break
0656:
0657:def sstate_setscene(d):
0658: shared_state = sstate_state_fromvars(d)
*** 0659: accelerate = sstate_installpkg(shared_state, d)
0660: if not accelerate:
0661: bb.fatal("No suitable staging package found")
0662:
0663:python sstate_task_prefunc () {
File: '/opt/pkg/petalinux/components/yocto/source/arm/layers/core/meta/classes/sstate.bbclass', lineno: 327, function: sstate_installpkg
0323: bb.build.exec_func(f, d, (sstateinst,))
0324:
0325: for state in ss['dirs']:
0326: prepdir(state[1])
*** 0327: os.rename(sstateinst + state[0], state[1])
0328: sstate_install(ss, d)
0329:
0330: for plain in ss['plaindirs']:
0331: workdir = d.getVar('WORKDIR', True)
Exception: FileNotFoundError: [Errno 2] No such file or directory: '/home/mauro/Projects/Petalinux-Arty-Z7-20/Arty-Z7-20/build/tmp/work/cortexa9hf-neon-xilinx-linux-gnueabi/pkgconfig/0.29.1+gitAUTOINC+87152c05be-r0/sstate-install-populate_sysroot/sysroot-destdir' -> '/home/mauro/Projects/Petalinux-Arty-Z7-20/Arty-Z7-20/build/tmp/work/cortexa9hf-neon-xilinx-linux-gnueabi/pkgconfig/0.29.1+gitAUTOINC+87152c05be-r0/sysroot-destdir'
WARNING: Logfile for failed setscene task is /home/mauro/Projects/Petalinux-Arty-Z7-20/Arty-Z7-20/build/tmp/work/cortexa9hf-neon-xilinx-linux-gnueabi/pkgconfig/0.29.1+gitAUTOINC+87152c05be-r0/temp/log.do_populate_sysroot_setscene.4795
WARNING: Setscene task (/opt/pkg/petalinux/components/yocto/source/arm/layers/core/meta/recipes-devtools/pkgconfig/pkgconfig_git.bb:do_populate_sysroot_setscene) failed with exit code '1' - real task will be run instead
Question
MauroChimenti
Hello,
I have a problem quite similar to the one discussed in "Petalinux-Zybo-Z7-20 project doesn't build".
I followed exactly all suggestions posted here and inside the Xilinx documentation, in brief:
All libraries are been installed, bash as shell, a brand new 16.04.3 LTS ubuntu (even tried twice to be sure) .
I tried to create the project by the BSP and/or cloning the repo.
I even tried the suggestion posted in "Petalinux-Zybo-Z7-20 project doesn't build", but nothing is changed.
I have errors and fetches failures:
Many like these ones:
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
ERROR: pkgconfig-0.29.1+gitAUTOINC+87152c05be-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: '/opt/pkg/petalinux/components/yocto/source/arm/layers/core/meta/classes/staging.bbclass', lineno: 238, function: do_populate_sysroot_setscene
0234:do_populate_sysroot[sstate-outputdirs] = "${STAGING_DIR_HOST}/"
0235:do_populate_sysroot[stamp-extra-info] = "${MACHINE}"
0236:
0237:python do_populate_sysroot_setscene () {
*** 0238: sstate_setscene(d)
0239:}
0240:addtask do_populate_sysroot_setscene
0241:
0242:
File: '/opt/pkg/petalinux/components/yocto/source/arm/layers/core/meta/classes/sstate.bbclass', lineno: 659, function: sstate_setscene
0655: break
0656:
0657:def sstate_setscene(d):
0658: shared_state = sstate_state_fromvars(d)
*** 0659: accelerate = sstate_installpkg(shared_state, d)
0660: if not accelerate:
0661: bb.fatal("No suitable staging package found")
0662:
0663:python sstate_task_prefunc () {
File: '/opt/pkg/petalinux/components/yocto/source/arm/layers/core/meta/classes/sstate.bbclass', lineno: 327, function: sstate_installpkg
0323: bb.build.exec_func(f, d, (sstateinst,))
0324:
0325: for state in ss['dirs']:
0326: prepdir(state[1])
*** 0327: os.rename(sstateinst + state[0], state[1])
0328: sstate_install(ss, d)
0329:
0330: for plain in ss['plaindirs']:
0331: workdir = d.getVar('WORKDIR', True)
Exception: FileNotFoundError: [Errno 2] No such file or directory: '/home/mauro/Projects/Petalinux-Arty-Z7-20/Arty-Z7-20/build/tmp/work/cortexa9hf-neon-xilinx-linux-gnueabi/pkgconfig/0.29.1+gitAUTOINC+87152c05be-r0/sstate-install-populate_sysroot/sysroot-destdir' -> '/home/mauro/Projects/Petalinux-Arty-Z7-20/Arty-Z7-20/build/tmp/work/cortexa9hf-neon-xilinx-linux-gnueabi/pkgconfig/0.29.1+gitAUTOINC+87152c05be-r0/sysroot-destdir'
WARNING: Logfile for failed setscene task is /home/mauro/Projects/Petalinux-Arty-Z7-20/Arty-Z7-20/build/tmp/work/cortexa9hf-neon-xilinx-linux-gnueabi/pkgconfig/0.29.1+gitAUTOINC+87152c05be-r0/temp/log.do_populate_sysroot_setscene.4795
WARNING: Setscene task (/opt/pkg/petalinux/components/yocto/source/arm/layers/core/meta/recipes-devtools/pkgconfig/pkgconfig_git.bb:do_populate_sysroot_setscene) failed with exit code '1' - real task will be run instead
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
and some fetch failures:
NOTE: Tasks Summary: Attempted 960 tasks of which 955 didn't need to be rerun and 4 failed.
Summary: 4 tasks failed:
/home/mauro/Projects/Petalinux-Arty-Z7-20/Arty-Z7-20/project-spec/meta-user/recipes-apps/digilent-apps/libgpio/libgpio.bb:do_fetch
/home/mauro/Projects/Petalinux-Arty-Z7-20/Arty-Z7-20/project-spec/meta-user/recipes-apps/digilent-apps/libuio/libuio.bb:do_fetch
/home/mauro/Projects/Petalinux-Arty-Z7-20/Arty-Z7-20/project-spec/meta-user/recipes-apps/digilent-apps/libpwm/libpwm.bb:do_fetch
/opt/pkg/petalinux/components/yocto/source/arm/layers/meta-linaro-toolchain/recipes-devtools/gcc/gcc-source_linaro-6.2.bb:do_fetch
Summary: There were 5 WARNING messages shown.
Summary: There were 60 ERROR messages shown, returning a non-zero exit code.
ERROR: Failed to build project
---------------------------------------------------------------------------------------
for last ones i tried to change the git configuration for https but nothing in changed..
Anyone can help me? I spent an entire day trying anything ... I'm quite desperate
Link to comment
Share on other sites
12 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.