Rainer Urian Posted April 10, 2017 Share Posted April 10, 2017 Hi, I am using Petalinux 2016.4 on Ubuntu 16.04. When I use Petalinux-build I get a list of errors, all similar to the following excerpt: ERROR: u-boot-xlnx-v2016.07-xilinx+gitAUTOINC+0b94ce5ed4-r0 do_package_write_rpm_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_package_write_rpm_setscene(d) 0003: File: '/opt/Xilinx/petalinux/2016.4/components/yocto/source/arm/layers/poky/meta/classes/package_rpm.bbclass', lineno: 757, function: do_package_write_rpm_setscene 0753:# but we need to stop the rootfs/solver from running while we do... 0754:do_package_write_rpm[sstate-lockfile-shared] += "${DEPLOY_DIR_RPM}/rpm.lock" 0755: 0756:python do_package_write_rpm_setscene () { *** 0757: sstate_setscene(d) 0758:} 0759:addtask do_package_write_rpm_setscene 0760: 0761:python do_package_write_rpm () { File: '/opt/Xilinx/petalinux/2016.4/components/yocto/source/arm/layers/poky/meta/classes/sstate.bbclass', lineno: 648, function: sstate_setscene 0644: break 0645: 0646:def sstate_setscene(d): 0647: shared_state = sstate_state_fromvars(d) *** 0648: accelerate = sstate_installpkg(shared_state, d) 0649: if not accelerate: 0650: raise bb.build.FuncFailed("No suitable staging package found") 0651: 0652:python sstate_task_prefunc () { File: '/opt/Xilinx/petalinux/2016.4/components/yocto/source/arm/layers/poky/meta/classes/sstate.bbclass', lineno: 319, function: sstate_installpkg 0315: bb.build.exec_func(f, d, (sstateinst,)) 0316: 0317: for state in ss['dirs']: 0318: prepdir(state[1]) *** 0319: os.rename(sstateinst + state[0], state[1]) 0320: sstate_install(ss, d) 0321: 0322: for plain in ss['plaindirs']: 0323: workdir = d.getVar('WORKDIR', True) Exception: OSError: [Errno 2] No such file or directory Does anyone have an idea what could cause that problem? Some hints on how to debug that problem would also be very helpful. Thank you, Rainer Link to comment Share on other sites More sharing options...
jpeyron Posted April 11, 2017 Share Posted April 11, 2017 Hi @Rainer Urian, Unfortunately, you will need to wait until next week for a response from an engineer that is more experienced in embedded linux. He is out of the office with little to no internet this week. Sorry for the inconvenience. thank you, Jon Link to comment Share on other sites More sharing options...
Rainer Urian Posted April 11, 2017 Author Share Posted April 11, 2017 After hours of debugging and reconfiguration and nearly killing my Ubuntu Linux system, I finally spotted the problem: When doing a virgin clean creation with petalinux-create --template zynq and a petalinux-config the following fields in "Yocto Settings " are automatically filled by the petalinux toolchain: Enable Network sstate feeds (NEW) = TRUE Network sstate feeds URL ---> │http://petalinux.xilinx.com/sswreleases/rel-v2016.4/arm/sstate-cache Unfortunately, the mentioned URL no longer exists and this is presumably the root cause of my error. By setting Enable Network sstate feeds (NEW) = FALSE , the error disappeared. Link to comment Share on other sites More sharing options...
jpeyron Posted April 11, 2017 Share Posted April 11, 2017 Hi @Rainer Urian, Glad to hear you were able to figure out and fix your issue. Thank you for posting what you figured out! cheers, Jon Link to comment Share on other sites More sharing options...
Question
Rainer Urian
Hi,
I am using Petalinux 2016.4 on Ubuntu 16.04.
When I use Petalinux-build I get a list of errors, all similar to the following excerpt:
Does anyone have an idea what could cause that problem?
Some hints on how to debug that problem would also be very helpful.
Thank you,
Rainer
Link to comment
Share on other sites
3 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.