openwebrx failed to deploy

Hello

i have here some errors for deploy the sdr-spectrum-monitor
Have anyone any idea whats wrong ?

Regards Joachim

[main] – Set runtime path of “/usr/local/bin/rtl_biast” to “”
[main] ***** finished building rtl-sdr *****
[main] ***** disabling DVB-T driver *****
[main] rmmod: ERROR: …/libkmod/libkmod.c:514 lookup_builtin_file() could not open builtin file ‘/lib/modules/4.15.0-45-generic/modules.builtin.bin’
[main] rmmod: ERROR: Module dvb_usb_rtl28xxu is not currently loaded
[main]
[main] Cloning into ‘openwebrx’…
[main]
[main] Cloning into ‘csdr’…
[main]
[main] ***** compiling libcsdr *****
[main] NOTE: you may have to manually edit Makefile to optimize for your CPU (especially if you compile on ARM, please edit PARAMS_NEON).
[main] Auto-detected optimization parameters: -mfloat-abi=hard -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mvectorize-with-neon-quad -funsafe-math-optimizations -Wformat=0 -DNEON_OPTS -DCSDR_DISABLE_FFTW_MEASURE
[main] rm -f dumpvect*.vect
[main] gcc -std=gnu99 -O3 -ffast-math -fdump-tree-vect-details -dumpbase dumpvect -mfloat-abi=hard -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mvectorize-with-neon-quad -funsafe-math-optimizations -Wformat=0 -DNEON_OPTS -DCSDR_DISABLE_FFTW_MEASURE fft_fftw.c libcsdr_wrapper.c -g -lm -lrt -lfftw3f -DUSE_FFTW -DLIBCSDR_GPL -DUSE_IMA_ADPCM -Wno-unused-result -fpic -shared -Wl,-soname,libcsdr.so.0.15 -o libcsdr.so.0.15
[main] gcc: error: unrecognized command line option ‘-mfloat-abi=hard’
[main]
[main] gcc: error: unrecognized command line option ‘-mfpu=neon’
[main]
[main] gcc: error: unrecognized command line option ‘-mvectorize-with-neon-quad’
[main]
[main] make: *** [Makefile:57: libcsdr.so] Error 1
[main]
[main] NOTE: you may have to manually edit Makefile to optimize for your CPU (especially if you compile on ARM, please edit PARAMS_NEON).
[main] Auto-detected optimization parameters: -mfloat-abi=hard -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mvectorize-with-neon-quad -funsafe-math-optimizations -Wformat=0 -DNEON_OPTS -DCSDR_DISABLE_FFTW_MEASURE
[main] rm -f dumpvect*.vect
[main] gcc -std=gnu99 -O3 -ffast-math -fdump-tree-vect-details -dumpbase dumpvect -mfloat-abi=hard -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mvectorize-with-neon-quad -funsafe-math-optimizations -Wformat=0 -DNEON_OPTS -DCSDR_DISABLE_FFTW_MEASURE fft_fftw.c libcsdr_wrapper.c -g -lm -lrt -lfftw3f -DUSE_FFTW -DLIBCSDR_GPL -DUSE_IMA_ADPCM -Wno-unused-result -fpic -shared -Wl,-soname,libcsdr.so.0.15 -o libcsdr.so.0.15
[main] gcc: error: unrecognized command line option ‘-mfloat-abi=hard’
[main]
[main] gcc: error: unrecognized command line option ‘-mfpu=neon’
[main]
[main] gcc: error: unrecognized command line option ‘-mvectorize-with-neon-quad’
[main]
[main] make: *** [Makefile:57: libcsdr.so] Error 1
[main]
[main] Removing intermediate container b96b1adc90e6
[main] The command ‘/usr/src/app/install.sh’ returned a non-zero code: 2
[Info] Uploading images
[Success] Successfully uploaded images
[Error] Some services failed to build:
[Error] Service: main
[Error] Error: The command ‘/usr/src/app/install.sh’ returned a non-zero code: 2
[Info] Built on arm01
[Error] Not deploying release.

remote: error: hook declined to update refs/heads/master

Hello Joachim, what device are you deploying to? Can you share the command you are using?

Hello tmigone

i using this on ubuntu server :
/home/joachim/dev/balena/balena-cli/balena push sdr-spectrum-monitor
My Device is a Raspberry Pi 4

Thanks and regards Joachim

Hi Joachim,

You’re using this on a Raspberry Pi 4 - can you confirm that you’re using the Raspberry Pi 4 version of balenaOS on it, and that the balenaCloud application is also configured as a Raspberry Pi 4 application? This will help me reproduce the issue here.

Thanks,
James.

Hello James

correct its a Raspberry Pi 4 and i using the Image from balenaCloud what provide the
Webinterface if i create a new device.

Best Regards Joachim

Hello James

Indeed , on an Raspberry Pi 3 works the deployment.
There are some errors but the push was successfully.

Best regards Joachim

Hi Joachim, one thing to try is to move your Pi4 device into the Raspberry Pi3 application that is working. (this can be done from the device actions). The pi4 can run 32bit containers (of the pi3 app) so this will tell us if its a userspace issue or not.

1 Like

Hello Shaun

i was trying your advice with successfully solution.
Now the Raspberry Pi 4 works.

Raspberry Pi 4 moved to the Raspberry Pi 3 Application

openwebrx running on Raspberry Pi 4 ( with Server CPU 22% only)

openwebrx running on Raspberry Pi 3 ( with Server CPU 64%)

Thanks so much for your help.
If you need more info, please write me i can do anything.

Hi Joachim, it looks like one of your requirements, libcsdr, does not support 64bit ARM so you won’t be able to build this app for Pi4 without addressing that first.

1 Like