package/libsemanage: disable on musl
PATCH 1/2 package/libsemanage: disable on musl
Suggested by Thomas:
http://article.gmane.org/gmane.comp.lib.uclibc.buildroot/149138
"getpwent_r() is a glibc-specific extension, so it will most likely not
be implemented by musl."
--- package/libsemanage/Config.in | 2 ++ 1 file changed, 2 insertions(+)
package/libsemanage/Config.in +2 -0
@@ -5,6 +5,7 @@ config BR2_PACKAGE_LIBSEMANAGE select BR2_PACKAGE_BZIP2 depends on BR2_TOOLCHAIN_HAS_THREADS depends on !BR2_STATIC_LIBS + depends on !BR2_TOOLCHAIN_USES_MUSL # getpwent_r(), ustr depends on !BR2_arc help libsemanage is the policy management library. It uses
@@ -19,4 +20,5 @@ config BR2_PACKAGE_LIBSEMANAGE comment "libsemanage needs a toolchain w/ threads, dynamic library" depends on !BR2_arc + depends on !BR2_TOOLCHAIN_USES_MUSL depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS
Signature · 1 line
2.8.1
PATCH 2/2 package/ustr: disable on musl
libsemanage is the only package depending on ustr, both packages do not build using a musl-based toolchain, suggested by Thomas:
http://article.gmane.org/gmane.comp.lib.uclibc.buildroot/149138
Fixes
http://autobuild.buildroot.net/results/a41/a416001516d98d58849f1d1f8f49f49d3d28f3a2/
http://autobuild.buildroot.net/results/f51/f5115516bd514afbb71a9460e82c889bcc18e7e2/
and many others
--- package/ustr/Config.in | 2 ++ 1 file changed, 2 insertions(+)
package/ustr/Config.in +2 -0
@@ -2,6 +2,7 @@ config BR2_PACKAGE_USTR bool "ustr" # unconditionally builds a shared library depends on !BR2_STATIC_LIBS + depends on !BR2_TOOLCHAIN_USES_MUSL # broken vsnprintf detection help A small, safe string library.
@@ -9,3 +10,4 @@ config BR2_PACKAGE_USTR comment "ustr needs a toolchain w/ dynamic library" depends on BR2_STATIC_LIBS + depends on !BR2_TOOLCHAIN_USES_MUSL
Signature · 1 line
2.8.1
PATCH 2/2 package/ustr: disable on musl
Quoted 6 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Bernd" == Bernd Kuhls <[email protected]> writes:
libsemanage is the only package depending on ustr, both packages do not build using a musl-based toolchain, suggested by Thomas:
http://article.gmane.org/gmane.comp.lib.uclibc.buildroot/149138
Quoted 6 lines
Fixes
http://autobuild.buildroot.net/results/a41/a416001516d98d58849f1d1f8f49f49d3d28f3a2/
http://autobuild.buildroot.net/results/f51/f5115516bd514afbb71a9460e82c889bcc18e7e2/
and many othersSigned-off-by Bernd Kuhls <[email protected]>
Committed, thanks.
Signature · 1 line
Bye, Peter Korsgaard
PATCH 1/2 package/libsemanage: disable on musl
In reply to Bernd KuhlsQuoted 8 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Bernd" == Bernd Kuhls <[email protected]> writes:
Suggested by Thomas:
http://article.gmane.org/gmane.comp.lib.uclibc.buildroot/149138
"getpwent_r()is a glibc-specific extension, so it will most likely not
be implemented by musl."Signed-off-by Bernd Kuhls <[email protected]>
Committed, thanks.
Signature · 1 line
Bye, Peter Korsgaard