sonic-pi-net / sonic-pi

Code. Music. Live.
https://sonic-pi.net
Other
10.82k stars 922 forks source link

building issues at raspberry pi os #3293

Open villehauk opened 1 year ago

villehauk commented 1 year ago

please help,

I am new at linux and I am using a virtual machine to run a raspberry pi OS. I noticed the sonic pi, but when I tried it gave a boot error so I uninstalled and tried to install another. I tried various ways:

CMake Error at vcpkg/scripts/buildsystems/vcpkg.cmake:834 (_find_package):
  Could not find a package configuration file provided by
  "Qt5WebEngineWidgets" with any of the following names:

    Qt5WebEngineWidgetsConfig.cmake
    qt5webenginewidgets-config.cmake

  Add the installation prefix of "Qt5WebEngineWidgets" to CMAKE_PREFIX_PATH
  or set "Qt5WebEngineWidgets_DIR" to a directory containing one of the above
  files.  If "Qt5WebEngineWidgets" provides a separate development package or
  SDK, be sure it has been installed.
Call Stack (most recent call first):
  /usr/lib/i386-linux-gnu/cmake/Qt5/Qt5Config.cmake:28 (find_package)
  vcpkg/scripts/buildsystems/vcpkg.cmake:834 (_find_package)
  gui/qt/CMakeLists.txt:55 (find_package)

I noticed before I have Qt5 installed(probably from previous trials), and I even explored Qt5 designer a bit, but the error seems to mean cmake couldn't find the package.


trying to update or install vcpkg:

after that error, I tried vcpkg --version(once again, I am newbie in linux and I don't know how this works) and seemed I don't have vcpkg and tutorials I saw in the web gave away the sudo apt install vcpkg wich I tried and it returned E: Unable to locate package vcpkg (a package to locate packages couldn't be located XD), from that on I tried download from web, adding to PATH (export $PATH=$HOME/vcpkg:$PATH, returned Bash: export: "a bunch of paths including the vspkg I just added(to the file and directory)": not a valid identifier ), "./vcpkg integrate"(saw in another forum in github and returned bash: ./vcpkg is a directory,the file returned a toolchain command but when I ran it it returned 'Bash: -DCMAKE_TOOLCHAIN_FILE=/home/villehauk/vcpkg/scripts/buildsystems/vcpkg.cmake: no such a file or directory')


log from 'sudo apt install sonic-pi'

to generate the following log I ran the command again after trying git clone and I didn't remove the git, then I ran a sudo apt purge sonic-pi, I don't know if that will prevent a solution but I realized now this isn't a good practice

Sonic Pi Boot Error Report

System Information

GUI Log

/home/villehauk/.sonic-pi/log/gui.log

[GUI] - Welcome to the Sonic Pi GUI
[GUI] - ===========================
[GUI] -                            
[GUI] - {657d3953-cbdf-49b7-8b82-fe3ef07cdff0}
[GUI] - Discovering port numbers...
[GUI] - Port entry server-listen-to-gui : 51235 : 51235
[GUI] - Port entry gui-send-to-server : 51235 : 51235
[GUI] - Port entry gui-listen-to-server : 51236 : 51236
[GUI] - Port entry server-send-to-gui : 51236 : 51236
[GUI] - Port entry scsynth : 51237 : 51237
[GUI] - Port entry scsynth-send : 51237 : 51237
[GUI] - Port entry osc-midi-out : 51238 : 51238
[GUI] - Port entry osc-midi-in : 51239 : 51239
[GUI] - Port entry server-osc-cues : 4560 : 4560
[GUI] - Port entry erlang-router : 51240 : 51240
[GUI] - Port entry websocket : 51241 : 51241
[GUI] - Detecting port numbers...
[GUI] - GUI listen to server port 51236
[GUI] -    port: 51236 [OK]
[GUI] - Server listen to gui port 51235
[GUI] -    port: 51235 [OK]
[GUI] - Server incoming OSC cues port 4560
[GUI] -    port: 4560 [OK]
[GUI] - Scsynth port 51237
[GUI] -    port: 51237 [OK]
[GUI] - Server send to GUI port 51236
[GUI] -    port: 51236 [OK]
[GUI] - GUI send to server port 51235
[GUI] -    port: 51235 [OK]
[GUI] - Scsynth send port 51237
[GUI] -    port: 51237 [OK]
[GUI] - Erlang router port 51240
[GUI] -    port: 51240 [OK]
[GUI] - OSC MIDI out port 51238
[GUI] -    port: 51238 [OK]
[GUI] - OSC MIDI in port 51239
[GUI] -    port: 51239 [OK]
[GUI] - Websocket port 51241
[GUI] -    port: 51241 [OK]
[GUI] - All ports OK
[GUI] - launching Sonic Pi Runtime Server:
[GUI] - Ruby server pid registered: 5414
[GUI] - hiding main window
[GUI] - initialising toolbar icons
[GUI] - setting up window structure
[GUI] - restoring scope states 
[GUI] - creating status bar
[GUI] - creating info panel
[GUI] - creating shortcuts
[GUI] - creating tool bar
[GUI] - initialising documentation window
[GUI] - starting UDP OSC Server on port 51236...
[GUI] - UDP OSC Server ready and listening
[GUI] - wait for sync
[GUI] - waiting for Sonic Pi Server to boot...
............................................................
[GUI] - Critical error! Could not boot Sonic Pi Server.
[GUI] - stopping UDP OSC Server...
[GUI] - Critical Error. Unable to connect to server..
[GUI] - UDP OSC Server no longer listening

Server Errors

/home/villehauk/.sonic-pi/log/server-errors.log

no message buffer overruns
no message buffer overruns
no message buffer overruns
ALSA: got smaller periods 2 than 3 for playback
ALSA: cannot configure playback channel
JackTemporaryException : now quits...
Cannot initialize driver
JackServer::Open failed with -1
Failed to open server
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
no message buffer overruns
no message buffer overruns
no message buffer overruns
JackPosixProcessSync::LockedTimedWait error usec = 5000000 err = Connection timed out
Driver is not running
Cannot create new client
Cannot read socket fd = 6 err = Success
CheckRes error
JackSocketClientChannel read fail
Cannot open SuperCollider client
JackShmReadWritePtr1::~JackShmReadWritePtr1 - Init not done for -1, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
terminate called without an active exception
Unknown request -1
CheckSize error size = 0 Size() = 12
CheckRead error

Server Output

/home/villehauk/.sonic-pi/log/server-output.log

Sonic Pi server booting...
This is version 3.2.0 running on Ruby 2.7.4.
The time is 2023-05-27 19:21:19 -0400
Using primary protocol: udp
Detecting port numbers...
Listen port: 51235
  - OK
Scsynth port: 51237
  - OK
Scsynth send port: 51237
  - OK
OSC cues port: 4560
  - OK
Erlang port: 51240
  - OK
OSC MIDI out port: 51238
  - OK
OSC MIDI in port: 51239
  - OK
Websocket port: 51241
  - OK
Opening UDP Server to listen to GUI on port: 51235
Starting Server Runtime
Booting server...

Booting Sonic Pi
----------------

Booting on Linux
Jackd not running on system. Starting...
jackdmp 1.9.17
Copyright 2001-2005 Paul Davis and others.
Copyright 2004-2016 Grame.
Copyright 2016-2021 Filipe Coelho.
jackdmp comes with ABSOLUTELY NO WARRANTY
This is free software, and you are welcome to redistribute it
under certain conditions; see the file COPYING for details
JACK server starting in realtime mode with priority 10
self-connect-mode is "Don't restrict self connect requests"
audio_reservation_init
Acquire audio card Audio0
creating alsa driver ... hw:0|hw:0|2048|3|44100|0|0|nomon|swmeter|-|32bit
configuring for 44100Hz, period = 2048 frames (46.4 ms), buffer = 3 periods
ALSA: final selected sample format for capture: 16bit little-endian
ALSA: use 3 periods for capture
ALSA: final selected sample format for playback: 16bit little-endian
Released audio card Audio0
audio_reservation_finish
Started [5427] [-] jackd [-] /tmp/sonic-pi-pids/5427
Boot - Starting the SuperCollider server...
Boot - scsynth -u 51237 -m 131072 -a 1024 -D 0 -R 0 -l 1 -i 16 -o 16 -b 4096 -B 127.0.0.1
Started [5434] [-] scsynth -u 51237 -m 131072 -a 1024 -D 0 -R 0 -l 1 -i 16 -o 16 -b 4096 -B 127.0.0.1 [-] /tmp/sonic-pi-pids/5434

Scsynth Output

/home/villehauk/.sonic-pi/log/scsynth.log

# Starting SuperCollider 2023-05-27 19:21:21
Found 0 LADSPA plugins
jackdmp 1.9.17
Copyright 2001-2005 Paul Davis and others.
Copyright 2004-2016 Grame.
Copyright 2016-2021 Filipe Coelho.
jackdmp comes with ABSOLUTELY NO WARRANTY
This is free software, and you are welcome to redistribute it
under certain conditions; see the file COPYING for details
JACK server starting in realtime mode with priority 10
self-connect-mode is "Don't restrict self connect requests"
audio_reservation_init
Acquire audio card Audio0
creating alsa driver ... hw:0|hw:0|1024|2|48000|0|0|nomon|swmeter|-|32bit
configuring for 48000Hz, period = 1024 frames (21.3 ms), buffer = 2 periods
ALSA: final selected sample format for capture: 16bit little-endian
ALSA: use 2 periods for capture
ALSA: final selected sample format for playback: 16bit little-endian
ALSA: use 2 periods for playback
could not initialize audio.

Process Log

/home/villehauk/.sonic-pi/log/processes.log

No pids store found here: /tmp/sonic-pi-pids
Exiting
Creating pids store: /tmp/sonic-pi-pids
Started [5414] [-] /usr/bin/ruby -E utf-8 /usr/lib/sonic-pi/app/server/ruby/bin/sonic-pi-server.rb -u 51235 51236 51237 51237 4560 51240 51238 51239 51241 [-] /tmp/sonic-pi-pids/5414
Started [5427] [-] jackd [-] /tmp/sonic-pi-pids/5427
Started [5434] [-] scsynth -u 51237 -m 131072 -a 1024 -D 0 -R 0 -l 1 -i 16 -o 16 -b 4096 -B 127.0.0.1 [-] /tmp/sonic-pi-pids/5434

THANK YOU A LOT FOR READING MY ISSUE


subsequent pi-build-all.sh

also, when I tried running ./app/pi-build-all.shsubsequently, it also returns this before the cmake error:

In file included from /usr/include/ruby-2.7.0/ruby/ruby.h:2760:
/usr/include/ruby-2.7.0/ruby/backward.h:31:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes]
DECLARE_DEPRECATED_FEATURE(2.2, rb_clear_cache);
^
/usr/include/ruby-2.7.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE'
    NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void))))
             ^
/usr/include/i386-linux-gnu/ruby-2.7.0/ruby/config.h:154:43: note: expanded from macro 'ERRORFUNC'
#define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x
                                          ^
In file included from rugged_tag.c:8:
In file included from ./rugged.h:16:
In file included from /usr/include/ruby-2.7.0/ruby.h:33:
In file included from /usr/include/ruby-2.7.0/ruby/ruby.h:2760:
/usr/include/ruby-2.7.0/ruby/backward.h:32:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes]
DECLARE_DEPRECATED_FEATURE(2.2, rb_frame_pop);
^
/usr/include/ruby-2.7.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE'
    NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void))))
             ^
/usr/include/i386-linux-gnu/ruby-2.7.0/ruby/config.h:154:43: note: expanded from macro 'ERRORFUNC'
#define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x
                                          ^
In file included from rugged_tag.c:8:
In file included from ./rugged.h:16:
In file included from /usr/include/ruby-2.7.0/ruby.h:33:
In file included from /usr/include/ruby-2.7.0/ruby/ruby.h:2760:
/usr/include/ruby-2.7.0/ruby/backward.h:38:10: warning: unknown attribute '__error__' ignored [-Wunknown-attributes]
NORETURN(ERRORFUNC(("internal function"), void rb_frozen_class_p(VALUE)));
         ^
/usr/include/i386-linux-gnu/ruby-2.7.0/ruby/config.h:154:43: note: expanded from macro 'ERRORFUNC'
#define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x
                                          ^
In file included from rugged_tag.c:8:
In file included from ./rugged.h:16:
In file included from /usr/include/ruby-2.7.0/ruby.h:33:
In file included from /usr/include/ruby-2.7.0/ruby/ruby.h:2760:
/usr/include/ruby-2.7.0/ruby/backward.h:39:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes]
DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_exec_end_proc);
^
/usr/include/ruby-2.7.0/ruby/backward.h:35:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE'
    NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void))))
             ^
/usr/include/i386-linux-gnu/ruby-2.7.0/ruby/config.h:154:43: note: expanded from macro 'ERRORFUNC'
#define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x
                                          ^
In file included from rugged_tag.c:8:
In file included from ./rugged.h:16:
In file included from /usr/include/ruby-2.7.0/ruby.h:33:
In file included from /usr/include/ruby-2.7.0/ruby/ruby.h:2760:
/usr/include/ruby-2.7.0/ruby/backward.h:42:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes]
DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error);
^
/usr/include/ruby-2.7.0/ruby/backward.h:35:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE'
    NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void))))
             ^
/usr/include/i386-linux-gnu/ruby-2.7.0/ruby/config.h:154:43: note: expanded from macro 'ERRORFUNC'
#define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x
                                          ^
In file included from rugged_tag.c:8:
In file included from ./rugged.h:16:
In file included from /usr/include/ruby-2.7.0/ruby.h:33:
In file included from /usr/include/ruby-2.7.0/ruby/ruby.h:2760:
/usr/include/ruby-2.7.0/ruby/backward.h:43:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes]
DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_with_enc);
^
/usr/include/ruby-2.7.0/ruby/backward.h:35:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE'
    NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void))))
             ^
/usr/include/i386-linux-gnu/ruby-2.7.0/ruby/config.h:154:43: note: expanded from macro 'ERRORFUNC'
#define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x
                                          ^
In file included from rugged_tag.c:8:
In file included from ./rugged.h:16:
In file included from /usr/include/ruby-2.7.0/ruby.h:33:
In file included from /usr/include/ruby-2.7.0/ruby/ruby.h:2760:
/usr/include/ruby-2.7.0/ruby/backward.h:44:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes]
DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_append);
^
/usr/include/ruby-2.7.0/ruby/backward.h:35:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE'
    NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void))))
             ^
/usr/include/i386-linux-gnu/ruby-2.7.0/ruby/config.h:154:43: note: expanded from macro 'ERRORFUNC'
#define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x
                                          ^
In file included from rugged_tag.c:8:
In file included from ./rugged.h:16:
In file included from /usr/include/ruby-2.7.0/ruby.h:33:
In file included from /usr/include/ruby-2.7.0/ruby/ruby.h:2760:
/usr/include/ruby-2.7.0/ruby/backward.h:47:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes]
DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_gc_call_finalizer_at_exit);
^
/usr/include/ruby-2.7.0/ruby/backward.h:35:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE'
    NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void))))
             ^
/usr/include/i386-linux-gnu/ruby-2.7.0/ruby/config.h:154:43: note: expanded from macro 'ERRORFUNC'
#define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x
                                          ^
In file included from rugged_tag.c:8:
In file included from ./rugged.h:16:
In file included from /usr/include/ruby-2.7.0/ruby.h:33:
In file included from /usr/include/ruby-2.7.0/ruby/ruby.h:2760:
/usr/include/ruby-2.7.0/ruby/backward.h:50:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes]
DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_trap_exit);
^
/usr/include/ruby-2.7.0/ruby/backward.h:35:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE'
    NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void))))
             ^
/usr/include/i386-linux-gnu/ruby-2.7.0/ruby/config.h:154:43: note: expanded from macro 'ERRORFUNC'
#define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x
                                          ^
In file included from rugged_tag.c:8:
In file included from ./rugged.h:16:
In file included from /usr/include/ruby-2.7.0/ruby.h:33:
In file included from /usr/include/ruby-2.7.0/ruby/ruby.h:2760:
/usr/include/ruby-2.7.0/ruby/backward.h:53:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes]
DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_struct_ptr);
^
/usr/include/ruby-2.7.0/ruby/backward.h:35:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE'
    NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void))))
             ^
/usr/include/i386-linux-gnu/ruby-2.7.0/ruby/config.h:154:43: note: expanded from macro 'ERRORFUNC'
#define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x
                                          ^
In file included from rugged_tag.c:8:
In file included from ./rugged.h:16:
In file included from /usr/include/ruby-2.7.0/ruby.h:33:
In file included from /usr/include/ruby-2.7.0/ruby/ruby.h:2760:
/usr/include/ruby-2.7.0/ruby/backward.h:56:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes]
DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_clear_trace_func);
^
/usr/include/ruby-2.7.0/ruby/backward.h:35:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE'
    NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void))))
             ^
/usr/include/i386-linux-gnu/ruby-2.7.0/ruby/config.h:154:43: note: expanded from macro 'ERRORFUNC'
#define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x
                                          ^
In file included from rugged_tag.c:8:
In file included from ./rugged.h:16:
In file included from /usr/include/ruby-2.7.0/ruby.h:33:
In file included from /usr/include/ruby-2.7.0/ruby/ruby.h:2760:
/usr/include/ruby-2.7.0/ruby/backward.h:59:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes]
DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_generic_ivar_table);
^
/usr/include/ruby-2.7.0/ruby/backward.h:35:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE'
    NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void))))
             ^
/usr/include/i386-linux-gnu/ruby-2.7.0/ruby/config.h:154:43: note: expanded from macro 'ERRORFUNC'
#define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x
                                          ^
In file included from rugged_tag.c:8:
In file included from ./rugged.h:16:
In file included from /usr/include/ruby-2.7.0/ruby.h:33:
In file included from /usr/include/ruby-2.7.0/ruby/ruby.h:2760:
/usr/include/ruby-2.7.0/ruby/backward.h:60:10: warning: unknown attribute '__error__' ignored [-Wunknown-attributes]
NORETURN(ERRORFUNC(("internal function"), VALUE rb_mod_const_missing(VALUE, VALUE)));
         ^
/usr/include/i386-linux-gnu/ruby-2.7.0/ruby/config.h:154:43: note: expanded from macro 'ERRORFUNC'
#define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x
                                          ^
23 warnings generated.
In file included from rugged_tag_collection.c:8:
In file included from ./rugged.h:16:
In file included from /usr/include/ruby-2.7.0/ruby.h:33:
/usr/include/ruby-2.7.0/ruby/ruby.h:1863:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes]
ERRORFUNC((" argument length doesn't match"), int rb_varargs_bad_length(int,int));
^
/usr/include/i386-linux-gnu/ruby-2.7.0/ruby/config.h:154:43: note: expanded from macro 'ERRORFUNC'
#define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x
                                          ^
In file included from rugged_tag_collection.c:8:
In file included from ./rugged.h:16:
In file included from /usr/include/ruby-2.7.0/ruby.h:33:
/usr/include/ruby-2.7.0/ruby/ruby.h:2345:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes]
ERRORFUNC(("bad scan arg format"), void rb_scan_args_bad_format(const char*));
^
/usr/include/i386-linux-gnu/ruby-2.7.0/ruby/config.h:154:43: note: expanded from macro 'ERRORFUNC'
#define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x
                                          ^
In file included from rugged_tag_collection.c:8:
In file included from ./rugged.h:16:
In file included from /usr/include/ruby-2.7.0/ruby.h:33:
/usr/include/ruby-2.7.0/ruby/ruby.h:2346:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes]
ERRORFUNC(("variable argument length doesn't match"), void rb_scan_args_length_mismatch(const char*,int));
^
/usr/include/i386-linux-gnu/ruby-2.7.0/ruby/config.h:154:43: note: expanded from macro 'ERRORFUNC'
#define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x
                                          ^
In file included from rugged_tag_collection.c:8:
In file included from ./rugged.h:16:
In file included from /usr/include/ruby-2.7.0/ruby.h:33:
In file included from /usr/include/ruby-2.7.0/ruby/ruby.h:2760:
/usr/include/ruby-2.7.0/ruby/backward.h:6:1: warning: attribute '__deprecated__' is ignored, place it after "struct" to apply attribute to type declaration [-Wignored-attributes]
DEPRECATED_TYPE(("RClass is internal use only"),
^
/usr/include/i386-linux-gnu/ruby-2.7.0/ruby/config.h:146:49: note: expanded from macro 'DEPRECATED_TYPE'
#define DEPRECATED_TYPE(mesg,x) __attribute__ ((__deprecated__ mesg)) x
                                                ^
In file included from rugged_tag_collection.c:8:
In file included from ./rugged.h:16:
In file included from /usr/include/ruby-2.7.0/ruby.h:33:
In file included from /usr/include/ruby-2.7.0/ruby/ruby.h:2760:
/usr/include/ruby-2.7.0/ruby/backward.h:16:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes]
DECLARE_DEPRECATED_FEATURE(2.2, rb_disable_super);
^
/usr/include/ruby-2.7.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE'
    NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void))))
             ^
/usr/include/i386-linux-gnu/ruby-2.7.0/ruby/config.h:154:43: note: expanded from macro 'ERRORFUNC'
#define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x
                                          ^
In file included from rugged_tag_collection.c:8:
In file included from ./rugged.h:16:
In file included from /usr/include/ruby-2.7.0/ruby.h:33:
In file included from /usr/include/ruby-2.7.0/ruby/ruby.h:2760:
/usr/include/ruby-2.7.0/ruby/backward.h:17:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes]
DECLARE_DEPRECATED_FEATURE(2.2, rb_enable_super);
^
/usr/include/ruby-2.7.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE'
    NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void))))
             ^
/usr/include/i386-linux-gnu/ruby-2.7.0/ruby/config.h:154:43: note: expanded from macro 'ERRORFUNC'
#define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x
                                          ^
In file included from rugged_tag_collection.c:8:
In file included from ./rugged.h:16:
In file included from /usr/include/ruby-2.7.0/ruby.h:33:
In file included from /usr/include/ruby-2.7.0/ruby/ruby.h:2760:
/usr/include/ruby-2.7.0/ruby/backward.h:20:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes]
DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_iter_lev);
^
/usr/include/ruby-2.7.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE'
    NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void))))
             ^
/usr/include/i386-linux-gnu/ruby-2.7.0/ruby/config.h:154:43: note: expanded from macro 'ERRORFUNC'
#define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x
                                          ^
In file included from rugged_tag_collection.c:8:
In file included from ./rugged.h:16:
In file included from /usr/include/ruby-2.7.0/ruby.h:33:
In file included from /usr/include/ruby-2.7.0/ruby/ruby.h:2760:
/usr/include/ruby-2.7.0/ruby/backward.h:21:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes]
DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_ifnone);
^
/usr/include/ruby-2.7.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE'
    NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void))))
             ^
/usr/include/i386-linux-gnu/ruby-2.7.0/ruby/config.h:154:43: note: expanded from macro 'ERRORFUNC'
#define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x
                                          ^
In file included from rugged_tag_collection.c:8:
In file included from ./rugged.h:16:
In file included from /usr/include/ruby-2.7.0/ruby.h:33:
In file included from /usr/include/ruby-2.7.0/ruby/ruby.h:2760:
/usr/include/ruby-2.7.0/ruby/backward.h:24:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes]
DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associate);
^
/usr/include/ruby-2.7.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE'
    NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void))))
             ^
/usr/include/i386-linux-gnu/ruby-2.7.0/ruby/config.h:154:43: note: expanded from macro 'ERRORFUNC'
#define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x
                                          ^
In file included from rugged_tag_collection.c:8:
In file included from ./rugged.h:16:
In file included from /usr/include/ruby-2.7.0/ruby.h:33:
In file included from /usr/include/ruby-2.7.0/ruby/ruby.h:2760:
/usr/include/ruby-2.7.0/ruby/backward.h:25:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes]
DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associated);
^
/usr/include/ruby-2.7.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE'
    NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void))))
             ^
/usr/include/i386-linux-gnu/ruby-2.7.0/ruby/config.h:154:43: note: expanded from macro 'ERRORFUNC'
#define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x
                                          ^
In file included from rugged_tag_collection.c:8:
In file included from ./rugged.h:16:
In file included from /usr/include/ruby-2.7.0/ruby.h:33:
In file included from /usr/include/ruby-2.7.0/ruby/ruby.h:2760:
/usr/include/ruby-2.7.0/ruby/backward.h:31:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes]
DECLARE_DEPRECATED_FEATURE(2.2, rb_clear_cache);
^
/usr/include/ruby-2.7.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE'
    NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void))))
             ^
/usr/include/i386-linux-gnu/ruby-2.7.0/ruby/config.h:154:43: note: expanded from macro 'ERRORFUNC'
#define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x
                                          ^
In file included from rugged_tag_collection.c:8:
In file included from ./rugged.h:16:
In file included from /usr/include/ruby-2.7.0/ruby.h:33:
In file included from /usr/include/ruby-2.7.0/ruby/ruby.h:2760:
/usr/include/ruby-2.7.0/ruby/backward.h:32:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes]
DECLARE_DEPRECATED_FEATURE(2.2, rb_frame_pop);
^
/usr/include/ruby-2.7.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE'
    NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void))))
             ^
/usr/include/i386-linux-gnu/ruby-2.7.0/ruby/config.h:154:43: note: expanded from macro 'ERRORFUNC'
#define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x
                                          ^
In file included from rugged_tag_collection.c:8:
In file included from ./rugged.h:16:
In file included from /usr/include/ruby-2.7.0/ruby.h:33:
In file included from /usr/include/ruby-2.7.0/ruby/ruby.h:2760:
/usr/include/ruby-2.7.0/ruby/backward.h:38:10: warning: unknown attribute '__error__' ignored [-Wunknown-attributes]
NORETURN(ERRORFUNC(("internal function"), void rb_frozen_class_p(VALUE)));
         ^
/usr/include/i386-linux-gnu/ruby-2.7.0/ruby/config.h:154:43: note: expanded from macro 'ERRORFUNC'
#define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x
                                          ^
In file included from rugged_tag_collection.c:8:
In file included from ./rugged.h:16:
In file included from /usr/include/ruby-2.7.0/ruby.h:33:
In file included from /usr/include/ruby-2.7.0/ruby/ruby.h:2760:
/usr/include/ruby-2.7.0/ruby/backward.h:39:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes]
DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_exec_end_proc);
^
/usr/include/ruby-2.7.0/ruby/backward.h:35:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE'
    NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void))))
             ^
/usr/include/i386-linux-gnu/ruby-2.7.0/ruby/config.h:154:43: note: expanded from macro 'ERRORFUNC'
#define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x
                                          ^
In file included from rugged_tag_collection.c:8:
In file included from ./rugged.h:16:
In file included from /usr/include/ruby-2.7.0/ruby.h:33:
In file included from /usr/include/ruby-2.7.0/ruby/ruby.h:2760:
/usr/include/ruby-2.7.0/ruby/backward.h:42:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes]
DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error);
^
/usr/include/ruby-2.7.0/ruby/backward.h:35:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE'
    NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void))))
             ^
/usr/include/i386-linux-gnu/ruby-2.7.0/ruby/config.h:154:43: note: expanded from macro 'ERRORFUNC'
#define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x
                                          ^
In file included from rugged_tag_collection.c:8:
In file included from ./rugged.h:16:
In file included from /usr/include/ruby-2.7.0/ruby.h:33:
In file included from /usr/include/ruby-2.7.0/ruby/ruby.h:2760:
/usr/include/ruby-2.7.0/ruby/backward.h:43:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes]
DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_with_enc);
^
/usr/include/ruby-2.7.0/ruby/backward.h:35:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE'
    NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void))))
             ^
/usr/include/i386-linux-gnu/ruby-2.7.0/ruby/config.h:154:43: note: expanded from macro 'ERRORFUNC'
#define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x
                                          ^
In file included from rugged_tag_collection.c:8:
In file included from ./rugged.h:16:
In file included from /usr/include/ruby-2.7.0/ruby.h:33:
In file included from /usr/include/ruby-2.7.0/ruby/ruby.h:2760:
/usr/include/ruby-2.7.0/ruby/backward.h:44:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes]
DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_append);
^
/usr/include/ruby-2.7.0/ruby/backward.h:35:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE'
    NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void))))
             ^
/usr/include/i386-linux-gnu/ruby-2.7.0/ruby/config.h:154:43: note: expanded from macro 'ERRORFUNC'
#define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x
                                          ^
In file included from rugged_tag_collection.c:8:
In file included from ./rugged.h:16:
In file included from /usr/include/ruby-2.7.0/ruby.h:33:
In file included from /usr/include/ruby-2.7.0/ruby/ruby.h:2760:
/usr/include/ruby-2.7.0/ruby/backward.h:47:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes]
DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_gc_call_finalizer_at_exit);
^
/usr/include/ruby-2.7.0/ruby/backward.h:35:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE'
    NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void))))
             ^
/usr/include/i386-linux-gnu/ruby-2.7.0/ruby/config.h:154:43: note: expanded from macro 'ERRORFUNC'
#define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x
                                          ^
In file included from rugged_tag_collection.c:8:
In file included from ./rugged.h:16:
In file included from /usr/include/ruby-2.7.0/ruby.h:33:
In file included from /usr/include/ruby-2.7.0/ruby/ruby.h:2760:
/usr/include/ruby-2.7.0/ruby/backward.h:50:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes]
DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_trap_exit);
^
/usr/include/ruby-2.7.0/ruby/backward.h:35:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE'
    NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void))))
             ^
/usr/include/i386-linux-gnu/ruby-2.7.0/ruby/config.h:154:43: note: expanded from macro 'ERRORFUNC'
#define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x
                                          ^
In file included from rugged_tag_collection.c:8:
In file included from ./rugged.h:16:
In file included from /usr/include/ruby-2.7.0/ruby.h:33:
In file included from /usr/include/ruby-2.7.0/ruby/ruby.h:2760:
/usr/include/ruby-2.7.0/ruby/backward.h:53:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes]
DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_struct_ptr);
^
/usr/include/ruby-2.7.0/ruby/backward.h:35:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE'
    NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void))))
             ^
/usr/include/i386-linux-gnu/ruby-2.7.0/ruby/config.h:154:43: note: expanded from macro 'ERRORFUNC'
#define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x
                                          ^
In file included from rugged_tag_collection.c:8:
In file included from ./rugged.h:16:
In file included from /usr/include/ruby-2.7.0/ruby.h:33:
In file included from /usr/include/ruby-2.7.0/ruby/ruby.h:2760:
/usr/include/ruby-2.7.0/ruby/backward.h:56:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes]
DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_clear_trace_func);
^
/usr/include/ruby-2.7.0/ruby/backward.h:35:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE'
    NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void))))
             ^
/usr/include/i386-linux-gnu/ruby-2.7.0/ruby/config.h:154:43: note: expanded from macro 'ERRORFUNC'
#define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x
                                          ^
In file included from rugged_tag_collection.c:8:
In file included from ./rugged.h:16:
In file included from /usr/include/ruby-2.7.0/ruby.h:33:
In file included from /usr/include/ruby-2.7.0/ruby/ruby.h:2760:
/usr/include/ruby-2.7.0/ruby/backward.h:59:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes]
DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_generic_ivar_table);
^
/usr/include/ruby-2.7.0/ruby/backward.h:35:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE'
    NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void))))
             ^
/usr/include/i386-linux-gnu/ruby-2.7.0/ruby/config.h:154:43: note: expanded from macro 'ERRORFUNC'
#define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x
                                          ^
In file included from rugged_tag_collection.c:8:
In file included from ./rugged.h:16:
In file included from /usr/include/ruby-2.7.0/ruby.h:33:
In file included from /usr/include/ruby-2.7.0/ruby/ruby.h:2760:
/usr/include/ruby-2.7.0/ruby/backward.h:60:10: warning: unknown attribute '__error__' ignored [-Wunknown-attributes]
NORETURN(ERRORFUNC(("internal function"), VALUE rb_mod_const_missing(VALUE, VALUE)));
         ^
/usr/include/i386-linux-gnu/ruby-2.7.0/ruby/config.h:154:43: note: expanded from macro 'ERRORFUNC'
#define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x
                                          ^
23 warnings generated.
In file included from rugged_tree.c:8:
In file included from ./rugged.h:16:
In file included from /usr/include/ruby-2.7.0/ruby.h:33:
/usr/include/ruby-2.7.0/ruby/ruby.h:1863:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes]
ERRORFUNC((" argument length doesn't match"), int rb_varargs_bad_length(int,int));
^
/usr/include/i386-linux-gnu/ruby-2.7.0/ruby/config.h:154:43: note: expanded from macro 'ERRORFUNC'
#define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x
                                          ^
In file included from rugged_tree.c:8:
In file included from ./rugged.h:16:
In file included from /usr/include/ruby-2.7.0/ruby.h:33:
/usr/include/ruby-2.7.0/ruby/ruby.h:2345:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes]
ERRORFUNC(("bad scan arg format"), void rb_scan_args_bad_format(const char*));
^
/usr/include/i386-linux-gnu/ruby-2.7.0/ruby/config.h:154:43: note: expanded from macro 'ERRORFUNC'
#define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x
                                          ^
In file included from rugged_tree.c:8:
In file included from ./rugged.h:16:
In file included from /usr/include/ruby-2.7.0/ruby.h:33:
/usr/include/ruby-2.7.0/ruby/ruby.h:2346:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes]
ERRORFUNC(("variable argument length doesn't match"), void rb_scan_args_length_mismatch(const char*,int));
^
/usr/include/i386-linux-gnu/ruby-2.7.0/ruby/config.h:154:43: note: expanded from macro 'ERRORFUNC'
#define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x
                                          ^
In file included from rugged_tree.c:8:
In file included from ./rugged.h:16:
In file included from /usr/include/ruby-2.7.0/ruby.h:33:
In file included from /usr/include/ruby-2.7.0/ruby/ruby.h:2760:
/usr/include/ruby-2.7.0/ruby/backward.h:6:1: warning: attribute '__deprecated__' is ignored, place it after "struct" to apply attribute to type declaration [-Wignored-attributes]
DEPRECATED_TYPE(("RClass is internal use only"),
^
/usr/include/i386-linux-gnu/ruby-2.7.0/ruby/config.h:146:49: note: expanded from macro 'DEPRECATED_TYPE'
#define DEPRECATED_TYPE(mesg,x) __attribute__ ((__deprecated__ mesg)) x
                                                ^
In file included from rugged_tree.c:8:
In file included from ./rugged.h:16:
In file included from /usr/include/ruby-2.7.0/ruby.h:33:
In file included from /usr/include/ruby-2.7.0/ruby/ruby.h:2760:
/usr/include/ruby-2.7.0/ruby/backward.h:16:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes]
DECLARE_DEPRECATED_FEATURE(2.2, rb_disable_super);
^
/usr/include/ruby-2.7.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE'
    NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void))))
             ^
/usr/include/i386-linux-gnu/ruby-2.7.0/ruby/config.h:154:43: note: expanded from macro 'ERRORFUNC'
#define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x
                                          ^
In file included from rugged_tree.c:8:
In file included from ./rugged.h:16:
In file included from /usr/include/ruby-2.7.0/ruby.h:33:
In file included from /usr/include/ruby-2.7.0/ruby/ruby.h:2760:
/usr/include/ruby-2.7.0/ruby/backward.h:17:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes]
DECLARE_DEPRECATED_FEATURE(2.2, rb_enable_super);
^
/usr/include/ruby-2.7.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE'
    NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void))))
             ^
/usr/include/i386-linux-gnu/ruby-2.7.0/ruby/config.h:154:43: note: expanded from macro 'ERRORFUNC'
#define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x
                                          ^
In file included from rugged_tree.c:8:
In file included from ./rugged.h:16:
In file included from /usr/include/ruby-2.7.0/ruby.h:33:
In file included from /usr/include/ruby-2.7.0/ruby/ruby.h:2760:
/usr/include/ruby-2.7.0/ruby/backward.h:20:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes]
DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_iter_lev);
^
/usr/include/ruby-2.7.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE'
    NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void))))
             ^
/usr/include/i386-linux-gnu/ruby-2.7.0/ruby/config.h:154:43: note: expanded from macro 'ERRORFUNC'
#define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x
                                          ^
In file included from rugged_tree.c:8:
In file included from ./rugged.h:16:
In file included from /usr/include/ruby-2.7.0/ruby.h:33:
In file included from /usr/include/ruby-2.7.0/ruby/ruby.h:2760:
/usr/include/ruby-2.7.0/ruby/backward.h:21:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes]
DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_ifnone);
^
/usr/include/ruby-2.7.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE'
    NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void))))
             ^
/usr/include/i386-linux-gnu/ruby-2.7.0/ruby/config.h:154:43: note: expanded from macro 'ERRORFUNC'
#define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x
                                          ^
In file included from rugged_tree.c:8:
In file included from ./rugged.h:16:
In file included from /usr/include/ruby-2.7.0/ruby.h:33:
In file included from /usr/include/ruby-2.7.0/ruby/ruby.h:2760:
/usr/include/ruby-2.7.0/ruby/backward.h:24:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes]
DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associate);
^
/usr/include/ruby-2.7.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE'
    NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void))))
             ^
/usr/include/i386-linux-gnu/ruby-2.7.0/ruby/config.h:154:43: note: expanded from macro 'ERRORFUNC'
#define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x
                                          ^
In file included from rugged_tree.c:8:
In file included from ./rugged.h:16:
In file included from /usr/include/ruby-2.7.0/ruby.h:33:
In file included from /usr/include/ruby-2.7.0/ruby/ruby.h:2760:
/usr/include/ruby-2.7.0/ruby/backward.h:25:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes]
DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associated);
^
/usr/include/ruby-2.7.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE'
    NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void))))
             ^
/usr/include/i386-linux-gnu/ruby-2.7.0/ruby/config.h:154:43: note: expanded from macro 'ERRORFUNC'
#define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x
                                          ^
In file included from rugged_tree.c:8:
In file included from ./rugged.h:16:
In file included from /usr/include/ruby-2.7.0/ruby.h:33:
In file included from /usr/include/ruby-2.7.0/ruby/ruby.h:2760:
/usr/include/ruby-2.7.0/ruby/backward.h:31:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes]
DECLARE_DEPRECATED_FEATURE(2.2, rb_clear_cache);
^
/usr/include/ruby-2.7.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE'
    NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void))))
             ^
/usr/include/i386-linux-gnu/ruby-2.7.0/ruby/config.h:154:43: note: expanded from macro 'ERRORFUNC'
#define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x
                                          ^
In file included from rugged_tree.c:8:
In file included from ./rugged.h:16:
In file included from /usr/include/ruby-2.7.0/ruby.h:33:
In file included from /usr/include/ruby-2.7.0/ruby/ruby.h:2760:
/usr/include/ruby-2.7.0/ruby/backward.h:32:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes]
DECLARE_DEPRECATED_FEATURE(2.2, rb_frame_pop);
^
/usr/include/ruby-2.7.0/ruby/backward.h:13:14: note: expanded from macro 'DECLARE_DEPRECATED_FEATURE'
    NORETURN(ERRORFUNC(("deprecated since "#ver), DEPRECATED(void func(void))))
             ^
/usr/include/i386-linux-gnu/ruby-2.7.0/ruby/config.h:154:43: note: expanded from macro 'ERRORFUNC'
#define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x
                                          ^
In file included from rugged_tree.c:8:
In file included from ./rugged.h:16:
In file included from /usr/include/ruby-2.7.0/ruby.h:33:
In file included from /usr/include/ruby-2.7.0/ruby/ruby.h:2760:
/usr/include/ruby-2.7.0/ruby/backward.h:38:10: warning: unknown attribute '__error__' ignored [-Wunknown-attributes]
NORETURN(ERRORFUNC(("internal function"), void rb_frozen_class_p(VALUE)));
         ^
/usr/include/i386-linux-gnu/ruby-2.7.0/ruby/config.h:154:43: note: expanded from macro 'ERRORFUNC'
#define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x
                                          ^
In file included from rugged_tree.c:8:
In file included from ./rugged.h:16:
In file included from /usr/include/ruby-2.7.0/ruby.h:33:
In file included from /usr/include/ruby-2.7.0/ruby/ruby.h:2760:
/usr/include/ruby-2.7.0/ruby/backward.h:39:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes]
DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_exec_end_proc);
^
/usr/include/ruby-2.7.0/ruby/backward.h:35:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE'
    NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void))))
             ^
/usr/include/i386-linux-gnu/ruby-2.7.0/ruby/config.h:154:43: note: expanded from macro 'ERRORFUNC'
#define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x
                                          ^
In file included from rugged_tree.c:8:
In file included from ./rugged.h:16:
In file included from /usr/include/ruby-2.7.0/ruby.h:33:
In file included from /usr/include/ruby-2.7.0/ruby/ruby.h:2760:
/usr/include/ruby-2.7.0/ruby/backward.h:42:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes]
DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error);
^
/usr/include/ruby-2.7.0/ruby/backward.h:35:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE'
    NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void))))
             ^
/usr/include/i386-linux-gnu/ruby-2.7.0/ruby/config.h:154:43: note: expanded from macro 'ERRORFUNC'
#define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x
                                          ^
In file included from rugged_tree.c:8:
In file included from ./rugged.h:16:
In file included from /usr/include/ruby-2.7.0/ruby.h:33:
In file included from /usr/include/ruby-2.7.0/ruby/ruby.h:2760:
/usr/include/ruby-2.7.0/ruby/backward.h:43:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes]
DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_with_enc);
^
/usr/include/ruby-2.7.0/ruby/backward.h:35:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE'
    NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void))))
             ^
/usr/include/i386-linux-gnu/ruby-2.7.0/ruby/config.h:154:43: note: expanded from macro 'ERRORFUNC'
#define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x
                                          ^
In file included from rugged_tree.c:8:
In file included from ./rugged.h:16:
In file included from /usr/include/ruby-2.7.0/ruby.h:33:
In file included from /usr/include/ruby-2.7.0/ruby/ruby.h:2760:
/usr/include/ruby-2.7.0/ruby/backward.h:44:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes]
DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_compile_error_append);
^
/usr/include/ruby-2.7.0/ruby/backward.h:35:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE'
    NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void))))
             ^
/usr/include/i386-linux-gnu/ruby-2.7.0/ruby/config.h:154:43: note: expanded from macro 'ERRORFUNC'
#define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x
                                          ^
In file included from rugged_tree.c:8:
In file included from ./rugged.h:16:
In file included from /usr/include/ruby-2.7.0/ruby.h:33:
In file included from /usr/include/ruby-2.7.0/ruby/ruby.h:2760:
/usr/include/ruby-2.7.0/ruby/backward.h:47:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes]
DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_gc_call_finalizer_at_exit);
^
/usr/include/ruby-2.7.0/ruby/backward.h:35:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE'
    NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void))))
             ^
/usr/include/i386-linux-gnu/ruby-2.7.0/ruby/config.h:154:43: note: expanded from macro 'ERRORFUNC'
#define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x
                                          ^
In file included from rugged_tree.c:8:
In file included from ./rugged.h:16:
In file included from /usr/include/ruby-2.7.0/ruby.h:33:
In file included from /usr/include/ruby-2.7.0/ruby/ruby.h:2760:
/usr/include/ruby-2.7.0/ruby/backward.h:50:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes]
DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_trap_exit);
^
/usr/include/ruby-2.7.0/ruby/backward.h:35:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE'
    NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void))))
             ^
/usr/include/i386-linux-gnu/ruby-2.7.0/ruby/config.h:154:43: note: expanded from macro 'ERRORFUNC'
#define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x
                                          ^
In file included from rugged_tree.c:8:
In file included from ./rugged.h:16:
In file included from /usr/include/ruby-2.7.0/ruby.h:33:
In file included from /usr/include/ruby-2.7.0/ruby/ruby.h:2760:
/usr/include/ruby-2.7.0/ruby/backward.h:53:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes]
DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_struct_ptr);
^
/usr/include/ruby-2.7.0/ruby/backward.h:35:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE'
    NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void))))
             ^
/usr/include/i386-linux-gnu/ruby-2.7.0/ruby/config.h:154:43: note: expanded from macro 'ERRORFUNC'
#define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x
                                          ^
In file included from rugged_tree.c:8:
In file included from ./rugged.h:16:
In file included from /usr/include/ruby-2.7.0/ruby.h:33:
In file included from /usr/include/ruby-2.7.0/ruby/ruby.h:2760:
/usr/include/ruby-2.7.0/ruby/backward.h:56:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes]
DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_clear_trace_func);
^
/usr/include/ruby-2.7.0/ruby/backward.h:35:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE'
    NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void))))
             ^
/usr/include/i386-linux-gnu/ruby-2.7.0/ruby/config.h:154:43: note: expanded from macro 'ERRORFUNC'
#define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x
                                          ^
In file included from rugged_tree.c:8:
In file included from ./rugged.h:16:
In file included from /usr/include/ruby-2.7.0/ruby.h:33:
In file included from /usr/include/ruby-2.7.0/ruby/ruby.h:2760:
/usr/include/ruby-2.7.0/ruby/backward.h:59:1: warning: unknown attribute '__error__' ignored [-Wunknown-attributes]
DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_generic_ivar_table);
^
/usr/include/ruby-2.7.0/ruby/backward.h:35:14: note: expanded from macro 'DECLARE_DEPRECATED_INTERNAL_FEATURE'
    NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void))))
             ^
/usr/include/i386-linux-gnu/ruby-2.7.0/ruby/config.h:154:43: note: expanded from macro 'ERRORFUNC'
#define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x
                                          ^
In file included from rugged_tree.c:8:
In file included from ./rugged.h:16:
In file included from /usr/include/ruby-2.7.0/ruby.h:33:
In file included from /usr/include/ruby-2.7.0/ruby/ruby.h:2760:
/usr/include/ruby-2.7.0/ruby/backward.h:60:10: warning: unknown attribute '__error__' ignored [-Wunknown-attributes]
NORETURN(ERRORFUNC(("internal function"), VALUE rb_mod_const_missing(VALUE, VALUE)));
         ^
/usr/include/i386-linux-gnu/ruby-2.7.0/ruby/config.h:154:43: note: expanded from macro 'ERRORFUNC'
#define ERRORFUNC(mesg,x) __attribute__ ((__error__ mesg)) x
                                          ^
23 warnings generated.
Copying /home/villehauk/sonic-pi/app/server/ruby/vendor/rugged-1.3.0/ext/rugged/rugged.so to /home/villehauk/sonic-pi/app/server/ruby/bin/../rb-native/2.7.0/
Compiling native extension in /home/villehauk/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]
   27 |     return rb_data_object_alloc(klass, (void *) Qnil, ir_mark, NULL);
      |     ^~~~~~
In file included from /usr/include/ruby-2.7.0/ruby.h:33,
                 from atomic_reference.c:13:
/usr/include/ruby-2.7.0/ruby/ruby.h:1454:1: note: declared here
 1454 | rb_data_object_alloc(VALUE klass, void *data, RUBY_DATA_FUNC dmark, RUBY_DATA_FUNC dfree)
      | ^~~~~~~~~~~~~~~~~~~~
SunderB commented 1 year ago

Hi @villehauk, Unfortunately the version of Sonic Pi in the official Raspberry Pi OS repo is outdated (and I think possibly broken).

I see you've tried to install the latest .deb build, which is recommended. Maybe you'll have better luck installing the .deb file using the terminal? Assuming the .deb file is in your Downloads folder, try a command like this:

cd ~/Downloads
sudo dpkg --install ./sonic-pi_4.3.0_1_bullseye.armhf.deb