mpous / helium-data-hotspot

12 stars 16 forks source link

Balena deploy fails #5

Closed pe1mew closed 2 years ago

pe1mew commented 2 years ago

Deploying this repo fails:

[packet-forwarder]  cp: cannot stat 'src/loragw_spi.native.c.template': No such file or directory
[packet-forwarder]
[packet-forwarder]  sed: can't read src/loragw_spi.native.c: No such file or directory
[packet-forwarder]
[packet-forwarder]  rm -f libloragw.a
[packet-forwarder]  rm -f test_loragw_*
[packet-forwarder]  rm -f obj/*.o
[packet-forwarder]  rm -f inc/config.h
[packet-forwarder]  mkdir -p obj
[packet-forwarder]  *** Checking libloragw library configuration ***
[packet-forwarder]  make: *** No rule to make target 'src/loragw_spi.native.c', needed by 'obj/loragw_spi.o'.  Stop.
[packet-forwarder]  make: *** Waiting for unfinished jobs....
[packet-forwarder]

and:

[packet-forwarder]  make[1]: *** No rule to make target '../../lora_gateway/libloragw/libloragw.a', needed by 'lora_pkt_fwd'.  Stop.
[packet-forwarder]  make[1]: *** Waiting for unfinished jobs....
[packet-forwarder]
[packet-forwarder]  make[1]: Leaving directory '/opt/iotloragateway/dev/packet_forwarder/lora_pkt_fwd'
[packet-forwarder]  make: *** [Makefile:11: all] Error 2
[packet-forwarder]
[packet-forwarder]  cp: cannot stat '/opt/iotloragateway/dev/packet_forwarder/lora_pkt_fwd/lora_pkt_fwd': No such file or directory
[packet-forwarder]
mpous commented 2 years ago

@pe1mew now it builds with the latest PR. Check it out and let me know if that works!