I am trying to install luci-app-samba4 for my Bananapi BPI-R3 router. I am getting the following error. I am currently running on the latest snapshot. Any Idea why there are no packages for architecture ARMv8 Processor rev 4 with a target of mediatek/filogic?
What do I need to do to get this installed?
# opkg install luci-app-samba4
Unknown package 'luci-app-samba4'.
Collected errors:
* pkg_hash_check_unresolved: cannot find dependency samba4-server for luci-app-samba4
* pkg_hash_fetch_best_installation_candidate: Packages for luci-app-samba4 found, but incompatible with the architectures configured
* opkg_install_cmd: Cannot install package luci-app-samba4.
What is the output of:
ubus call system board
cat /etc/opkg/distfeeds.conf
cat /etc/opkg/customfeeds.conf
Here is the requested data:
~# ubus call system board
{
"kernel": "5.15.110",
"hostname": "OpenWrt",
"system": "ARMv8 Processor rev 4",
"model": "Bananapi BPI-R3",
"board_name": "bananapi,bpi-r3",
"rootfs_type": "squashfs",
"release": {
"distribution": "OpenWrt",
"version": "SNAPSHOT",
"revision": "r22847-5ca3386c8a",
"target": "mediatek/filogic",
"description": "OpenWrt SNAPSHOT r22847-5ca3386c8a"
}
}
~# cat /etc/opkg/distfeeds.conf
src/gz openwrt_core https://downloads.openwrt.org/snapshots/targets/mediatek/filogic/packages
src/gz openwrt_base https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/base
src/gz openwrt_kmods https://downloads.openwrt.org/snapshots/targets/mediatek/filogic/kmods/5.15.110-1-868e8f7ccd7266e72a24338f895c798b
src/gz openwrt_luci https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/luci
src/gz openwrt_packages https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/packages
src/gz openwrt_routing https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/routing
src/gz openwrt_telephony https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/telephony
~# cat /etc/opkg/customfeeds.conf
# add your custom package feeds here
#
# src/gz example_feed_name http://www.example.com/path/to/files
What is the output of:
opkg update
opkg install samba4 luci-app-samba4
The samba build is failing as is gnutls on which it depends. This is with snapshot.
1 Like
What can i do to fix this? I can only use snapshots because the Bananapi isn't supported on anything else yet.
egc
May 12, 2023, 5:02pm
7
Not a direct solution but why not use ksmbd instead of samba4?
A fix is being worked on related to this, I think:
opened 07:29AM - 10 May 23 UTC
bug
### Describe the bug
make[4]: Entering directory '/home/openwrt/master/openwr… t/build_dir/host/libtool-2.4.7'
make[4]: *** [GNUmakefile:108: abort-due-to-no-makefile] Error 1
make[3]: [Makefile:67: /home/openwrt/master/openwrt/build_dir/host/libtool-2.4.7/.preparedc38439611ea6ca76cb81219f56e48ddf_18f1e190c5d53547fed41a3eaa76e9e9] Error 2 (ignored)
.....
libtool: link: x86_64-openwrt-linux-musl-gcc -DINSTALLDIR="/usr/bin" -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -fmacro-prefix-map=/home/openwrt/master/openwrt/build_dir/target-x86_64_musl/gettext-0.21.1=gettext-0.21.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z -Wl,now -Wl,-z -Wl,relro -DPIC -fpic -znow -zrelro -o .libs/gettext gettext-gettext.o -L/home/openwrt/master/openwrt/staging_dir/toolchain-x86_64_gcc-13.1.0_musl/usr/lib -L/home/openwrt/master/openwrt/staging_dir/toolchain-x86_64_gcc-13.1.0_musl/lib ../gnulib-lib/libgrt.a ../intl/.libs/libintl.so
/home/openwrt/master/openwrt/staging_dir/toolchain-x86_64_gcc-13.1.0_musl/lib/gcc/x86_64-openwrt-linux-musl/13.1.0/../../../../x86_64-openwrt-linux-musl/bin/ld: ../gnulib-lib/libgrt.a(libgrt_a-iconv.o): in function rpl_iconv': iconv.c:(.text+0x34b): undefined reference to u8_mbtoucr'
/home/openwrt/master/openwrt/staging_dir/toolchain-x86_64_gcc-13.1.0_musl/lib/gcc/x86_64-openwrt-linux-musl/13.1.0/../../../../x86_64-openwrt-linux-musl/bin/ld: iconv.c:(.text+0x4ba): undefined reference to `u8_uctomb_aux'
collect2: error: ld returned 1 exit status
make[8]: *** [Makefile:1645: gettext] Error 1
make[8]: Leaving directory '/home/openwrt/master/openwrt/build_dir/target-x86_64_musl/gettext-0.21.1/gettext-runtime/src'
make[7]: *** [Makefile:1643: all-recursive] Error 1
make[7]: Leaving directory '/home/openwrt/master/openwrt/build_dir/target-x86_64_musl/gettext-0.21.1/gettext-runtime'
make[6]: *** [Makefile:1548: all] Error 2
make[6]: Leaving directory '/home/openwrt/master/openwrt/build_dir/target-x86_64_musl/gettext-0.21.1/gettext-runtime'
make[5]: *** [Makefile:406: all-recursive] Error 1
make[5]: Leaving directory '/home/openwrt/master/openwrt/build_dir/target-x86_64_musl/gettext-0.21.1'
make[4]: *** [Makefile:362: all] Error 2
make[4]: Leaving directory '/home/openwrt/master/openwrt/build_dir/target-x86_64_musl/gettext-0.21.1'
make[3]: *** [Makefile:189: /home/openwrt/master/openwrt/build_dir/target-x86_64_musl/gettext-0.21.1/.built] Error 2
make[3]: Leaving directory '/home/openwrt/master/openwrt/package/libs/gettext-full'
time: package/libs/gettext-full/compile#381.42#118.66#437.73
ERROR: package/libs/gettext-full failed to build.
make[2]: *** [package/Makefile:116: package/libs/gettext-full/compile] Error 1
make[2]: *** Waiting for unfinished jobs....
data written to "hd.ids"
log written to "hd.log"
### OpenWrt version
master-218ce40cd7
### OpenWrt target/subtarget
x86_64
### Device
x86_64
### Steps to reproduce
1, ubuntu 22.04
2 time make V=s VERBOSE=1 -j$(nproc) JOBS=$(nproc) 2>&1 | tee build.log | grep -i -E "^make.*(error|[1-9]...Entering dir)"
3, branch master
### Terms
- [X] I am reporting an issue for OpenWrt, not an unsupported fork.
A lot of compile issues have been related to this problem recently. You may have to wait a little bit if you want to use samba4, but it looks like it's almost resolved.
It looks like everything is back to normal with samba4 in snapshot.
1 Like