package/iprutils: disable for musl toolchains
PATCH 1/1 package/iprutils: disable for musl toolchains
Disable iprutils for musl toolchain until someone
is interested enough to fixes it.
Note: the latest version (2.4.10) doesn't event build with uClibc due to a test in the new configure script.
AC_CHECK_LIB([m], [matherr], [], [AC_ERROR("libm not found.")])
Avoid:
http://autobuild.buildroot.net/results/61e/61e121c25fc07083bcccedfcb4f938d18f5c5456/
--- package/iprutils/Config.in | 4 ++++ 1 file changed, 4 insertions(+)
package/iprutils/Config.in +4 -0
@@ -1,5 +1,6 @@ config BR2_PACKAGE_IPRUTILS bool "iprutils" + depends on !BR2_TOOLCHAIN_USES_MUSL select BR2_PACKAGE_NCURSES select BR2_PACKAGE_NCURSES_TARGET_PANEL select BR2_PACKAGE_NCURSES_TARGET_FORM
@@ -11,3 +12,6 @@ config BR2_PACKAGE_IPRUTILS System utilities for IBM Power RAID devices http://sourceforge.net/projects/iprdd/ + +comment "iprutils needs a glibc or uClibc toolchain" + depends on BR2_TOOLCHAIN_USES_MUSL
Signature · 1 line
2.4.3
PATCH 1/1 package/iprutils: disable for musl toolchains
Dear Romain Naour,
Quoted 6 lines · Romain Naour
Disable iprutils for musl toolchain until someone
is interested enough to fixes it.Note: the latest version (2.4.10) doesn't event build with uClibc due to a test in the new configure script.
Quoted 6 lines
AC_CHECK_LIB([m], [matherr], [], [AC_ERROR("libm not found.")])Avoid:
http://autobuild.buildroot.net/results/61e/61e121c25fc07083bcccedfcb4f938d18f5c5456/Signed-off-by Romain Naour <[email protected]>
Disabling on musl seems really excessive. I looked at the problem, and by:
* Removing the #include <bits/sockaddr.h> from iprlib.h
* Adding #include <limits.h> to iprlib.h
I was able to build the iprutils package with the musl C library on ARM.
Could you look into this and cook a better patch ?
Thanks!
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com