Bug 15037 - Build errors. g_lock.c:651: undefined reference to `_talloc_get_type_abort'
Summary: Build errors. g_lock.c:651: undefined reference to `_talloc_get_type_abort'
Status: RESOLVED FIXED
Alias: None
Product: Samba 4.1 and newer
Classification: Unclassified
Component: Build (show other bugs)
Version: 4.16.0
Hardware: All Linux
: P5 normal (vote)
Target Milestone: ---
Assignee: Samba QA Contact
QA Contact: Samba QA Contact
URL: https://gitlab.com/samba-team/samba/-...
Keywords:
Depends on:
Blocks:
 
Reported: 2022-03-25 13:08 UTC by Louis
Modified: 2022-03-30 09:13 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Louis 2022-03-25 13:08:35 UTC
Im attempting to build on debian and it fails to build. 
I've already added the patch of bugzilla #15034 : https://bugzilla.samba.org/attachment.cgi?id=17242

Use source : https://salsa.debian.org/samba-team/samba/-/tree/mjt-4.16 
(* ps. I might be that im slow in reply, on vacation in 3hours. )

 It keeps failing at 

[2048/4386] Compiling librpc/rpc/binding_handle.c
12:16:55 runner ['/usr/lib/ccache/gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-fdebug-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-Wformat', '-Werror=format-security', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-DHAVE_CONFIG_H=1', '-fPIC', '-D__STDC_WANT_LIB_EXT1__=1', '-D_REENTRANT', '-DCTDB_HELPER_BINDIR="/usr/lib/x86_64-linux-gnu/ctdb"', '-DLOGDIR="/var/log/ctdb"', '-DCTDB_DATADIR="/usr/share/ctdb"', '-DCTDB_ETCDIR="/etc/ctdb"', '-DCTDB_VARDIR="/var/lib/ctdb"', '-DCTDB_RUNDIR="/var/run/ctdb"', '-fstack-protector-strong', '-fstack-clash-protection', '-DSTATIC_dcerpc_binding_MODULES=NULL', '-DSTATIC_dcerpc_binding_MODULES_PROTO=extern void __dcerpc_binding_dummy_module_proto(void)', '-Ilibrpc', '-I../../librpc', '-Iinclude/public', '-I../../include/public', '-Isource4', '-I../../source4', '-Ilib', '-I../../lib', '-Isource4/lib', '-I../../source4/lib', '-Isource4/include', '-I../../source4/include', '-Iinclude', '-I../../include', '-Ilib/replace', '-I../../lib/replace', '-Ictdb/include', '-I../../ctdb/include', '-Ictdb', '-I../../ctdb', '-I.', '-I../..', '-Ilibcli/nbt', '-I../../libcli/nbt', '-Ilibcli/security', '-I../../libcli/security', '-Ithird_party/heimdal/lib/roken', '-I../../third_party/heimdal/lib/roken', '-Ithird_party/heimdal/include', '-I../../third_party/heimdal/include', '-Ithird_party/heimdal_build/include', '-I../../third_party/heimdal_build/include', '-Ithird_party/heimdal_build', '-I../../third_party/heimdal_build', '-Ilib/util/<<PKGBUILDDIR>>/third_party/gpfs', '-I../../lib/util/<<PKGBUILDDIR>>/third_party/gpfs', '-Isource4/libcli', '-I../../source4/libcli', '-Ilib/crypto', '-I../../lib/crypto', '-Idynconfig', '-I../../dynconfig', '-Isource4/lib/socket', '-I../../source4/lib/socket', '-Ilib/util/charset', '-I../../lib/util/charset', '-Ilib/socket', '-I../../lib/socket', '-Ilib/tsocket', '-I../../lib/tsocket', '-Isource4/lib/events', '-I../../source4/lib/events', '-Ilibcli/util', '-I../../libcli/util', '-I/usr/include/p11-kit-1', '../../librpc/rpc/binding_handle.c', '-c', '-o/<<PKGBUILDDIR>>/bin/default/librpc/rpc/binding_handle.c.212.o', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2049/4386] Compiling librpc/rpc/binding.c
12:16:55 runner ['/usr/lib/ccache/gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-fdebug-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-Wformat', '-Werror=format-security', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-DHAVE_CONFIG_H=1', '-fPIC', '-D__STDC_WANT_LIB_EXT1__=1', '-D_REENTRANT', '-DCTDB_HELPER_BINDIR="/usr/lib/x86_64-linux-gnu/ctdb"', '-DLOGDIR="/var/log/ctdb"', '-DCTDB_DATADIR="/usr/share/ctdb"', '-DCTDB_ETCDIR="/etc/ctdb"', '-DCTDB_VARDIR="/var/lib/ctdb"', '-DCTDB_RUNDIR="/var/run/ctdb"', '-fstack-protector-strong', '-fstack-clash-protection', '-DSTATIC_dcerpc_binding_MODULES=NULL', '-DSTATIC_dcerpc_binding_MODULES_PROTO=extern void __dcerpc_binding_dummy_module_proto(void)', '-Ilibrpc', '-I../../librpc', '-Iinclude/public', '-I../../include/public', '-Isource4', '-I../../source4', '-Ilib', '-I../../lib', '-Isource4/lib', '-I../../source4/lib', '-Isource4/include', '-I../../source4/include', '-Iinclude', '-I../../include', '-Ilib/replace', '-I../../lib/replace', '-Ictdb/include', '-I../../ctdb/include', '-Ictdb', '-I../../ctdb', '-I.', '-I../..', '-Ilibcli/nbt', '-I../../libcli/nbt', '-Ilibcli/security', '-I../../libcli/security', '-Ithird_party/heimdal/lib/roken', '-I../../third_party/heimdal/lib/roken', '-Ithird_party/heimdal/include', '-I../../third_party/heimdal/include', '-Ithird_party/heimdal_build/include', '-I../../third_party/heimdal_build/include', '-Ithird_party/heimdal_build', '-I../../third_party/heimdal_build', '-Ilib/util/<<PKGBUILDDIR>>/third_party/gpfs', '-I../../lib/util/<<PKGBUILDDIR>>/third_party/gpfs', '-Isource4/libcli', '-I../../source4/libcli', '-Ilib/crypto', '-I../../lib/crypto', '-Idynconfig', '-I../../dynconfig', '-Isource4/lib/socket', '-I../../source4/lib/socket', '-Ilib/util/charset', '-I../../lib/util/charset', '-Ilib/socket', '-I../../lib/socket', '-Ilib/tsocket', '-I../../lib/tsocket', '-Isource4/lib/events', '-I../../source4/lib/events', '-Ilibcli/util', '-I../../libcli/util', '-I/usr/include/p11-kit-1', '../../librpc/rpc/binding.c', '-c', '-o/<<PKGBUILDDIR>>/bin/default/librpc/rpc/binding.c.212.o', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
/usr/bin/ld: source3/lib/g_lock.c.48.o: in function `g_lock_lock_retry':
./bin/default/../../source3/lib/g_lock.c:651: undefined reference to `_talloc_get_type_abort'
/usr/bin/ld: ./bin/default/../../source3/lib/g_lock.c:653: undefined reference to `_talloc_get_type_abort'
/usr/bin/ld: ./bin/default/../../source3/lib/g_lock.c:662: undefined reference to `_talloc_free'
/usr/bin/ld: source3/lib/g_lock.c.48.o: in function `g_lock_watch_data_done':
./bin/default/../../source3/lib/g_lock.c:1353: undefined reference to `_talloc_get_type_abort'
/usr/bin/ld: ./bin/default/../../source3/lib/g_lock.c:1355: undefined reference to `_talloc_get_type_abort'
/usr/bin/ld: ./bin/default/../../source3/lib/g_lock.c:1361: undefined reference to `_talloc_free'
/usr/bin/ld: source3/lib/g_lock.c.48.o: in function `g_lock_dump_done':
./bin/default/../../source3/lib/g_lock.c:1202: undefined reference to `_talloc_get_type_abort'
/usr/bin/ld: ./bin/default/../../source3/lib/g_lock.c:1204: undefined reference to `_talloc_get_type_abort'
/usr/bin/ld: ./bin/default/../../source3/lib/g_lock.c:1209: undefined reference to `_talloc_free'
/usr/bin/ld: source3/lib/g_lock.c.48.o: in function `g_lock_watch_data_send_fn':
./bin/default/../../source3/lib/g_lock.c:1244: undefined reference to `_talloc_get_type_abort'
/usr/bin/ld: ./bin/default/../../source3/lib/g_lock.c:1246: undefined reference to `_talloc_get_type_abort'
/usr/bin/ld: source3/lib/g_lock.c.48.o: in function `g_lock_watch_data_done_fn':
./bin/default/../../source3/lib/g_lock.c:1317: undefined reference to `_talloc_get_type_abort'
/usr/bin/ld: ./bin/default/../../source3/lib/g_lock.c:1319: undefined reference to `_talloc_get_type_abort'
/usr/bin/ld: source3/lib/g_lock.c.48.o: in function `g_lock_writev_data_fn':
./bin/default/../../source3/lib/g_lock.c:966: undefined reference to `hex_encode_talloc'
/usr/bin/ld: source3/lib/g_lock.c.48.o: in function `g_lock_dump_fn':
./bin/default/../../source3/lib/g_lock.c:1124: undefined reference to `_talloc_free'
/usr/bin/ld: ./bin/default/../../source3/lib/g_lock.c:1097: undefined reference to `hex_encode_talloc'
/usr/bin/ld: source3/lib/g_lock.c.48.o: in function `g_lock_trylock':
./bin/default/../../source3/lib/g_lock.c:471: undefined reference to `_talloc_set_destructor'
/usr/bin/ld: ./bin/default/../../source3/lib/g_lock.c:514: undefined reference to `_talloc_set_destructor'
/usr/bin/ld: source3/lib/g_lock.c.48.o: in function `g_lock_ctx_init_backend':
./bin/default/../../source3/lib/g_lock.c:192: undefined reference to `talloc_named_const'
/usr/bin/ld: ./bin/default/../../source3/lib/g_lock.c:202: undefined reference to `_talloc_free'
/usr/bin/ld: source3/lib/g_lock.c.48.o: in function `g_lock_ctx_init':
./bin/default/../../source3/lib/g_lock.c:235: undefined reference to `_talloc_free'
/usr/bin/ld: source3/lib/g_lock.c.48.o: in function `g_lock_lock_recv':
./bin/default/../../source3/lib/g_lock.c:708: undefined reference to `_talloc_get_type_abort'
/usr/bin/ld: source3/lib/g_lock.c.48.o: in function `g_lock_lock':
./bin/default/../../source3/lib/g_lock.c:850: undefined reference to `_talloc_free'
/usr/bin/ld: source3/lib/g_lock.c.48.o: in function `g_lock_watch_data_recv':
./bin/default/../../source3/lib/g_lock.c:1388: undefined reference to `_talloc_get_type_abort'
/usr/bin/ld: lib/async_req/async_sock.c.1.o: in function `async_connect_connected':
./bin/default/../../lib/async_req/async_sock.c:194: undefined reference to `_talloc_get_type_abort'
/usr/bin/ld: ./bin/default/../../lib/async_req/async_sock.c:197: undefined reference to `_talloc_get_type_abort'
/usr/bin/ld: lib/async_req/async_sock.c.1.o: in function `writev_cleanup':
./bin/default/../../lib/async_req/async_sock.c:318: undefined reference to `_talloc_get_type_abort'
/usr/bin/ld: ./bin/default/../../lib/async_req/async_sock.c:320: undefined reference to `_talloc_free'
/usr/bin/ld: ./bin/default/../../lib/async_req/async_sock.c:321: undefined reference to `_talloc_free'
/usr/bin/ld: lib/async_req/async_sock.c.1.o: in function `read_packet_cleanup':
./bin/default/../../lib/async_req/async_sock.c:509: undefined reference to `_talloc_get_type_abort'
/usr/bin/ld: ./bin/default/../../lib/async_req/async_sock.c:511: undefined reference to `_talloc_free'
/usr/bin/ld: lib/async_req/async_sock.c.1.o: in function `wait_for_read_cleanup':
./bin/default/../../lib/async_req/async_sock.c:641: undefined reference to `_talloc_get_type_abort'
/usr/bin/ld: ./bin/default/../../lib/async_req/async_sock.c:643: undefined reference to `_talloc_free'
/usr/bin/ld: lib/async_req/async_sock.c.1.o: in function `async_connect_cleanup':
./bin/default/../../lib/async_req/async_sock.c:167: undefined reference to `_talloc_get_type_abort'
/usr/bin/ld: ./bin/default/../../lib/async_req/async_sock.c:169: undefined reference to `_talloc_free'
/usr/bin/ld: lib/async_req/async_sock.c.1.o: in function `writev_cancel':
./bin/default/../../lib/async_req/async_sock.c:326: undefined reference to `_talloc_get_type_abort'
/usr/bin/ld: ./bin/default/../../lib/async_req/async_sock.c:335: undefined reference to `_talloc_free'
/usr/bin/ld: ./bin/default/../../lib/async_req/async_sock.c:336: undefined reference to `_talloc_free'
/usr/bin/ld: lib/async_req/async_sock.c.1.o: in function `writev_trigger':
./bin/default/../../lib/async_req/async_sock.c:380: undefined reference to `_talloc_get_type_abort'
/usr/bin/ld: lib/async_req/async_sock.c.1.o: in function `wait_for_read_done':
./bin/default/../../lib/async_req/async_sock.c:651: undefined reference to `_talloc_get_type_abort'
/usr/bin/ld: ./bin/default/../../lib/async_req/async_sock.c:654: undefined reference to `_talloc_get_type_abort'
/usr/bin/ld: lib/async_req/async_sock.c.1.o: in function `writev_handler':
./bin/default/../../lib/async_req/async_sock.c:399: undefined reference to `_talloc_get_type_abort'
/usr/bin/ld: ./bin/default/../../lib/async_req/async_sock.c:402: undefined reference to `_talloc_get_type_abort'
/usr/bin/ld: lib/async_req/async_sock.c.1.o:./bin/default/../../lib/async_req/async_sock.c:518: more undefined references to `_talloc_get_type_abort' follow
/usr/bin/ld: lib/async_req/async_sock.c.1.o: in function `read_packet_handler':
./bin/default/../../lib/async_req/async_sock.c:522: undefined reference to `talloc_get_size'
/usr/bin/ld: ./bin/default/../../lib/async_req/async_sock.c:577: undefined reference to `_talloc_realloc_array'
/usr/bin/ld: lib/async_req/async_sock.c.1.o: in function `accept_handler':
./bin/default/../../lib/async_req/async_sock.c:732: undefined reference to `_talloc_get_type_abort'
/usr/bin/ld: ./bin/default/../../lib/async_req/async_sock.c:734: undefined reference to `_talloc_get_type_abort'
/usr/bin/ld: ./bin/default/../../lib/async_req/async_sock.c:737: undefined reference to `_talloc_free'
/usr/bin/ld: lib/async_req/async_sock.c.1.o: in function `writev_send':
./bin/default/../../lib/async_req/async_sock.c:275: undefined reference to `_talloc_memdup'
/usr/bin/ld: lib/async_req/async_sock.c.1.o: in function `writev_recv':
./bin/default/../../lib/async_req/async_sock.c:442: undefined reference to `_talloc_get_type_abort'
/usr/bin/ld: lib/async_req/async_sock.c.1.o: in function `read_packet_recv':
./bin/default/../../lib/async_req/async_sock.c:588: undefined reference to `_talloc_get_type_abort'
/usr/bin/ld: ./bin/default/../../lib/async_req/async_sock.c:594: undefined reference to `_talloc_move'
/usr/bin/ld: lib/async_req/async_sock.c.1.o: in function `accept_recv':
./bin/default/../../lib/async_req/async_sock.c:767: undefined reference to `_talloc_get_type_abort'
/usr/bin/ld: lib/async_req/async_sock.c.1.o: in function `read_packet_recv':
./bin/default/../../lib/async_req/async_sock.c:596: undefined reference to `talloc_get_size'
/usr/bin/ld: source3/lib/messages.c.52.o: in function `messaging_rec_dup':
./bin/default/../../source3/lib/messages.c:990: undefined reference to `_talloc_memdup'
/usr/bin/ld: ./bin/default/../../source3/lib/messages.c:997: undefined reference to `_talloc_memdup'
/usr/bin/ld: source3/lib/messages.c.52.o: in function `messaging_context_destructor':
./bin/default/../../source3/lib/messages.c:459: undefined reference to `_talloc_free'
/usr/bin/ld: source3/lib/messages.c.52.o: in function `messaging_read_filter':
./bin/default/../../source3/lib/messages.c:1208: undefined reference to `_talloc_get_type_abort'
/usr/bin/ld: source3/lib/messages.c.52.o: in function `messaging_register_event_context':
./bin/default/../../source3/lib/messages.c:189: undefined reference to `talloc_get_size'
/usr/bin/ld: ./bin/default/../../source3/lib/messages.c:222: undefined reference to `_talloc_realloc_array'
/usr/bin/ld: ./bin/default/../../source3/lib/messages.c:231: undefined reference to `_talloc_move'
/usr/bin/ld: source3/lib/messages.c.52.o: in function `mess_parent_dgm_cleanup_done':
./bin/default/../../source3/lib/messages.c:1435: undefined reference to `_talloc_get_type_abort'
/usr/bin/ld: ./bin/default/../../source3/lib/messages.c:1440: undefined reference to `_talloc_free'
/usr/bin/ld: source3/lib/messages.c.52.o: in function `messaging_dispatch_waiters':
./bin/default/../../source3/lib/messages.c:1339: undefined reference to `_talloc_get_type_abort'
/usr/bin/ld: source3/lib/messages.c.52.o: in function `messaging_filtered_read_done':
./bin/default/../../source3/lib/messages.c:1144: undefined reference to `_talloc_get_type_abort'
/usr/bin/ld: source3/lib/messages.c.52.o: in function `messaging_append_new_waiters':
./bin/default/../../source3/lib/messages.c:1256: undefined reference to `talloc_get_size'
/usr/bin/ld: ./bin/default/../../source3/lib/messages.c:1259: undefined reference to `_talloc_realloc_array'
/usr/bin/ld: source3/lib/messages.c.52.o: in function `messaging_post_sub_event_context':
./bin/default/../../source3/lib/messages.c:330: undefined reference to `_talloc_get_type_abort'
/usr/bin/ld: ./bin/default/../../source3/lib/messages.c:342: undefined reference to `_talloc_free'
/usr/bin/ld: source3/lib/messages.c.52.o: in function `messaging_post_main_event_context':
./bin/default/../../source3/lib/messages.c:299: undefined reference to `_talloc_get_type_abort'
/usr/bin/ld: ./bin/default/../../source3/lib/messages.c:322: undefined reference to `_talloc_free'
/usr/bin/ld: source3/lib/messages.c.52.o: in function `messaging_filtered_read_cleanup':
./bin/default/../../source3/lib/messages.c:1102: undefined reference to `_talloc_get_type_abort'
/usr/bin/ld: ./bin/default/../../source3/lib/messages.c:1110: undefined reference to `_talloc_free'
/usr/bin/ld: ./bin/default/../../source3/lib/messages.c:1111: undefined reference to `_talloc_free'
/usr/bin/ld: source3/lib/messages.c.52.o: in function `messaging_deregister_event_context':
./bin/default/../../source3/lib/messages.c:248: undefined reference to `talloc_get_size'
/usr/bin/ld: source3/lib/messages.c.52.o: in function `messaging_rec_create':
./bin/default/../../source3/lib/messages.c:177: undefined reference to `_talloc_free'
/usr/bin/ld: source3/lib/messages.c.52.o: in function `messaging_alert_event_contexts':
./bin/default/../../source3/lib/messages.c:351: undefined reference to `talloc_get_size'
/usr/bin/ld: source3/lib/messages.c.52.o: in function `messaging_recv_cb':
./bin/default/../../source3/lib/messages.c:390: undefined reference to `_talloc_get_type_abort'
/usr/bin/ld: source3/lib/messages.c.52.o: in function `messaging_reinit':
./bin/default/../../source3/lib/messages.c:646: undefined reference to `_talloc_free'
/usr/bin/ld: ./bin/default/../../source3/lib/messages.c:648: undefined reference to `talloc_named_const'
/usr/bin/ld: source3/lib/messages.c.52.o: in function `messaging_register':
./bin/default/../../source3/lib/messages.c:740: undefined reference to `talloc_named_const'
/usr/bin/ld: source3/lib/messages.c.52.o: in function `messaging_init_internal':
./bin/default/../../source3/lib/messages.c:521: undefined reference to `_talloc_zero'
/usr/bin/ld: ./bin/default/../../source3/lib/messages.c:533: undefined reference to `talloc_named_const'
/usr/bin/ld: ./bin/default/../../source3/lib/messages.c:611: undefined reference to `_talloc_free'
/usr/bin/ld: ./bin/default/../../source3/lib/messages.c:559: undefined reference to `_talloc_set_destructor'
/usr/bin/ld: ./bin/default/../../source3/lib/messages.c:611: undefined reference to `_talloc_free'
/usr/bin/ld: source3/lib/messages.c.52.o: in function `messaging_deregister':
./bin/default/../../source3/lib/messages.c:767: undefined reference to `_talloc_free'
/usr/bin/ld: source3/lib/messages.c.52.o: in function `messaging_filtered_read_send':
./bin/default/../../source3/lib/messages.c:1073: undefined reference to `talloc_get_size'
/usr/bin/ld: ./bin/default/../../source3/lib/messages.c:1078: undefined reference to `_talloc_realloc_array'
/usr/bin/ld: source3/lib/messages.c.52.o: in function `messaging_filtered_read_recv':
./bin/default/../../source3/lib/messages.c:1157: undefined reference to `_talloc_get_type_abort'
/usr/bin/ld: ./bin/default/../../source3/lib/messages.c:1166: undefined reference to `_talloc_move'
/usr/bin/ld: source3/lib/messages.c.52.o: in function `messaging_read_done':
./bin/default/../../source3/lib/messages.c:1220: undefined reference to `_talloc_get_type_abort'
/usr/bin/ld: ./bin/default/../../source3/lib/messages.c:1222: undefined reference to `_talloc_get_type_abort'
/usr/bin/ld: ./bin/default/../../source3/lib/messages.c:1227: undefined reference to `_talloc_free'
/usr/bin/ld: source3/lib/messages.c.52.o: in function `messaging_read_recv':
./bin/default/../../source3/lib/messages.c:1237: undefined reference to `_talloc_get_type_abort'
/usr/bin/ld: ./bin/default/../../source3/lib/messages.c:1245: undefined reference to `_talloc_move'
/usr/bin/ld: source3/lib/messages.c.52.o: in function `private_path':
./bin/default/../../source3/lib/messages.c:466: undefined reference to `talloc_asprintf'
/usr/bin/ld: source3/lib/messages_ctdb_ref.c.45.o: in function `msg_ctdb_ref_destructor':
./bin/default/../../source3/lib/messages_ctdb_ref.c:137: undefined reference to `_talloc_free'
/usr/bin/ld: source3/lib/messages_ctdb_ref.c.45.o: in function `messaging_ctdb_ref':
./bin/default/../../source3/lib/messages_ctdb_ref.c:55: undefined reference to `talloc_named_const'
/usr/bin/ld: ./bin/default/../../source3/lib/messages_ctdb_ref.c:100: undefined reference to `_talloc_set_destructor'
/usr/bin/ld: ./bin/default/../../source3/lib/messages_ctdb_ref.c:81: undefined reference to `_talloc_free'
/usr/bin/ld: ./bin/default/../../source3/lib/messages_ctdb_ref.c:90: undefined reference to `_talloc_free'
/usr/bin/ld: source3/lib/ctdbd_conn.c.45.o: in function `ctdbd_req_written':
./bin/default/../../source3/lib/ctdbd_conn.c:1654: undefined reference to `_talloc_get_type_abort'
/usr/bin/ld: ./bin/default/../../source3/lib/ctdbd_conn.c:1660: undefined reference to `_talloc_free'
/usr/bin/ld: source3/lib/ctdbd_conn.c.45.o: in function `ctdbd_pkt_read_done':
./bin/default/../../source3/lib/ctdbd_conn.c:1408: undefined reference to `_talloc_get_type_abort'
/usr/bin/ld: ./bin/default/../../source3/lib/ctdbd_conn.c:1410: undefined reference to `_talloc_get_type_abort'
/usr/bin/ld: ./bin/default/../../source3/lib/ctdbd_conn.c:1416: undefined reference to `_talloc_free'
/usr/bin/ld: source3/lib/ctdbd_conn.c.45.o: in function `ctdbd_req_unset_pending':
./bin/default/../../source3/lib/ctdbd_conn.c:1451: undefined reference to `_talloc_get_type_abort'
/usr/bin/ld: ./bin/default/../../source3/lib/ctdbd_conn.c:1454: undefined reference to `talloc_get_size'
/usr/bin/ld: ./bin/default/../../source3/lib/ctdbd_conn.c:1488: undefined reference to `_talloc_realloc_array'
/usr/bin/ld: ./bin/default/../../source3/lib/ctdbd_conn.c:1463: undefined reference to `_talloc_free'
/usr/bin/ld: source3/lib/ctdbd_conn.c.45.o: in function `ctdbd_msg_call_back':
./bin/default/../../source3/lib/ctdbd_conn.c:182: undefined reference to `talloc_get_size'
/usr/bin/ld: source3/lib/ctdbd_conn.c.45.o: in function `ctdb_read_packet':
./bin/default/../../source3/lib/ctdbd_conn.c:356: undefined reference to `talloc_named_const'
/usr/bin/ld: ./bin/default/../../source3/lib/ctdbd_conn.c:360: undefined reference to `talloc_set_name_const'
/usr/bin/ld: ./bin/default/../../source3/lib/ctdbd_conn.c:367: undefined reference to `_talloc_free'
/usr/bin/ld: ./bin/default/../../source3/lib/ctdbd_conn.c:371: undefined reference to `_talloc_free'
/usr/bin/ld: source3/lib/ctdbd_conn.c.45.o: in function `ctdbd_conn_receive_next':
./bin/default/../../source3/lib/ctdbd_conn.c:1528: undefined reference to `talloc_get_size'
/usr/bin/ld: ./bin/default/../../source3/lib/ctdbd_conn.c:1543: undefined reference to `_talloc_get_type_abort'
/usr/bin/ld: source3/lib/ctdbd_conn.c.45.o: in function `ctdbd_conn_received':
./bin/default/../../source3/lib/ctdbd_conn.c:1556: undefined reference to `_talloc_get_type_abort'
/usr/bin/ld: source3/lib/ctdbd_conn.c.45.o: in function `ctdbd_pkt_read_recv':
./bin/default/../../source3/lib/ctdbd_conn.c:1427: undefined reference to `_talloc_get_type_abort'
/usr/bin/ld: source3/lib/ctdbd_conn.c.45.o: in function `ctdbd_conn_received':
./bin/default/../../source3/lib/ctdbd_conn.c:1572: undefined reference to `_talloc_free'
/usr/bin/ld: source3/lib/ctdbd_conn.c.45.o: in function `ctdbd_pkt_read_recv':
./bin/default/../../source3/lib/ctdbd_conn.c:1434: undefined reference to `_talloc_move'
/usr/bin/ld: source3/lib/ctdbd_conn.c.45.o: in function `ctdbd_conn_received':
./bin/default/../../source3/lib/ctdbd_conn.c:1572: undefined reference to `_talloc_free'
/usr/bin/ld: ./bin/default/../../source3/lib/ctdbd_conn.c:1579: undefined reference to `talloc_get_size'
/usr/bin/ld: ./bin/default/../../source3/lib/ctdbd_conn.c:1583: undefined reference to `_talloc_get_type_abort'
/usr/bin/ld: ./bin/default/../../source3/lib/ctdbd_conn.c:1595: undefined reference to `_talloc_move'
/usr/bin/ld: ./bin/default/../../source3/lib/ctdbd_conn.c:1599: undefined reference to `_talloc_free'
/usr/bin/ld: ./bin/default/../../source3/lib/ctdbd_conn.c:1591: undefined reference to `_talloc_free'
/usr/bin/ld: source3/lib/ctdbd_conn.c.45.o: in function `ctdb_read_req':
./bin/default/../../source3/lib/ctdbd_conn.c:420: undefined reference to `_talloc_free'
/usr/bin/ld: ./bin/default/../../source3/lib/ctdbd_conn.c:412: undefined reference to `_talloc_free'
/usr/bin/ld: ./bin/default/../../source3/lib/ctdbd_conn.c:424: undefined reference to `_talloc_move'
/usr/bin/ld: ./bin/default/../../source3/lib/ctdbd_conn.c:408: undefined reference to `_talloc_free'
/usr/bin/ld: source3/lib/ctdbd_conn.c.45.o: in function `ctdbd_conn_has_async_reqs':
./bin/default/../../source3/lib/ctdbd_conn.c:72: undefined reference to `talloc_get_size'
/usr/bin/ld: source3/lib/ctdbd_conn.c.45.o: in function `ctdbd_control':
./bin/default/../../source3/lib/ctdbd_conn.c:726: undefined reference to `_talloc_memdup'
/usr/bin/ld: ./bin/default/../../source3/lib/ctdbd_conn.c:737: undefined reference to `_talloc_free'
/usr/bin/ld: ./bin/default/../../source3/lib/ctdbd_conn.c:720: undefined reference to `_talloc_free'
/usr/bin/ld: ./bin/default/../../source3/lib/ctdbd_conn.c:728: undefined reference to `_talloc_free'
/usr/bin/ld: source3/lib/ctdbd_conn.c.45.o: in function `ctdbd_control_local':
./bin/default/../../source3/lib/ctdbd_conn.c:1276: undefined reference to `tdb_null'
/usr/bin/ld: source3/lib/ctdbd_conn.c.45.o: relocation R_X86_64_PC32 against undefined hidden symbol `tdb_null' can not be used when making a shared object
/usr/bin/ld: final link failed: bad value
collect2: error: ld returned 1 exit status

* 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 'smbconf' failed with exit status 1:
        {task 140250843468288: cshlib dbwrap_open.c.48.o,dbwrap_watch.c.48.o,g_lock.c.48.o,async_sock.c.1.o,util_pw.c.99.o,reg_backend_smbconf.c.36.o,reg_init_smbconf.c.36.o,reg_util_token.c.36.o,reg_api_util.c.36.o,messages.c.52.o,util_cluster.c.52.o,id_cache.c.52.o,serverid.c.52.o,server_id_watch.c.52.o,server_id_db_util.c.52.o,addrchange.c.52.o,debug_s3.c.52.o,dumpcore.c.52.o,interface.c.52.o,username.c.52.o,smbrun.c.52.o,wins_srv.c.52.o,substitute.c.52.o,substitute_generic.c.52.o,ms_fnmatch.c.52.o,tallocmsg.c.52.o,dmallocmsg.c.52.o,gencache.c.52.o,util_event.c.52.o,global_contexts.c.52.o,ldap_escape.c.52.o,system_smbd.c.52.o,audit.c.52.o,idmap_cache.c.52.o,namemap_cache.c.52.o,util_ea.c.52.o,background.c.52.o,util.c.1.o,ndr_server_id.c.40.o,loadparm_ctx.c.2.o,errormap.c.126.o,smberr.c.126.o,errmap_unix.c.126.o,system.c.44.o,sendfile.c.44.o,recvfile.c.44.o,time.c.44.o,util_sid.c.44.o,util_specialsids.c.44.o,util_file.c.44.o,util.c.44.o,util_path.c.44.o,util_matching.c.44.o,util_procid.c.44.o,util_sock.c.44.o,util_tsock.c.44.o,util_transfer_file.c.44.o,util_macstreams.c.44.o,smbconf_init.c.77.o,smbconf_reg.c.77.o,util_tdb.c.116.o,ndr_messaging.c.154.o,version.c.109.o,reg_api.c.35.o,reg_dispatcher.c.35.o,reg_cachehook.c.35.o,reg_objects.c.35.o,reg_util_internal.c.35.o,util_nttoken.c.35.o,reg_backend_db.c.35.o,reg_parse_internal.c.35.o,reg_parse.c.35.o,srprs.c.35.o,reg_init_basic.c.35.o,cluster_support.c.45.o,dbwrap_ctdb.c.45.o,messages_ctdb.c.45.o,messages_ctdb_ref.c.45.o,ctdbd_conn.c.45.o,smbconf.c.1.o,smbconf_txt.c.1.o,smbconf_util.c.1.o,loadparm.c.76.o,sharesec.c.76.o,ldap_debug_handler.c.76.o,util_names.c.76.o -> libsmbconf.so}
['/usr/lib/ccache/gcc', '-Wl,--as-needed', '-Wl,--version-script=/<<PKGBUILDDIR>>/bin/default/source3/smbconf.vscript', '-shared', '-Wl,-h,libsmbconf.so.0', 'source3/lib/dbwrap/dbwrap_open.c.48.o', 'source3/lib/dbwrap/dbwrap_watch.c.48.o', 'source3/lib/g_lock.c.48.o', 'lib/async_req/async_sock.c.1.o', 'lib/util/util_pw.c.99.o', 'source3/registry/reg_backend_smbconf.c.36.o', 'source3/registry/reg_init_smbconf.c.36.o', 'source3/registry/reg_util_token.c.36.o', 'source3/registry/reg_api_util.c.36.o', 'source3/lib/messages.c.52.o', 'source3/lib/util_cluster.c.52.o', 'source3/lib/id_cache.c.52.o', 'source3/lib/serverid.c.52.o', 'source3/lib/server_id_watch.c.52.o', 'source3/lib/server_id_db_util.c.52.o', 'source3/lib/addrchange.c.52.o', 'lib/util/debug_s3.c.52.o', 'source3/lib/dumpcore.c.52.o', 'source3/lib/interface.c.52.o', 'source3/lib/username.c.52.o', 'source3/lib/smbrun.c.52.o', 'source3/lib/wins_srv.c.52.o', 'source3/lib/substitute.c.52.o', 'source3/lib/substitute_generic.c.52.o', 'source3/lib/ms_fnmatch.c.52.o', 'source3/lib/tallocmsg.c.52.o', 'source3/lib/dmallocmsg.c.52.o', 'source3/lib/gencache.c.52.o', 'source3/lib/util_event.c.52.o', 'source3/lib/global_contexts.c.52.o', 'source3/lib/ldap_escape.c.52.o', 'source3/lib/system_smbd.c.52.o', 'source3/lib/audit.c.52.o', 'source3/lib/idmap_cache.c.52.o', 'source3/lib/namemap_cache.c.52.o', 'source3/lib/util_ea.c.52.o', 'source3/lib/background.c.52.o', 'source3/param/util.c.1.o', 'librpc/gen_ndr/ndr_server_id.c.40.o', 'source3/param/loadparm_ctx.c.2.o', 'source3/libsmb/errormap.c.126.o', 'source3/libsmb/smberr.c.126.o', 'source3/lib/errmap_unix.c.126.o', 'source3/lib/system.c.44.o', 'source3/lib/sendfile.c.44.o', 'source3/lib/recvfile.c.44.o', 'source3/lib/time.c.44.o', 'source3/lib/util_sid.c.44.o', 'source3/lib/util_specialsids.c.44.o', 'source3/lib/util_file.c.44.o', 'source3/lib/util.c.44.o', 'source3/lib/util_path.c.44.o', 'source3/lib/util_matching.c.44.o', 'source3/lib/util_procid.c.44.o', 'source3/lib/util_sock.c.44.o', 'source3/lib/util_tsock.c.44.o', 'source3/lib/util_transfer_file.c.44.o', 'source3/lib/util_macstreams.c.44.o', 'source3/lib/smbconf/smbconf_init.c.77.o', 'source3/lib/smbconf/smbconf_reg.c.77.o', 'source3/lib/util_tdb.c.116.o', 'librpc/gen_ndr/ndr_messaging.c.154.o', 'source3/lib/version.c.109.o', 'source3/registry/reg_api.c.35.o', 'source3/registry/reg_dispatcher.c.35.o', 'source3/registry/reg_cachehook.c.35.o', 'source3/registry/reg_objects.c.35.o', 'source3/registry/reg_util_internal.c.35.o', 'source3/lib/util_nttoken.c.35.o', 'source3/registry/reg_backend_db.c.35.o', 'source3/registry/reg_parse_internal.c.35.o', 'source3/registry/reg_parse.c.35.o', 'source3/lib/srprs.c.35.o', 'source3/registry/reg_init_basic.c.35.o', 'source3/lib/cluster_support.c.45.o', 'source3/lib/dbwrap/dbwrap_ctdb.c.45.o', 'source3/lib/messages_ctdb.c.45.o', 'source3/lib/messages_ctdb_ref.c.45.o', 'source3/lib/ctdbd_conn.c.45.o', 'lib/smbconf/smbconf.c.1.o', 'lib/smbconf/smbconf_txt.c.1.o', 'lib/smbconf/smbconf_util.c.1.o', 'source3/param/loadparm.c.76.o', 'source3/lib/sharesec.c.76.o', 'source3/lib/ldap_debug_handler.c.76.o', 'source3/lib/util_names.c.76.o', '-o/<<PKGBUILDDIR>>/bin/default/source3/libsmbconf.so', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/<<PKGBUILDDIR>>/bin/default/third_party/heimdal_build', '-L/<<PKGBUILDDIR>>/bin/default/source4/lib/events', '-L/<<PKGBUILDDIR>>/bin/default/lib/tdb_wrap', '-L/<<PKGBUILDDIR>>/bin/default/librpc', '-L/<<PKGBUILDDIR>>/bin/default/libcli/util', '-L/<<PKGBUILDDIR>>/bin/default/lib/replace', '-L/<<PKGBUILDDIR>>/bin/default/lib/messaging', '-L/<<PKGBUILDDIR>>/bin/default/lib', '-L/<<PKGBUILDDIR>>/bin/default/libcli/registry', '-L/<<PKGBUILDDIR>>/bin/default/lib/socket', '-L/<<PKGBUILDDIR>>/bin/default/lib/dbwrap', '-L/<<PKGBUILDDIR>>/bin/default/libcli/security', '-L/<<PKGBUILDDIR>>/bin/default/source3', '-L/<<PKGBUILDDIR>>/bin/default/lib/param', '-L/<<PKGBUILDDIR>>/bin/default/lib/util', '-L/usr/local/lib', '-L/usr/local/lib', '-ltalloc-report-printf-samba4', '-lsamba-hostconfig', '-lCHARSET3-samba4', '-lsamba-util', '-lsys-rw-samba4', '-lserver-id-db-samba4', '-lsamba-security-samba4', '-lmessages-util-samba4', '-ldbwrap-samba4', '-linterfaces-samba4', '-lutil-reg-samba4', '-lsamba-sockets-samba4', '-lsamba-debug-samba4', '-lmessages-dgm-samba4', '-lsmbd-shim-samba4', '-lsocket-blocking-samba4', '-liov-buf-samba4', '-lsamba3-util-samba4', '-lutil-tdb-samba4', '-lreplace-samba4', '-lsamba-errors', '-ltevent-util', '-lndr', '-lserver-role-samba4', '-lgenrand-samba4', '-lutil-setid-samba4', '-ltime-basic-samba4', '-ltdb-wrap-samba4', '-levents-samba4', '-lndr-nbt', '-lroken-samba4', '-lmsghdr-samba4', '-lutil', '-lresolv', '-licudata', '-licuuc', '-licui18n', '-lsystemd', '-lcap', '-lcups', '-ltevent', '-ltalloc', '-lbsd', '-ltalloc', '-lpthread', '-ltdb', '-llber', '-ldl', '-lz', '-lgnutls', '-lldap', '-Wl,-Bsymbolic-functions', '-Wl,-z,relro', '-Wl,-z,now', '-Wl,-z,relro,-z,now', '-Wl,-no-undefined', '-Wl,--export-dynamic']
make[1]: *** [debian/rules:132: override_dh_auto_build] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:126: build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
Comment 1 Stefan Metzmacher 2022-03-30 09:13:25 UTC
Bug #15033 will have patches to prevent the problems