New: Samba server is failing to compile
https://bugs.busybox.net/show_bug.cgi?id=14821
Bug ID: 14821
Summary: Samba server is failing to compile
Product: buildroot
Version: 2022.02
Hardware: All
OS: Linux
Status: NEW
Severity: normal
Priority: P5
Component: Other
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]Target Milestone: ---
Hi,
I'm trying to get samba server up and running in my buildroot image.
First I enabled wchar support for uClibc, then enabled samba4. It's failing with the following:
[2113/3474] Compiling source3/rpc_server/mdssvc/dalloc.c [2114/3474] Compiling lib/afs/afs_funcs.c
[2115/3474] Compiling librpc/rpc/dcerpc_helper.c
[2116/3474] Compiling source3/registry/reg_parse_prs.c ../../source3/lib/netapi/examples/common.c:13:10: fatal error: iconv.h: No such file or directory
13 | #include <iconv.h>
| ^~~~~~~~~
compilation terminated.
Waf: Leaving directory `/home/user/buildroot/output/build/samba4-4.15.6/bin/default' Build failed
-> task in 'LIBNETAPI_EXAMPLES_COMMON' failed with exit status 1 (run with -v
to display more information)
make[1]: *** [Makefile:7: all] Error 1
make[1]: Leaving directory '/home/user/buildroot/output/build/samba4-4.15.6'
make: *** [package/pkg-generic.mk:292:/home/user/buildroot/output/build/samba4-4.15.6/.stamp_built] Error 2
Signature · 6 lines
You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
[Buildroot] [Bug 14821] Samba server is failing to compile
https://bugs.busybox.net/show_bug.cgi?id=14821
--- Comment #1 from Thomas Petazzoni <[email protected]> --- Does this error happen after a full rebuild, i.e "make clean all" ?
Signature · 6 lines
You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
[Buildroot] [Bug 14821] Samba server is failing to compile
In reply to [email protected]https://bugs.busybox.net/show_bug.cgi?id=14821
--- Comment #2 from [email protected] ---
I just double checked and confirmed.
Here's a complete list of steps to repro from master (commmit de77516a2b3f8435df066cfc611b0eacfb61b02e):
git clone https://git.busybox.net/buildroot/
cd buildroot/
make qemu_x86_64_defconfig
make menuconfig
# enable uClibc wchar support # enable samba4
make
Signature · 6 lines
You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
[Buildroot] [Bug 14821] Samba server is failing to compile
In reply to [email protected]https://bugs.busybox.net/show_bug.cgi?id=14821
--- Comment #3 from Fabrice Fontaine <[email protected]> --- Hi,
I was able to reproduce the build failure.
It should be fixed by
https://patchwork.ozlabs.org/project/buildroot/patch/[email protected]/
Best Regards,
Fabrice
Signature · 6 lines
You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
[Buildroot] [Bug 14821] Samba server is failing to compile
In reply to [email protected]https://bugs.busybox.net/show_bug.cgi?id=14821
Peter Korsgaard <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|NEW |RESOLVED--- Comment #4 from Peter Korsgaard <[email protected]> --- Fixed by
https://git.buildroot.org/buildroot/commit/?id=6a1331ba01b146f4c3a29e0d604e92cf676a46f8
Signature · 6 lines
You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot