[Buildroot] [Bug 5396] Boot hangs when starting samba if BR2_ENABLE_LOCALE is enabled

bugzilla at busybox.net bugzilla at busybox.net
Wed May 7 11:00:30 UTC 2014


https://bugs.busybox.net/show_bug.cgi?id=5396

--- Comment #5 from Thomas De Schampheleire <patrickdepinguin+buildroot at gmail.com> 2014-05-07 11:00:29 UTC ---
I tried reproducing this problem using qemu in two cases:
- external glibc toolchain
- internal uclibc toolchain (locale enabled)

on current git (based on 2014.02, soon to become 2014.05).

In both cases, the system booted correctly (including samba). Manually starting
'smbd -FS' also gives no problems. 

Note that in the case of !BR2_ENABLE_LOCALE, a config option was added in
Buildroot:

config BR2_PACKAGE_SAMBA_LIBICONV
        bool "extended encodings (libiconv)"
        depends on !BR2_ENABLE_LOCALE
        select BR2_PACKAGE_LIBICONV
        help
          Include libiconv support for extended conversion of filename
          enconding. Samba has built-in support for UTF-8, ISO-8859-1
          and ASCII, so this is only required if you want to support
          other encodings.

In this case, the .mk file does:
ifeq ($(BR2_PACKAGE_SAMBA_LIBICONV),y)
SAMBA_DEPENDENCIES += libiconv
SAMBA_CONF_OPT += --with-libiconv=$(STAGING_DIR)
else
SAMBA_CONF_OPT += --with-libiconv=""
endif

but this bug report is about the case when locale is enabled.

Jonathan Liu: could you retest this scenario on a recent buildroot version and
let us know the result? If you still experience a problem, please share your
.config file.

-- 
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the buildroot mailing list