andy2244 / openwrt-extra Goto Github PK
View Code? Open in Web Editor NEWextra openwrt package feed (samba 4.12.x)
extra openwrt package feed (samba 4.12.x)
I've recently installed a fresh copy of OpenWrt 19.07.3 (r11063-85e04e9f46) downloaded from the link provided on this page on my old TP-Link WDR3600 router.
Afterwards I installed "luci-app-ksmbd" via the webinterface, configured it to listen to the lan interface and added a share. The luci interface shows the following versions when I click on Services > Network Shares:
Ksmbd: 3.2.6 Kmod: 3.1.3
The resulting /etc/ksmbd/smb.conf file looks like this:
[global]
netbios name = OpenWrt
server string = Shelf
workgroup = WORKGROUP
interfaces = br-lan
bind interfaces only = yes
ipc timeout = 20
deadtime = 15
map to guest = Bad User
smb2 max read = 64K
smb2 max write = 64K
smb2 max trans = 64K
cache read buffers = no
cache trans buffers = no
######### Dynamic written config options #########
[shelf]
path = /mnt/sda1
valid users = root
create mask = 0666
directory mask = 0777
read only = no
guest ok = yes
I even followed the recommendation in this guide and set up firewall rules to explicitly allow the necessary ports for the lan interface.
The process is running, but it's not listening to any ports:
root@OpenWrt:~# ps|grep ksmbd
2058 root 1224 S /usr/sbin/ksmbd.mountd --n
2059 root 1392 S /usr/sbin/ksmbd.mountd --n
2218 root 1212 S grep ksmbd
root@OpenWrt:~# netstat -tulpn|grep ksmbd
All I see in the system log is this error whenever I reboot or restart the service:
kern.err kernel: [ 228.873029] ksmbd: ksmbd_tcp_set_interfaces:596: Unknown interface:
I've tried to remove the "interfaces" and "bind interfaces only" entry form the config template to no effect. Reinstalling the package also doesn't change anything and I can't count how many times I've rebooted the router.
After extensive googling I found #24 which seems to describe the same problem (although I didn't get any errors during installation). Reading the linked thread it seems they got it working by manually compiling the package for their router, but before I spend hours to try to set up a linux environment just so I can build the package myself, I would like to ask if there is something else I can try? I would expect a package which is installed via the package manager on a newly installed system to work without any problem.
I use the lede git version source. While building qemu, It has some issue
make[5]: Leaving directory '/opt/lede/build_dir/hostpkg/qemu-2.11.1/dtc'
ccache gcc -I/opt/lede/build_dir/hostpkg/qemu-2.11.1/util -Iutil -I/opt/lede/build_dir/hostpkg/qemu-2.11.1/tcg -I/opt/lede/build_dir/hostpkg/qemu-2.11.1/tcg/i386 -I/opt/lede/build_dir/hostpkg/qemu-2.11.1/linux-headers -I/opt/lede/build_dir/hostpkg/qemu-2.11.1/linux-headers -I. -I/opt/lede/build_dir/hostpkg/qemu-2.11.1 -I/opt/lede/build_dir/hostpkg/qemu-2.11.1/accel/tcg -I/opt/lede/build_dir/hostpkg/qemu-2.11.1/include -I/opt/lede/build_dir/hostpkg/qemu-2.11.1/dtc/libfdt -pthread -I/opt/lede/staging_dir/hostpkg/include/glib-2.0 -I/opt/lede/staging_dir/hostpkg/lib/glib-2.0/include -m64 -mcx16 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -fno-common -fwrapv -Wexpansion-to-defined -Wendif-labels -Wno-shift-negative-value -Wno-missing-include-dirs -Wempty-body -Wnested-externs -Wformat-security -Wformat-y2k -Winit-self -Wignored-qualifiers -Wold-style-declaration -Wold-style-definition -Wtype-limits -I/opt/lede/build_dir/hostpkg/qemu-2.11.1/tests -MMD -MP -MT util/memfd.o -MF util/memfd.d -O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -O2 -I/opt/lede/staging_dir/host/include -I/opt/lede/staging_dir/hostpkg/include -I/opt/lede/staging_dir/target-x86_64_musl/host/include -c -o util/memfd.o util/memfd.c
util/memfd.c:40:12: error: static declaration of 'memfd_create' follows non-static declaration
static int memfd_create(const char *name, unsigned int flags)
^~~~~~~~~~~~
In file included from /usr/include/x86_64-linux-gnu/bits/mman-linux.h:115:0,
from /usr/include/x86_64-linux-gnu/bits/mman.h:45,
from /usr/include/x86_64-linux-gnu/sys/mman.h:41,
from /opt/lede/build_dir/hostpkg/qemu-2.11.1/include/sysemu/os-posix.h:29,
from /opt/lede/build_dir/hostpkg/qemu-2.11.1/include/qemu/osdep.h:104,
from util/memfd.c:28:
/usr/include/x86_64-linux-gnu/bits/mman-shared.h:46:5: note: previous declaration of 'memfd_create' was here
int memfd_create (const char *__name, unsigned int __flags) __THROW;
^~~~~~~~~~~~
/opt/lede/build_dir/hostpkg/qemu-2.11.1/rules.mak:66: recipe for target 'util/memfd.o' failed
make[4]: *** [util/memfd.o] Error 1
make[4]: Leaving directory '/opt/lede/build_dir/hostpkg/qemu-2.11.1'
Makefile:140: recipe for target '/opt/lede/build_dir/hostpkg/qemu-2.11.1/.built' failed
make[3]: *** [/opt/lede/build_dir/hostpkg/qemu-2.11.1/.built] Error 2
make[3]: Leaving directory '/opt/lede/feeds/extra/qemu-userspace'
package/Makefile:107: recipe for target 'package/feeds/extra/qemu-userspace/host/compile' failed
make[2]: *** [package/feeds/extra/qemu-userspace/host/compile] Error 2
make[2]: Leaving directory '/opt/lede'
package/Makefile:103: recipe for target '/opt/lede/staging_dir/target-x86_64_musl/stamp/.package_compile' failed
make[1]: *** [/opt/lede/staging_dir/target-x86_64_musl/stamp/.package_compile] Error 2
make[1]: Leaving directory '/opt/lede'
/opt/lede/include/toplevel.mk:216: recipe for target 'world' failed
make: *** [world] Error 2
There is the log :
`install -d -m0755 /opt/lede/build_dir/target-x86_64_musl/samba-4.8.2/ipkg-x86_64/samba4/usr
if [ -d /opt/lede/build_dir/target-x86_64_musl/samba-4.8.2/ipkg-install/usr/bin ]; then cp -fpR /opt/lede/build_dir/target-x86_64_musl/samba-4.8.2/ipkg-install/usr/bin /opt/lede/build_dir/target-x86_64_musl/samba-4.8.2/ipkg-x86_64/samba4/usr/; fi
if [ -d /opt/lede/build_dir/target-x86_64_musl/samba-4.8.2/ipkg-install/usr/sbin ]; then cp -fpR /opt/lede/build_dir/target-x86_64_musl/samba-4.8.2/ipkg-install/usr/sbin /opt/lede/build_dir/target-x86_64_musl/samba-4.8.2/ipkg-x86_64/samba4/usr/; fi
install -d -m0755 /opt/lede/build_dir/target-x86_64_musl/samba-4.8.2/ipkg-x86_64/samba4/etc/config /opt/lede/build_dir/target-x86_64_musl/samba-4.8.2/ipkg-x86_64/samba4/etc/samba /opt/lede/build_dir/target-x86_64_musl/samba-4.8.2/ipkg-x86_64/samba4/etc/init.d
install -m0644 ./files/samba.config /opt/lede/build_dir/target-x86_64_musl/samba-4.8.2/ipkg-x86_64/samba4/etc/config/samba4
install -m0644 ./files/smb.conf.template /opt/lede/build_dir/target-x86_64_musl/samba-4.8.2/ipkg-x86_64/samba4/etc/samba
install -m0755 ./files/samba.init /opt/lede/build_dir/target-x86_64_musl/samba-4.8.2/ipkg-x86_64/samba4/etc/init.d/samba4
find /opt/lede/build_dir/target-x86_64_musl/samba-4.8.2/ipkg-x86_64/samba4 -name 'CVS' -o -name '.svn' -o -name '.#' -o -name '~'| xargs -r rm -rf
Package samba4 is missing dependencies for the following libraries:
libjansson.so.4
Makefile:297: recipe for target '/opt/lede/bin/packages/x86_64/extra/samba4_4.8.2-1_x86_64.ipk' failed
make[3]: *** [/opt/lede/bin/packages/x86_64/extra/samba4_4.8.2-1_x86_64.ipk] Error 1
make[3]: Leaving directory '/opt/lede/feeds/extra/samba4'
Command exited with non-zero status 2
time: package/feeds/extra/samba4/compile#467.66#109.58#591.83
package/Makefile:107: recipe for target 'package/feeds/extra/samba4/compile' failed
make[2]: *** [package/feeds/extra/samba4/compile] Error 2
make[2]: Leaving directory '/opt/lede'
package/Makefile:103: recipe for target '/opt/lede/staging_dir/target-x86_64_musl/stamp/.package_compile' failed
make[1]: *** [/opt/lede/staging_dir/target-x86_64_musl/stamp/.package_compile] Error 2
make[1]: Leaving directory '/opt/lede'
/opt/lede/include/toplevel.mk:216: recipe for target 'world' failed
make: *** [world] Error 2`
That I has already choose the libjansson pakage..
Not working on 19.07.1 WRT1900ACS. You can see detail info here. Comment #43.
https://forum.openwrt.org/t/ksmbd-samba3-4-alternative-ex-cifsd-smbd-package-support-thread/51695/44
Sun Feb 23 16:01:52 2020 daemon.info ksmbd: Legacy Protocols allowed, don't use this option for secure environments! Sun Feb 23 16:01:52 2020 daemon.notice ksmbd: Starting Ksmbd userspace service. Sun Feb 23 16:01:52 2020 kern.err kernel: [ 82.130384] ksmbd: iface_exists:546: Device br-lan is down Sun Feb 23 16:01:52 2020 kern.err kernel: [ 82.135922] ksmbd: ksmbd_tcp_set_interfaces:594: Unknown interface: br-lan
I have tried to set it up like samba
made user & set it's password & installed smbd-utils & setup user with smbuseradd
all seems to go ok but just can't connect keeps asking for username & password
/usr/lib/lua/luci/controller/smbd.lua:6: attempt to call global 'view' (a nil value)
stack traceback:
/usr/lib/lua/luci/controller/smbd.lua:6: in function 't'
/usr/lib/lua/luci/dispatcher.lua:465: in function 'createtree'
/usr/lib/lua/luci/dispatcher.lua:188: in function 'dispatch'
/usr/lib/lua/luci/dispatcher.lua:95: in function </usr/lib/lua/luci/dispatcher.lua:94>
Installing samba4 (4.8.1-1) to root...
Installing krb5-libs (1.16-1) to root...
Downloading http://downloads.lede-project.org/snapshots/packages/arm_cortex-a9_vfpv3/packages/krb5-libs_1.16-1_arm_cortex-a9_vfpv3.ipk
Collected errors:
i used --force-overwrite
opkg install --force-overwrite samba4_4.8.1-1_arm_cortex-a9_vfpv3.ipk
I was looking into generating cross-answers for talloc and tdb, so I thought I would come by to see how it's done for samba, but I see the code has been removed (e1e5f59)? 😂
Anyway, I had an idea: would it be possible to encapsulate the cross-execute/qemu code (perhaps even selecting the right cross-answers file, copying into PKG_BUILD_DIR
, etc.) into a separate Makefile, then packages that use Waf can include the Makefile to get this functionality?
Maybe it can hook into make package/.../refresh
to refresh the cross-answers also (or add a similar target to do this)?
I haven't examined your qemu-userspace package closely yet, but if distro-packaged qemu is good enough then it could just depend on the user having their distro qemu package(s) installed.
One advantage (obviously) is that all Waf-based packages can benefit from this work. Another advantage of having this in the packages repo is that other people can help update the cross-answers.
Instead of me jumping on this immediately, I thought I'd ask if you would be interested in working on this? You've already done most of the work, this way you would get all of the credit 😉
Hi @Andy2244 ,
Please, can you push to merge the softethervpn5
to the 18.06 branch?
openwrt/packages#8179
Thank you for craete/maintain this package!
Atm the server_config is only written correctly if we manually stop the service via luci/system/startup
or shell /etc/init.d/softethervpnserver stop
.
Then we get the save info in the system-log, aka:
daemon.notice softethervpn-server[5491]: Writing vpn_server.config (AutoSaveConfigSpan set to < 259201 > seconds)
At least a manual reboot should trigger the same stop + save
, so we need a fix for this and maybe work with upstream to actually fix the root cause, aka SoftEtherVPN/SoftEtherVPN#575
On a clean build krb5 breaks on this config, some package is overwriting libss/com_err again.
CONFIG_TARGET_mvebu=y
CONFIG_TARGET_mvebu_cortexa9=y
CONFIG_TARGET_mvebu_cortexa9_DEVICE_linksys-wrt1200ac=y
CONFIG_BUSYBOX_CUSTOM=y
# CONFIG_BUSYBOX_CONFIG_BRCTL is not set
CONFIG_BUSYBOX_CONFIG_FEATURE_IP_RARE_PROTOCOLS=y
CONFIG_BUSYBOX_CONFIG_FEATURE_IP_TUNNEL=y
CONFIG_BUSYBOX_CONFIG_FEATURE_NAMEIF_EXTENDED=y
# CONFIG_BUSYBOX_CONFIG_FEATURE_PASSWD_WEAK_CHECK is not set
CONFIG_BUSYBOX_CONFIG_HOSTNAME=y
CONFIG_BUSYBOX_CONFIG_MODPROBE_SMALL=y
CONFIG_BUSYBOX_CONFIG_NAMEIF=y
CONFIG_BUSYBOX_CONFIG_RENICE=y
# CONFIG_KERNEL_DEBUG_INFO is not set
# CONFIG_KERNEL_DEBUG_KERNEL is not set
CONFIG_KERNEL_FANOTIFY=y
CONFIG_KERNEL_FHANDLE=y
CONFIG_LIBCURL_COOKIES=y
CONFIG_LIBCURL_FILE=y
CONFIG_LIBCURL_FTP=y
CONFIG_LIBCURL_HTTP=y
CONFIG_LIBCURL_MBEDTLS=y
CONFIG_LIBCURL_NO_SMB="!"
CONFIG_LIBCURL_PROXY=y
CONFIG_OPENSSL_ENGINE_CRYPTO=y
CONFIG_OPENSSL_ENGINE_DIGEST=y
CONFIG_OPENSSL_HARDWARE_SUPPORT=y
CONFIG_OPENSSL_OPTIMIZE_SPEED=y
CONFIG_OPENSSL_WITH_COMPRESSION=y
CONFIG_OPENSSL_WITH_DEPRECATED=y
CONFIG_OPENSSL_WITH_EC=y
CONFIG_OPENSSL_WITH_EC2M=y
CONFIG_OPENSSL_WITH_NPN=y
CONFIG_OPENSSL_WITH_PSK=y
CONFIG_OPENSSL_WITH_SRP=y
CONFIG_OPENSSL_WITH_SSL3=y
CONFIG_PACKAGE_adblock=y
CONFIG_PACKAGE_avahi-dbus-daemon=y
CONFIG_PACKAGE_avahi-utils=y
CONFIG_PACKAGE_block-mount=y
CONFIG_PACKAGE_bridge=y
CONFIG_PACKAGE_btrfs-progs=y
CONFIG_PACKAGE_ca-bundle=y
CONFIG_PACKAGE_cfdisk=y
CONFIG_PACKAGE_curl=y
CONFIG_PACKAGE_dbus=y
CONFIG_PACKAGE_ddns-scripts=y
CONFIG_PACKAGE_dosfstools=y
CONFIG_PACKAGE_e2fsprogs=y
CONFIG_PACKAGE_etherwake=y
CONFIG_PACKAGE_f2fs-tools=y
CONFIG_PACKAGE_f2fsck=y
CONFIG_PACKAGE_fdisk=y
CONFIG_PACKAGE_hdparm=y
CONFIG_PACKAGE_hfsfsck=y
CONFIG_PACKAGE_ip-full=y
CONFIG_PACKAGE_ipset=y
CONFIG_PACKAGE_iptables-mod-conntrack-extra=y
CONFIG_PACKAGE_iptables-mod-ipopt=y
CONFIG_PACKAGE_kmod-ata-ahci=y
CONFIG_PACKAGE_kmod-ata-core=y
CONFIG_PACKAGE_kmod-ata-marvell-sata=y
CONFIG_PACKAGE_kmod-atm=y
CONFIG_PACKAGE_kmod-crypto-acompress=y
CONFIG_PACKAGE_kmod-crypto-aead=y
CONFIG_PACKAGE_kmod-crypto-authenc=y
CONFIG_PACKAGE_kmod-crypto-crc32=y
CONFIG_PACKAGE_kmod-crypto-crc32c=y
CONFIG_PACKAGE_kmod-crypto-des=y
CONFIG_PACKAGE_kmod-crypto-ecb=y
CONFIG_PACKAGE_kmod-crypto-gf128=y
CONFIG_PACKAGE_kmod-crypto-hash=y
CONFIG_PACKAGE_kmod-crypto-hmac=y
CONFIG_PACKAGE_kmod-crypto-manager=y
CONFIG_PACKAGE_kmod-crypto-md4=y
CONFIG_PACKAGE_kmod-crypto-md5=y
CONFIG_PACKAGE_kmod-crypto-null=y
CONFIG_PACKAGE_kmod-crypto-pcompress=y
CONFIG_PACKAGE_kmod-crypto-sha1=y
CONFIG_PACKAGE_kmod-crypto-sha256=y
CONFIG_PACKAGE_kmod-crypto-sha512=y
CONFIG_PACKAGE_kmod-crypto-xts=y
CONFIG_PACKAGE_kmod-cryptodev=y
CONFIG_PACKAGE_kmod-dax=y
CONFIG_PACKAGE_kmod-dm=y
CONFIG_PACKAGE_kmod-dnsresolver=y
CONFIG_PACKAGE_kmod-fs-btrfs=y
CONFIG_PACKAGE_kmod-fs-exportfs=y
CONFIG_PACKAGE_kmod-fs-ext4=y
CONFIG_PACKAGE_kmod-fs-f2fs=y
CONFIG_PACKAGE_kmod-fs-hfs=y
CONFIG_PACKAGE_kmod-fs-hfsplus=y
CONFIG_PACKAGE_kmod-fs-msdos=y
CONFIG_PACKAGE_kmod-fs-vfat=y
CONFIG_PACKAGE_kmod-fs-xfs=y
CONFIG_PACKAGE_kmod-gre=y
CONFIG_PACKAGE_kmod-ifb=y
CONFIG_PACKAGE_kmod-ipt-conntrack-extra=y
CONFIG_PACKAGE_kmod-ipt-ipopt=y
CONFIG_PACKAGE_kmod-ipt-ipset=y
CONFIG_PACKAGE_kmod-iptunnel=y
CONFIG_PACKAGE_kmod-lib-crc16=y
CONFIG_PACKAGE_kmod-lib-crc32c=y
CONFIG_PACKAGE_kmod-lib-lzo=y
CONFIG_PACKAGE_kmod-lib-raid6=y
CONFIG_PACKAGE_kmod-lib-xor=y
CONFIG_PACKAGE_kmod-lib-zlib-deflate=y
CONFIG_PACKAGE_kmod-lib-zlib-inflate=y
CONFIG_PACKAGE_kmod-lib-zstd=y
CONFIG_PACKAGE_kmod-loop=y
CONFIG_PACKAGE_kmod-mppe=y
CONFIG_PACKAGE_kmod-nfnetlink=y
CONFIG_PACKAGE_kmod-nls-base=y
CONFIG_PACKAGE_kmod-nls-cp1250=y
CONFIG_PACKAGE_kmod-nls-cp437=y
CONFIG_PACKAGE_kmod-nls-cp850=y
CONFIG_PACKAGE_kmod-nls-cp852=y
CONFIG_PACKAGE_kmod-nls-iso8859-1=y
CONFIG_PACKAGE_kmod-nls-iso8859-15=y
CONFIG_PACKAGE_kmod-nls-iso8859-2=y
CONFIG_PACKAGE_kmod-nls-utf8=y
CONFIG_PACKAGE_kmod-pppoa=y
CONFIG_PACKAGE_kmod-pptp=y
CONFIG_PACKAGE_kmod-sched-cake=y
CONFIG_PACKAGE_kmod-sched-core=y
CONFIG_PACKAGE_kmod-scsi-core=y
CONFIG_PACKAGE_kmod-tun=y
CONFIG_PACKAGE_kmod-usb-core=y
CONFIG_PACKAGE_kmod-usb-ehci=y
CONFIG_PACKAGE_kmod-usb-ohci=y
CONFIG_PACKAGE_kmod-usb-storage=y
CONFIG_PACKAGE_kmod-usb-storage-extras=y
CONFIG_PACKAGE_kmod-usb-storage-uas=y
CONFIG_PACKAGE_kmod-usb-uhci=y
CONFIG_PACKAGE_kmod-usb2=y
CONFIG_PACKAGE_kmod-usb3=y
CONFIG_PACKAGE_krb5-libs=y
CONFIG_PACKAGE_libattr=y
CONFIG_PACKAGE_libavahi-client=y
CONFIG_PACKAGE_libavahi-dbus-support=y
CONFIG_PACKAGE_libblkid=y
CONFIG_PACKAGE_libcomerr=y
CONFIG_PACKAGE_libcurl=y
CONFIG_PACKAGE_libdaemon=y
CONFIG_PACKAGE_libdbus=y
CONFIG_PACKAGE_libexpat=y
CONFIG_PACKAGE_libext2fs=y
CONFIG_PACKAGE_libf2fs=y
CONFIG_PACKAGE_libfdisk=y
CONFIG_PACKAGE_libgdbm=y
CONFIG_PACKAGE_libipset=y
CONFIG_PACKAGE_libiwinfo-lua=y
CONFIG_PACKAGE_liblua=y
CONFIG_PACKAGE_liblucihttp=y
CONFIG_PACKAGE_liblucihttp-lua=y
CONFIG_PACKAGE_liblzo=y
CONFIG_PACKAGE_libmbedtls=y
CONFIG_PACKAGE_libmnl=y
CONFIG_PACKAGE_libmount=y
CONFIG_PACKAGE_libncurses=y
CONFIG_PACKAGE_libopenssl=y
CONFIG_PACKAGE_libpcre=y
CONFIG_PACKAGE_libpopt=y
CONFIG_PACKAGE_librt=y
CONFIG_PACKAGE_libsmartcols=y
CONFIG_PACKAGE_libss=y
CONFIG_PACKAGE_libtirpc=y
CONFIG_PACKAGE_libubus-lua=y
CONFIG_PACKAGE_libuuid=y
CONFIG_PACKAGE_linux-atm=y
CONFIG_PACKAGE_lsblk=y
CONFIG_PACKAGE_lua=y
CONFIG_PACKAGE_luci=y
CONFIG_PACKAGE_luci-app-adblock=y
CONFIG_PACKAGE_luci-app-commands=y
CONFIG_PACKAGE_luci-app-ddns=y
CONFIG_PACKAGE_luci-app-diag-core=y
CONFIG_PACKAGE_luci-app-firewall=y
CONFIG_PACKAGE_luci-app-ntpc=y
CONFIG_PACKAGE_luci-app-samba4=y
CONFIG_PACKAGE_luci-app-sqm=y
CONFIG_PACKAGE_luci-app-wol=y
CONFIG_PACKAGE_luci-base=y
CONFIG_PACKAGE_luci-lib-ip=y
CONFIG_PACKAGE_luci-lib-jsonc=y
CONFIG_PACKAGE_luci-lib-nixio=y
CONFIG_PACKAGE_luci-mod-admin-full=y
CONFIG_PACKAGE_luci-mod-failsafe=y
CONFIG_PACKAGE_luci-proto-ipv6=y
CONFIG_PACKAGE_luci-proto-ppp=y
CONFIG_PACKAGE_luci-theme-bootstrap=y
CONFIG_PACKAGE_mkf2fs=y
CONFIG_PACKAGE_mkhfs=y
CONFIG_PACKAGE_mwlwifi-firmware-88w8964=y
CONFIG_PACKAGE_ntpclient=y
CONFIG_PACKAGE_ppp-mod-pppoa=y
CONFIG_PACKAGE_ppp-mod-pptp=y
CONFIG_PACKAGE_resolveip=y
CONFIG_PACKAGE_rpcd=y
CONFIG_PACKAGE_rpcd-mod-rrdns=y
CONFIG_PACKAGE_samba4-libs=y
CONFIG_PACKAGE_samba4-server=y
CONFIG_PACKAGE_sfdisk=y
CONFIG_PACKAGE_sqm-scripts=y
CONFIG_PACKAGE_tc=y
CONFIG_PACKAGE_terminfo=y
CONFIG_PACKAGE_uhttpd=y
CONFIG_PACKAGE_uhttpd-mod-ubus=y
CONFIG_PACKAGE_wget=y
CONFIG_PACKAGE_wsdd2=y
CONFIG_PACKAGE_xfs-fsck=y
CONFIG_PACKAGE_xfs-growfs=y
CONFIG_PACKAGE_xfs-mkfs=y
CONFIG_PACKAGE_zlib=y
CONFIG_SAMBA4_SERVER_AVAHI=y
CONFIG_SAMBA4_SERVER_VFS=y
CONFIG_SAMBA4_SERVER_VFSX=y
While compiling samba4-client and samba4-admin, "libncursesw.so.6" is missing, After adding libncurses
to DEPENDS in Makefile, it works. Please have a check.
openwrt-extra/luci-app-smbd/Makefile无法完成编译,报错,修改MAKE文件为include $(TOPDIR)/feeds/luci/luci.mk后成功编译,需要帮助进行更新。
Hey Andy!
Many thanks for your work! I tried to build Samba4 using the instructions in your README; while pulling the latest available source from LEDE (master branch). I get the following error when attempting to build samba4:
ERROR: glib-2.22 gthread-2.0 is required to compile QEMU
Any ideas?
Thanks!
It seems there is a hook missing, so samba+avahi can announce timemachine shares correctly, after a new one was added via luci.
Add samba hostplug support. (see samba36)
Hi @Andy2244
I don't want to take advantage of you. But I see that you have a lot of experience when it comes to making packages for OpenWRT.
I do a request for creating a package for the tool RR Redir
: openwrt/packages#8202
However, no one has accepted it.
I need to use it for this: My connection uses two different proxies. One is Master and another is a Backup. But the SoftEtherVPN doesn't have support for "multiple proxies". So each connection can use just one proxy. So my solution is to use this rrredir
tool for connecting first to the Master and only if it's unavailable then connect to the Backup. With this solution the "proxy" configured with SoftEtherVPN is the port where the tool is listening.
More or less, is like a "load-balancer". And it works when I run it on my Linux workstation as a test bed. But, I want to include it in my OpenWRT router. So for this reason I need the package.
Can you help me, please?
RR Redir
it's just a simple binary with no dependencies and plain C code (4 source files, and 2 headers).
The sdk is lede-sdk-17.01.2-x86-64_gcc-5.4.0_musl-1.1.16.Linux-x86_64.
Two minor issues so far:
Received a permission error when trying to write to the share.
Restarting the daemon via /etc/init.d/cifsd restart
or LuCI throws the following errors:
Sat Jul 13 02:45:21 2019 daemon.err rmmod: unloading the module failed
Sat Jul 13 02:45:21 2019 user.notice cifsd: Starting CIFS/SMB userspace service.
Sat Jul 13 02:45:21 2019 kern.err kernel: [ 87.096677] kcifsd: handle_startup_event:343: Reconnect to a new user space daemon
Sat Jul 13 02:45:21 2019 kern.err kernel: [ 87.104425] kcifsd: create_socket:410: Failed to bind socket: -98
Sat Jul 13 02:45:21 2019 kern.err kernel: [ 87.110572] kcifsd: tcp_destroy_socket:368: Failed to shutdown socket: -107
Sat Jul 13 02:45:21 2019 kern.err kernel: [ 87.117594] Failed to init TCP subsystem: -98
Sat Jul 13 02:45:21 2019 kern.err kernel: [ 87.122074] kcifsd: stop_sessions:374: Stop session handler kcifsd:58026/4357
side note after installing wsdd2 the share stopped working via name but still worked with it's IPV4 address
but turning off ipv6 on the local network interface allowed it to work & kept working after re enabling it seems to be an IPV6 thing it's like there is something broken accessing it via it's ipv6 address
Hi,
thanks for your efforts to bring samba4 to openwrt,
I've encountered an error around building an nfs 4.1 acl header.
This is with ACLs support disabled, on a pretty standard musl x86_64 build on Fedora 28,
I'll break out a debian vm later to rule out host issue, but thought you might be interested in bug report,
kind regards,
-dc
[slarti@dconnollymbp samba4]$ cat compile.txt
Applying ./patches/001-samba-4.4.0-pam.patch using plaintext:
patching file source3/wscript
Hunk #1 succeeded at 856 (offset -14 lines).
Hunk #2 succeeded at 933 with fuzz 2 (offset -10 lines).
Applying ./patches/002-dnsserver-4.7.0.patch using plaintext:
patching file source4/dns_server/wscript_build
Applying ./patches/010-source3-msgsock-nvram-fix.patch using plaintext:
patching file source3/lib/messages.c
Hunk #1 succeeded at 478 with fuzz 2 (offset 257 lines).
Hunk #2 succeeded at 631 (offset 320 lines).
Applying ./patches/011-source4-msgsock-nvram-fix.patch using plaintext:
patching file source4/lib/messaging/messaging.c
Hunk #1 succeeded at 350 (offset 27 lines).
Applying ./patches/100-do-not-import-target-module-while-cross-compile.patch using plaintext:
patching file buildtools/wafsamba/samba_bundled.py
Hunk #2 succeeded at 248 (offset 17 lines).
Applying ./patches/101-do-not-check-xsltproc-manpages.patch using plaintext:
patching file lib/ldb/wscript
Hunk #1 succeeded at 99 with fuzz 1 (offset 34 lines).
patching file lib/talloc/wscript
Hunk #1 succeeded at 49 with fuzz 2 (offset -7 lines).
patching file lib/tdb/wscript
Hunk #1 succeeded at 89 (offset -3 lines).
Applying ./patches/102-samba-4.8.2-unbundle-libreadline.patch using plaintext:
patching file libcli/smbreadline/wscript_configure
Checking for program gcc or cc : ccache_cc
Checking for program ar : x86_64-openwrt-linux-musl-gcc-ar
Checking for program ranlib : x86_64-openwrt-linux-musl-gcc-ranlib
Checking for gcc : ok
Checking for program git : /home/slarti/Development/openwrt/staging_dir/host/bin/git
Check for -MD : yes
Checking for program gdb : /usr/bin/gdb
Checking for header sys/utsname.h : yes
Checking uname sysname type : Linux
Checking uname machine type : x86_64
Checking uname release type : 4.17.9-200.fc28.x86_64
Checking uname version type : #1 SMP Mon Jul 23 21:41:29 UTC 2018
Checking for header stdio.h : yes
Checking simple C program : ok
Checking compiler accepts ['-Werror'] : yes
Checking linker accepts ['-Wl,-rpath,.'] : yes
Checking for rpath library support : ok
Checking for -Wl,--version-script support : ok
Checking compiler accepts ['-fvisibility=hidden', '-Werror'] : yes
Checking for HAVE_VISIBILITY_ATTR : ok
Checking for library constructor support : ok
Checking for library destructor support : ok
Checking for __attribute__ : ok
Checking compiler accepts ['-fPIC'] : yes
Checking for inline : inline
Checking for program pkg-config : /home/slarti/Development/openwrt/staging_dir/host/bin/pkg-config
Checking for pkg-config version >= 0.0.0 : yes
Checking compiler accepts [''] : yes
Checking for header sys/types.h : yes
Checking for header sys/stat.h : yes
Checking for header stdlib.h : yes
Checking for header stddef.h : yes
Checking for header memory.h : yes
Checking for header string.h : yes
Checking for header strings.h : yes
Checking for header inttypes.h : yes
Checking for header stdint.h : yes
Checking for header unistd.h : yes
Checking for header minix/config.h : no
Checking for header ctype.h : yes
Checking for header standards.h : no
Checking for header stdbool.h : yes
Checking for header stdarg.h : yes
Checking for header vararg.h : no
Checking for header limits.h : yes
Checking for header assert.h : yes
Checking getconf LFS_CFLAGS : not found
Checking for large file support without additional flags : ok
Checking for header sys/time.h : yes
Checking for header time.h : yes
Checking for header endian.h : yes
Checking for header sys/endian.h : no
Checking for HAVE_LITTLE_ENDIAN : ok
Checking for HAVE_BIG_ENDIAN : not found
Checking for header signal.h : yes
Checking if signal handlers return int : not found
Checking for variable __FUNCTION__ : ok
Checking for va_copy : ok
Checking for HAVE__VA_ARGS__MACRO : ok
Checking for header linux/types.h : yes
Checking for header crypt.h : yes
Checking for header locale.h : yes
Checking for header acl/libacl.h : yes
Checking for header compat.h : no
Checking for header attr/xattr.h : no
Checking for header dustat.h : no
Checking for header fcntl.h : yes
Checking for header fnmatch.h : yes
Checking for header glob.h : yes
Checking for header history.h : no
Checking for header krb5.h : yes
Checking for header langinfo.h : yes
Checking for header libaio.h : no
Checking for header ndir.h : no
Checking for header pwd.h : yes
Checking for header shadow.h : yes
Checking for header sys/acl.h : yes
Checking for header sys/attributes.h : no
Checking for header attr/attributes.h : yes
Checking for header sys/capability.h : yes
Checking for header sys/dir.h : yes
Checking for header sys/epoll.h : yes
Checking for header port.h : no
Checking for header sys/fcntl.h : yes
Checking for header sys/filio.h : no
Checking for header sys/filsys.h : no
Checking for header sys/fs/s5param.h : no
Checking for header sys/fs/vx/quota.h : no
Checking for header sys/id.h : no
Checking for header sys/ioctl.h : yes
Checking for header sys/ipc.h : yes
Checking for header sys/mman.h : yes
Checking for header sys/mode.h : no
Checking for header sys/ndir.h : no
Checking for header sys/priv.h : no
Checking for header sys/resource.h : yes
Checking for header sys/security.h : no
Checking for header sys/shm.h : yes
Checking for header sys/statfs.h : yes
Checking for header sys/statvfs.h : yes
Checking for header sys/termio.h : no
Checking for header sys/vfs.h : yes
Checking for header sys/xattr.h : yes
Checking for header termio.h : no
Checking for header termios.h : yes
Checking for header sys/file.h : yes
Checking for header sys/ucontext.h : yes
Checking for header sys/wait.h : yes
Checking for declaration of malloc : ok
Checking for header grp.h : yes
Checking for header sys/select.h : yes
Checking for header setjmp.h : yes
Checking for header utime.h : yes
Checking for header sys/syslog.h : yes
Checking for header syslog.h : yes
Checking for header sys/mount.h : yes
Checking for header mntent.h : yes
Checking for header stropts.h : yes
Checking for header unix.h : no
Checking for header sys/param.h : yes
Checking for header sys/socket.h : yes
Checking for header netinet/in.h : yes
Checking for header netdb.h : yes
Checking for header arpa/inet.h : yes
Checking for header netinet/in_systm.h : yes
Checking for header netinet/ip.h : yes
Checking for header netinet/tcp.h : yes
Checking for header netinet/in_ip.h : no
Checking for header sys/sockio.h : no
Checking for header sys/un.h : yes
Checking for header sys/uio.h : yes
Checking for header ifaddrs.h : yes
Checking for header direct.h : no
Checking for header dirent.h : yes
Checking for header windows.h : no
Checking for header winsock2.h : no
Checking for header ws2tcpip.h : no
Checking for header errno.h : yes
Checking for header getopt.h : yes
Checking for header iconv.h : yes
Checking for header nss.h : no
Checking for header sasl/sasl.h : no
Checking for inotify_init : ok
Checking for header security/pam_appl.h : yes
Checking for header zlib.h : yes
Checking for header asm/unistd.h : yes
Checking for header aio.h : yes
Checking for header sys/unistd.h : no
Checking for header alloca.h : yes
Checking for header float.h : yes
Checking for header rpc/rpc.h : yes
Checking for header rpc/nettype.h : no
Checking for tirpc rpc headers in default system path : not found
Checking for header rpcsvc/yp_prot.h : no
Checking for libnsl : not found
Checking for header rpcsvc/nis.h : no
Checking for header rpcsvc/ypclnt.h : no
Checking for header sys/sysctl.h : no
Checking for header sys/fileio.h : no
Checking for header sys/filesys.h : no
Checking for header sys/dustat.h : no
Checking for header sys/sysmacros.h : yes
Checking for header xfs/libxfs.h : no
Checking for header netgroup.h : no
Checking for header valgrind.h : no
Checking for header valgrind/valgrind.h : no
Checking for header valgrind/memcheck.h : no
Checking for header nss_common.h : no
Checking for header nsswitch.h : no
Checking for header ns_api.h : no
Checking for header sys/extattr.h : no
Checking for header sys/ea.h : no
Checking for header sys/proplist.h : no
Checking for header sys/cdefs.h : yes
Checking for header utmp.h : yes
Checking for header utmpx.h : yes
Checking for header lastlog.h : yes
Checking for header syscall.h : yes
Checking for header sys/syscall.h : yes
Checking for header sys/atomic.h : no
Checking for header libgen.h : yes
Checking compiler accepts -Wno-format-truncation : yes
Checking compiler accepts -Wno-unused-function : yes
Checking for header sys/prctl.h : yes
Checking for prctl syscall : ok
Checking for O_DIRECT flag to open(2) : ok
Checking for long long : ok
Checking for intptr_t : ok
Checking for uintptr_t : ok
Checking for ptrdiff_t : ok
Checking for comparison_fn_t : not found
Checking for _Bool : ok
Checking for bool : ok
Checking for int8_t : ok
Checking for uint8_t : ok
Checking for int16_t : ok
Checking for uint16_t : ok
Checking for int32_t : ok
Checking for uint32_t : ok
Checking for int64_t : ok
Checking for uint64_t : ok
Checking for size_t : ok
Checking for ssize_t : ok
Checking for ino_t : ok
Checking for loff_t : not found
Checking for offset_t : not found
Checking for volatile int : ok
Checking for uint_t : not found
Checking for blksize_t : ok
Checking for blkcnt_t : ok
Checking if size of bool == 1 : ok
Checking if size of char == 1 : ok
Checking if size of int == 1 : not found
Checking if size of int == 2 : not found
Checking if size of int == 4 : ok
Checking if size of long long == 1 : not found
Checking if size of long long == 2 : not found
Checking if size of long long == 4 : not found
Checking if size of long long == 8 : ok
Checking if size of long == 1 : not found
Checking if size of long == 2 : not found
Checking if size of long == 4 : not found
Checking if size of long == 8 : ok
Checking if size of short == 1 : not found
Checking if size of short == 2 : ok
Checking if size of size_t == 1 : not found
Checking if size of size_t == 2 : not found
Checking if size of size_t == 4 : not found
Checking if size of size_t == 8 : ok
Checking if size of ssize_t == 1 : not found
Checking if size of ssize_t == 2 : not found
Checking if size of ssize_t == 4 : not found
Checking if size of ssize_t == 8 : ok
Checking if size of int8_t == 1 : ok
Checking if size of uint8_t == 1 : ok
Checking if size of int16_t == 1 : not found
Checking if size of int16_t == 2 : ok
Checking if size of uint16_t == 1 : not found
Checking if size of uint16_t == 2 : ok
Checking if size of int32_t == 1 : not found
Checking if size of int32_t == 2 : not found
Checking if size of int32_t == 4 : ok
Checking if size of uint32_t == 1 : not found
Checking if size of uint32_t == 2 : not found
Checking if size of uint32_t == 4 : ok
Checking if size of int64_t == 1 : not found
Checking if size of int64_t == 2 : not found
Checking if size of int64_t == 4 : not found
Checking if size of int64_t == 8 : ok
Checking if size of uint64_t == 1 : not found
Checking if size of uint64_t == 2 : not found
Checking if size of uint64_t == 4 : not found
Checking if size of uint64_t == 8 : ok
Checking if size of void* == 1 : not found
Checking if size of void* == 2 : not found
Checking if size of void* == 4 : not found
Checking if size of void* == 8 : ok
Checking if size of off_t == 1 : not found
Checking if size of off_t == 2 : not found
Checking if size of off_t == 4 : not found
Checking if size of off_t == 8 : ok
Checking if size of dev_t == 1 : not found
Checking if size of dev_t == 2 : not found
Checking if size of dev_t == 4 : not found
Checking if size of dev_t == 8 : ok
Checking if size of ino_t == 1 : not found
Checking if size of ino_t == 2 : not found
Checking if size of ino_t == 4 : not found
Checking if size of ino_t == 8 : ok
Checking if size of time_t == 1 : not found
Checking if size of time_t == 2 : not found
Checking if size of time_t == 4 : not found
Checking if size of time_t == 8 : ok
Checking for socklen_t : ok
Checking for struct ifaddrs : ok
Checking for struct addrinfo : ok
Checking for struct sockaddr : ok
Checking for HAVE_STRUCT_SOCKADDR_IN6 : ok
Checking for struct sockaddr_storage : ok
Checking for sa_family_t : ok
Checking for sig_atomic_t : ok
Checking for sigsetmask : not found
Checking for siggetmask : not found
Checking for sigprocmask : ok
Checking for sigblock : not found
Checking for sigaction : ok
Checking for sigset : ok
Checking for inet_ntoa : ok
Checking for inet_aton : ok
Checking for inet_ntop : ok
Checking for inet_pton : ok
Checking for connect : ok
Checking for gethostbyname : ok
Checking for getaddrinfo : ok
Checking for getnameinfo : ok
Checking for freeaddrinfo : ok
Checking for gai_strerror : ok
Checking for socketpair : ok
Checking for variable IPV6_V6ONLY : ok
Checking for header net/if.h : yes
Checking for HAVE_IPV6 : ok
Checking whether we have ucontext_t : ok
Checking for __sync_fetch_and_add compiler builtin : ok
Checking for atomic_add_32 compiler builtin : not found
Checking for strdup : ok
Checking for memmem : ok
Checking for printf : ok
Checking for memset : ok
Checking for memcpy : ok
Checking for memmove : ok
Checking for strcpy : ok
Checking for strncpy : ok
Checking for bzero : ok
Checking for shl_load : not found
Checking for shl_unload : not found
Checking for shl_findsym : not found
Checking for pipe : ok
Checking for strftime : ok
Checking for srandom : ok
Checking for random : ok
Checking for srand : ok
Checking for rand : ok
Checking for usleep : ok
Checking for setbuffer : ok
Checking for lstat : ok
Checking for getpgrp : ok
Checking for utime : ok
Checking for utimes : ok
Checking for setuid : ok
Checking for seteuid : ok
Checking for setreuid : ok
Checking for setresuid : ok
Checking for setgid : ok
Checking for setegid : ok
Checking for setregid : ok
Checking for setresgid : ok
Checking for chroot : ok
Checking for strerror : ok
Checking for vsyslog : ok
Checking for setlinebuf : ok
Checking for mktime : ok
Checking for ftruncate : ok
Checking for chsize : not found
Checking for rename : ok
Checking for waitpid : ok
Checking for wait4 : ok
Checking for initgroups : ok
Checking for pread : ok
Checking for pwrite : ok
Checking for strndup : ok
Checking for strcasestr : ok
Checking for strsep : ok
Checking for strtok_r : ok
Checking for mkdtemp : ok
Checking for dup2 : ok
Checking for dprintf : ok
Checking for vdprintf : ok
Checking for isatty : ok
Checking for chown : ok
Checking for lchown : ok
Checking for link : ok
Checking for readlink : ok
Checking for symlink : ok
Checking for realpath : ok
Checking for snprintf : ok
Checking for vsnprintf : ok
Checking for asprintf : ok
Checking for vasprintf : ok
Checking for setenv : ok
Checking for unsetenv : ok
Checking for strnlen : ok
Checking for strtoull : ok
Checking for __strtoull : not found
Checking for strtouq : not found
Checking for strtoll : ok
Checking for __strtoll : not found
Checking for strtoq : not found
Checking for memalign : ok
Checking for posix_memalign : ok
Checking for header malloc.h : yes
Checking for declaration of memalign : ok
Checking for posix_fallocate-capable libc : ok
Checking for posix_fallocate : ok
Checking for prctl : ok
Checking for dirname : ok
Checking for basename : ok
Checking for strlcpy : ok
Checking for strlcat : ok
Checking for getpeereid : not found
Checking for library bsd : not found
Checking for getpeereid : not found
Checking for library setproctitle : not found
Checking for setproctitle : not found
Checking for library bsd : not found
Checking for setproctitle : not found
Checking for setproctitle_init : not found
Checking for library bsd : not found
Checking for setproctitle_init : not found
Checking for closefrom : not found
Checking for library bsd : not found
Checking for closefrom : not found
Checking whether we can use SO_PEERCRED to get socket credentials : ok
Checking correct behavior of strtoll : ok
Checking for if_nametoindex : ok
Checking for strerror_r : ok
Checking for getdirentries : not found
Checking for getdents : ok
Checking for syslog : ok
Checking for gai_strerror : ok
Checking for get_current_dir_name : ok
Checking for timegm : ok
Checking for getifaddrs : ok
Checking for freeifaddrs : ok
Checking for mmap : ok
Checking for setgroups : ok
Checking for syscall : ok
Checking for setsid : ok
Checking for getgrent_r : not found
Checking for getgrgid_r : ok
Checking for getgrnam_r : ok
Checking for getgrouplist : ok
Checking for getpagesize : ok
Checking for getpwent_r : not found
Checking for getpwnam_r : ok
Checking for getpwuid_r : ok
Checking for epoll_create : ok
Checking for port_create : not found
Checking for fgetxattr : ok
Checking for flistea : not found
Checking for flistxattr : ok
Checking for fremovexattr : ok
Checking for fsetxattr : ok
Checking for getxattr : ok
Checking for listxattr : ok
Checking for removexattr : ok
Checking for setxattr : ok
Checking for library attr : yes
Checking for flistea : not found
Checking whether xattr interface takes additional options : not found
Checking for dlopen : ok
Checking for dlsym : ok
Checking for dlerror : ok
Checking for dlclose : ok
Checking for declaration of dlopen : ok
Checking C prototype for dlopen : not found
Checking for fdatasync : ok
Checking for declaration of fdatasync : ok
Checking for clock_gettime : ok
Checking whether the clock_gettime clock ID CLOCK_MONOTONIC is available : ok
Checking whether the clock_gettime clock ID CLOCK_PROCESS_CPUTIME_ID is available : ok
Checking whether the clock_gettime clock ID CLOCK_REALTIME is available : ok
Checking for struct timespec : ok
Checking for header arpa/nameser.h : yes
Checking for header resolv.h : yes
Checking for res_search : ok
Checking for pthread_create : ok
Checking for library pthread : yes
Checking for pthread_attr_init : ok
Checking for pthread_mutexattr_setrobust : ok
Checking for declaration of PTHREAD_MUTEX_ROBUST : ok
Checking for pthread_mutex_consistent : ok
Checking for crypt : ok
Checking for crypt_r : ok
Checking for header readline.h : no
Checking for header readline/readline.h : yes
Checking for header readline/history.h : yes
Checking for variable rl_event_hook : ok
Checking for declaration of snprintf : ok
Checking for declaration of vsnprintf : ok
Checking for declaration of asprintf : ok
Checking for declaration of vasprintf : ok
Checking for declaration of errno : ok
Checking for declaration of EWOULDBLOCK : ok
Checking for declaration of environ : ok
Checking for declaration of getgrent_r : not found
Checking for declaration of getgrent_r (as enum) : not found
Checking for declaration of getpwent_r : not found
Checking for declaration of getpwent_r (as enum) : not found
Checking for declaration of pread : ok
Checking for declaration of pwrite : ok
Checking for declaration of setenv : ok
Checking for declaration of setresgid : ok
Checking for declaration of setresuid : ok
Checking for eventfd : ok
Checking for header poll.h : yes
Checking for poll : ok
Checking for strptime : ok
Checking for declaration of strptime : ok
Checking for working strptime : not found
Checking for declaration of gettimeofday : ok
Checking C prototype for gettimeofday : not found
Checking C prototype for gettimeofday : ok
Checking for C99 vsnprintf : ok
Checking for HAVE_SHARED_MMAP : ok
Checking for HAVE_MREMAP : ok
Checking for HAVE_INCOHERENT_MMAP : not found
Checking for HAVE_IMMEDIATE_STRUCTURES : ok
Checking for HAVE_MKDIR_MODE : ok
Checking for member st_mtim.tv_nsec in struct stat : ok
Checking for member st_rdev in struct stat : ok
Checking for member st_rdev in struct stat : ok
Checking for member ss_family in struct sockaddr_storage : ok
Checking for member __ss_family in struct sockaddr_storage : not found
Checking for member sa_len in struct sockaddr : not found
Checking for member sin_len in struct sockaddr_in : not found
Checking for HAVE_UNIXSOCKET : ok
Checking for HAVE_SECURE_MKSTEMP : ok
Checking for HAVE_IFACE_GETIFADDRS : ok
Checking for getpwnam_r : ok
Checking for getpwuid_r : ok
Checking for getpwent_r : not found
Checking for declaration of getpwent_r : not found
Checking for declaration of getpwent_r (as enum) : not found
Checking for declaration of getgrent_r : not found
Checking for declaration of getgrent_r (as enum) : not found
Checking for declaration of getpwent_r : not found
Checking for declaration of getpwent_r (as enum) : not found
Checking for declaration of getgrent_r : not found
Checking for declaration of getgrent_r (as enum) : not found
Checking for getgrouplist : ok
Checking for strerror_r : ok
Checking for XSI (rather than GNU) prototype for strerror_r : ok
Checking for HAVE_FUSE_FUSE_LOWLEVEL_H : not found
Checking for program perl : /home/slarti/Development/openwrt/staging_dir/host/bin/perl
Checking for program perl : /home/slarti/Development/openwrt/staging_dir/host/bin/perl
Checking for program perl : /home/slarti/Development/openwrt/staging_dir/host/bin/perl
Checking for perl 5.0.0 : ok 5.26.2
Checking for perl $Config{vendorprefix}: : '/usr'
Checking for perl $Config{vendorarch}: : '/usr/lib64/perl5/vendor_perl'
PERL_ARCH_INSTALL_DIR: : '/usr/lib64/perl5/vendor_perl'
Checking for perl $Config{vendorlib}: : '/usr/share/perl5/vendor_perl'
PERL_LIB_INSTALL_DIR: : '/usr/share/perl5/vendor_perl'
PERL_INC: : ['/usr/local/lib64/perl5', '/usr/local/share/perl5', '/usr/lib64/perl5/vendor_perl', '/usr/share/perl5/vendor_perl', '/usr/lib64/perl5', '/usr/share/perl5']
Checking for program xsltproc : /usr/bin/xsltproc
Checking for program python : /home/slarti/Development/openwrt/staging_dir/hostpkg/bin/python
Checking for program python : /home/slarti/Development/openwrt/staging_dir/hostpkg/bin/python
Checking for program python : /home/slarti/Development/openwrt/staging_dir/hostpkg/bin/python
Checking for Python version >= 2.6.0 : ok 2.7.15
Checking for python headers : Check disabled due to --disable-python
Dynconfig[STATEDIR]: : '/var/lib/samba'
Dynconfig[SCRIPTSBINDIR]: : '/usr/sbin'
Dynconfig[PAMMODULESDIR]: : '/usr/lib/security'
Dynconfig[WINBINDD_SOCKET_DIR]: : '/var/run/samba/winbindd'
Dynconfig[PRIVATE_DIR]: : '/etc/samba'
Dynconfig[LMHOSTSFILE]: : '/etc/samba/lmhosts'
Dynconfig[SETUPDIR]: : '/usr/share/samba/setup'
Dynconfig[PIDDIR]: : '/var/run'
Dynconfig[PKGCONFIGDIR]: : '/usr/lib/pkgconfig'
Dynconfig[DATADIR]: : '/usr/share'
Dynconfig[CACHEDIR]: : '/var/cache/samba'
Dynconfig[SBINDIR]: : '/usr/sbin'
Dynconfig[NCALRPCDIR]: : '/var/run/samba/ncalrpc'
Dynconfig[BINDDNS_DIR]: : '/var/lib/samba/bind-dns'
Dynconfig[LOCKDIR]: : '/var/lock'
Dynconfig[PYTHONARCHDIR]: : '/usr/lib/python2.7/site-packages'
Dynconfig[PERL_LIB_INSTALL_DIR]: : '/usr/share/perl5/vendor_perl'
Dynconfig[LOGFILEBASE]: : '/var/log'
Dynconfig[PYTHONDIR]: : '/usr/lib/python2.7/site-packages'
Dynconfig[PERL_ARCH_INSTALL_DIR]: : '/usr/lib64/perl5/vendor_perl'
Dynconfig[NTP_SIGND_SOCKET_DIR]: : '/var/lib/samba/ntp_signd'
Dynconfig[CONFIGFILE]: : '/etc/samba/smb.conf'
Dynconfig[SOCKET_DIR]: : '/var/run/samba'
Dynconfig[MODULESDIR]: : '/usr/lib/samba'
Dynconfig[LIBDIR]: : '/usr/lib'
Dynconfig[LOCALEDIR]: : '/usr/share/locale'
Dynconfig[NMBDSOCKETDIR]: : '/var/run/samba/nmbd'
Dynconfig[INCLUDEDIR]: : '/usr/include/samba-4.0'
Dynconfig[CODEPAGEDIR]: : '/usr/share/samba/codepages'
Dynconfig[PRIVATELIBDIR]: : '/usr/lib/samba'
Dynconfig[PRIVILEGED_SOCKET_DIR]: : '/var/lib/samba'
Dynconfig[LIBEXECDIR]: : '/usr/lib'
Dynconfig[SMB_PASSWD_FILE]: : '/etc/samba/smbpasswd'
Dynconfig[BINDIR]: : '/usr/bin'
Dynconfig[CONFIGDIR]: : '/etc/samba'
Checking for longjmp : ok
Checking for siglongjmp : ok
Checking for system popt : yes
Checking for header popt.h : yes
Checking for library popt : yes
Checking for poptGetContext : ok
Checking for system z (>=1.2.3) : yes
Checking for library z : yes
Checking for zlibVersion : ok
Checking for system z (>=1.2.3) : ok
Checking linker accepts -Wl,-no-undefined : yes
Checking linker accepts ['-undefined', 'dynamic_lookup'] : no
Checking for header sys/auxv.h : yes
Checking for getauxval : ok
Checking linker accepts -Wl,-no-undefined : yes
Checking linker accepts ['-undefined', 'dynamic_lookup'] : no
Checking for epoll_create : ok
Checking value of NSIG : 65
Checking value of _NSIG : 65
Checking value of SIGRTMAX : 64
Checking value of SIGRTMIN : 35
Checking linker accepts -Wl,-no-undefined : yes
Checking linker accepts ['-undefined', 'dynamic_lookup'] : no
Checking for program python : /home/slarti/Development/openwrt/staging_dir/hostpkg/bin/python
Checking for program xsltproc : /usr/bin/xsltproc
Checking for Python version >= 2.4.2 : ok 2.7.15
Checking for python headers : Check disabled due to --disable-python
Checking linker accepts -Wl,-no-undefined : yes
Checking linker accepts ['-undefined', 'dynamic_lookup'] : no
Checking linker accepts ['-Wl,--wrap=test'] : yes
Looking for kerberos features
Checking for program krb5-config.heimdal : not found
Checking for program krb5-config : /home/slarti/Development/openwrt/staging_dir/target-x86_64_musl/usr/bin/krb5-config
Checking for /home/slarti/Development/openwrt/staging_dir/target-x86_64_musl/usr/bin/krb5-config : yes
Checking for kadm-server : yes
Checking for library kadm5srv_mit : yes
Checking for kadm5_init : ok
Checking for kdb : yes
Checking for gssapi : yes
MIT Kerberos 1.16.1 detected, MIT krb5 build can proceed
Checking for com_err : yes
Checking for _et_list : not found
Checking for header com_err.h : yes
Checking for header kdb.h : yes
Checking for header krb5/locate_plugin.h : yes
Checking for header krb5/localauth_plugin.h : yes
Checking for header gssapi.h : yes
Checking for header gssapi/gssapi_generic.h : yes
Checking for header gssapi/gssapi.h : yes
Checking for header gssapi/gssapi_ext.h : yes
Checking for header gssapi/gssapi_krb5.h : yes
Checking for header gssapi/gssapi_oid.h : no
Checking for krb5_encrypt_data : not found
Checking for library crypto : yes
Checking for des_set_key : not found
Checking for library asn1 : not found
Checking for copy_Authenticator : not found
Checking for library roken : not found
Checking for roken_getaddrinfo_hostspec : not found
Checking for header profile.h : yes
Checking for gss_display_status : ok
Checking for gss_wrap_iov : ok
Checking for gss_krb5_import_cred : ok
Checking for gss_get_name_attribute : ok
Checking for gss_mech_krb5 : ok
Checking for gss_oid_equal : ok
Checking for gss_inquire_sec_context_by_oid : ok
Checking for gsskrb5_extract_authz_data_from_sec_context : ok
Checking for gss_krb5_export_lucid_sec_context : ok
Checking for gss_import_cred : ok
Checking for gss_export_cred : ok
Checking for gss_acquire_cred_from : ok
Checking for variable GSS_KRB5_CRED_NO_CI_FLAGS_X : ok
Checking for krb5_mk_req_extended : ok
Checking for krb5_kt_compare : not found
Checking for krb5_auth_con_getrecvsubkey : ok
Checking for krb5_auth_con_getsendsubkey : ok
Checking for krb5_set_default_in_tkt_etypes : not found
Checking for krb5_set_default_tgs_enctypes : ok
Checking for krb5_set_default_tgs_ktypes : ok
Checking for krb5_principal2salt : ok
Checking for krb5_c_string_to_key : ok
Checking for krb5_get_pw_salt : not found
Checking for krb5_string_to_key_salt : not found
Checking for krb5_auth_con_setkey : not found
Checking for krb5_auth_con_setuseruserkey : ok
Checking for krb5_get_permitted_enctypes : ok
Checking for krb5_get_default_in_tkt_etypes : not found
Checking for krb5_free_data_contents : ok
Checking for krb5_principal_get_comp_string : not found
Checking for krb5_free_unparsed_name : ok
Checking for krb5_free_keytab_entry_contents : ok
Checking for krb5_kt_free_entry : ok
Checking for krb5_krbhst_init : not found
Checking for krb5_krbhst_get_addrinfo : not found
Checking for krb5_crypto_init : not found
Checking for krb5_crypto_destroy : not found
Checking for krb5_c_verify_checksum : ok
Checking for krb5_principal_compare_any_realm : ok
Checking for krb5_parse_name_norealm : not found
Checking for krb5_princ_size : not found
Checking for krb5_get_init_creds_opt_set_pac_request : ok
Checking for krb5_get_renewed_creds : ok
Checking for krb5_free_error_contents : not found
Checking for initialize_krb5_error_table : ok
Checking for krb5_get_init_creds_opt_alloc : ok
Checking for krb5_get_init_creds_opt_free : ok
Checking for krb5_get_init_creds_opt_get_error : not found
Checking for krb5_enctype_to_string : ok
Checking for krb5_fwd_tgt_creds : ok
Checking for krb5_auth_con_set_req_cksumtype : ok
Checking for krb5_get_creds_opt_alloc : not found
Checking for krb5_get_creds_opt_set_impersonate : not found
Checking for krb5_get_creds : not found
Checking for krb5_get_credentials_for_user : ok
Checking for krb5_get_host_realm : ok
Checking for krb5_free_host_realm : ok
Checking for krb5_get_init_creds_keyblock : not found
Checking for krb5_get_init_creds_keytab : ok
Checking for krb5_make_principal : not found
Checking for krb5_build_principal_alloc_va : ok
Checking for krb5_cc_get_lifetime : not found
Checking for krb5_cc_retrieve_cred : ok
Checking for krb5_cc_copy_creds : ok
Checking for krb5_free_checksum_contents : ok
Checking for krb5_c_make_checksum : ok
Checking for krb5_create_checksum : not found
Checking for krb5_config_get_bool_default : not found
Checking for krb5_get_profile : ok
Checking for krb5_data_copy : not found
Checking for krb5_init_keyblock : ok
Checking for krb5_principal_set_realm : not found
Checking for krb5_principal_get_type : not found
Checking for krb5_principal_set_type : not found
Checking for krb5_warnx : not found
Checking for krb5_get_prompt_types : ok
Checking for declaration of krb5_get_credentials_for_user : not found
Checking for declaration of krb5_auth_con_set_req_cksumtype : ok
Checking for variable AP_OPTS_USE_SUBKEY : ok
Checking for variable KV5M_KEYTAB : ok
Checking for variable KRB5_KU_OTHER_CKSUM : not found
Checking for variable KRB5_KEYUSAGE_APP_DATA_CKSUM : ok
Checking for variable ENCTYPE_AES128_CTS_HMAC_SHA1_96 : ok
Checking for variable ENCTYPE_AES256_CTS_HMAC_SHA1_96 : ok
Checking for declaration of KRB5_PDU_NONE : not found
Checking for declaration of KRB5_PDU_NONE (as enum) : not found
Checking for member key in krb5_keytab_entry : ok
Checking for member keyblock in krb5_keytab_entry : not found
Checking for member magic in krb5_address : ok
Checking for member addrtype in krb5_address : ok
Checking for member ticket in krb5_ap_req : ok
Checking for member type in krb5_prompt : not found
Checking for krb5_encrypt_block : ok
Checking whether krb5_get_init_creds_opt_free takes a context argument : ok
Checking whether krb5_princ_component is available : ok
Checking whether krb5_enctype_to_string takes size_t argument : ok
Checking whether krb5_enctype_to_string takes krb5_context argument : not found
Checking whether the macro krb5_princ_realm is defined : ok
Checking whether krb5_principal_get_realm is defined : not found
Checking whether the ENCTYPE_ARCFOUR_HMAC_MD5 key type definition is available : not found
Checking whether the ENCTYPE_ARCFOUR_HMAC_MD5_56 key type definition is available : not found
Checking whether the HAVE_KEYTYPE_ARCFOUR_56 key type definition is available : not found
Checking whether the ENCTYPE_ARCFOUR_HMAC key type definition is available : ok
Checking whether the ENCTYPE_ARCFOUR_HMAC_EXP key type definition is available : ok
Checking whether the WRFILE -keytab is supported : ok
Checking for KRB5_DEPRECATED define taking an identifier : ok
Checking whether krb5_creds have flags property : not found
Checking for header linux/fcntl.h : yes
Checking for declaration of F_SETLEASE : ok
Checking for declaration of SA_SIGINFO : ok
Checking for backtrace : not found
Checking for backtrace_symbols : not found
Checking for library execinfo : not found
Checking for backtrace : not found
Checking for backtrace_symbols : not found
Checking for header libunwind.h : yes
Checking for member f_frsize in struct statvfs : ok
Checking for statvfs (SVR4) : ok
Checking for *bsd style statfs with statfs.f_iosize : not found
Checking if f_fsid is an integer : ok
Checking whether statvfs.f_flag exists : ok
Checking whether statvfs.f_flags exists : not found
Checking for header gpfs.h : no
Checking for library iconv : no
Checking for library iconv : not found
Checking for iconv_open : ok
Checking errno of iconv for illegal multibyte sequence : ok
Checking for pam_start : not found
Checking for library pam : yes
Checking for pam_start : ok
Checking for header security/pam_modules.h : yes
Checking for header pam/pam_modules.h : no
Checking for header nss_dbdefs.h : no
Checking for member ipnode.af_family in union nss_XbyY_key : not found
Checking for member pw_comment in struct passwd : not found
Checking for member pw_age in struct passwd : not found
Checking for rl_completion_t : not found
Checking for CPPFunction : not found
Checking for library readline : not found
Checking for rl_completion_matches : not found
Checking for library readline : not found
Checking for history_list : not found
Checking for MD5Init : not found
Checking for library bsd : not found
Checking for MD5Init : not found
Checking for MD5Init : not found
Checking for library md5 : not found
Checking for MD5Init : not found
Checking for MD5Init : not found
Checking for library md : not found
Checking for MD5Init : not found
Checking for CC_MD5_Init : not found
Checking for CC_MD5_Init : not found
Checking for SHA1_Update : not found
Checking for SHA256_Update : not found
Checking for SHA512_Update : not found
Checking for perl module Parse::Yapp::Driver 1.05 : not found
perl manpage generation : ok
perl man1 extension : 1
perl man3 extension : 3pm
Checking for program yapp : not found
Checking for program pod2man : /usr/bin/pod2man
Checking linker accepts -Wl,--export-dynamic : yes
Checking for header linux/falloc.h : yes
Checking for header linux/ioctl.h : yes
Checking for getcwd : ok
Checking for fchown : ok
Checking for chmod : ok
Checking for fchmod : ok
Checking for mknod : ok
Checking for strtol : ok
Checking for strchr : ok
Checking for strupr : not found
Checking for chflags : not found
Checking for getrlimit : ok
Checking for fsync : ok
Checking for fdatasync : ok
Checking for setpgid : ok
Checking for setsid : ok
Checking for glob : ok
Checking for strpbrk : ok
Checking for crypt16 : not found
Checking for getauthuid : not found
Checking for innetgr : not found
Checking for initgroups : ok
Checking for select : ok
Checking for poll : ok
Checking for rdchk : not found
Checking for getgrnam : ok
Checking for getgrent : ok
Checking for pathconf : ok
Checking for setpriv : not found
Checking for setgidx : not found
Checking for setuidx : not found
Checking for setgroups : ok
Checking for syscall : ok
Checking for sysconf : ok
Checking for atexit : ok
Checking for grantpt : ok
Checking for posix_openpt : ok
Checking for fallocate : ok
Checking for fseeko : ok
Checking for setluid : not found
Checking for getpwnam : ok
Checking for fdopendir : ok
Checking for fstatat : ok
Checking for getpwent_r : not found
Checking for setenv : ok
Checking for clearenv : ok
Checking for strcasecmp : ok
Checking for fcvt : ok
Checking for fcvtl : not found
Checking for syslog : ok
Checking for vsyslog : ok
Checking for timegm : ok
Checking for setlocale : ok
Checking for library rt : yes
Checking for nanosleep : ok
Checking for lutimes : ok
Checking for futimes : ok
Checking for utimensat : ok
Checking for futimens : ok
Checking for mlock : ok
Checking for munlock : ok
Checking for mlockall : ok
Checking for munlockall : ok
Checking for memalign : ok
Checking for posix_memalign : ok
Checking for hstrerror : ok
Checking for shmget : ok
Checking for shm_open : ok
Checking for yp_get_default_domain : not found
Checking for library resolv : yes
Checking for dn_expand : ok
Checking for _dn_expand : not found
Checking for __dn_expand : ok
Checking for declaration of fdatasync : ok
Checking for declaration of readahead : ok
Checking for HAVE_LINUX_SPLICE : ok
Checking for declaration of splice : ok
Checking for kernel change notify support : ok
Checking for Linux kernel oplocks : ok
Checking for IRIX kernel oplock types : not found
Checking for kernel share modes : ok
Checking for libarchive existence
Checking for header archive.h : no
Building without DMAPI support (--without-dmapi).
Checking for member st_blocks in struct stat : ok
Checking for member st_blksize in struct stat : ok
Checking for member st_flags in struct stat : not found
Checking for header replace.h : no
Checking whether blkcnt_t is 32 bit : not found
Checking whether blkcnt_t is 64 bit : ok
Checking for library cap : yes
Checking for cap_get_proc : ok
Checking whether POSIX capabilities are available : not found
Checking for broken nisplus include files : ok
Checking if the compiler will optimize out functions : ok
Checking for LL suffix on long long integers : ok
Checking for _acl : not found
Checking for __acl : not found
Checking for atexit : ok
Checking for _chdir : not found
Checking for __chdir : not found
Checking for chflags : not found
Checking for chmod : ok
Checking for _close : not found
Checking for __close : not found
Checking for _closedir : not found
Checking for __closedir : not found
Checking for crypt16 : not found
Checking for devnm : not found
Checking for dirfd : ok
Checking for DNSServiceRegister : not found
Checking for _dup : not found
Checking for __dup : not found
Checking for _dup2 : not found
Checking for __dup2 : not found
Checking for endmntent : ok
Checking for execl : ok
Checking for _facl : not found
Checking for __facl : not found
Checking for _fchdir : not found
Checking for __fchdir : not found
Checking for fchmod : ok
Checking for fchown : ok
Checking for _fcntl : not found
Checking for __fcntl : not found
Checking for fcvt : ok
Checking for fcvtl : not found
Checking for fdatasync : ok
Checking for _fork : not found
Checking for __fork : not found
Checking for fseeko : ok
Checking for fsetxattr : ok
Checking for _fstat : not found
Checking for __fstat : not found
Checking for fsync : ok
Checking for futimens : ok
Checking for futimes : ok
Checking for __fxstat : ok
Checking for getauthuid : not found
Checking for getcwd : ok
Checking for _getcwd : not found
Checking for __getcwd : not found
Checking for getdents : ok
Checking for __getdents : ok
Checking for getdirentries : not found
Checking for getgrent : ok
Checking for getgrnam : ok
Checking for getgrouplist : ok
Checking for getgrset : not found
Checking for getmntent : ok
Checking for getpagesize : ok
Checking for getpwanam : not found
Checking for getpwent_r : not found
Checking for getrlimit : ok
Checking for glob : ok
Checking for grantpt : ok
Checking for hstrerror : ok
Checking for initgroups : ok
Checking for innetgr : not found
Checking for llseek : not found
Checking for _llseek : not found
Checking for __llseek : not found
Checking for _lseek : not found
Checking for __lseek : not found
Checking for _lstat : not found
Checking for __lstat : not found
Checking for lutimes : ok
Checking for __lxstat : ok
Checking for memalign : ok
Checking for mknod : ok
Checking for mlock : ok
Checking for mlockall : ok
Checking for munlock : ok
Checking for munlockall : ok
Checking for _open : not found
Checking for __open : not found
Checking for _opendir : not found
Checking for __opendir : not found
Checking for pathconf : ok
Checking for poll : ok
Checking for posix_memalign : ok
Checking for pread : ok
Checking for _pread : not found
Checking for __pread : not found
Checking for pwrite : ok
Checking for _pwrite : not found
Checking for __pwrite : not found
Checking for rdchk : not found
Checking for _read : not found
Checking for __read : not found
Checking for _readdir : not found
Checking for __readdir : not found
Checking for _seekdir : not found
Checking for __seekdir : not found
Checking for select : ok
Checking for setenv : ok
Checking for setgidx : not found
Checking for setgroups : ok
Checking for setlocale : ok
Checking for setluid : not found
Checking for setmntent : ok
Checking for setpgid : ok
Checking for setpriv : not found
Checking for setsid : ok
Checking for setuidx : not found
Checking for shmget : ok
Checking for shm_open : ok
Checking for _stat : not found
Checking for __stat : not found
Checking for statvfs : ok
Checking for strcasecmp : ok
Checking for strchr : ok
Checking for strpbrk : ok
Checking for strsignal : ok
Checking for strtol : ok
Checking for strupr : not found
Checking for sysconf : ok
Checking for sysctl : not found
Checking for sysctlbyname : not found
Checking for __sys_llseek : not found
Checking for syslog : ok
Checking for _telldir : not found
Checking for __telldir : not found
Checking for timegm : ok
Checking for utimensat : ok
Checking for vsyslog : ok
Checking for _write : not found
Checking for __write : not found
Checking for __xstat : ok
Checking if can we convert from CP850 to UCS-2LE : ok
Checking if can we convert from UTF-8 to UCS-2LE : ok
building on linux2
Checking for library acl : yes
Checking for acl_get_file : ok
Checking for POSIX ACL support : ok
Checking whether acl_get_perm_np() is available : not found
Checking for variable ACL_EVERYONE : not found
Checking for dirfd : ok
vfs_fileid checking for statfs() and struct statfs.f_fsid : ok
Checking whether the Linux 'fallocate' function is available : ok
Checking whether Linux 'fallocate' supports hole-punching : ok
Checking whether lseek supports hole/data seeking : not found
Checking whether Linux readahead is available : ok
Checking for declaration of readahead : ok
Checking for openat : ok
Checking if we can use msg_control for passing file descriptors : ok
Checking if we can use msg_accrights for passing file descriptors : not found
Checking for program awk : /home/slarti/Development/openwrt/staging_dir/host/bin/awk
Checking for header asm/types.h : yes
Checking for major macro : ok
Checking for minor macro : ok
Checking for member d_off in struct dirent : ok
Checking for setnetgrent : not found
Checking for getnetgrent : not found
Checking for endnetgrent : not found
Checking compiler accepts -Werror-implicit-function-declaration : yes
Checking for setnetgrent prototype : not found
Checking for getnetgrent prototype : not found
Checking for endnetgrent prototype : not found
Building without Active Directory support (--without-ads).
Checking for header avahi-common/watch.h : yes
Checking for header avahi-client/client.h : yes
Checking for library avahi-client : yes
Checking for avahi_client_new : ok
Checking for library avahi-common : yes
Checking for avahi_strerror : ok
PAM disabled
Checking whether Linux should use 32-bit credential calls : not found
Checking whether we can use Linux thread-specific credentials : ok
Checking whether Linux netlink is available : not found
Checking whether fcntl locking is available : ok
Checking whether fcntl lock supports open file description locks : not found
Checking for member st_mtim.tv_nsec in struct stat : ok
Checking for member st_mtimensec in struct stat : not found
Checking for member st_mtimespec.tv_nsec in struct stat : not found
Checking for member st_mtime_n in struct stat : not found
Checking for member st_umtime in struct stat : not found
Checking for member st_birthtime in struct stat : not found
Checking for member st_birthtimespec.tv_nsec in struct stat : not found
Checking for member st_birthtimensec in struct stat : not found
Checking whether posix_fadvise is available : ok
Checking whether sysconf(_SC_NGROUPS_MAX) is available : ok
Checking whether sysconf(_SC_NPROC_ONLN) is available : not found
Checking whether sysconf(_SC_NPROCESSORS_ONLN) is available : ok
Checking whether sysconf(_SC_PAGESIZE) is available : ok
Checking whether to use the Darwin-specific initgroups system call : not found
Checking whether struct utimbuf is available : ok
Checking whether we have the struct sigevent : ok
Checking for member sigev_value.sival_ptr in struct sigevent : ok
Checking for member sigev_value.sigval_ptr in struct sigevent : not found
Checking for the maximum value of the 'time_t' type : ok
Checking whether the macro for makedev is available : ok
Checking whether the realpath function allows a NULL argument : ok
Checking for ftruncate extend : ok
Checking for header sys/sendfile.h : yes
Checking for linux sendfile support : ok
getcwd takes a NULL argument : ok
Checking for library gen : not found
Checking for getspnam : ok
building without cluster support (--without-cluster-support)
Checking whether seekdir returns void : ok
Checking for header linux/fs.h : yes
Checking for declaration of FS_IOC_GETFLAGS : ok
Checking for declaration of FS_COMPR_FL : ok
Checking for dbus : yes
Checking for header dbus/dbus.h : yes
Checking for library dbus-1 : yes
not building regedit (--without-regedit)
Checking for header ftw.h : yes
Checking for nftw : ok
Checking for DES_pcbc_encrypt : ok
Checking for header rpc/xdr.h : yes
VFS_STATIC: vfs_default,vfs_posixacl,vfs_fruit,vfs_shadow_copy2,vfs_recycle,vfs_fake_perms,vfs_readonly,vfs_cap,vfs_offline,vfs_crossrename,vfs_virusfilter,vfs_shell_snap,vfs_commit,vfs_worm,vfs_xattr_tdb,vfs_streams_xattr,vfs_aio_fork,vfs_aio_pthread,vfs_netatalk,vfs_dirsort,vfs_fileid,vfs_catia
VFS_SHARED:
PDB_STATIC: pdb_smbpasswd,pdb_tdbsam
PDB_SHARED:
AUTH_STATIC: auth_builtin,auth_sam,auth_unix,auth_script
AUTH_SHARED:
NSS_INFO_STATIC:
NSS_INFO_SHARED:
CHARSET_STATIC:
CHARSET_SHARED:
IDMAP_STATIC:
IDMAP_SHARED:
GPEXT_STATIC:
GPEXT_SHARED:
PERFCOUNT_STATIC:
PERFCOUNT_SHARED:
RPC_STATIC:
RPC_SHARED:
Checking for openpty : ok
Checking for header linux/sockios.h : yes
Checking for header linux/ethtool.h : yes
Checking for jansson : yes
Checking for library jansson : yes
Checking for json_object : ok
Checking linker accepts -Wl,-no-undefined : yes
Checking linker accepts ['-undefined', 'dynamic_lookup'] : no
Checking linker accepts -Wl,--as-needed : yes
Checking for -lc not needed : ok
Checking configure summary : ok
Checking compiler for PIE support : yes
Checking compiler for full RELRO support : yes
Checking if toolchain accepts -fstack-protector : yes
'configure' finished successfully (1m4.908s)
Selected system MIT krb5 libraries, Heimdal use is disabled
symlink: samba_gpoupdate -> ./samba_gpoupdate
symlink: smbaddshare -> ./smbaddshare
symlink: smbchangeshare -> ./smbchangeshare
symlink: smbdeleteshare -> ./smbdeleteshare
Checking project rules ...
Project rules pass
Waf: Entering directory `/home/slarti/Development/openwrt/build_dir/target-x86_64_musl/samba-4.8.3/bin'
Selected system MIT krb5 libraries, Heimdal use is disabled
Checking project rules ...
Project rules pass
[ 1/1666] Generating interfaces.vscript
[ 2/1666] Generating addns.vscript
[ 3/1666] Generating ldb-cmdline.vscript
[ 4/1666] Generating server-role.vscript
[ 5/1666] Generating samba-hostconfig.vscript
[ 6/1666] Generating shares.vscript
[ 7/1666] Generating ndr-samba4.vscript
[ 8/1666] Generating dcerpc-samba4.vscript
[ 9/1666] Generating dcerpc-samr.vscript
[ 10/1666] Generating dcerpc.vscript
[ 11/1666] Generating dsdb-module.vscript
[ 12/1666] Generating samdb.vscript
[ 13/1666] Generating samdb-common.vscript
[ 14/1666] Generating dsdb_garbage_collect_tombstones.vscript
[ 15/1666] Generating cluster.vscript
[ 16/1666] Generating authkrb5.vscript
[ 17/1666] Generating auth4.vscript
[ 18/1666] Generating auth_unix_token.vscript
[ 19/1666] Generating common_auth.vscript
[ 20/1666] Generating gensec.vscript
[ 21/1666] Generating samba-credentials.vscript
[ 22/1666] Generating winbind-client.vscript
[ 23/1666] Generating nss_wrapper_winbind.vscript
[ 24/1666] Generating nss_winbind.vscript
[ 25/1666] Generating nss_wins.vscript
[ 26/1666] Generating wbclient.vscript
[ 27/1666] Generating smbpasswdparser.vscript
[ 28/1666] Generating netif.vscript
[ 29/1666] Generating ldbsamba.vscript
[ 30/1666] Generating registry.vscript
[ 31/1666] Generating MESSAGING_SEND.vscript
[ 32/1666] Generating MESSAGING.vscript
[ 33/1666] Generating events.vscript
[ 34/1666] Generating cmdline-credentials.vscript
[ 35/1666] Generating http.vscript
[ 36/1666] Generating time-basic.vscript
[ 37/1666] Generating sys_rw.vscript
[ 38/1666] Generating samba-debug.vscript
[ 39/1666] Generating socket-blocking.vscript
[ 40/1666] Generating talloc_report.vscript
[ 41/1666] Generating iov_buf.vscript
[ 42/1666] Generating msghdr.vscript
[ 43/1666] Generating genrand.vscript
[ 44/1666] Generating samba-util.vscript
[ 45/1666] Generating samba-modules.vscript
[ 46/1666] Generating asn1util.vscript
[ 47/1666] Generating util_tdb.vscript
[ 48/1666] Generating tevent-util.vscript
[ 49/1666] Generating util_setid.vscript
[ 50/1666] Generating server_id_db.vscript
[ 51/1666] Generating tdb-wrap.vscript
[ 52/1666] Generating torture.vscript
[ 53/1666] Generating posix_eadb.vscript
[ 54/1666] Generating ndr-krb5pac.vscript
[ 55/1666] Generating ndr-standard.vscript
[ 56/1666] Generating ndr_nbt.vscript
[ 57/1666] Generating ndr-samba.vscript
[ 58/1666] Generating dcerpc-samba.vscript
[ 59/1666] Generating ndr.vscript
[ 60/1666] Generating dcerpc-binding.vscript
[ 61/1666] Generating cli-ldap.vscript
[ 62/1666] Generating LIBWBCLIENT_OLD.vscript
[ 63/1666] Generating smbclient-raw.vscript
[ 64/1666] Generating smb_transport.vscript
[ 65/1666] Generating cli_smb_common.vscript
[ 66/1666] Generating samba-errors.vscript
[ 67/1666] Generating cli_cldap.vscript
[ 68/1666] Generating dbwrap.vscript
[ 69/1666] Generating samba-security.vscript
[ 70/1666] Generating cli-ldap-common.vscript
[ 71/1666] Generating cli-nbt.vscript
[ 72/1666] Generating cliauth.vscript
[ 73/1666] Generating util_reg.vscript
[ 74/1666] Generating npa_tstream.vscript
[ 75/1666] Generating samba-sockets.vscript
[ 76/1666] Generating flag_mapping.vscript
[ 77/1666] Generating gse.vscript
[ 78/1666] Generating msrpc3.vscript
[ 79/1666] Generating popt_samba3.vscript
[ 80/1666] Generating util_cmdline.vscript
[ 81/1666] Generating samba-cluster-support.vscript
[ 82/1666] Generating messages_dgm.vscript
[ 83/1666] Generating messages_util.vscript
[ 84/1666] Generating smbd_shim.vscript
[ 85/1666] Generating libsmb.vscript
[ 86/1666] Generating secrets3.vscript
[ 87/1666] Generating smbconf.vscript
[ 88/1666] Generating smbd_conn.vscript
[ 89/1666] Generating smbd_base.vscript
[ 90/1666] Generating printing_migrate.vscript
[ 91/1666] Generating net_keytab.vscript
[ 92/1666] Generating trusts_util.vscript
[ 93/1666] Generating samba3-util.vscript
[ 94/1666] Generating xattr_tdb.vscript
[ 95/1666] Generating CHARSET3.vscript
[ 96/1666] Generating libcli_lsa3.vscript
[ 97/1666] Generating libcli_netlogon3.vscript
[ 98/1666] Generating cli_spoolss.vscript
[ 99/1666] Generating non_posix_acls.vscript
[ 100/1666] Generating idmap.vscript
[ 101/1666] Generating nss_info.vscript
[ 102/1666] Generating krb5samba.vscript
[ 103/1666] Compiling lib/replace/replace.c
[ 104/1666] Compiling lib/replace/strptime.c
[ 105/1666] Compiling lib/replace/cwrap.c
[ 106/1666] Compiling lib/replace/closefrom.c
[ 107/1666] Generating VERSION
[ 108/1666] Generating INFILE_catalog.xml
[ 109/1666] Generating INFILE_samba.build.version
[ 111/1666] Generating ldb_version.h
[ 110/1666] Generating smbdotconf/parameters.all.xml
[ 112/1666] Generating PKGCONFIG_samba-hostconfig.pc
[ 113/1666] Generating shares_empty_c
[ 114/1666] Generating ndr-samba4_empty_c
[ 115/1666] Generating dcerpc-samba4_empty_c
[ 116/1666] Generating dcerpc-samr_empty_c
[ 117/1666] Generating PKGCONFIG_dcerpc_samr.pc
[ 118/1666] Generating PKGCONFIG_dcerpc.pc
[ 119/1666] Generating dsdb-module_empty_c
[ 120/1666] Generating PKGCONFIG_samdb.pc
[ 121/1666] Generating gensec_ntlmssp_empty_c
[ 122/1666] Generating PKGCONFIG_samba-credentials.pc
[ 123/1666] Generating PKGCONFIG_wbclient.pc
[ 124/1666] Generating third_party_init_py
[ 125/1666] Generating PKGCONFIG_samba-util.pc
[ 126/1666] Generating PKGCONFIG_ndr_krb5pac.pc
[ 127/1666] Generating PKGCONFIG_ndr_standard.pc
[ 128/1666] Generating PKGCONFIG_ndr_nbt.pc
[ 129/1666] Generating ndr-samba_empty_c
[ 130/1666] Generating dcerpc-samba_empty_c
[ 131/1666] Generating PKGCONFIG_ndr.pc
[ 132/1666] Generating cliauth_empty_c
[ 133/1666] Generating python_samba_gpoupdate
[ 134/1666] Generating perl_pidl
[ 135/1666] Generating samba-sockets_empty_c
[ 136/1666] Generating smbd/build_options.c
[ 137/1666] Generating samba-passdb_empty_c
[ 138/1666] Generating vfs_empty_c
[ 139/1666] Generating nfs41acl-xdr-c
/bin/sh: rpcgen: command not found
[ 140/1666] Generating nfs41acl-h
[ 141/1666] Generating perfcount_empty_c
[ 142/1666] Generating rpc_empty_c
[ 143/1666] Generating findsmb-script
/bin/sh: rpcgen: command not found
* installing bin/default/lib/param/samba-hostconfig.pc as /home/slarti/Development/openwrt/build_dir/target-x86_64_musl/samba-4.8.3/ipkg-install/usr/lib/pkgconfig/samba-hostconfig.pc
* installing bin/default/source4/librpc/dcerpc_samr.pc as /home/slarti/Development/openwrt/build_dir/target-x86_64_musl/samba-4.8.3/ipkg-install/usr/lib/pkgconfig/dcerpc_samr.pc
* installing bin/default/source4/librpc/dcerpc.pc as /home/slarti/Development/openwrt/build_dir/target-x86_64_musl/samba-4.8.3/ipkg-install/usr/lib/pkgconfig/dcerpc.pc
* installing bin/default/source4/dsdb/samdb.pc as /home/slarti/Development/openwrt/build_dir/target-x86_64_musl/samba-4.8.3/ipkg-install/usr/lib/pkgconfig/samdb.pc
* installing bin/default/auth/credentials/samba-credentials.pc as /home/slarti/Development/openwrt/build_dir/target-x86_64_musl/samba-4.8.3/ipkg-install/usr/lib/pkgconfig/samba-credentials.pc
* installing bin/default/nsswitch/libwbclient/wbclient.pc as /home/slarti/Development/openwrt/build_dir/target-x86_64_musl/samba-4.8.3/ipkg-install/usr/lib/pkgconfig/wbclient.pc
* installing bin/default/third_party/empty_file as /home/slarti/Development/openwrt/build_dir/target-x86_64_musl/samba-4.8.3/ipkg-install/usr/lib/python2.7/site-packages/samba/third_party/__init__.py
* installing bin/default/lib/util/samba-util.pc as /home/slarti/Development/openwrt/build_dir/target-x86_64_musl/samba-4.8.3/ipkg-install/usr/lib/pkgconfig/samba-util.pc
* installing bin/default/librpc/ndr_krb5pac.pc as /home/slarti/Development/openwrt/build_dir/target-x86_64_musl/samba-4.8.3/ipkg-install/usr/lib/pkgconfig/ndr_krb5pac.pc
* installing bin/default/librpc/ndr_standard.pc as /home/slarti/Development/openwrt/build_dir/target-x86_64_musl/samba-4.8.3/ipkg-install/usr/lib/pkgconfig/ndr_standard.pc
* installing bin/default/librpc/ndr_nbt.pc as /home/slarti/Development/openwrt/build_dir/target-x86_64_musl/samba-4.8.3/ipkg-install/usr/lib/pkgconfig/ndr_nbt.pc
* installing bin/default/librpc/ndr.pc as /home/slarti/Development/openwrt/build_dir/target-x86_64_musl/samba-4.8.3/ipkg-install/usr/lib/pkgconfig/ndr.pc
* installing bin/default/source4/scripting/bin/samba_gpoupdate.inst as /home/slarti/Development/openwrt/build_dir/target-x86_64_musl/samba-4.8.3/ipkg-install/usr/sbin/samba_gpoupdate
* installing bin/default/pidl/pidl.inst as /home/slarti/Development/openwrt/build_dir/target-x86_64_musl/samba-4.8.3/ipkg-install/usr/bin/pidl
* installing pidl/lib/Parse/Pidl.pm as /home/slarti/Development/openwrt/build_dir/target-x86_64_musl/samba-4.8.3/ipkg-install/usr/share/perl5/vendor_perl/Parse/Pidl.pm
* installing pidl/lib/Parse/Pidl/Samba4.pm as /home/slarti/Development/openwrt/build_dir/target-x86_64_musl/samba-4.8.3/ipkg-install/usr/share/perl5/vendor_perl/Parse/Pidl/Samba4.pm
* installing pidl/lib/Parse/Pidl/CUtil.pm as /home/slarti/Development/openwrt/build_dir/target-x86_64_musl/samba-4.8.3/ipkg-install/usr/share/perl5/vendor_perl/Parse/Pidl/CUtil.pm
* installing pidl/lib/Parse/Pidl/Expr.pm as /home/slarti/Development/openwrt/build_dir/target-x86_64_musl/samba-4.8.3/ipkg-install/usr/share/perl5/vendor_perl/Parse/Pidl/Expr.pm
* installing pidl/lib/Parse/Pidl/Wireshark/Conformance.pm as /home/slarti/Development/openwrt/build_dir/target-x86_64_musl/samba-4.8.3/ipkg-install/usr/share/perl5/vendor_perl/Parse/Pidl/Wireshark/Conformance.pm
* installing pidl/lib/Parse/Pidl/Wireshark/NDR.pm as /home/slarti/Development/openwrt/build_dir/target-x86_64_musl/samba-4.8.3/ipkg-install/usr/share/perl5/vendor_perl/Parse/Pidl/Wireshark/NDR.pm
* installing pidl/lib/Parse/Pidl/ODL.pm as /home/slarti/Development/openwrt/build_dir/target-x86_64_musl/samba-4.8.3/ipkg-install/usr/share/perl5/vendor_perl/Parse/Pidl/ODL.pm
* installing pidl/lib/Parse/Pidl/Dump.pm as /home/slarti/Development/openwrt/build_dir/target-x86_64_musl/samba-4.8.3/ipkg-install/usr/share/perl5/vendor_perl/Parse/Pidl/Dump.pm
* installing pidl/lib/Parse/Pidl/Util.pm as /home/slarti/Development/openwrt/build_dir/target-x86_64_musl/samba-4.8.3/ipkg-install/usr/share/perl5/vendor_perl/Parse/Pidl/Util.pm
* installing pidl/lib/Parse/Pidl/Samba4/Header.pm as /home/slarti/Development/openwrt/build_dir/target-x86_64_musl/samba-4.8.3/ipkg-install/usr/share/perl5/vendor_perl/Parse/Pidl/Samba4/Header.pm
* installing pidl/lib/Parse/Pidl/Samba4/COM/Header.pm as /home/slarti/Development/openwrt/build_dir/target-x86_64_musl/samba-4.8.3/ipkg-install/usr/share/perl5/vendor_perl/Parse/Pidl/Samba4/COM/Header.pm
* installing pidl/lib/Parse/Pidl/Samba4/COM/Proxy.pm as /home/slarti/Development/openwrt/build_dir/target-x86_64_musl/samba-4.8.3/ipkg-install/usr/share/perl5/vendor_perl/Parse/Pidl/Samba4/COM/Proxy.pm
* installing pidl/lib/Parse/Pidl/Samba4/COM/Stub.pm as /home/slarti/Development/openwrt/build_dir/target-x86_64_musl/samba-4.8.3/ipkg-install/usr/share/perl5/vendor_perl/Parse/Pidl/Samba4/COM/Stub.pm
* installing pidl/lib/Parse/Pidl/Samba4/TDR.pm as /home/slarti/Development/openwrt/build_dir/target-x86_64_musl/samba-4.8.3/ipkg-install/usr/share/perl5/vendor_perl/Parse/Pidl/Samba4/TDR.pm
* installing pidl/lib/Parse/Pidl/Samba4/NDR/Server.pm as /home/slarti/Development/openwrt/build_dir/target-x86_64_musl/samba-4.8.3/ipkg-install/usr/share/perl5/vendor_perl/Parse/Pidl/Samba4/NDR/Server.pm
* installing pidl/lib/Parse/Pidl/Samba4/NDR/Client.pm as /home/slarti/Development/openwrt/build_dir/target-x86_64_musl/samba-4.8.3/ipkg-install/usr/share/perl5/vendor_perl/Parse/Pidl/Samba4/NDR/Client.pm
* installing pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm as /home/slarti/Development/openwrt/build_dir/target-x86_64_musl/samba-4.8.3/ipkg-install/usr/share/perl5/vendor_perl/Parse/Pidl/Samba4/NDR/Parser.pm
* installing pidl/lib/Parse/Pidl/Samba4/Python.pm as /home/slarti/Development/openwrt/build_dir/target-x86_64_musl/samba-4.8.3/ipkg-install/usr/share/perl5/vendor_perl/Parse/Pidl/Samba4/Python.pm
* installing pidl/lib/Parse/Pidl/Samba4/Template.pm as /home/slarti/Development/openwrt/build_dir/target-x86_64_musl/samba-4.8.3/ipkg-install/usr/share/perl5/vendor_perl/Parse/Pidl/Samba4/Template.pm
* installing pidl/lib/Parse/Pidl/IDL.pm as /home/slarti/Development/openwrt/build_dir/target-x86_64_musl/samba-4.8.3/ipkg-install/usr/share/perl5/vendor_perl/Parse/Pidl/IDL.pm
* installing pidl/lib/Parse/Pidl/Typelist.pm as /home/slarti/Development/openwrt/build_dir/target-x86_64_musl/samba-4.8.3/ipkg-install/usr/share/perl5/vendor_perl/Parse/Pidl/Typelist.pm
* installing pidl/lib/Parse/Pidl/Samba3/ClientNDR.pm as /home/slarti/Development/openwrt/build_dir/target-x86_64_musl/samba-4.8.3/ipkg-install/usr/share/perl5/vendor_perl/Parse/Pidl/Samba3/ClientNDR.pm
* installing pidl/lib/Parse/Pidl/Samba3/ServerNDR.pm as /home/slarti/Development/openwrt/build_dir/target-x86_64_musl/samba-4.8.3/ipkg-install/usr/share/perl5/vendor_perl/Parse/Pidl/Samba3/ServerNDR.pm
* installing pidl/lib/Parse/Pidl/Compat.pm as /home/slarti/Development/openwrt/build_dir/target-x86_64_musl/samba-4.8.3/ipkg-install/usr/share/perl5/vendor_perl/Parse/Pidl/Compat.pm
* installing pidl/lib/Parse/Pidl/NDR.pm as /home/slarti/Development/openwrt/build_dir/target-x86_64_musl/samba-4.8.3/ipkg-install/usr/share/perl5/vendor_perl/Parse/Pidl/NDR.pm
* installing pidl/lib/Parse/Yapp/Driver.pm as /home/slarti/Development/openwrt/build_dir/target-x86_64_musl/samba-4.8.3/ipkg-install/usr/share/perl5/vendor_perl/Parse/Yapp/Driver.pm
* installing bin/default/source3/script/findsmb as /home/slarti/Development/openwrt/build_dir/target-x86_64_musl/samba-4.8.3/ipkg-install/usr/bin/findsmb
Waf: Leaving directory `/home/slarti/Development/openwrt/build_dir/target-x86_64_musl/samba-4.8.3/bin'
Build failed: -> task failed (err #127):
{task: nfs41acl-h nfs41acl.x -> nfs41acl.h}
make[3]: *** [Makefile:378: /home/slarti/Development/openwrt/build_dir/target-x86_64_musl/samba-4.8.3/.built] Error 1
Command exited with non-zero status 2
time: package/feeds/extra/samba4/compile#34.27#19.10#75.15
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.