I am starting a new thread as having had one unsuccessful attempt to install 3.2.0 on a raspberry pi 4. I am following through steps in previous threads, but I got stuck somewhere. So, this thread will be edited to become a stream of conscious description of what I’m doing. I will go wrong at some point, and I would appreciate help and advice. As, I strongly suspect that I will not succeed without it.
At present I’ve downloaded the source by a git clone. I’ve then gone into app/gui/qt and am running ./build-rpi-app
However, that just goes into an infinite loop posting the current error:
es.qrc': Cannot find file 'info/COMMUNITY.html'
RCC: Error in 'info_files.qrc': Cannot find file 'info/CONTRIBUTORS.html'
RCC: Error in 'info_files.qrc': Cannot find file 'info/CORETEAM.html'
RCC: Error in 'info_files.qrc': Cannot find file 'info/LICENSE.html'
RCC: Warning: No resources in 'info_files.qrc'.
/usr/lib/qt5/bin/qmake -o Makefile SonicPi.pro -qtconf /usr/lib/arm-linux-gnueabihf/qt5/qt.conf -early QMAKE_CC=arm-linux-gnueabihf-gcc QMAKE_CXX=arm-linux-gnueabihf-g++ QMAKE_LINK=arm-linux-gnueabihf-g++ QMAKE_QMAKE=/usr/bin/arm-linux-gnueabihf-qmake PKG_CONFIG=arm-linux-gnueabihf-pkg-config -before
WARNING: Failure to find: help_files.qrc
/usr/lib/qt5/bin/rcc: File does not exist 'help_files.qrc'
RCC: Error in 'info_files.qrc': Cannot find file 'info/CHANGELOG.html'
RCC: Error in 'info_files.qrc': Cannot find file 'info/COMMUNITY.html'
RCC: Error in 'info_files.qrc': Cannot find file 'info/CONTRIBUTORS.html'
RCC: Error in 'info_files.qrc': Cannot find file 'info/CORETEAM.html'
RCC: Error in 'info_files.qrc': Cannot find file 'info/LICENSE.html'
RCC: Warning: No resources in 'info_files.qrc'.
/usr/lib/qt5/bin/qmake -o Makefile SonicPi.pro -qtconf /usr/lib/arm-linux-gnueabihf/qt5/qt.conf -early QMAKE_CC=arm-linux-gnueabihf-gcc QMAKE_CXX=arm-linux-gnueabihf-g++ QMAKE_LINK=arm-linux-gnueabihf-g++ QMAKE_QMAKE=/usr/bin/arm-linux-gnueabihf-qmake PKG_CONFIG=arm-linux-gnueabihf-pkg-config -before
WARNING: Failure to find: help_files.qrc
/usr/lib/qt5/bin/rcc: File does not exist 'help_files.qrc'
RCC: Error in 'info_files.qrc': Cannot find file 'info/CHANGELOG.html'
RCC: Error in 'info_files.qrc': Cannot find file 'info/COMMUNITY.html'
RCC: Error in 'info_files.qrc': Cannot find file 'info/CONTRIBUTORS.html'
RCC: Error in 'info_files.qrc': Cannot find file 'info/CORETEAM.html'
RCC: Error in 'info_files.qrc': Cannot find file 'info/LICENSE.html'
RCC: Warning: No resources in 'info_files.qrc'.
/usr/lib/qt5/bin/qmake -o Makefile SonicPi.pro -qtconf /usr/lib/arm-linux-gnueabihf/qt5/qt.conf -early QMAKE_CC=arm-linux-gnueabihf-gcc QMAKE_CXX=arm-linux-gnueabihf-g++ QMAKE_LINK=arm-linux-gnueabihf-g++ QMAKE_QMAKE=/usr/bin/arm-linux-gnueabihf-qmake PKG_CONFIG=arm-linux-gnueabihf-pkg-config -before
WARNING: Failure to find: help_files.qrc
/usr/lib/qt5/bin/rcc: File does not exist 'help_files.qrc'
RCC: Error in 'info_files.qrc': Cannot find file 'info/CHANGELOG.html'
RCC: Error in 'info_files.qrc': Cannot find file 'info/COMMUNITY.html'
RCC: Error in 'info_files.qrc': Cannot find file 'info/CONTRIBUTORS.html'
RCC: Error in 'info_files.qrc': Cannot find file 'info/CORETEAM.html'
RCC: Error in 'info_files.qrc': Cannot find file 'info/LICENSE.html'
RCC: Warning: No resources in 'info_files.qrc'.
/usr/lib/qt5/bin/qmake -o Makefile SonicPi.pro -qtconf /usr/lib/arm-linux-gnueabihf/qt5/qt.conf -early QMAKE_CC=arm-linux-gnueabihf-gcc QMAKE_CXX=arm-linux-gnueabihf-g++ QMAKE_LINK=arm-linux-gnueabihf-g++ QMAKE_QMAKE=/usr/bin/arm-linux-gnueabihf-qmake PKG_CONFIG=arm-linux-gnueabihf-pkg-config -before
WARNING: Failure to find: help_files.qrc
/usr/lib/qt5/bin/rcc: File does not exist 'help_files.qrc'
RCC: Error in 'info_files.qrc': Cannot find file 'info/CHANGELOG.html'
RCC: Error in 'info_files.qrc': Cannot find file 'info/COMMUNITY.html'
RCC: Error in 'info_files.qrc': Cannot find file 'info/CONTRIBUTORS.html'
RCC: Error in 'info_files.qrc': Cannot find file 'info/CORETEAM.html'
RCC: Error in 'info_files.qrc': Cannot find file 'info/LICENSE.html'
RCC: Warning: No resources in 'info_files.qrc'.
/usr/lib/qt5/bin/qmake -o Makefile SonicPi.pro -qtconf /usr/lib/arm-linux-gnueabihf/qt5/qt.conf -early QMAKE_CC=arm-linux-gnueabihf-gcc QMAKE_CXX=arm-linux-gnueabihf-g++ QMAKE_LINK=arm-linux-gnueabihf-g++ QMAKE_QMAKE=/usr/bin/arm-linux-gnueabihf-qmake PKG_CONFIG=arm-linux-gnueabihf-pkg-config -before
WARNING: Failure to find: help_files.qrc
/usr/lib/qt5/bin/rcc: File does not exist 'help_files.qrc'
RCC: Error in 'info_files.qrc': Cannot find file 'info/CHANGELOG.html'
RCC: Error in 'info_files.qrc': Cannot find file 'info/COMMUNITY.html'
RCC: Error in 'info_files.qrc': Cannot find file 'info/CONTRIBUTORS.html'
RCC: Error in 'info_files.qrc': Cannot find file 'info/CORETEAM.html'
RCC: Error in 'info_files.qrc': Cannot find file 'info/LICENSE.html'
RCC: Warning: No resources in 'info_files.qrc'.
/usr/lib/qt5/bin/qmake -o Makefile SonicPi.pro -qtconf /usr/lib/arm-linux-gnueabihf/qt5/qt.conf -early QMAKE_CC=arm-linux-gnueabihf-gcc QMAKE_CXX=arm-linux-gnueabihf-g++ QMAKE_LINK=arm-linux-gnueabihf-g++ QMAKE_QMAKE=/usr/bin/arm-linux-gnueabihf-qmake PKG_CONFIG=arm-linux-gnueabihf-pkg-config -before
WARNING: Failure to find: help_files.qrc
/usr/lib/qt5/bin/rcc: File does not exist 'help_files.qrc'
RCC: Error in 'info_files.qrc': Cannot find file 'info/CHANGELOG.html'
RCC: Error in 'info_files.qrc': Cannot find file 'info/COMMUNITY.html'
RCC: Error in 'info_files.qrc': Cannot find file 'info/CONTRIBUTORS.html'
RCC: Error in 'info_files.qrc': Cannot find file 'info/CORETEAM.html'
RCC: Error in 'info_files.qrc': Cannot find file 'info/LICENSE.html'
RCC: Warning: No resources in 'info_files.qrc'.
/usr/lib/qt5/bin/qmake -o Makefile SonicPi.pro -qtconf /usr/lib/arm-linux-gnueabihf/qt5/qt.conf -early QMAKE_CC=arm-linux-gnueabihf-gcc QMAKE_CXX=arm-linux-gnueabihf-g++ QMAKE_LINK=arm-linux-gnueabihf-g++ QMAKE_QMAKE=/usr/bin/arm-linux-gnueabihf-qmake PKG_CONFIG=arm-linux-gnueabihf-pkg-config -before
WARNING: Failure to find: help_files.qrc
/usr/lib/qt5/bin/rcc: File does not exist 'help_files.qrc'
RCC: Error in 'info_files.qrc': Cannot find file 'inf
I’m now trying the ‘build-delian-install’ to see if that works.
EDIT: Failure. Trying again following the directions in: INSTALL-RASPBERRY-PI.md, but again I’m finding things that - concern me. E.g. libqtscintilla2-8 is not available in Raspbian. I’ve installed the qt5 version of it, but I’m concerned about library not being the same as the install file.
EDIT: I’m getting a lot of deprecation errors.
it_blame_each.part.0’,
inlined from ‘rb_git_blame_each’ at rugged_blame.c:240:14:
/usr/include/ruby-2.5.0/ruby/ruby.h:1779:3: error: call to ‘rb_varargs_bad_length’ declared with attribute error: argument length doesn't match
rb_varargs_bad_length(argc, vargc)), \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/ruby-2.5.0/ruby/ruby.h:2474:6: note: in expansion of macro ‘rb_varargs_argc_check’
rb_varargs_argc_check(rb_funcall_argc, rb_funcall_nargs), \
^~~~~~~~~~~~~~~~~~~~~
rugged_blame.c:246:10: note: in expansion of macro ‘rb_funcall’
return rb_funcall(self, rb_intern("to_enum"), 1, CSTR2SYM("each"), self);
^~~~~~~~~~
make: *** [Makefile:243: rugged_blame.o] Error 1
Compiling native extension in /home/pi/TEMP/sonic-pi/app/server/ruby/vendor/ffi-1.9.17/ext/ffi_c
In file included from Call.h:36,
from Function.h:48,
from Call.c:57:
Call.c: In function ‘rbffi_do_blocking_call’:
Thread.h:78:39: warning: implicit declaration of function ‘rb_thread_call_without_gvl’; did you mean ‘rb_thread_wait_for’? [-Wimplicit-function-declaration]
# define rbffi_thread_blocking_region rb_thread_call_without_gvl
^~~~~~~~~~~~~~~~~~~~~~~~~~
Call.c:355:5: note: in expansion of macro ‘rbffi_thread_blocking_region’
rbffi_thread_blocking_region(call_blocking_function, data, (void *) -1, NULL);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
Function.c: In function ‘async_cb_event’:
Function.c:563:9: warning: implicit declaration of function ‘rb_thread_call_without_gvl’; did you mean ‘rb_thread_call_with_gvl’? [-Wimplicit-function-declaration]
rb_thread_call_without_gvl(async_cb_wait, &w, async_cb_stop, &w);
^~~~~~~~~~~~~~~~~~~~~~~~~~
rb_thread_call_with_gvl
Copying /home/pi/TEMP/sonic-pi/app/server/ruby/vendor/ffi-1.9.17/ext/ffi_c/ffi_c.so to ./../rb-native/2.5.0/
Compiling native extension in /home/pi/TEMP/sonic-pi/app/server/ruby/vendor/atomic/ext
atomic_reference.c: In function ‘ir_alloc’:
atomic_reference.c:27:5: warning: ‘rb_data_object_alloc’ is deprecated: by rb_data_object_wrap [-Wdeprecated-declarations]
return rb_data_object_alloc(klass, (void *) Qnil, ir_mark, NULL);
^~~~~~
In file included from /usr/include/ruby-2.5.0/ruby.h:33,
from atomic_reference.c:13:
/usr/include/ruby-2.5.0/ruby/ruby.h:138
That has completed. Now I’m trying to follow the instruction to run rp-build-app, but I get:
./rp-build-app
We're working to update the build process for SP 2.11, this script hasn't been updated yet, and may not work, try ./build-ubuntu-app instead!
Trying build-ubuntu-app