| Summary: | Required packages for the build host is not accurate | ||
|---|---|---|---|
| Product: | [Documentation] Reference | Reporter: | Paulo Neves <ptsneves> |
| Component: | handbook | Assignee: | Antonin Godard <antonin.godard> |
| Status: | IN PROGRESS IMPLEMENTATION --- | QA Contact: | |
| Severity: | minor | ||
| Priority: | Medium | CC: | pavel, poky.doc.watcher, poky.watcher, randy.macleod |
| Version: | unspecified | ||
| Target Milestone: | 6.2 M4 | ||
| Hardware: | All | ||
| OS: | Multiple | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | Yes (doc changes required) | |
|
Description
Paulo Neves
2022-08-08 13:39:20 UTC
Will test which requirements are still necessary. We are supposed to include packages that we need to run QEMU. xterm is probably not necessary any more indeed. Note from Alex Belloni: we build libsdl: # # By default native qemu will build with a builtin VNC server where graphical output can be # seen. The line below enables the SDL UI frontend too. PACKAGECONFIG:append:pn-qemu-system-native = " sdl" # By default libsdl2-native will be built, if you want to use your host's libSDL instead of # the minimal libsdl built by libsdl2-native then uncomment the ASSUME_PROVIDED line below. #ASSUME_PROVIDED += "libsdl2-native" Would be useful to mention which packages are just needed for QEMU. A patch was sent by Jose Neves to remove xterm: https://lists.yoctoproject.org/g/docs/message/3455 Note that SDL host packages are no longer needed to run QEMU, even without the "nographic" option. This was tested on Ubuntu 22.04. Just sent a patch to remove no longer necessary host packages: https://lists.yoctoproject.org/g/docs/message/3895 (In reply to Michael Opdenacker from comment #5) > Note that SDL host packages are no longer needed to run QEMU, even without > the "nographic" option. This was tested on Ubuntu 22.04. I had to install sdl2-image because of: ldd /mnt/builds/viso/builds/build/tmp/work/x86_64-linux/qemu-helper-native/1.0/recipe-sysroot-native/usr/bin/qemu-system-x86_64 libSDL2_image-2.0.so.0 => not found runqemu ovmf slirp kvm nographic tmp/deploy/images/qemudevice/app-image-qemudevice.rootfs.qemuboot.conf runqemu - ERROR - Failed to run qemu: /builds/build/tmp/work/x86_64-linux/qemu-helper-native/1.0/recipe-sysroot-native/usr/bin/qemu-system-x86_64: error while loading shared libraries: libSDL2_image-2.0.so.0: cannot open shared object file: No such file or directory Bulk move of 5.1 M4 to 5.2 M2 as approved by AlexB. Bulk move of bugs I am assigned to from Milestone 5.2M4 to 5.3M1. |