On 21.11.22 23:35, Marco Barletta wrote:
> Dear all;
> I tried to use the repo Jailhouse of demo images for building a QEMU
> target (x86), as I did a few months ago. But something has broken. First
> of all the SRC_URI in jailhouse.inc is a git:// URI, deprecated by
> github (afaik). I replaced the URI with https and fixed it.
> However the build fails with the following log erorr (with the flag last
> version of jailhouse either enabled or not):
> 
> ERROR: mc:qemu-amd64-jailhouse-demo:jailhouse-jailhouse-0.9999-next-r0
> do_prepare_build: Execution of
> '/build/tmp/work/jailhouse-demo-amd64/jailhouse-jailhouse/0.9999-next-r0/temp/run.do_prepare_build.72'
>  failed with exit code 1:
> cp: cannot create regular file
> '/build/tmp/work/jailhouse-demo-amd64/jailhouse-jailhouse/0.9999-next-r0/git/configs/x86/':
>  No such file or directory
> WARNING: exit code 1 from a shell command.
> 
> ERROR: Logfile of failure stored in:
> /build/tmp/work/jailhouse-demo-amd64/jailhouse-jailhouse/0.9999-next-r0/temp/log.do_prepare_build.72
> Log data follows:
> | DEBUG: Executing shell function do_prepare_build
> | cp: cannot create regular file
> '/build/tmp/work/jailhouse-demo-amd64/jailhouse-jailhouse/0.9999-next-r0/git/configs/x86/':
>  No such file or directory
> | WARNING: exit code 1 from a shell command.
> | ERROR: Execution of
> '/build/tmp/work/jailhouse-demo-amd64/jailhouse-jailhouse/0.9999-next-r0/temp/run.do_prepare_build.72'
>  failed with exit code 1:
> | cp: cannot create regular file
> '/build/tmp/work/jailhouse-demo-amd64/jailhouse-jailhouse/0.9999-next-r0/git/configs/x86/':
>  No such file or directory
> | WARNING: exit code 1 from a shell command.
> |
> ERROR: Task
> (mc:qemu-amd64-jailhouse-demo:/repo/recipes-jailhouse/jailhouse/jailhouse_latest.bb:do_prepare_build)
>  failed with exit code '1'
> 
> I am running kas-container on a manjaro system,  kernel v5.10.151,
> x86-64 arch. The ARM64 image is broken as well.
> 
> Do you have any clue on how to fix this? We have plenty of students
> relying on the repo for projects at our course, it would be great having
> a quickstart for JH.
> 

I'm on it. Part of the solution (not for build errors, though) are the
Jailhouse patches [1] I just sent.

Jan

[1] https://groups.google.com/g/jailhouse-dev/c/aKT7L2Hs6Ow/m/d8BzplwsCAAJ

-- 
Siemens AG, Technology
Competence Center Embedded Linux

-- 
You received this message because you are subscribed to the Google Groups 
"Jailhouse" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jailhouse-dev/6bd62bc6-479f-314b-9cdc-d85bfd80a2ba%40siemens.com.

Reply via email to