Created attachment 163792 [details] log file of "make configure" for net/samba42 waf seems to fail with checking FreeBSD utmpx as below. --- |% sudo make configure |===> License GPLv3 accepted by the user |===> Found saved configuration for samba41-4.1.21 |===> samba41-4.1.21 depends on file: /usr/local/sbin/pkg - found |... |Checking for header utmpx.h : 09:14:07 runner cc -pipe -fno-omit-frame-pointer -DLIBICONV_PLUG -fno-color-diagnostics -g -fstack-protector -DLDAP_DEPRECATED -fno-strict-aliasing -MD -DLIBICONV_PLUG -I/usr/local/include -D_SAMBA_BUILD_=4 -DHAVE_CONFIG_H=1 -D_GNU_SOURCE=1 -D_XOPEN_SOURCE_EXTENDED=1 ../test.c -c -o default/test_1.o |yes |... |Checking size of ((struct utmp |*)NULL)->ut_line : 09:14:43 |runner cc -pipe -fno-omit-frame-pointer -DLIBICONV_PLUG -fno-color-diagnostics -g -fstack-protector -DLDAP_DEPRECATED -fno-strict-aliasing -MD -DLIBICONV_PLUG -Idefault -I.. -Idefault -I.. -I/usr/local/include -D_SAMBA_BUILD_=4 -DHAVE_CONFIG_H=1 -D_GNU_SOURCE=1 -D_XOPEN_SOURCE_EXTENDED=1 ../test.c -c -o default/test_1.o |not found |--with-utmp but utmp support not sufficient |... --- | % cat /portbuild/usr/ports/net/samba42/work/samba-4.2.5/bina/config.log |... |Checking for getutmpx |==> |... |[1/1] Compiling test.c |../test.c:968:59: error: no member named 'ut_syslen' in 'struct utmpx' | int main(void) { struct utmpx s; void *_x; _x=(void *)&s.ut_syslen; return 0; } | ~ ^ |1 error generated. |...
net/samba42|net/samba44|2017-06-07|Has expired: not supported upstream https://wiki.samba.org/index.php/Samba_Release_Planning
Please, don't close Samba tickets referring timeline. That has no use in regards the errors themselves.
Ok, at least for Samba 4.8 this is fixed in the port. Need to make the fix ready for upstream. There isn't much use from that functionality yet anyhow, as w/who filter out records that don't have real /dev/tty associated with the entry. last and getent work though.