<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>14873</bug_id>
          
          <creation_ts>2022-08-08 13:39:20 +0000</creation_ts>
          <short_desc>Required packages for the build host is not accurate</short_desc>
          <delta_ts>2026-10-23 08:13:34 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>9</classification_id>
          <classification>Documentation</classification>
          <product>Reference</product>
          <component>handbook</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>IN PROGRESS IMPLEMENTATION</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>minor</bug_severity>
          <target_milestone>6.2 M4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Paulo Neves">ptsneves</reporter>
          <assigned_to name="Antonin Godard">antonin.godard</assigned_to>
          <cc>pavel</cc>
    
    <cc>poky.doc.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>randy.macleod</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Yes (doc changes required)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>93729</commentid>
    <comment_count>0</comment_count>
    <who name="Paulo Neves">ptsneves</who>
    <bug_when>2022-08-08 13:39:20 +0000</bug_when>
    <thetext>The reference manual section for &quot;required packages[1]&quot; has more entries than the ones required. Specifically it includes entries like (iputils-ping, libegl1-mesa libsdl1.2-dev and  mesa-common-dev) which are likely related to running qemu, a process that is not required to build and use the Yocto project.

xterm is also not required for building anymore as well[2].

Finally python3-distutils should be added as per insane check[3].


[1] https://docs.yoctoproject.org/singleindex.html#required-packages-for-the-build-host
[2] https://git.openembedded.org/openembedded-core/commit/?id=ddb825c87dd3e59d50841a993080a00d1459b1e7
[3] https://git.openembedded.org/openembedded-core/commit/?id=d3dfaf8acdb072fb26346d2568c47d8742ea4fed</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>93765</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Opdenacker">michael.opdenacker</who>
    <bug_when>2022-08-11 14:38:22 +0000</bug_when>
    <thetext>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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>93767</commentid>
    <comment_count>2</comment_count>
    <who name="Michael Opdenacker">michael.opdenacker</who>
    <bug_when>2022-08-11 14:39:46 +0000</bug_when>
    <thetext>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 = &quot; sdl&quot;
# By default libsdl2-native will be built, if you want to use your host&apos;s libSDL instead of 
# the minimal libsdl built by libsdl2-native then uncomment the ASSUME_PROVIDED line below.
#ASSUME_PROVIDED += &quot;libsdl2-native&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>93779</commentid>
    <comment_count>3</comment_count>
    <who name="Michael Opdenacker">michael.opdenacker</who>
    <bug_when>2022-08-11 15:06:11 +0000</bug_when>
    <thetext>Would be useful to mention which packages are just needed for QEMU.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>94358</commentid>
    <comment_count>4</comment_count>
    <who name="Michael Opdenacker">michael.opdenacker</who>
    <bug_when>2022-11-03 15:15:01 +0000</bug_when>
    <thetext>A patch was sent by Jose Neves to remove xterm:
https://lists.yoctoproject.org/g/docs/message/3455</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>95489</commentid>
    <comment_count>5</comment_count>
    <who name="Michael Opdenacker">michael.opdenacker</who>
    <bug_when>2023-05-03 08:50:02 +0000</bug_when>
    <thetext>Note that SDL host packages are no longer needed to run QEMU, even without the &quot;nographic&quot; option. This was tested on Ubuntu 22.04.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>95490</commentid>
    <comment_count>6</comment_count>
    <who name="Michael Opdenacker">michael.opdenacker</who>
    <bug_when>2023-05-03 09:03:00 +0000</bug_when>
    <thetext>Just sent a patch to remove no longer necessary host packages:
https://lists.yoctoproject.org/g/docs/message/3895</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>99264</commentid>
    <comment_count>7</comment_count>
    <who name="Pavel Zhukov">pavel</who>
    <bug_when>2024-06-26 07:38:47 +0000</bug_when>
    <thetext>(In reply to Michael Opdenacker from comment #5)
&gt; Note that SDL host packages are no longer needed to run QEMU, even without
&gt; the &quot;nographic&quot; 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 =&gt; 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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>99990</commentid>
    <comment_count>8</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2024-10-24 15:03:54 +0000</bug_when>
    <thetext>Bulk move of 5.1 M4 to 5.2 M2 as approved by AlexB.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>102187</commentid>
    <comment_count>9</comment_count>
    <who name="Antonin Godard">antonin.godard</who>
    <bug_when>2025-06-06 07:42:31 +0000</bug_when>
    <thetext>Bulk move of bugs I am assigned to from Milestone 5.2M4 to 5.3M1.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>