Re: [Buildroot] [PATCH 1/3] package/taglib: mp4 support needs threads

Thomas Petazzoni via buildroot <[email protected]>
Newsgroups net.busybox.buildroot
Message-ID <aoyivLhRbgBke6ou@windsurf>
On Fri, Jul 24, 2026 at 06:48:27PM +0200, Bernd Kuhls wrote:
> Buildroot commit 1c5730ebb5e8b9a67433aa9997e5cfd6cae18cfe bumped the
> package from version 2.2.1 to version 2.3 which includes upstream commit
> https://github.com/taglib/taglib/commit/5d63187a8b8d291cbf4f77d1bb973bc5ee91cf03
> that uses std::call_once and is only available with threads support.
> 
> Inspired by buildroot commit f9a2d65cae88ca7c641af2f69161ab0d21bac91c
> which fixed a similar error.
> 
> This patch fixes a build error
> 
> /builds/bkuhls/buildroot/br-test-pkg/br-arm-full-nothread/build/taglib-2.3/taglib/mp4/mp4itemfactory.cpp:51:16:
>  error: ‘once_flag’ in namespace ‘std’ does not name a type
> 
> caught by the Gitlab pipelines. To reproduce use this defconfig:
> 
>   BR2_arm=y
>   BR2_arm1176jzf_s=y
>   BR2_TOOLCHAIN_EXTERNAL=y
>   BR2_TOOLCHAIN_EXTERNAL_CUSTOM=y
>   BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD=y
>   BR2_TOOLCHAIN_EXTERNAL_URL="http://autobuild.buildroot.org/toolchains/tarballs/br-arm11-full-nothread-2020.11.2.tar.bz2"
>   BR2_TOOLCHAIN_EXTERNAL_GCC_9=y
>   BR2_TOOLCHAIN_EXTERNAL_HEADERS_5_9=y
>   BR2_TOOLCHAIN_EXTERNAL_LOCALE=y
>   # BR2_TOOLCHAIN_EXTERNAL_HAS_THREADS is not set
>   BR2_TOOLCHAIN_EXTERNAL_CXX=y
>   BR2_PER_PACKAGE_DIRECTORIES=y
>   BR2_PACKAGE_TAGLIB=y
> 
> Signed-off-by: Bernd Kuhls <[email protected]>

Thanks a lot, applied to master!

Thomas
-- 
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.