This breaks building the SDK in distributions with INHERIT += "cve-check":

$ bitbake tmp-sdk -c populate_sdk
...
NOTE: Tasks Summary: Attempted 2785 tasks of which 2785 didn't need to be rerun 
and all succeeded.
ERROR: Execution of event handler 'cve_save_summary_handler' failed
Traceback (most recent call last):
  File 
"/home/bunk/yoctomaster/yocto-tmp/sources/poky/meta/classes/cve-check.bbclass", 
line 65, in cve_save_summary_handler(e=<bb.event.BuildCompleted object at 
0x7fcf4e4bada0>):

    >    shutil.copyfile(cve_tmp_file, cve_summary_file)

  File "/usr/lib/python3.6/shutil.py", line 120, in 
copyfile(src='/home/bunk/yoctomaster/yocto-tmp/build_tmp/tmp/cve_check', 
dst='/home/bunk/yoctomaster/yocto-tmp/build_tmp/tmp/log/cve/cve-summary-20200721124814.txt',
 follow_symlinks=True):
         else:
    >        with open(src, 'rb') as fsrc:
                 with open(dst, 'wb') as fdst:
FileNotFoundError: [Errno 2] No such file or directory: 
'/home/bunk/yoctomaster/yocto-tmp/build_tmp/tmp/cve_check'


Summary: There was 1 ERROR message shown, returning a non-zero exit code.
$

cu
Adrian
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#140826): 
https://lists.openembedded.org/g/openembedded-core/message/140826
Mute This Topic: https://lists.openembedded.org/mt/75466539/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to