Trying to install Dragino chirpstack gateway bridge ipk package and "incompatible with the architecture" error

Hi,
I am trying to install on OpenWRT (mipsel_24kc arch). Then I followed the instructions in the link bellow:
https://www.chirpstack.io/gateway-bridge/gateway/dragino/

after trying to install the package like below:

opkg install chirpstack-gateway-bridge_3.11.0-r1_mips_24kc.ipk

I got the error below:

Unknown package 'chirpstack-gateway-bridge'.
Collected errors:
 * pkg_hash_fetch_best_installation_candidate: Packages for chirpstack-gateway-bridge found, but incompatible with the architectures configured
 * opkg_install_cmd: Cannot install package chirpstack-gateway-bridge.

I see architecture is mipsel_24kc for both system and package… What would be the reason of this issue?

root@OpenWrt:~# opkg print-architecture
arch all 1
arch noarch 1
arch mipsel_24kc 10

the conf file “/etc/opkg.conf” :

dest root /
dest ram /tmp
lists_dir ext /var/opkg-lists
option overlay_root /overlay
option check_signature

The executable in chirpstack-gateway-bridge_3.11.0-r1_mips_24kc.ipk is big endian

$readelf -h ./opt/chirpstack-gateway-bridge/chirpstack-gateway-bridge
ELF Header:
Magic: 7f 45 4c 46 01 02 01 00 00 00 00 00 00 00 00 00
Class: ELF32
Data: 2’s complement, big endian
Version: 1 (current)
OS/ABI: UNIX - System V
ABI Version: 0
Type: EXEC (Executable file)
Machine: MIPS R3000
Version: 0x1
Entry point address: 0x3de3b0
Start of program headers: 52 (bytes into file)
Start of section headers: 0 (bytes into file)
Flags: 0x50001004, cpic, o32, mips32
Size of this header: 52 (bytes)
Size of program headers: 32 (bytes)
Number of program headers: 2
Size of section headers: 40 (bytes)
Number of section headers: 0
Section header string table index: 0

Could the ipk be mispackaged? If so how can i recompile it ? could you help me about it? @brocaar

I have same problem, please help

git clone git@github.com:brocaar/chirpstack-gateway-bridge.git
cd chirpstack-gateway-bridge
docker-compose run --rm chirpstack-gateway-bridge make dist
# OR
# Have a GO development environment with https://goreleaser.com/intro/ installed

goreleaser release

# that should give you a binary.