Package Details: sonic-pi 3.1.0-2

Git Clone URL: https://aur.archlinux.org/sonic-pi.git (read-only)
Package Base: sonic-pi
Description: A music-centric programming environment, originally built for the raspberry pi.
Upstream URL: http://sonic-pi.net/
Licenses: MIT
Submitter: ChaosKid42
Maintainer: ChaosKid42
Last Packager: ChaosKid42
Votes: 22
Popularity: 1.043580
First Submitted: 2015-05-10 19:33
Last Updated: 2018-03-28 06:10

Latest Comments

Alfe commented on 2018-05-30 15:14

Unfortunately it won't build for me. It seems to be related to the issue reported in the GitHub Repo (https://github.com/samaaron/sonic-pi/issues/1908). So no one with a new Ruby will be able to build this at the moment. Here is the relevant part:

make[1]: Leaving directory '/home/user/.cache/aurman/sonic-pi/src/osmid/build'
/usr/bin/cmake -E cmake_progress_start /home/user/.cache/aurman/sonic-pi/src/osmid/build/CMakeFiles 0
osc.erl:15: Warning: export_all flag enabled - all functions will be exported
pi_server.erl:15: Warning: export_all flag enabled - all functions will be exported
pi_server.erl:57: Warning: variable 'T' is unused
pi_server.erl:59: Warning: variable 'Rest' is unused
pi_server.erl:170: Warning: variable 'Tag' is unused
Clearing ../../server/ruby/bin/../rb-native/2.5.0
Creating ../../server/ruby/bin/../rb-native/2.5.0
Compiling native extension in /home/user/.cache/aurman/sonic-pi/src/sonic-pi-3.1.0/app/server/ruby/vendor/rugged-0.26.0/ext/rugged
In file included from /usr/include/ruby-2.5.0/ruby.h:33,
                 from rugged.h:16,
                 from rugged_blame.c:8:
In function ‘rb_git_blame_each.part.0’,
    inlined from ‘rb_git_blame_each’:
/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:242: rugged_blame.o] Error 1
Compiling native extension in /home/user/.cache/aurman/sonic-pi/src/sonic-pi-3.1.0/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/user/.cache/aurman/sonic-pi/src/sonic-pi-3.1.0/app/server/ruby/vendor/ffi-1.9.17/ext/ffi_c/ffi_c.so to ../../server/ruby/bin/../rb-native/2.5.0/
Compiling native extension in /home/user/.cache/aurman/sonic-pi/src/sonic-pi-3.1.0/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:1385:1: note: declared here
 rb_data_object_alloc(VALUE klass, void *data, RUBY_DATA_FUNC dmark, RUBY_DATA_FUNC dfree)
 ^~~~~~~~~~~~~~~~~~~~
Copying /home/user/.cache/aurman/sonic-pi/src/sonic-pi-3.1.0/app/server/ruby/vendor/atomic/ext/atomic_reference.so to ../../server/ruby/bin/../rb-native/2.5.0/
Compiling native extension in /home/user/.cache/aurman/sonic-pi/src/sonic-pi-3.1.0/app/server/ruby/vendor/ruby-prof-0.15.8/ext/ruby_prof
ruby_prof.c: In function ‘prof_event_hook’:
ruby_prof.c:181:9: warning: ‘rb_frame_method_id_and_class’ is deprecated [-Wdeprecated-declarations]
         rb_frame_method_id_and_class(&mid, &klass);
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:24,
                 from /usr/include/ruby-2.5.0/ruby.h:33,
                 from ruby_prof.h:7,
                 from ruby_prof.c:26:
/usr/include/ruby-2.5.0/ruby/backward.h:53:16: note: declared here
 DEPRECATED(int rb_frame_method_id_and_class(ID *idp, VALUE *klassp));
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/ruby-2.5.0/x86_64-linux/ruby/config.h:130:56: note: in definition of macro ‘DEPRECATED’
 #define DEPRECATED(x) __attribute__ ((__deprecated__)) x
                                                        ^
Copying /home/user/.cache/aurman/sonic-pi/src/sonic-pi-3.1.0/app/server/ruby/vendor/ruby-prof-0.15.8/ext/ruby_prof/ruby_prof.so to ../../server/ruby/bin/../rb-native/2.5.0/
Compiling native extension in /home/user/.cache/aurman/sonic-pi/src/sonic-pi-3.1.0/app/server/ruby/vendor/interception/ext
make: *** No rule to make target 'clean'.  Stop.
Compiling native extension in /home/user/.cache/aurman/sonic-pi/src/sonic-pi-3.1.0/app/server/ruby/vendor/fast_osc-0.0.12/ext/fast_osc
fast_osc_wrapper.c: In function ‘ruby_time_to_osc_timetag’:
fast_osc_wrapper.c:57:80: warning: ISO C99 requires at least one argument for the "..." in a variadic macro
       floattime = JAN_1970 + NUM2DBL(rb_funcall(rubytime, rb_intern("to_f"), 0));
                                                                                ^
In file included from /usr/include/ruby-2.5.0/ruby.h:33,
                 from fast_osc_wrapper.c:1:
fast_osc_wrapper.c: In function ‘method_fast_osc_encode_single_message’:
/usr/include/ruby-2.5.0/ruby/ruby.h:2236:5: warning: ISO C forbids braced-groups within expressions [-Wpedantic]
     ({ \
     ^
/usr/include/ruby-2.5.0/ruby/ruby.h:2355:9: note: in expansion of macro ‘rb_scan_args_verify’
        (rb_scan_args_verify(fmt, varc), vars))
         ^~~~~~~~~~~~~~~~~~~
/usr/include/ruby-2.5.0/ruby/ruby.h:2182:9: note: in expansion of macro ‘rb_scan_args0’
         rb_scan_args0(argc,argvp,fmt,\
         ^~~~~~~~~~~~~
fast_osc_wrapper.c:159:3: note: in expansion of macro ‘rb_scan_args’
   rb_scan_args(argc, argv, "11", &address, &args);
   ^~~~~~~~~~~~
fast_osc_wrapper.c: In function ‘method_fast_osc_encode_single_bundle’:
/usr/include/ruby-2.5.0/ruby/ruby.h:2236:5: warning: ISO C forbids braced-groups within expressions [-Wpedantic]
     ({ \
     ^
/usr/include/ruby-2.5.0/ruby/ruby.h:2355:9: note: in expansion of macro ‘rb_scan_args_verify’
        (rb_scan_args_verify(fmt, varc), vars))
         ^~~~~~~~~~~~~~~~~~~
/usr/include/ruby-2.5.0/ruby/ruby.h:2182:9: note: in expansion of macro ‘rb_scan_args0’
         rb_scan_args0(argc,argvp,fmt,\
         ^~~~~~~~~~~~~
fast_osc_wrapper.c:243:3: note: in expansion of macro ‘rb_scan_args’
   rb_scan_args(argc, argv, "21", &timetag, &path, &args);
   ^~~~~~~~~~~~
Copying /home/user/.cache/aurman/sonic-pi/src/sonic-pi-3.1.0/app/server/ruby/vendor/fast_osc-0.0.12/ext/fast_osc/fast_osc.so to ../../server/ruby/bin/../rb-native/2.5.0/
Compiling native extension in /home/user/.cache/aurman/sonic-pi/src/sonic-pi-3.1.0/app/server/ruby/vendor/did_you_mean-0.10.0/ext/did_you_mean
Copying /home/user/.cache/aurman/sonic-pi/src/sonic-pi-3.1.0/app/server/ruby/vendor/did_you_mean-0.10.0/ext/did_you_mean/method_receiver.so to ../../server/ruby/bin/../rb-native/2.5.0/did_you_mean
Translated tutorial bs: 0.0% ready, 0.0% fuzzy.
Translated tutorial ca: 3.0% ready, 0.0% fuzzy.
Translated tutorial cs: 0.0% ready, 0.0% fuzzy.
Translated tutorial da: 0.0% ready, 0.0% fuzzy.
Translated tutorial de: 77.4% ready, 2.8% fuzzy.
Translated tutorial el: 2.4% ready, 0.0% fuzzy.
Translated tutorial es: 89.7% ready, 37.0% fuzzy.
Translated tutorial et: 0.0% ready, 0.0% fuzzy.
Translated tutorial fi: 0.0% ready, 0.0% fuzzy.
Translated tutorial fr: 91.9% ready, 21.3% fuzzy.
Translated tutorial gl: 0.0% ready, 0.0% fuzzy.
Translated tutorial hi: 0.0% ready, 0.0% fuzzy.
Translated tutorial hu: 0.0% ready, 0.0% fuzzy.
Translated tutorial id: 0.0% ready, 0.0% fuzzy.
Translated tutorial is: 0.0% ready, 0.0% fuzzy.
Translated tutorial it: 86.8% ready, 3.5% fuzzy.
Translated tutorial ja: 87.1% ready, 4.3% fuzzy.
Translated tutorial ko: 1.0% ready, 0.0% fuzzy.
Translated tutorial nb: 22.4% ready, 1.3% fuzzy.
Translated tutorial nl: 91.7% ready, 0.8% fuzzy.
Translated tutorial pl: 89.7% ready, 3.3% fuzzy.
Translated tutorial pt: 65.4% ready, 4.4% fuzzy.
Translated tutorial pt-BR: 0.8% ready, 0.0% fuzzy.
Translated tutorial ro: 89.7% ready, 3.3% fuzzy.
Translated tutorial ru: 75.1% ready, 40.5% fuzzy.
Translated tutorial sl: 2.3% ready, 0.0% fuzzy.
Translated tutorial sv: 0.6% ready, 0.0% fuzzy.
Translated tutorial tr: 0.0% ready, 0.0% fuzzy.
Translated tutorial zh: 0.0% ready, 0.0% fuzzy.
Translated tutorial zh-Hans: 0.0% ready, 0.0% fuzzy.
Translated tutorial zh-Hk: 0.0% ready, 0.0% fuzzy.
Translated tutorial zh-TW: 0.0% ready, 0.0% fuzzy.
Traceback (most recent call last):
    9: from ../../server/ruby/bin/qt-doc.rb:22:in `<main>'
    8: from ../../server/ruby/bin/qt-doc.rb:22:in `require_relative'
    7: from /home/user/.cache/aurman/sonic-pi/src/sonic-pi-3.1.0/app/server/ruby/lib/sonicpi/runtime.rb:21:in `<top (required)>'
    6: from /home/user/.cache/aurman/sonic-pi/src/sonic-pi-3.1.0/app/server/ruby/lib/sonicpi/runtime.rb:21:in `require_relative'
    5: from /home/user/.cache/aurman/sonic-pi/src/sonic-pi-3.1.0/app/server/ruby/lib/sonicpi/gitsave.rb:14:in `<top (required)>'
    4: from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
    3: from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
    2: from /home/user/.cache/aurman/sonic-pi/src/sonic-pi-3.1.0/app/server/ruby/vendor/rugged-0.26.0/lib/rugged.rb:6:in `<top (required)>'
    1: from /home/user/.cache/aurman/sonic-pi/src/sonic-pi-3.1.0/app/server/ruby/vendor/rugged-0.26.0/lib/rugged.rb:14:in `rescue in <top (required)>'
/home/user/.cache/aurman/sonic-pi/src/sonic-pi-3.1.0/app/server/ruby/vendor/rugged-0.26.0/lib/rugged.rb:14:in `require_relative': cannot load such file -- /home/jochen/.cache/aurman/sonic-pi/src/sonic-pi-3.1.0/app/server/ruby/rb-native/2.5.0/rugged (LoadError)
==> ERROR: A failure occurred in build().
    Aborting...
2018-05-30 17:03:45,810 - wrappers - makepkg - ERROR - makepkg query makepkg -cf --noconfirm failed in directory /home/user/.cache/aurman/sonic-pi

In addition you should change the creation of the build folder in the PKGBUILD to either mkdir -p build or remove it before you create it, to allow rebuilding the package.

ChaosKid42 commented on 2018-03-30 12:58

Maybe you are missing the community repo in your /etc/pacman.conf:

You should find something like this in there:

[community] Include = /etc/pacman.d/mirrorlist

Metallion commented on 2018-03-30 10:34

Interesting. Wonder why I was getting the error then. Guess I'll be investigating that on my own system for a bit.

ChaosKid42 commented on 2018-03-30 05:14

sc3-plugin is available in community:

https://www.archlinux.org/packages/community/x86_64/sc3-plugins/

Metallion commented on 2018-03-29 23:44

Looks like one of the dependencies is no longer on aur.

error: target not found: sc3-plugins

There is still a git version though. Changing it to sc3-plugins-git solved the problem.

Haagentis commented on 2018-03-20 15:31

Exact same problem as paulsinnett. I've been trying to install sonic-pi for a year and it simply has never worked.

ChaosKid42 commented on 2018-03-03 20:00

@paulsinnett: the problem is due to http_parser which has been updated in the meantime. Simply rebuilding sonic-pi fixes it.

paulsinnett commented on 2018-03-03 01:45

I have this installed with qjackctl and jack2. I run sonic-pi with qjackctl already running and started without errors. But sonic-pi only shows the splash screen and then disappears. The processes continue to run but no windows open.

The server-errors.log file says: /opt/sonic-pi/app/server/ruby/vendor/rugged-0.26.0/lib/rugged.rb:14:in require_relative': libhttp_parser.so.2.7.1: cannot open shared object file: No such file or directory - /opt/sonic-pi/app/server/ruby/rb-native/2.5.0/rugged.so (LoadError) from /opt/sonic-pi/app/server/ruby/vendor/rugged-0.26.0/lib/rugged.rb:14:inrescue in <top (required)="">' from /opt/sonic-pi/app/server/ruby/vendor/rugged-0.26.0/lib/rugged.rb:6:in <top (required)>' from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:inrequire' from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in require' from /opt/sonic-pi/app/server/ruby/lib/sonicpi/gitsave.rb:14:in<top (required)="">' from /opt/sonic-pi/app/server/ruby/lib/sonicpi/runtime.rb:21:in require_relative' from /opt/sonic-pi/app/server/ruby/lib/sonicpi/runtime.rb:21:in<top (required)="">' from /opt/sonic-pi/app/server/ruby/lib/sonicpi/lang/core.rb:17:in require_relative' from /opt/sonic-pi/app/server/ruby/lib/sonicpi/lang/core.rb:17:in<top (required)="">' from /opt/sonic-pi/app/gui/qt/../../../app/server/ruby/bin/sonic-pi-server.rb:25:in require_relative' from /opt/sonic-pi/app/gui/qt/../../../app/server/ruby/bin/sonic-pi-server.rb:25:in</top></top></top></top>

<main>'

</main>

paum commented on 2017-11-21 20:49

Are you running it with no problems guys?

paum commented on 2017-11-20 20:17

It won't run, sonic pi server can't boot. Only splash screen...any ideas?

All comments