Package Details: supercollider-git 3.11.1.r395.gcd3b936457-1

Git Clone URL: https://aur.archlinux.org/supercollider-git.git (read-only, click to copy)
Package Base: supercollider-git
Description: Environment and programming language for real time audio synthesis and algorithmic composition
Upstream URL: https://supercollider.github.io/
Keywords: audio multimedia supercollider synthesis
Licenses: GPL3
Conflicts: supercollider
Provides: supercollider
Submitter: None
Maintainer: dvzrv
Last Packager: dvzrv
Votes: 14
Popularity: 0.000000
First Submitted: 2010-11-01 21:58 (UTC)
Last Updated: 2020-09-09 19:30 (UTC)

Required by (32)

Sources (9)

Latest Comments

1 2 3 4 5 6 7 Next › Last »

ayalavalva commented on 2025-02-02 06:52 (UTC) (edited on 2025-02-02 06:59 (UTC) by ayalavalva)

Would be good if this AUR package was updated to support compiling against qt6 and ensure tests success.

Below are the only modifications I brought to the PKBLD file:

depends=('gcc-libs' 'glibc'  'libx11' 'qt6-base' 'qt6-svg' 'qt6-webengine'
'qt6-websockets')
makedepends=('abletonlink' 'alsa-lib' 'avahi' 'boost' 'cmake' 'emacs' 'fftw'
'git' 'jack' 'libsndfile' 'qt6-tools' 'readline' 'systemd-libs' 'yaml-cpp')
prepare() {
  git -c protocol.file.allow=always submodule update
}
check() {
  xvfb-run make test ARGS="-VV -j1" -C build
}

But I am still getting test failures for any commit after Sept. 16, 2024 (until today):

78% tests passed, 4 tests failed out of 18

Total Test time (real) =  17.46 sec

The following tests FAILED:
         15 - sclang_crash_1_run (SEGFAULT)
         16 - sclang_crash_2_run (SEGFAULT)
         17 - sclang_crash_3_run (SEGFAULT)
         18 - sclang_crash_deprecated_run (SEGFAULT)
Errors while running CTest

lennart commented on 2024-11-28 13:25 (UTC)

Current build fails due to changes in allowed ctest arguments (-d is not supported anymore)

Patched check():

diff --git a/PKGBUILD b/PKGBUILD
index cc8a6f0..9edc97b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -106,7 +106,7 @@ build() {

 check() {
   cd "${_name}"
-  xvfb-run make test ARGS="-VV -d -j1" -C build
+  xvfb-run make test ARGS="-VV -j1" -C build
 }

lennart commented on 2024-04-14 19:01 (UTC)

as @paum pointed out, CVE-2022-39253 was mitigated since git v2.38.1 and the wiki therefore advises us to explicitly allow the file protocol for submodule updating.

below is the patch this change:

diff --git a/PKGBUILD b/PKGBUILD
index 7f1282f..2861b8e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@

 pkgname=supercollider-git
 _name="supercollider"
-pkgver=3.11.1.r395.gcd3b936457
+pkgver=3.13.0.r219.g28a0b12216
 pkgrel=1
 pkgdesc="Environment and programming language for real time audio synthesis and algorithmic composition"
 arch=('i686' 'x86_64' 'armv6h' 'armv7h')
@@ -54,7 +54,7 @@ prepare() {
   git config submodule.external_libraries/portaudio_sc_org.branch "${_name}"
   git config submodule.external_libraries/yaml-cpp.url "${srcdir}/yaml-cpp"
   git config submodule.external_libraries/link.url "${srcdir}/link"
-  git submodule update
+  git -c protocol.file.allow=always submodule update
 }

 build() {

without this change the build will not start

paum commented on 2023-05-09 18:31 (UTC)

Hi,

due some changes in git, the prepare() should have at the end this git -c protocol.file.allow=always submodule update instead of git submodule update

madskjeldgaard commented on 2021-06-10 10:12 (UTC)

Hi David It seems that the PKGBUILD is missing the aarch64 architecture and so when installing on Raspberry Pi 4 and similar on Arch Linux Arm it will not build.

I fixed this locally by adding an "aarch64" case, and then moving the cmake generation outside the case detection like seen below. I was unsure of the C and CXX flags for that architecture so I've commend them out for now but perhaps you know what to do with those


build() {
  cd "${_name}"
  _carch="$(uname -m)"
  _cmake_args=""
  echo "$_carch architecture detected."
  case "$_carch" in
    "armv6l")
    export CFLAGS='-march=armv6 -mfpu=vfp -mfloat-abi=hard'
    export CXXFLAGS='-march=armv6 -mfpu=vfp -mfloat-abi=hard'
    _cmake_args="-DSSE=OFF \
                 -DSSE2=OFF \
                 -DSUPERNOVA=OFF \
                 -DNATIVE=OFF \
                 -DSC_QT=OFF \
                 -DSC_ED=OFF \
                 -DSC_IDE=OFF"
    ;;
    "armv7l")
    export CFLAGS='-march=armv7-a -mtune=cortex-a8 -mfloat-abi=hard -mfpu=neon'
    export CXXFLAGS='-march=armv7-a -mtune=cortex-a8 -mfloat-abi=hard -mfpu=neon'
    _cmake_args="-DSSE=OFF \
                 -DSSE2=OFF \
                 -DSUPERNOVA=OFF \
                 -DNATIVE=OFF \
                 -DSC_QT=OFF \
                 -DSC_ED=OFF \
                 -DSC_IDE=OFF"
    ;;
        "aarch64")
    #export CFLAGS='-march=aarch64 -mtune=cortex-a8 -mfloat-abi=hard -mfpu=neon'
    #export CXXFLAGS='-march=aarch64 -mtune=cortex-a8 -mfloat-abi=hard -mfpu=neon'
    _cmake_args="-DSSE=OFF \
                 -DSSE2=OFF \
                 -DSUPERNOVA=OFF \
                 -DNATIVE=OFF \
                 -DSC_QT=OFF \
                 -DSC_ED=OFF \
                 -DSC_IDE=OFF"

    ;;
        *)
                export CFLAGS+=" -DNDEBUG"
                export CXXFLAGS+=" -DNDEBUG"

        ;;
  esac

cmake -DCMAKE_INSTALL_PREFIX='/usr' \
                        -DCMAKE_BUILD_TYPE='None' \
                        -DFORTIFY=ON \
                        -DSC_VIM=OFF \
                        -DSYSTEM_ABLETON_LINK=ON \
                        -DSYSTEM_BOOST=ON \
                        -DSYSTEM_YAMLCPP=ON \
                        ${_cmake_args} \
                        -Wno-dev \
                        -B build \
                        -S .

  make VERBOSE=1 -C build
}

dvzrv commented on 2020-11-19 10:49 (UTC)

Upstream issue here: https://github.com/supercollider/supercollider/issues/5255

This won't be solved until we have rebuild all the things against 1.74.0 (might take a while).

dvzrv commented on 2020-11-19 10:22 (UTC)

@funkz: but, joke aside. there seems to have been a bug introduced with the latest changes to boost. the headers of our system provided boost do net get picked up anymore. I'll open a bug report.

dvzrv commented on 2020-11-19 10:04 (UTC)

funkz: Use Arch Linux ( ;-) ) and don't use yay, but e.g. makepkg or devtools' extra-x86_64-build to build this package. Yay gobbles up the build log and from the output that you have posted it is impossible to tell what went wrong.

funkz commented on 2020-11-19 03:34 (UTC)

Hello everyone, I came across this compilation time error and would appreciate any hint:

Linux 5.8.18-1-MANJARO #1 SMP PREEMPT Sun Nov 1 14:10:04 UTC 2020 x86_64 GNU/Linux

yay -s supercollider-git

.o CMakeFiles/libscide.dir/qrc_resources.cpp.o /usr/bin/ranlib libscide.a make[2]: Leaving directory '/home/a/.cache/yay/supercollider-git/src/supercollider/build' [ 55%] Built target libscide make[1]: Leaving directory '/home/a/.cache/yay/supercollider-git/src/supercollider/build' make: *** [Makefile:182: all] Error 2 make: Leaving directory '/home/a/.cache/yay/supercollider-git/src/supercollider/build' ==> ERROR: A failure occurred in build(). Aborting... error making: supercollider-git

dvzrv commented on 2020-10-13 09:27 (UTC)

@jgjot-singh: update your mirrorlist.