Summary: | net/samba43: Fails to link when samba is installed (cannot upgrade) on FreeBSD-11 amd64 | ||
---|---|---|---|
Product: | Ports & Packages | Reporter: | Gerard Seibert <gerard_seibert> |
Component: | Individual Port(s) | Assignee: | Timur I. Bakeyev <timur> |
Status: | Closed Overcome By Events | ||
Severity: | Affects Only Me | CC: | dim, pi |
Priority: | --- | Keywords: | needs-qa |
Version: | Latest | Flags: | bugzilla:
maintainer-feedback?
(timur) koobs: merge-quarterly? |
Hardware: | amd64 | ||
OS: | Any |
Description
Gerard Seibert
2016-07-15 12:05:39 UTC
The interesting part of the log is: [3362/3871] Linking default/lib/async_req/async_connect_send_test runner cc default/lib/async_req/async_sock_1.o default/lib/async_req/async_connect_send_test_2.o -o /usr/ports/net/samba43/work/samba-4.3.11/bin/default/lib/async_req/async_connect_send_test -L/usr/local/lib -fstack-protector -pie -Wl,-z,relro,-z,now -lpthread -Wl,-no-undefined -Wl,--export-dynamic -Wl,--as-needed -Wl,-rpath,/usr/ports/net/samba43/work/samba-4.3.11/bin/shared -Wl,-rpath,/usr/ports/net/samba43/work/samba-4.3.11/bin/shared/private -Ldefault/libcli/util -Ldefault/lib/replace -Ldefault/lib/util -Wl,-Bdynamic -liov-buf-samba4 -ltevent-util -lsocket-blocking-samba4 -lreplace-samba4 -lerrors-samba4 -lsamba-debug-samba4 -ltime-basic-samba4 -lrt -lcrypt -ltevent -ltalloc /usr/local/lib/libtevent-util.so: undefined reference to `map_nt_error_from_unix_common@SAMBA_4.3.9' /usr/local/lib/libtevent-util.so: undefined reference to `ntstatus_to_werror@SAMBA_4.3.9' cc: error: linker command failed with exit code 1 (use -v to see invocation) (In reply to Dimitry Andric from comment #1) I am just wondering if there has been any movement on this issue. I still have samba43-4.3.9 installed, and it is reported as having security vulnerabilities. I would really like to update to the newest version if possible, but have not been able to due to this problem. (In reply to Gerard Seibert from comment #2) > I am just wondering if there has been any movement on this issue. I still > have samba43-4.3.9 installed, and it is reported as having security > vulnerabilities. I would really like to update to the newest version if > possible, but have not been able to due to this problem. There seems to be an issue with the port that during the linking stage, it finds libraries from its older version in /usr/local/lib, and then complains because obviously some symbols changed. A quick fix is to delete your old samba43 port first, then build the new samba43 port. The port maintainer should really investigate why the linking seems to pick up libraries from /usr/local/lib before those in the port working directory. (In reply to Dimitry Andric from comment #3) Deleting the port first works. It does make doing auto updates problematic though. Hopefully the port maintainer will be able to correct this problem before the next version is released. I am wondering if this phenomena is occurring with all versions of Samba or just the "43" one. |