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 »

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.

jgjot-singh commented on 2020-10-13 07:57 (UTC) (edited on 2020-10-13 07:57 (UTC) by jgjot-singh)

I got this output when trying to install:

Errors occurred, no packages were upgraded.
==> ERROR: 'pacman' failed to install missing dependencies.
==> Missing dependencies:
-> abletonlink
-> emacs
-> yaml-cpp
-> xorg-server-xvfb
==> ERROR: Could not resolve all dependencies.
:: failed to build supercollider-git package(s)

So I tried to install those four packages first, but emacs just gives me dozens of 404s and fails to install.

What can I do here ?

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

@kflak: No worries! It could also be due to the higher optimization, but in reality that usually does not squeeze much out of a binary...