#1151544 samba: FTBFS: /usr/bin/x86_64-linux-gnu-ld.bfd: /<<PKGBUILDDIR>>/bin/default/source3/libsamba-cluster-support-private-samba.so: undefined reference to `dynamic_lookup'

Package:
src:samba
Source:
src:samba
Submitter:
Santiago Vila
Date:
2026-10-21 13:47:10 UTC
Severity:
normal
Tags:
#1151544#5
Date:
2026-10-21 13:45:13 UTC
From:
To:
Dear maintainer:

During a rebuild of all packages in unstable, this package failed to build.

Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:

https://people.debian.org/~sanvila/build-logs/202610/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:samba, so that this is still
visible in the BTS web page for this package.

Thanks.
--------------------------------------------------------------------------------
[...]
[4831/6790] Linking bin/default/source4/samba/samba.inst
13:06:06 runner ['x86_64-linux-gnu-gcc', '-Wl,--as-needed',  [too-long-redacted] fined', '-Wl,--export-dynamic']
/usr/bin/x86_64-linux-gnu-ld.bfd: /<<PKGBUILDDIR>>/bin/default/source3/libsamba-cluster-support-private-samba.so: undefined reference to `dynamic_lookup'
collect2: error: ld returned 1 exit status

/usr/bin/x86_64-linux-gnu-ld.bfd: /<<PKGBUILDDIR>>/bin/default/source3/libsamba-cluster-support-private-samba.so: undefined reference to `dynamic_lookup'
collect2: error: ld returned 1 exit status

* Node /<<PKGBUILDDIR>>/bin/default/lib/talloc/testsuite.c.1.o is created more than once (full message on 'waf -v -v'). The task generators are:
  1. 'talloc_testsuite.objlist' in /<<PKGBUILDDIR>>/lib/talloc
  2. 'TORTURE_LOCAL' in /<<PKGBUILDDIR>>/source4/torture/local
If you think that this is an error, set no_errcheck_out on the task instance
* Node /<<PKGBUILDDIR>>/bin/default/source3/rpc_server/mdssvc/es_parser.tab.c is created more than once (full message on 'waf -v -v'). The task generators are:
  1. 'spotlight2es.objlist' in /<<PKGBUILDDIR>>/source3
  2. 'rpcd_mdssvc.objlist' in /<<PKGBUILDDIR>>/source3/rpc_server
If you think that this is an error, set no_errcheck_out on the task instance
* Node /<<PKGBUILDDIR>>/bin/default/source3/rpc_server/mdssvc/es_parser.tab.h is created more than once (full message on 'waf -v -v'). The task generators are:
  1. 'spotlight2es.objlist' in /<<PKGBUILDDIR>>/source3
  2. 'rpcd_mdssvc.objlist' in /<<PKGBUILDDIR>>/source3/rpc_server
If you think that this is an error, set no_errcheck_out on the task instance
* Node /<<PKGBUILDDIR>>/bin/default/source3/rpc_server/mdssvc/es_lexer.lex.c is created more than once (full message on 'waf -v -v'). The task generators are:
  1. 'spotlight2es.objlist' in /<<PKGBUILDDIR>>/source3
  2. 'rpcd_mdssvc.objlist' in /<<PKGBUILDDIR>>/source3/rpc_server
If you think that this is an error, set no_errcheck_out on the task instance
Waf: Leaving directory `/<<PKGBUILDDIR>>/bin/default'
Build failed
 -> task in 'ndrdump' failed with exit status 1:
	{task 139950570743152: cprogram ndrdump.c.1.o,cmdline_s4.c.5.o -> ndrdump.inst}
['x86_64-linux-gnu-gcc', '-Wl,--as-needed', 'librpc/tools/nd [too-long-redacted] fined', '-Wl,--export-dynamic']
 -> task in 'samba' failed with exit status 1:
	{task 139950340104352: cprogram server_util.c.9.o,server.c.10.o,cmdline_s4.c.5.o -> samba.inst}
['x86_64-linux-gnu-gcc', '-Wl,--as-needed', 'source4/samba/s [too-long-redacted] fined', '-Wl,--export-dynamic']
make[2]: *** [debian/rules:218: bin/built.stamp] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: *** [debian/rules:188: install] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:188: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------