[Buildroot] [Bug 16003] New: samba4 will not build for x86

bugzilla at busybox.net bugzilla at busybox.net
Mon Mar 18 18:46:42 UTC 2024


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

            Bug ID: 16003
           Summary: samba4 will not build for x86
           Product: buildroot
           Version: 2024.02
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Other
          Assignee: unassigned at buildroot.uclibc.org
          Reporter: fli4l at franke-prem.de
                CC: buildroot at uclibc.org
  Target Milestone: ---

On my system (Debian 11 X86_64) i will try to build as cross-compile 
the samba4 package.
Setup is near similar to the setup as x86_64 system what is build samba4
without problems.
So when i try to build samba4 i run in the error:
[1659/4058] Compiling source4/lib/socket/connect_multi.c
/home/roland/.fbr/fbr-4.0-test_1_2024-x86/buildroot/output/per-package/samba4/host/bin/../lib/gcc/i586-buildroot-linux-uclibc/12.3.0/../../../../i586-buildroot-linux-uclibc/bin/ld:
/home/roland/.fbr/fbr-4.0-test_1_2024-x86/buildroot/output/per-package/samba4/host/i586-buildroot-linux-uclibc/sysroot/usr/lib/uclibc_nonshared.a(ssp-local.os):
in function `__stack_chk_fail_local':
buildroot/build/uclibc-1.0.45/libc/sysdeps/linux/common/ssp-local.c:35:
undefined reference to `__stack_chk_fail'
collect2: error: ld returned 1 exit status

../../lib/krb5_wrap/krb5_samba.c: In function 'smb_krb5_salt_principal_str':
../../lib/krb5_wrap/krb5_samba.c:712:9: warning: 'krb5_free_unparsed_name' is
deprecated [-Wdeprecated-declarations]
  712 |         krb5_free_unparsed_name(krb5_ctx, salt_principal_malloc);
      |         ^~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../third_party/heimdal/lib/krb5/krb5.h:1019,
                 from ../../lib/replace/system/kerberos.h:33,
                 from ../../lib/krb5_wrap/krb5_samba.h:41,
                 from ../../lib/krb5_wrap/krb5_samba.c:25:
third_party/heimdal/lib/krb5/krb5-protos.h:3774:1: note: declared here
 3774 | krb5_free_unparsed_name (
      | ^~~~~~~~~~~~~~~~~~~~~~~
../../lib/krb5_wrap/krb5_samba.c: In function 'smb_krb5_unparse_name':
../../lib/krb5_wrap/krb5_samba.c:892:17: warning: 'krb5_free_unparsed_name' is
deprecated [-Wdeprecated-declarations]
  892 |                 krb5_free_unparsed_name(context, utf8_name);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~
third_party/heimdal/lib/krb5/krb5-protos.h:3774:1: note: declared here
 3774 | krb5_free_unparsed_name (
      | ^~~~~~~~~~~~~~~~~~~~~~~
../../lib/krb5_wrap/krb5_samba.c:895:9: warning: 'krb5_free_unparsed_name' is
deprecated [-Wdeprecated-declarations]
  895 |         krb5_free_unparsed_name(context, utf8_name);
      |         ^~~~~~~~~~~~~~~~~~~~~~~
third_party/heimdal/lib/krb5/krb5-protos.h:3774:1: note: declared here
 3774 | krb5_free_unparsed_name (
      | ^~~~~~~~~~~~~~~~~~~~~~~

Waf: Leaving directory
`/home/roland/.fbr/fbr-4.0-test_1_2024-x86/buildroot/output/build/samba4-4.19.5/bin/default'
Build failed
 -> task in 'cluster' failed with exit status 1 (run with -v to display more
information)

Any suggestion what will not work here?

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the buildroot mailing list