package/libudfread: needs threads
PATCH 1/1 package/libudfread: needs threads
This patch fixes the build for non-threaded toolchains occuring since the bump to 1.2.0 by buildroot commit 537555a37f53360020a11df8065450d88e9d107c and the switch of the build system to meson.
libudfread uses
dependency('threads', required: false)
https://code.videolan.org/videolan/libudfread/-/blob/1.2.0/meson.build?ref_type=tags#L66
which falsely detects threads support:
Run-time dependency threads found: YES
although the toolchain lacks threads support:
$ grep THREADS .config | grep = BR2_PTHREADS_NONE=y
There is an open Meson bug report discussing this problem:
https://github.com/mesonbuild/meson/issues/553#issuecomment-421562520
The only dependees of libudfread, kodi and libbluray, depend on thread support themselves so we require threads support for libudfread as well to fix the build error.
Fixes:
https://autobuild.buildroot.net/results/839/839d1b879187454ba9064845451f2c2ff398a663/
--- package/libudfread/Config.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
package/libudfread/Config.in +2 -2
@@ -1,10 +1,10 @@ config BR2_PACKAGE_LIBUDFREAD bool "libudfread" - depends on BR2_TOOLCHAIN_HAS_SYNC_4 || BR2_TOOLCHAIN_HAS_THREADS + depends on BR2_TOOLCHAIN_HAS_THREADS help UDF reader https://code.videolan.org/videolan/libudfread comment "libudfread needs a toolchain w/ threads" - depends on !BR2_TOOLCHAIN_HAS_SYNC_4 && !BR2_TOOLCHAIN_HAS_THREADS + depends on !BR2_TOOLCHAIN_HAS_THREADS
Signature · 6 lines
2.47.3 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Quoted 23 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Bernd" == Bernd Kuhls <[email protected]> writes:
This patch fixes the build for non-threaded toolchains occuring since the bump to 1.2.0 by buildroot commit
537555a37f53360020a11df8065450d88e9d107cand the switch of the build system to meson.libudfread uses
dependency('threads', required: false)
https://code.videolan.org/videolan/libudfread/-/blob/1.2.0/meson.build?ref_type=tags#L66which falsely detects threads support:
Run-time dependency threads found: YES
although the toolchain lacks threads support:
$ grep THREADS .config | grep = BR2_PTHREADS_NONE=yThere is an open Meson bug report discussing this problem:
https://github.com/mesonbuild/meson/issues/553#issuecomment-421562520
Quoted 8 lines
The only dependees of libudfread, kodi and libbluray, depend on thread support themselves so we require threads support for libudfread as well to fix the build error.
Fixes:
https://autobuild.buildroot.net/results/839/839d1b879187454ba9064845451f2c2ff398a663/Signed-off-by Bernd Kuhls <[email protected]>
Committed, thanks.
Signature · 5 lines
Bye, Peter Korsgaard _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot