Skip to contentSkip to conversation

New: 2021.11-rc2: Samba doesn't compile

Buildroot [email protected] 1 participant 4 messages Dec 1, 2021 – Dec 4, 2021

lore
Share & tools
lore
#0 lore raw

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

            Bug ID: 14411
           Summary: 2021.11-rc2: Samba doesn't compile
           Product: buildroot
           Version: unspecified
          Hardware: Other
                OS: Linux
            Status: NEW
          Severity: blocker
          Priority: P5
         Component: Other
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]

Target Milestone: ---

Compilation of Samba aborts:

[ 876/3435] Compiling bin/default/source4/heimdal/lib/asn1/asn1_pkinit_asn1.c source4/heimdal/lib/asn1/asn1_err.c:47:23: error: ‘link’ redeclared as
different kind of symbol
47 | static struct et_list link = { 0, 0 };
| ^~~~
In file included from /home/matuschd/buildroot-2021.11-rc2/output/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/bits/sigstksz.h:24,
from
/home/matuschd/buildroot-2021.11-rc2/output/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/signal.h:328,
from
/home/matuschd/buildroot-2021.11-rc2/output/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/sys/param.h:28,

                 from ../../lib/replace/../replace/replace.h:659,
                 from ../../source4/heimdal_build/config.h:10,
                 from source4/heimdal/lib/asn1/asn1_err.c:1:
/home/matuschd/buildroot-2021.11-rc2/output/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/unistd.h:819:12:
note: previous declaration of ‘link’ was here
  819 | extern int link (const char *__from, const char *__to)
      |            ^~~~

Waf: Leaving directory `/home/matuschd/buildroot-2021.11-rc2/output/build/samba4-4.14.10/bin/default' Build failed
-> task in 'HEIMDAL_HEIM_ASN1' failed with exit status 1 (run with -v to
display more information)
make[2]: *** [Makefile:7: all] Error 1
make[1]: *** [package/pkg-generic.mk:294:
/home/matuschd/buildroot-2021.11-rc2/output/build/samba4-4.14.10/.stamp_built] Error 2
make: *** [Makefile:84: _all] Error 2

Configuration make raspberrypi3_defconfig, with just glibc and samba enabled.

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
#1 lore raw

[Buildroot] [Bug 14411] 2021.11-rc2: Samba doesn't compile

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

--- Comment #1 from Peter Seiderer <[email protected]> --- (In reply to HiFiBerry (Daniel) from comment #0)

Problem seems to be addressed by [1], [2] and [3]...

[1]
https://patchwork.ozlabs.org/project/buildroot/patch/[email protected]/

[2]
https://patchwork.ozlabs.org/project/buildroot/patch/[email protected]/

[3]
https://patchwork.ozlabs.org/project/buildroot/patch/[email protected]/

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
#2 lore raw

[Buildroot] [Bug 14411] 2021.11-rc2: Samba doesn't compile

In reply to [email protected]

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

--- Comment #2 from HiFiBerry (Daniel) <[email protected]> --- I can confirm that these patches fixes the problem.

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
#3 lore raw

[Buildroot] [Bug 14411] 2021.11-rc2: Samba doesn't compile

In reply to [email protected]

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

Yann E. MORIN <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
                 CC|                            |[email protected]

--- Comment #3 from Yann E. MORIN <[email protected]> --- Daniel, All,

Thanks for your report.

We believe this is now fixed in master, now that the three patches mentioned in this report have been applied.

Regards,
Yann E. MORIN.

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