[Buildroot] [PATCH] sconeserver: Can't be built with uClibc.

Thomas De Schampheleire patrickdepinguin at gmail.com
Mon Nov 4 11:26:18 UTC 2013


Hi Sonic,

On Mon, Nov 4, 2013 at 11:38 AM, Sonic Zhang <sonic.adi at gmail.com> wrote:
> From: Sonic Zhang <sonic.zhang at analog.com>
>
> General shadow password file API such as getspnam is not supported in uClibc.
>
> Signed-off-by: Sonic Zhang <sonic.zhang at analog.com>
> ---
>  package/sconeserver/Config.in |    1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/package/sconeserver/Config.in b/package/sconeserver/Config.in
> index 58c1e03..d4a2b6d 100644
> --- a/package/sconeserver/Config.in
> +++ b/package/sconeserver/Config.in
> @@ -2,6 +2,7 @@ menuconfig BR2_PACKAGE_SCONESERVER
>         bool "sconeserver"
>         depends on BR2_INSTALL_LIBSTDCPP
>         depends on BR2_TOOLCHAIN_HAS_THREADS
> +       depends on !BR2_TOOLCHAIN_USES_UCLIBC
>         select BR2_PACKAGE_PCRE
>         help
>           Sconeserver is a modular, object-orientated and extremely versatile

You should also update the comment at the bottom of that file, it
currently says:

comment "sconeserver needs a toolchain w/ C++, threads"
        depends on !(BR2_INSTALL_LIBSTDCPP && BR2_TOOLCHAIN_HAS_THREADS)

According to the manual, this could become:

comment "sconeserver needs an (e)glibc toolchain w/ C++, threads"
        depends on !(BR2_INSTALL_LIBSTDCPP &&
BR2_TOOLCHAIN_HAS_THREADS && !BR2_TOOLCHAIN_USES_UCLIBC)

but we recently added musl support which does seem to have getspnam().
Therefore, I think the following comment would be more appropriate:
sconeserver needs a non-uClibc toolchain w/ C++, threads

Best regards,
Thomas



More information about the buildroot mailing list