mwarning / zerotier-openwrt

A OpenWrt package for ZeroTier One - Pull requests are welcome!
687 stars 144 forks source link

Package not available in OpenWRT 19.07.6 for arch armvirt/64 #86

Closed fakuivan closed 3 years ago

fakuivan commented 3 years ago

I'm not sure what the issue is but I was not able to install zerotier using opkg, this installation is using the default package lists, they were not modified. Does this package have some sort of compatibility problem with the aarch64 architecture? Would it be possible to compile from source for this platform? I'm running OpenWRT as a VM with a raspberry pi as a host, previously installing zerotier with openwrt directly on the host was not an issue.

/etc/openwrt_release:

DISTRIB_ID='OpenWrt'
DISTRIB_RELEASE='19.07.6'
DISTRIB_REVISION='r11278-8055e38794'
DISTRIB_TARGET='armvirt/64'
DISTRIB_ARCH='aarch64_generic'
DISTRIB_DESCRIPTION='OpenWrt 19.07.6 r11278-8055e38794'
DISTRIB_TAINTS=''
mwarning commented 3 years ago

What zerotier package did you try to install? Is it meant for OpenWrt 19.07.6?

ogarcia commented 3 years ago

@fakuivan maybe you want this

The full list of packages for aarch64 is here

fakuivan commented 3 years ago

What zerotier package did you try to install? Is it meant for OpenWrt 19.07.6?

Just ran opkg update && opkg install zerotier

fakuivan commented 3 years ago

@fakuivan maybe you want this

The full list of packages for aarch64 is here

Interesting... Does this mean the package lists are not set up correctly for this build of openwrt? Will these packages work for stable versions? From what I can see those packages are for the snapshot builds.

mwarning commented 3 years ago

What zerotier package did you try to install? Is it meant for OpenWrt 19.07.6?

Just ran opkg update && opkg install zerotier

That is the preferred way and should work.

fakuivan commented 3 years ago

So the pkgdata page for this states that aarch64_generic is not a supported architecture, in contrast to jq, a package I was able to install without issues. I guess this worked on "bare metal" since the openwrt build for the raspberry pi runs a 32 bit kernel. Will there need to be patched added for aarch64?

mwarning commented 3 years ago

Actually I do not know. But ZeroTier 1.6.3 is under way and fixes some build issues. Maybe that helps. See https://github.com/openwrt/packages/pull/14677

mwarning commented 3 years ago

OpenWrt 19.07.7 has the package: https://downloads.openwrt.org/releases/19.07.7/packages/aarch64_generic/packages/