Bitbake build fails because of a python function
Hello guys. I am brand new to yocto and bitbake and I am looking for any help/advice/hints I can get. I have inherited someone else's code for building yocto project images, but the bitbake fails with the following error:
ERROR: perl-5.30.1-r0 do_package_write_rpm: Error executing a python function in exec_func_python()
autogenerated:The stack trace of python calls that resulted in this exception/failure was: File: 'exec_func_python() autogenerated', lineno: 2, function: <module> 0001: ***
0002:do_package_rpm(d)
0003:
File: '/srv/yocto/poky/meta/classes/package_rpm.bbclass', lineno: 712, function: do_package_rpm
0708:
0709: # Build the rpm package!
0710: d.setVar('BUILDSPEC', cmd + \"\\n\" + cleanupcmd + \"\\n\")
0711: d.setVarFlag('BUILDSPEC', 'func', '1')
0712: bb.build.exec_func('BUILDSPEC', d) 0713:
0714: if d.getVar('RPM_SIGN_PACKAGES') == '1':
0715: bb.build.exec_func(\"sign_rpm\", d)
0716:}
File: '/srv/yocto/poky/bitbake/lib/bb/build.py', lineno: 254, function: exec_func
0250: with bb.utils.fileslocked(lockfiles):
0251: if ispython:
0252: exec_func_python(func, d, runfile, cwd=adir)
0253: else: ***
0254: exec_func_shell(func, d, runfile, cwd=adir)
0255:
0256: try:
0257: curcwd = os.getcwd()
0258: except:
File: '/srv/yocto/poky/bitbake/lib/bb/build.py', lineno: 455, function: exec_func_shell
0451: with open(fifopath, 'r+b', buffering=0) as fifo:
0452: try:
0453: bb.debug(2, \"Executing shell function %s\" % func)
0454: with open(os.devnull, 'r+') as stdin, logfile: ***
0455: bb.process.run(cmd, shell=False, stdin=stdin, log=logfile, extrafiles=[(fifo,readfifo)])
0456: finally:
0457: os.unlink(fifopath)
0458:
0459: bb.debug(2, \"Shell function %s finished\" % func)
File: '/srv/yocto/poky/bitbake/lib/bb/process.py', lineno: 184, function: run 0180:
0181: if pipe.returncode != 0:
0182: if log:
0183: # Don't duplicate the output in the exception if logging it ***
0184: raise ExecutionError(cmd, pipe.returncode, None, None)
0185: raise ExecutionError(cmd, pipe.returncode, stdout, stderr)
0186: return stdout, stderr Exception: bb.process.ExecutionError: Execution of '/srv/yocto/build/tmp/work/corei7-64-poky-linux/perl/5.30.1-r0/temp/run.BUILDSPEC.35372' failed with exit code 1 Would anyone be able to point me in the right direction as to what could be potentially causing this issue?
Thanks in advance,
Maksym
It's hard to say if we can't replicate the issue. Check /srv/yocto/build/tmp/work/corei7-64-poky-linux/perl/5.30.1-r0/temp/log.do_package_write_rpm, it might have useful debugging info.
Alex
Quoted 65 lines · Maksym Iliev via lists.yoctoproject.org
Hello guys. I am brand new to yocto and bitbake and I am looking for any help/advice/hints I can get. I have inherited someone else's code for building yocto project images, but the bitbake fails with the following error:
ERROR: perl-5.30.1-r0
do_package_write_rpm: Error executing a python function inexec_func_python()
autogenerated:The stack trace of python calls that resulted in this exception/failure was: File: 'exec_func_python()autogenerated', lineno: 2, function: <module> 0001: ***
0002:do_package_rpm(d)
0003:
File: '/srv/yocto/poky/meta/classes/package_rpm.bbclass', lineno: 712, function:do_package_rpm
0708:0709: # Build the rpm package! 0710: d.setVar('BUILDSPEC', cmd + \"\\n\" + cleanupcmd + \"\\n\") 0711: d.setVarFlag('BUILDSPEC', 'func', '1') 0712: bb.build.exec_func('BUILDSPEC', d)0713:
0714: ifd.getVar('RPM_SIGN_PACKAGES')== '1':
0715:bb.build.exec_func(\"sign_rpm\", d)
0716:}
File: '/srv/yocto/poky/bitbake/lib/bb/build.py', lineno: 254, function:exec_func
0250: withbb.utils.fileslocked(lockfiles):
0251: if ispython:
0252:exec_func_python(func, d, runfile, cwd=adir)
0253: else: ***
0254:exec_func_shell(func, d, runfile, cwd=adir)
0255:
0256: try:
0257: curcwd =os.getcwd()
0258: except:
File: '/srv/yocto/poky/bitbake/lib/bb/build.py', lineno: 455, function:exec_func_shell
0451: withopen(fifopath, 'r+b', buffering=0)as fifo:
0452: try:
0453:bb.debug(2, \"Executing shell function %s\" % func)
0454: withopen(os.devnull, 'r+')as stdin, logfile: ***
0455:bb.process.run(cmd, shell=False, stdin=stdin, log=logfile, extrafiles=[(fifo,readfifo)])
0456: finally:
0457:os.unlink(fifopath)
0458:
0459:bb.debug(2, \"Shell function %s finished\" % func)
File: '/srv/yocto/poky/bitbake/lib/bb/process.py', lineno: 184, function: run 0180:
0181: if pipe.returncode != 0:
0182: if log:
0183: # Don't duplicate the output in the exception if logging it ***
0184: raiseExecutionError(cmd, pipe.returncode, None, None)
0185: raiseExecutionError(cmd, pipe.returncode, stdout, stderr)
0186: return stdout, stderr Exception: bb.process.ExecutionError: Execution of '/srv/yocto/build/tmp/work/corei7-64-poky-linux/perl/5.30.1-r0/temp/run.BUILDSPEC.35372' failed with exit code 1Would anyone be able to point me in the right direction as to what could be potentially causing this issue?
Thanks in advance,
Maksym
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#55234):
https://lists.yoctoproject.org/g/yocto/message/55234
Mute This Topic: https://lists.yoctoproject.org/mt/86801772/1686489
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [ [email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Dear Alexander,
Thanks a lot for responding. I've attached the log file.
The only valuable info I could find is the following piece at the end of the log file. Could that be a potential cause for failures?
Deprecated external dependency generator is used!
create archive failed: cpio: write
WARNING: exit code 1 from a shell command.
Thanks in advance,
Maksym
From: Alexander Kanavin<mailto:[email protected]>
Sent: November 3, 2021 4:48 PM
To: Maksym Iliev<mailto:[email protected]>
Cc: Yocto-mailing-list<mailto:[email protected]>
Subject: Re: [yocto] Bitbake build fails because of a python function
You don't often get email from [email protected]. Learn why this is important<http://aka.ms/LearnAboutSenderIdentification>
It's hard to say if we can't replicate the issue. Check /srv/yocto/build/tmp/work/corei7-64-poky-linux/perl/5.30.1-r0/temp/log.do_package_write_rpm, it might have useful debugging info.
Alex
On Wed, 3 Nov 2021 at 21:45, Maksym Iliev via lists.yoctoproject.org<https://nam02.safelinks.protection.outlook.com/?url=http%3A%2F%2Flists.yoctoproject.org%2F&data=04%7C01%7Cmaksym.iliev%40litmus.io%7Cef75bd7ac82f48f4070308d99f0b38cd%7Cf58c63520fff4b5da30b2938e0f46152%7C1%7C0%7C637715692846392465%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=Kap99SjWfygE8OmeZ%2FWBrzj5bcA98BoU5iOxSZXtcbc%3D&reserved=0> <[email protected]<mailto:[email protected]>> wrote:
Hello guys. I am brand new to yocto and bitbake and I am looking for any help/advice/hints I can get. I have inherited someone else's code for building yocto project images, but the bitbake fails with the following error:
ERROR: perl-5.30.1-r0 do_package_write_rpm: Error executing a python function in exec_func_python()
autogenerated:The stack trace of python calls that resulted in this exception/failure was: File: 'exec_func_python() autogenerated', lineno: 2, function: <module>
0001: ***
0002:do_package_rpm(d)
0003:
File: '/srv/yocto/poky/meta/classes/package_rpm.bbclass', lineno: 712, function: do_package_rpm
0708:
0709: # Build the rpm package!
0710: d.setVar('BUILDSPEC', cmd + \"\\n\" + cleanupcmd + \"\\n\")
0711: d.setVarFlag('BUILDSPEC', 'func', '1')
0712: bb.build.exec_func('BUILDSPEC', d)
0713:
0714: if d.getVar('RPM_SIGN_PACKAGES') == '1':
0715: bb.build.exec_func(\"sign_rpm\", d)
0716:}
File: '/srv/yocto/poky/bitbake/lib/bb/build.py', lineno: 254, function: exec_func
0250: with bb.utils.fileslocked(lockfiles):
0251: if ispython:
0252: exec_func_python(func, d, runfile, cwd=adir)
0253: else: ***
0254: exec_func_shell(func, d, runfile, cwd=adir)
0255:
0256: try:
0257: curcwd = os.getcwd()
0258: except:
File: '/srv/yocto/poky/bitbake/lib/bb/build.py', lineno: 455, function: exec_func_shell
0451: with open(fifopath, 'r+b', buffering=0) as fifo:
0452: try:
0453: bb.debug(2, \"Executing shell function %s\" % func)
0454: with open(os.devnull, 'r+') as stdin, logfile: ***
0455: bb.process.run(cmd, shell=False, stdin=stdin, log=logfile, extrafiles=[(fifo,readfifo)])
0456: finally:
0457: os.unlink(fifopath)
0458:
0459: bb.debug(2, \"Shell function %s finished\" % func)
File: '/srv/yocto/poky/bitbake/lib/bb/process.py', lineno: 184, function: run
0180:
0181: if pipe.returncode != 0:
0182: if log:
0183: # Don't duplicate the output in the exception if logging it ***
0184: raise ExecutionError(cmd, pipe.returncode, None, None)
0185: raise ExecutionError(cmd, pipe.returncode, stdout, stderr)
0186: return stdout, stderr Exception: bb.process.ExecutionError: Execution of '/srv/yocto/build/tmp/work/corei7-64-poky-linux/perl/5.30.1-r0/temp/run.BUILDSPEC.35372' failed with exit code 1
Would anyone be able to point me in the right direction as to what could be potentially causing this issue?
Thanks in advance,
Maksym
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#55234): https://lists.yoctoproject.org/g/yocto/message/55234<https://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.yoctoproject.org%2Fg%2Fyocto%2Fmessage%2F55234&data=04%7C01%7Cmaksym.iliev%40litmus.io%7Cef75bd7ac82f48f4070308d99f0b38cd%7Cf58c63520fff4b5da30b2938e0f46152%7C1%7C0%7C637715692846402431%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=85hvSIA0P8bUR%2FCwVB0iwtgxzNL6M4nQeLlkpwRaVTE%3D&reserved=0>
Mute This Topic: https://lists.yoctoproject.org/mt/86801772/1686489<https://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.yoctoproject.org%2Fmt%2F86801772%2F1686489&data=04%7C01%7Cmaksym.iliev%40litmus.io%7Cef75bd7ac82f48f4070308d99f0b38cd%7Cf58c63520fff4b5da30b2938e0f46152%7C1%7C0%7C637715692846402431%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=xbpoktCxbLmI7ttDLzpUcrMsbcm%2B%2BNW8rUW2yWJQOH8%3D&reserved=0>
Group Owner: [email protected]<mailto:yocto%[email protected]>
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub<https://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.yoctoproject.org%2Fg%2Fyocto%2Funsub&data=04%7C01%7Cmaksym.iliev%40litmus.io%7Cef75bd7ac82f48f4070308d99f0b38cd%7Cf58c63520fff4b5da30b2938e0f46152%7C1%7C0%7C637715692846412388%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=6Q3koti49D8YfeST6nWO4FiSz8zdr7iKhybrHU5bmFA%3D&reserved=0> [[email protected]<mailto:[email protected]>]
-=-=-=-=-=-=-=-=-=-=-=-
Just wondering, what it /srv/yocto? Can you build in your $HOME?
Otherwise, you can run bitbake under 'strace -ff -o strace-log ...' and try to check exactly what syscall causes cpio to fail.
Alex
Quoted 156 lines · Maksym Iliev
Dear Alexander,
Thanks a lot for responding. I've attached the log file.
The only valuable info I could find is the following piece at the end of the log file. Could that be a potential cause for failures? Deprecated external dependency generator is used! create archive failed:
cpio: write WARNING: exit code 1 from a shell command.Thanks in advance,
Maksym
*From: *Alexander Kanavin <[email protected]>
*Sent: *November 3, 2021 4:48 PM
*To: *Maksym Iliev <[email protected]>
*Cc: *Yocto-mailing-list <[email protected]> *Subject: *Re: [yocto] Bitbake build fails because of a python functionYou don't often get email from [email protected]. Learn why this is important <http://aka.ms/LearnAboutSenderIdentification>
It's hard to say if we can't replicate the issue. Check
/srv/yocto/build/tmp/work/corei7-64-poky-linux/perl/5.30.1-r0/temp/log.do_package_write_rpm, it might have useful debugging info.Alex
On Wed, 3 Nov 2021 at 21:45, Maksym Iliev via lists.yoctoproject.org
<https://nam02.safelinks.protection.outlook.com/?url=http%3A%2F%2Flists.yoctoproject.org%2F&data=04%7C01%7Cmaksym.iliev%40litmus.io%7Cef75bd7ac82f48f4070308d99f0b38cd%7Cf58c63520fff4b5da30b2938e0f46152%7C1%7C0%7C637715692846392465%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=Kap99SjWfygE8OmeZ%2FWBrzj5bcA98BoU5iOxSZXtcbc%3D&reserved=0>
<[email protected]> wrote:Hello guys. I am brand new to yocto and bitbake and I am looking for any help/advice/hints I can get. I have inherited someone else's code for building yocto project images, but the bitbake fails with the following error:
ERROR: perl-5.30.1-r0
do_package_write_rpm: Error executing a python function inexec_func_python()autogenerated:The stack trace of python calls that resulted in this exception/failure was: File: '
exec_func_python()autogenerated', lineno: 2, function: <module>0001: ***
0002:do_package_rpm(d)
0003:
File: '
/srv/yocto/poky/meta/classes/package_rpm.bbclass', lineno: 712, function:do_package_rpm0708:
0709: # Build the rpm package!
0710:
d.setVar('BUILDSPEC', cmd + \"\\n\" + cleanupcmd + \"\\n\")0711:
d.setVarFlag('BUILDSPEC', 'func', '1')0712:
bb.build.exec_func('BUILDSPEC', d)0713:
0714: if
d.getVar('RPM_SIGN_PACKAGES')== '1':0715:
bb.build.exec_func(\"sign_rpm\", d)0716:}
File: '
/srv/yocto/poky/bitbake/lib/bb/build.py', lineno: 254, function:exec_func0250: with
bb.utils.fileslocked(lockfiles):0251: if ispython:
0252:
exec_func_python(func, d, runfile, cwd=adir)0253: else: ***
0254:
exec_func_shell(func, d, runfile, cwd=adir)0255:
0256: try:
0257: curcwd =
os.getcwd()0258: except:
File: '
/srv/yocto/poky/bitbake/lib/bb/build.py', lineno: 455, function:exec_func_shell0451: with
open(fifopath, 'r+b', buffering=0)as fifo:0452: try:
0453:
bb.debug(2, \"Executing shell function %s\" % func)0454: with
open(os.devnull, 'r+')as stdin, logfile: ***0455:
bb.process.run(cmd, shell=False, stdin=stdin, log=logfile, extrafiles=[(fifo,readfifo)])0456: finally:
0457:
os.unlink(fifopath)0458:
0459:
bb.debug(2, \"Shell function %s finished\" % func)File: '
/srv/yocto/poky/bitbake/lib/bb/process.py', lineno: 184, function: run0180:
0181: if pipe.returncode != 0:
0182: if log:
0183: # Don't duplicate the output in the exception if logging it ***
0184: raise
ExecutionError(cmd, pipe.returncode, None, None)0185: raise
ExecutionError(cmd, pipe.returncode, stdout, stderr)0186: return stdout, stderr Exception: bb.process.ExecutionError: Execution of '
/srv/yocto/build/tmp/work/corei7-64-poky-linux/perl/5.30.1-r0/temp/run.BUILDSPEC.35372' failed with exit code 1Would anyone be able to point me in the right direction as to what could be potentially causing this issue?
Thanks in advance,
Maksym
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#55234):
https://lists.yoctoproject.org/g/yocto/message/55234
<https://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.yoctoproject.org%2Fg%2Fyocto%2Fmessage%2F55234&data=04%7C01%7Cmaksym.iliev%40litmus.io%7Cef75bd7ac82f48f4070308d99f0b38cd%7Cf58c63520fff4b5da30b2938e0f46152%7C1%7C0%7C637715692846402431%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=85hvSIA0P8bUR%2FCwVB0iwtgxzNL6M4nQeLlkpwRaVTE%3D&reserved=0>
Mute This Topic: https://lists.yoctoproject.org/mt/86801772/1686489
<https://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.yoctoproject.org%2Fmt%2F86801772%2F1686489&data=04%7C01%7Cmaksym.iliev%40litmus.io%7Cef75bd7ac82f48f4070308d99f0b38cd%7Cf58c63520fff4b5da30b2938e0f46152%7C1%7C0%7C637715692846402431%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=xbpoktCxbLmI7ttDLzpUcrMsbcm%2B%2BNW8rUW2yWJQOH8%3D&reserved=0>
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub
<https://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.yoctoproject.org%2Fg%2Fyocto%2Funsub&data=04%7C01%7Cmaksym.iliev%40litmus.io%7Cef75bd7ac82f48f4070308d99f0b38cd%7Cf58c63520fff4b5da30b2938e0f46152%7C1%7C0%7C637715692846412388%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=6Q3koti49D8YfeST6nWO4FiSz8zdr7iKhybrHU5bmFA%3D&reserved=0>
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Dear Alexander,
The reason for running it in /srv/yocto is because this directory uses NFS caching. I will look into the possibility of running the build in $HOME instead.
I have also ran the strace command but it produces way too much output. I will do my best to sort through it and report back.
Regards,
Maksym
From: Alexander Kanavin<mailto:[email protected]>
Sent: November 4, 2021 4:03 PM
To: Maksym Iliev<mailto:[email protected]>
Cc: Yocto-mailing-list<mailto:[email protected]>
Subject: Re: [yocto] Bitbake build fails because of a python function
You don't often get email from [email protected]. Learn why this is important<http://aka.ms/LearnAboutSenderIdentification> Just wondering, what it /srv/yocto? Can you build in your $HOME?
Otherwise, you can run bitbake under 'strace -ff -o strace-log ...' and try to check exactly what syscall causes cpio to fail.
Alex
On Thu, 4 Nov 2021 at 20:44, Maksym Iliev <[email protected]<mailto:[email protected]>> wrote:
Dear Alexander,
Thanks a lot for responding. I've attached the log file.
The only valuable info I could find is the following piece at the end of the log file. Could that be a potential cause for failures?
Deprecated external dependency generator is used!
create archive failed: cpio: write
WARNING: exit code 1 from a shell command.
Thanks in advance,
Maksym
From: Alexander Kanavin<mailto:[email protected]>
Sent: November 3, 2021 4:48 PM
To: Maksym Iliev<mailto:[email protected]>
Cc: Yocto-mailing-list<mailto:[email protected]>
Subject: Re: [yocto] Bitbake build fails because of a python function
You don't often get email from [email protected]<mailto:[email protected]>. Learn why this is important<http://aka.ms/LearnAboutSenderIdentification> It's hard to say if we can't replicate the issue. Check /srv/yocto/build/tmp/work/corei7-64-poky-linux/perl/5.30.1-r0/temp/log.do_package_write_rpm, it might have useful debugging info.
Alex
On Wed, 3 Nov 2021 at 21:45, Maksym Iliev via lists.yoctoproject.org<https://nam02.safelinks.protection.outlook.com/?url=http%3A%2F%2Flists.yoctoproject.org%2F&data=04%7C01%7Cmaksym.iliev%40litmus.io%7C72598081821c426e70dd08d99fce2ef9%7Cf58c63520fff4b5da30b2938e0f46152%7C1%7C0%7C637716530204329926%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=nKoeCE%2FHySaxL0ZAkyRz455SVLDyUZSHjmQs3CnouY4%3D&reserved=0> <[email protected]<mailto:[email protected]>> wrote:
Hello guys. I am brand new to yocto and bitbake and I am looking for any help/advice/hints I can get. I have inherited someone else's code for building yocto project images, but the bitbake fails with the following error:
ERROR: perl-5.30.1-r0 do_package_write_rpm: Error executing a python function in exec_func_python()
autogenerated:The stack trace of python calls that resulted in this exception/failure was: File: 'exec_func_python() autogenerated', lineno: 2, function: <module>
0001: ***
0002:do_package_rpm(d)
0003:
File: '/srv/yocto/poky/meta/classes/package_rpm.bbclass', lineno: 712, function: do_package_rpm
0708:
0709: # Build the rpm package!
0710: d.setVar('BUILDSPEC', cmd + \"\\n\" + cleanupcmd + \"\\n\")
0711: d.setVarFlag('BUILDSPEC', 'func', '1')
0712: bb.build.exec_func('BUILDSPEC', d)
0713:
0714: if d.getVar('RPM_SIGN_PACKAGES') == '1':
0715: bb.build.exec_func(\"sign_rpm\", d)
0716:}
File: '/srv/yocto/poky/bitbake/lib/bb/build.py', lineno: 254, function: exec_func
0250: with bb.utils.fileslocked(lockfiles):
0251: if ispython:
0252: exec_func_python(func, d, runfile, cwd=adir)
0253: else: ***
0254: exec_func_shell(func, d, runfile, cwd=adir)
0255:
0256: try:
0257: curcwd = os.getcwd()
0258: except:
File: '/srv/yocto/poky/bitbake/lib/bb/build.py', lineno: 455, function: exec_func_shell
0451: with open(fifopath, 'r+b', buffering=0) as fifo:
0452: try:
0453: bb.debug(2, \"Executing shell function %s\" % func)
0454: with open(os.devnull, 'r+') as stdin, logfile: ***
0455: bb.process.run(cmd, shell=False, stdin=stdin, log=logfile, extrafiles=[(fifo,readfifo)])
0456: finally:
0457: os.unlink(fifopath)
0458:
0459: bb.debug(2, \"Shell function %s finished\" % func)
File: '/srv/yocto/poky/bitbake/lib/bb/process.py', lineno: 184, function: run
0180:
0181: if pipe.returncode != 0:
0182: if log:
0183: # Don't duplicate the output in the exception if logging it ***
0184: raise ExecutionError(cmd, pipe.returncode, None, None)
0185: raise ExecutionError(cmd, pipe.returncode, stdout, stderr)
0186: return stdout, stderr Exception: bb.process.ExecutionError: Execution of '/srv/yocto/build/tmp/work/corei7-64-poky-linux/perl/5.30.1-r0/temp/run.BUILDSPEC.35372' failed with exit code 1
Would anyone be able to point me in the right direction as to what could be potentially causing this issue?
Thanks in advance,
Maksym
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#55234): https://lists.yoctoproject.org/g/yocto/message/55234<https://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.yoctoproject.org%2Fg%2Fyocto%2Fmessage%2F55234&data=04%7C01%7Cmaksym.iliev%40litmus.io%7C72598081821c426e70dd08d99fce2ef9%7Cf58c63520fff4b5da30b2938e0f46152%7C1%7C0%7C637716530204339882%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=IVVJ1N9850RSQEZHn3u%2FhN2pki2ZzE4BTYYJDnHxSvI%3D&reserved=0>
Mute This Topic: https://lists.yoctoproject.org/mt/86801772/1686489<https://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.yoctoproject.org%2Fmt%2F86801772%2F1686489&data=04%7C01%7Cmaksym.iliev%40litmus.io%7C72598081821c426e70dd08d99fce2ef9%7Cf58c63520fff4b5da30b2938e0f46152%7C1%7C0%7C637716530204349839%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=LYpXeaKrpXQyePbVS5VJ0MXyM2zFuyhsVAM3RME15TE%3D&reserved=0>
Group Owner: [email protected]<mailto:yocto%[email protected]>
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub<https://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.yoctoproject.org%2Fg%2Fyocto%2Funsub&data=04%7C01%7Cmaksym.iliev%40litmus.io%7C72598081821c426e70dd08d99fce2ef9%7Cf58c63520fff4b5da30b2938e0f46152%7C1%7C0%7C637716530204349839%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=ubSBrD2vsrUxAi4Awa9QJmxR15Eco1o0pE6GbitPoZI%3D&reserved=0> [[email protected]<mailto:[email protected]>]
-=-=-=-=-=-=-=-=-=-=-=-