Skip to contentSkip to conversation

boost-build-native: upgrade 1.87 -> 1.89

PATCH In review Gyorgy Sarvari 3 participants 5 messages Aug 16, 2025 – Aug 19, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 boost-build-native: upgrade 1.87 -> 1.89

Changelog: https://www.boost.org/releases/1.89.0/

---
 ...st-build-native_1.87.0.bb => boost-build-native_1.89.0.bb} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-support/boost/{boost-build-native_1.87.0.bb => boost-build-native_1.89.0.bb} (88%)
meta/recipes-support/boost/boost-build-native_1.89.0.bb renamed from meta/recipes-support/boost/boost-build-native_1.87.0.bb +2 -2
similarity index 88%
rename from meta/recipes-support/boost/boost-build-native_1.87.0.bb
rename to meta/recipes-support/boost/boost-build-native_1.89.0.bb
index 5b914b6f88..911de72bc1 100644
@@ -6,8 +6,8 @@ SECTION = "devel"
 LICENSE = "BSL-1.0"
 LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=e4224ccaecb14d942c71d31bef20d78c"
 
-SRC_URI = "git://github.com/boostorg/build;protocol=https;branch=master"
-SRCREV = "4a52d8c06635435b64e31a56eaf7ca5dc912a71d"
+SRC_URI = "git://github.com/boostorg/build;protocol=https;branch=master;tag=boost-${PV}"
+SRCREV = "be69c44857e34fae250aa1321808a05c1d88bfde"
 PE = "1"
 
 UPSTREAM_CHECK_GITTAGREGEX = "boost-(?P<pver>(\d+(\.\d+)+))"
#1 lore raw

PATCH 2/2 boost: upgrade 1.88.0 -> 1.89.0

Changelog: https://www.boost.org/releases/1.89.0/

---
 .../boost/{boost-1.88.0.inc => boost-1.89.0.inc}                | 2 +-
 ...1-Don-t-set-up-arch-instruction-set-flags-we-do-that-o.patch | 2 +-
 .../boost/boost/0001-dont-setup-compiler-flags-m32-m64.patch    | 2 +-
 meta/recipes-support/boost/{boost_1.88.0.bb => boost_1.89.0.bb} | 0
 4 files changed, 3 insertions(+), 3 deletions(-)
 rename meta/recipes-support/boost/{boost-1.88.0.inc => boost-1.89.0.inc} (90%)
 rename meta/recipes-support/boost/{boost_1.88.0.bb => boost_1.89.0.bb} (100%)
meta/recipes-support/boost/boost-1.89.0.inc renamed from meta/recipes-support/boost/boost-1.88.0.inc +1 -1
similarity index 90%
rename from meta/recipes-support/boost/boost-1.88.0.inc
rename to meta/recipes-support/boost/boost-1.89.0.inc
index 96bd986f6a..ea2827ec14 100644
@@ -12,7 +12,7 @@ BOOST_MAJ = "${@"_".join(d.getVar("PV").split(".")[0:2])}"
 BOOST_P = "boost_${BOOST_VER}"
 
 SRC_URI = "https://archives.boost.io/release/${PV}/source/${BOOST_P}.tar.bz2"
-SRC_URI[sha256sum] = "46d9d2c06637b219270877c9e16155cbd015b6dc84349af064c088e9b5b12f7b"
+SRC_URI[sha256sum] = "85a33fa22621b4f314f8e85e1a5e2a9363d22e4f4992925d4bb3bc631b5a0c7a"
 
 UPSTREAM_CHECK_URI = "http://www.boost.org/users/download/"
 UPSTREAM_CHECK_REGEX = "release/(?P<pver>.*)/source/"
meta/recipes-support/boost/boost/0001-Don-t-set-up-arch-instruction-set-flags-we-do-that-o.patch +1 -1
index 04bede4578..25512d582b 100644
@@ -16,7 +16,7 @@ diff --git a/tools/build/src/tools/gcc.jam b/tools/build/src/tools/gcc.jam
 index b7825d4e6..ed7e39baf 100644
 --- a/tools/build/src/tools/gcc.jam
 +++ b/tools/build/src/tools/gcc.jam
-@@ -1144,156 +1144,3 @@ local rule cpu-flags ( toolset variable : architecture : instruction-set + :
+@@ -1143,156 +1143,3 @@ local rule cpu-flags ( toolset variable : architecture : instruction-set + :
          <architecture>$(architecture)/<instruction-set>$(instruction-set)
          : $(values) ;
  }
meta/recipes-support/boost/boost/0001-dont-setup-compiler-flags-m32-m64.patch +1 -1
index db1ee03898..d23cf03b1a 100644
@@ -16,7 +16,7 @@ diff --git a/tools/build/src/tools/gcc.jam b/tools/build/src/tools/gcc.jam
 index ed7e39baf..90513f84a 100644
 --- a/tools/build/src/tools/gcc.jam
 +++ b/tools/build/src/tools/gcc.jam
-@@ -377,22 +377,6 @@ local rule compile-link-flags ( * )
+@@ -375,22 +375,6 @@ local rule compile-link-flags ( * )
      compile-link-flags <link>shared/<target-os>$(non-windows) : -fPIC ;
  }
  
meta/recipes-support/boost/boost_1.89.0.bb renamed from meta/recipes-support/boost/boost_1.88.0.bb +0 -0
similarity index 100%
rename from meta/recipes-support/boost/boost_1.88.0.bb
rename to meta/recipes-support/boost/boost_1.89.0.bb
#2 lore raw
In reply to Gyorgy Sarvari
Quoted 4 lines · Gyorgy Sarvari via lists.openembedded.org

Changelog: https://www.boost.org/releases/1.89.0/

---

Hi Gyorgy,

Thanks for your patch.

It looks like this is breaking the build of kea:

ERROR: kea-2.6.3-r0 do_configure: Execution of '/srv/pokybuild/yocto-worker/qemux86-world-alt/build/build/tmp/work/core2-64-poky-linux/kea/2.6.3/temp/run.do_configure.25537' failed with exit code 1
...
| checking for Boost system library... no
| configure: error: Linking with -lboost_system -lboost_system is not enough: please make sure libboost_system is installed in an expected location; Check config.log for details, you may be missing other libraries.

https://autobuilder.yoctoproject.org/valkyrie/#/builders/17/builds/2074
https://autobuilder.yoctoproject.org/valkyrie/#/builders/25/builds/2231
https://autobuilder.yoctoproject.org/valkyrie/#/builders/6/builds/2253
https://autobuilder.yoctoproject.org/valkyrie/#/builders/3/builds/2288

Can you fix it please?

Best regards,
Mathieu

Signature · 3 lines
Mathieu Dubois-Briand, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
#3 lore raw
Quoted 21 lines · Mathieu Dubois-Briand
Quoted 4 lines · Gyorgy Sarvari via lists.openembedded.org

Changelog: https://www.boost.org/releases/1.89.0/

---

Hi Gyorgy,

Thanks for your patch.

It looks like this is breaking the build of kea:

ERROR: kea-2.6.3-r0 do_configure: Execution of '/srv/pokybuild/yocto-worker/qemux86-world-alt/build/build/tmp/work/core2-64-poky-linux/kea/2.6.3/temp/run.do_configure.25537' failed with exit code 1
...
| checking for Boost system library... no
| configure: error: Linking with -lboost_system -lboost_system is not enough: please make sure libboost_system is installed in an expected location; Check config.log for details, you may be missing other libraries.

https://autobuilder.yoctoproject.org/valkyrie/#/builders/17/builds/2074
https://autobuilder.yoctoproject.org/valkyrie/#/builders/25/builds/2231
https://autobuilder.yoctoproject.org/valkyrie/#/builders/6/builds/2253
https://autobuilder.yoctoproject.org/valkyrie/#/builders/3/builds/2288

Quoted 7 lines

Can you fix it please?

Best regards,
Mathieu

Thanks for the note and the logs - maybe updating boost wasn't a good idea from me.

Boost has switched the system module to headers-only, which makes kea unhappy. While kea can also compile with headers only, there is a scary warning about it causing runtime errors, in general saying it "is NOT recommended".

kea 3.0 still tries to link with this module. I wanted to submit a bug upstream, however unfortunately they don't accept gmail addresses for registration.

For now I will drop this - but maybe someone else will have better luck.

#4 lore raw
Quoted 3 lines · Gyorgy Sarvari via lists.openembedded.org

kea 3.0 still tries to link with this module. I wanted to submit a bug upstream, however unfortunately they don't accept gmail addresses for registration.

Updating to most recent kea first would be still appreciated, as then we'd be able to apply any possible upstream fix (or fix the issue ourselves) on a codebase that's closer to upstream.

Alex