Package Details: sonic-pi-git v4.6.0.r0.g9f8f021-1

Git Clone URL: https://aur.archlinux.org/sonic-pi-git.git (read-only, click to copy)
Package Base: sonic-pi-git
Description: The Live Coding Music Synth for Everyone
Upstream URL: http://sonic-pi.net/
Keywords: audio
Licenses: MIT
Groups: pro-audio
Conflicts: sonic-pi
Provides: sonic-pi
Submitter: nigeil
Maintainer: brany
Last Packager: brany
Votes: 10
Popularity: 0.40
First Submitted: 2015-01-08 21:38 (UTC)
Last Updated: 2025-10-22 09:48 (UTC)

Latest Comments

1 2 3 4 5 Next › Last »

brany commented on 2025-11-02 11:41 (UTC)

@asdofindia, I tried to replicate your first issue, and couldn't. Have you modified your Erlang install ?

The second issue is likely related to your audio setup and SuperCollider. You may need to install some adapter like you said 'pipewire-jack' (, which I don't think should be a dependency of this package.) I encourage you to take a look at SuperCollider documentation.

asdofindia commented on 2025-10-28 04:42 (UTC)

I installed the whole erlang package and retried and the previous error didn't come up again, and it installed successfully. For reference these were the packages that got installed:

$ sudo pacman -S erlang
resolving dependencies...
looking for conflicting packages...

Package (24)                New Version  Net Change  Download Size

extra/erlang-common_test    28.1.1-1       3.27 MiB       1.59 MiB
extra/erlang-debugger       28.1.1-1       1.00 MiB       0.55 MiB
extra/erlang-dialyzer       28.1.1-1       2.43 MiB       1.21 MiB
extra/erlang-diameter       28.1.1-1       2.33 MiB       0.99 MiB
extra/erlang-edoc           28.1.1-1       1.34 MiB       0.55 MiB
extra/erlang-eldap          28.1.1-1       0.24 MiB       0.15 MiB
extra/erlang-erl_interface  28.1.1-1       1.24 MiB       0.18 MiB
extra/erlang-et             28.1.1-1       0.42 MiB       0.21 MiB
extra/erlang-eunit          28.1.1-1       0.39 MiB       0.20 MiB
extra/erlang-ftp            28.1.1-1       0.26 MiB       0.12 MiB
extra/erlang-jinterface     28.1.1-1       0.54 MiB       0.16 MiB
extra/erlang-megaco         28.1.1-1      13.44 MiB       4.28 MiB
extra/erlang-observer       28.1.1-1       1.92 MiB       1.13 MiB
extra/erlang-odbc           28.1.1-1       0.24 MiB       0.08 MiB
extra/erlang-os_mon         28.1.1-1       0.31 MiB       0.14 MiB
extra/erlang-reltool        28.1.1-1       0.78 MiB       0.43 MiB
extra/erlang-snmp           28.1.1-1       5.78 MiB       2.31 MiB
extra/erlang-ssh            28.1.1-1       2.16 MiB       1.17 MiB
extra/erlang-syntax_tools   28.1.1-1       0.94 MiB       0.43 MiB
extra/erlang-tftp           28.1.1-1       0.25 MiB       0.12 MiB
extra/erlang-wx             28.1.1-1      17.22 MiB       6.11 MiB
extra/erlang-xmerl          28.1.1-1       3.88 MiB       1.48 MiB
extra/webkit2gtk-4.1        2.50.1-1     127.54 MiB      34.23 MiB
extra/erlang                28.1.1-1       0.00 MiB       0.00 MiB

Although it had problems starting.

sh: line 1: pw-jack: command not found

This could be fixed by installing pipewire-jack

But then in the CLI

Error. Unable to write to log file: closed stream
#<IOError: closed stream>

and in the GUI

Sorry, the Audio Server failed to start... 
Please try changing your default OS audio input & outputs. 
Note, the audio rate of the inputs & outputs must be the same. 
For the curious among you, Sonic Pi uses the SuperCollider Audio Server to generate its sounds. By default it will connect to your default system audio input and outputs.
Unfortunately SuperCollider is having problems starting correctly. You can read the full error log below which should explain why.
To fix this you can try changing your default operating system audio inputs and outputs (ensuring they have the same audio rate).
Advanced Users - you may manually override this and further configure how SuperCollider boots by editing the file: /home/asd/.sonic-pi/config/audio-settings.toml 
SuperCollider Log

asdofindia commented on 2025-10-28 04:24 (UTC) (edited on 2025-10-28 04:25 (UTC) by asdofindia)

[100%] Built target sonic-pi_lrelease
Compiling Erlang/Elixir files...
* creating /home/asd/.mix/archives/hex-2.3.1-otp-28
* creating /home/asd/.mix/elixir/1-19-otp-28/rebar3
Could not start Hex. Try fetching a new version with "mix local.hex" or uninstalling it with "mix archive.uninstall hex.ez"
** (MatchError) no match of right hand side value:

    {:error, {:hex, {~c"no such file or directory", ~c"hex.app"}}}

    lib/hex.ex:5: Hex.start/0
    (mix 1.19.1) lib/mix/hex.ex:64: Mix.Hex.start/0
    (mix 1.19.1) lib/mix/dep/loader.ex:193: Mix.Dep.Loader.with_scm_and_app/5
    (mix 1.19.1) lib/mix/dep/loader.ex:145: Mix.Dep.Loader.to_dep/4
    (elixir 1.19.1) lib/enum.ex:1688: Enum."-map/2-lists^map/1-1-"/2
    (mix 1.19.1) lib/mix/dep/loader.ex:368: Mix.Dep.Loader.mix_children/3
    (mix 1.19.1) lib/mix/dep/loader.ex:22: Mix.Dep.Loader.children/1
    (mix 1.19.1) lib/mix/dep/converger.ex:101: Mix.Dep.Converger.all/4
==> ERROR: A failure occurred in build().
    Aborting...

brany commented on 2025-10-22 10:29 (UTC)

@naxil the patch is out. The issue arose from the upstream boost version, which deprecated the 'system' lib. I have produced a patch, expecting everyone to use the latest boost version, therefore running into this issue. Please report if anything.

brany commented on 2025-10-22 08:27 (UTC)

@naxil thanks for your report, the problem is sadly on the sonic-pi codebase side. I'll try to provide a patch in the meantime.

naxil commented on 2025-10-20 21:12 (UTC)

i try to compile... without luck [code] CMake Warning (dev) at api/CMakeLists.txt:75 (find_package): Policy CMP0167 is not set: The FindBoost module is removed. Run "cmake --help-policy CMP0167" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

This warning is for project developers. Use -Wno-dev to suppress it.

CMake Error at /usr/lib/cmake/Boost-1.89.0/BoostConfig.cmake:141 (find_package): Could not find a package configuration file provided by "boost_system" (requested version 1.89.0) with any of the following names:

boost_systemConfig.cmake
boost_system-config.cmake

Add the installation prefix of "boost_system" to CMAKE_PREFIX_PATH or set "boost_system_DIR" to a directory containing one of the above files. If "boost_system" provides a separate development package or SDK, be sure it has been installed. Call Stack (most recent call first): /usr/lib/cmake/Boost-1.89.0/BoostConfig.cmake:262 (boost_find_component) /usr/share/cmake/Modules/FindBoost.cmake:609 (find_package) api/CMakeLists.txt:75 (find_package)[/code]

denilsonsa commented on 2025-09-14 19:03 (UTC)

On a quick test, I've uninstalled sonic-pi-git, then uninstalled a bunch of orphan packages. I have not uninstalled all of the sonic-pi-git dependencies, as some of those are need by some other packages on my system. Thus, this test is incomplete.

Then, I installed it again, and it compiled and ran successfully.

Then I uninstalled elixir and erlang-related deps, and it still ran successfully. So, yeah, seems to work for me. Thanks! (Now I need to learn how to live-code some music… Well, there is a long tutorial to learn.)

brany commented on 2025-09-13 18:02 (UTC)

@denilsonsa: Thanks for pointing the dep issue. I have, aggressively, recreated the dependencies list. It could be that some makedeps are actually runtime dependencies, waiting for your feedback ;0

denilsonsa commented on 2025-09-12 20:48 (UTC) (edited on 2025-09-12 20:48 (UTC) by denilsonsa)

@brany: I'm terribly sorry! I got confused! The out-of-date sonic-pi package is broken. This one is the -git package, which is up-to-date and doesn't have that issue.

However, I'm getting a different issue:

[100%] Built target sonic-pi
Compiling Erlang/Elixir files...
** (Mix) The application "asn1" could not be found. This may happen if your Operating System broke Erlang into multiple packages and may be fixed by installing the missing "erlang-dev" and "erlang-asn1" packages
==> ERROR: A failure occurred in build().

I believe this can be solved by adding erlang-asn1 as a dependency. Not sure if build-only or also runtime.

And then it complained about public_key, which means installing erlang-public_key.

And then it complained about ssl, which means installing erlang-ssl.

And then about erlang-parsetools.

And then about erlang-sasl.

You may want to add those as deps. ;)

brany commented on 2025-09-12 17:55 (UTC) (edited on 2025-09-12 22:51 (UTC) by brany)

@denilsonsa: Hello, I cannot reproduce your error. Also, there is no such file as gui/qt/CMakeLists.txt in the sonic-pi repo. Are you sure this error is related to sonic-pi-git itself ?