Opened 12 years ago

Closed 4 years ago

#38639 closed defect (fixed)

samba4 fails to build

Reported by: rkitover (Rafael Kitover) Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.1.3
Keywords: Cc: anddam (Andrea D'Amore), cyberforensics
Port: samba4

Description (last modified by mf2k (Frank Schima))

This is the error I see:

Undefined symbols for architecture x86_64:
  "_gnutls_transport_set_lowat", referenced from:
      _tls_init_server in libtls.a(tls.o)
      _tls_init_client in libtls.a(tls.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [bin/regpatch] Error 1

Attachments (1)

main.log (709.7 KB) - added by rkitover (Rafael Kitover) 12 years ago.
main.log

Download all attachments as: .zip

Change History (9)

comment:1 Changed 12 years ago by mf2k (Frank Schima)

Description: modified (diff)
Owner: changed from macports-tickets@… to mww@…

In the future, please use WikiFormatting and Cc the port maintainer(s).

Please attach the complete main.log file.

Changed 12 years ago by rkitover (Rafael Kitover)

Attachment: main.log added

main.log

comment:2 Changed 12 years ago by rkitover (Rafael Kitover)

Looks like gnutls_transport_set_lowat is deprecated in newer versions of gnutls.

E.g.:

http://lists.gnu.org/archive/html/help-gnutls/2011-06/msg00025.html

They recommend removing the call.

I commented out the two calls I found in the source and it built fine.

Perhaps there's a newer version of samba4 which fixes this?

comment:3 Changed 12 years ago by mf2k (Frank Schima)

The update ticket is #38834. Hopefully that will fix this problem.

comment:4 Changed 10 years ago by anddam (Andrea D'Amore)

Cc: and.damore@… added

Cc Me!

comment:5 Changed 8 years ago by mf2k (Frank Schima)

Owner: mww@… deleted
Status: newassigned

See #53012.

comment:6 Changed 7 years ago by ryandesign (Ryan Carsten Schmidt)

Has duplicate #56325.

comment:7 Changed 6 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: cyberforensics added

Has duplicate #56962.

comment:8 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: assignedclosed

samba4 has been updated to 4.13.1 which does not have this problem anymore.

Note: See TracTickets for help on using tickets.