Bug 226703 - net/samba47: failed to build on 11.1-RELEASE-p8
Summary: net/samba47: failed to build on 11.1-RELEASE-p8
Status: Closed Not A Bug
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Only Me
Assignee: Walter Schwarzenfeld
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-03-18 18:13 UTC by Alexander Pushkin
Modified: 2018-03-19 16:20 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (timur)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Pushkin 2018-03-18 18:13:30 UTC
When I'm trying to update net/samba43 to net/samba47 on 11.1-RELEASE-p8, I get the following error:

srv1 ~ # portmaster -do net/samba47 net/samba43
......
[3291/3804] Linking default/source4/lib/events/libevents-samba4.so
runner cc default/source4/lib/events/tevent_s4_1.o -o /usr/ports/net/samba47/work/samba-4.7.6/bin/default/source4/lib/events/libevents-samba4.so -L/usr/local/lib -fstack-protector -Wl,-z,relro,-z,now -lpthread -Wl,-no-undefined -Wl,--export-dynamic -Wl,--as-needed -shared -Wl,--version-script=/usr/ports/net/samba47/work/samba-4.7.6/bin/default/source4/lib/events/events.vscript -Ldefault/third_party/aesni-intel -Ldefault/lib/replace -Ldefault/lib/util -Wl,-Bdynamic -lsamba-util -lreplace-samba4 -ltime-basic-samba4 -laesni-intel-samba4 -lutil-setid-samba4 -lsamba-debug-samba4 -lgenrand-samba4 -lsocket-blocking-samba4 -lsys-rw-samba4 -liov-buf-samba4 -liconv -lmd -lrt -lexecinfo -lcrypt -ltevent -ltalloc
default/lib/util/server_id_db_77.o: In function `server_id_db_destructor':
/usr/ports/net/samba47/work/samba-4.7.6/bin/../lib/util/server_id_db.c:87: undefined reference to `strv_next'
default/lib/util/server_id_db_77.o: In function `server_id_db_add':
/usr/ports/net/samba47/work/samba-4.7.6/bin/../lib/util/server_id_db.c:101: undefined reference to `strv_find'
/usr/ports/net/samba47/work/samba-4.7.6/bin/../lib/util/server_id_db.c:106: undefined reference to `strv_add'
/usr/ports/net/samba47/work/samba-4.7.6/bin/../lib/util/server_id_db.c:114: undefined reference to `server_id_str_buf_unique'
/usr/ports/net/samba47/work/samba-4.7.6/bin/../lib/util/server_id_db.c:117: undefined reference to `server_id_str_buf_unique'
/usr/ports/net/samba47/work/samba-4.7.6/bin/../lib/util/server_id_db.c:126: undefined reference to `strv_find'
/usr/ports/net/samba47/work/samba-4.7.6/bin/../lib/util/server_id_db.c:126: undefined reference to `strv_delete'
default/lib/util/server_id_db_77.o: In function `server_id_db_prune_name':
/usr/ports/net/samba47/work/samba-4.7.6/bin/../lib/util/server_id_db.c:137: undefined reference to `server_id_str_buf_unique'
/usr/ports/net/samba47/work/samba-4.7.6/bin/../lib/util/server_id_db.c:146: undefined reference to `server_id_str_buf_unique'
/usr/ports/net/samba47/work/samba-4.7.6/bin/../lib/util/server_id_db.c:169: undefined reference to `strv_find'
/usr/ports/net/samba47/work/samba-4.7.6/bin/../lib/util/server_id_db.c:176: undefined reference to `strv_delete'
default/lib/util/server_id_db_77.o: In function `server_id_db_remove':
/usr/ports/net/samba47/work/samba-4.7.6/bin/../lib/util/server_id_db.c:195: undefined reference to `strv_find'
/usr/ports/net/samba47/work/samba-4.7.6/bin/../lib/util/server_id_db.c:205: undefined reference to `strv_delete'
default/lib/util/server_id_db_77.o: In function `server_id_db_lookup':
/usr/ports/net/samba47/work/samba-4.7.6/bin/../lib/util/server_id_db.c:236: undefined reference to `strv_count'
/usr/ports/net/samba47/work/samba-4.7.6/bin/../lib/util/server_id_db.c:246: undefined reference to `strv_next'
default/lib/util/server_id_db_77.o: In function `server_id_db_traverse_fn':
/usr/ports/net/samba47/work/samba-4.7.6/bin/../lib/util/server_id_db.c:311: undefined reference to `strv_count'
/usr/ports/net/samba47/work/samba-4.7.6/bin/../lib/util/server_id_db.c:316: undefined reference to `strv_next'
cc: error: linker command failed with exit code 1 (use -v to see invocation)
Waf: Leaving directory `/usr/ports/net/samba47/work/samba-4.7.6/bin'
Build failed:  -> task failed (err #1):
        {task: cc_link server_id_db_77.o -> libserver-id-db-samba4.so}
  File "buildtools/bin/waf", line 76, in <module>
        Scripting.prepare(t, cwd, VERSION, wafdir)
  File "/usr/ports/net/samba47/work/samba-4.7.6/third_party/waf/wafadmin/Scripting.py", line 147, in prepare
        error(str(e))
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/net/samba47
*** Error code 1

Stop.
make: stopped in /usr/ports/net/samba47

===>>> make build failed for net/samba47
......
Comment 1 Walter Schwarzenfeld freebsd_triage 2018-03-19 12:03:01 UTC
Does it alos fail, if you deinstall samba43 and try to install after this samba47?
Comment 2 Alexander Pushkin 2018-03-19 16:15:42 UTC
Hmm, that helped me, thanks. Why didn't I try it right away...

(In reply to w.schwarzenfeld from comment #1)