Skip to contentSkip to conversation

sconeserver: Can't be built with uClibc.

PATCH Superseded Sonic Zhang 2 participants 2 messages Nov 4, 2013

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 sconeserver: Can't be built with uClibc.

From: Sonic Zhang <[email protected]>

General shadow password file API such as getspnam is not supported in uClibc.

---
 package/sconeserver/Config.in |    1 +
 1 file changed, 1 insertion(+)
package/sconeserver/Config.in +1 -0
index 58c1e03..d4a2b6d 100644
@@ -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
Signature · 1 line
1.7.9.5
#1 lore raw

PATCH 1/1 sconeserver: Can't be built with uClibc.

Hi Sonic,

Quoted 14 lines · Sonic Zhang

From: Sonic Zhang <[email protected]>

General shadow password file API such as getspnam is not supported in uClibc.

---
 package/sconeserver/Config.in |    1 +
 1 file changed, 1 insertion(+)
package/sconeserver/Config.in +0 -0
index 58c1e03..d4a2b6d 100644

package/sconeserver/Config.in menuconfig BR2_PACKAGE_SCONESERVER · line 8

Quoted 7 lines
package/sconeserver/Config.in +1 -0
@@ -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