<?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>16346</bug_id>
          
          <creation_ts>2026-07-03 07:22:43 +0000</creation_ts>
          <short_desc>Dropping &quot;system&quot; from boost also drops &quot;system&quot; cmake files</short_desc>
          <delta_ts>2026-07-09 14:46:44 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>OE-Core</product>
          <component>core</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>6.1 M3</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Jens Georg">jens.georg</reporter>
          <assigned_to name="Siva Balasubramanian">sivakumar.bs</assigned_to>
          <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>randy.macleod</cc>
    
    <cc>sivakumar.bs</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>106085</commentid>
    <comment_count>0</comment_count>
    <who name="Jens Georg">jens.georg</who>
    <bug_when>2026-07-03 07:22:43 +0000</bug_when>
    <thetext>Commit 4981f3087a3006e230a182ba87be2301014cc073 drops the system part from BOOST_LIBS, because it is no longer a shared library. This also casues the CMake files for &quot;system&quot; not to be installed anymore and software looking for it explicitly fails and needs to be patched.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>106091</commentid>
    <comment_count>1</comment_count>
    <who name="Siva Balasubramanian">sivakumar.bs</who>
    <bug_when>2026-07-03 10:06:26 +0000</bug_when>
    <thetext>Patch submitted to the openembedded-core mailing list:

[OE-core][PATCH] boost: install CMake config for header-only system library
Message-Id: 20260703095925.265641-1-sivakumar.bs@gmail.com
https://patchwork.yoctoproject.org/project/oe-core/patch/20260703095925.265641-1-sivakumar.bs@gmail.com/

Note that simply re-adding &quot;system&quot; to BOOST_LIBS does not work: in
1.91.0 boost-system became a header-only modular library with no
old-style build, so it can no longer be named in --with-&lt;library&gt; and
b2 aborts the build with:

error: wrong library name &apos;system&apos; in the --with-&lt;library&gt; option.

Root cause: the recipe&apos;s b2 install only ships CMake configs for the
libraries selected via --with-&lt;library&gt;. When &quot;system&quot; was dropped
from BOOST_LIBS in 4981f3087a30, its lib/cmake/boost_system-&lt;ver&gt;/
config stopped being installed, so find_package(Boost COMPONENTS
system) fails downstream. (The same is true for the other header-only
modular libs, but &quot;system&quot; is the one commonly requested as a
component.)

The fix installs the modular libs/system//install target explicitly
from do_install. It is header-only, so no library is built or
packaged — only the CMake config is restored.

Verified with a from-scratch build:


boost_system-config.cmake is packaged into boost-dev again
a real find_package(Boost REQUIRED COMPONENTS system) against the
installed tree now succeeds (Boost_system_FOUND=1), whereas on
current master the config is absent</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>