Package Details: ctrlr 5.7.1-2

Git Clone URL: https://aur.archlinux.org/ctrlr.git (read-only, click to copy)
Package Base: ctrlr
Description: Control any MIDI enabled hardware: synthesizers, drum machines, samplers, effects. Create custom user interfaces. Host them as VST3 plugins in your favorite DAWs.
Upstream URL: https://github.com/RomanKubiak/ctrlr
Licenses: BSD
Groups: pro-audio
Conflicts: ctrlr
Provides: ctrlr
Submitter: ngeiswei
Maintainer: sethkush
Last Packager: sethkush
Votes: 0
Popularity: 0.000000
First Submitted: 2022-04-07 07:11 (UTC)
Last Updated: 2026-02-14 00:32 (UTC)

Latest Comments

andrejr commented on 2026-03-22 11:34 (UTC)

You need this to build it w/ the newest binutils.

diff --git a/PKGBUILD b/PKGBUILD
index d265fe8..179b6fa 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@

 pkgname=ctrlr
 pkgver=5.7.1
-pkgrel=2
+pkgrel=3
 pkgdesc="Control any MIDI enabled hardware: synthesizers, drum machines, samplers, effects. Create custom user interfaces. Host them as VST3 plugins in your favorite DAWs."
 arch=('x86_64')
 url="https://github.com/RomanKubiak/ctrlr"
@@ -36,6 +36,22 @@ prepare() {
    sed -i 's/bfd_copy_private_section_data(ihandle, iscn, ohandle, oscn)/bfd_copy_private_section_data(ihandle, iscn, ohandle, oscn, NULL)/g' \
        Source/Misc/libr-bfd.c

+   # Fix removed bfd_set_reloc helper in binutils >= 2.46
+   sed -i '/if(reloc_size == 0)/,/bfd_set_reloc(ohandle, oscn, reloc_buffer, reloc_count);/c\
+       if(reloc_size == 0)\
+       {\
+           oscn->orelocation = NULL;\
+           oscn->reloc_count = 0;\
+       }\
+       else\
+       {\
+           reloc_buffer = malloc(reloc_size);\
+           reloc_count = bfd_canonicalize_reloc(ihandle, iscn, reloc_buffer, symtab_buffer);\
+           oscn->orelocation = reloc_buffer;\
+           oscn->reloc_count = reloc_count;\
+       }' Source/Misc/libr-bfd.c
+   sed -i '/oscn->reloc_count = reloc_count;/{n;/^[[:space:]]*}$/d;}' Source/Misc/libr-bfd.c
+
    # Disable JUCE_DEBUG (causes jassertfalse to abort on non-fatal assertions)
    sed -i 's/JUCE_DEBUG=1/JUCE_DEBUG=0/' CMakeLists.txt
 }

aubin commented on 2026-02-21 14:16 (UTC) (edited on 2026-02-21 14:16 (UTC) by aubin)

I finally found a more maintained fork here : https://github.com/damiensellier/CtrlrX

I build it with additional information from there : https://github.com/damiensellier/CtrlrX/issues/197

aubin commented on 2026-02-21 08:39 (UTC) (edited on 2026-02-21 08:40 (UTC) by aubin)

ctrlr 5.7.1-2 won't build for me :

   [ 67%] Building C object CMakeFiles/ctrlr.dir/Source/Misc/libr-bfd.c.o
    cc1: warning: command-line option ‘-Woverloaded-virtual=2’ is valid for C++/ObjC++ but not for C
    cc1: warning: command-line option ‘-Wreorder’ is valid for C++/ObjC++ but not for C
    [ 67%] Building CXX object CMakeFiles/ctrlr.dir/Source/Misc/keys.cpp.o
    /home/pouet/ctrlr/src/ctrlr/Source/Misc/libr-bfd.c: In function ‘build_output’:
    /home/pouet/ctrlr/src/ctrlr/Source/Misc/libr-bfd.c:310:25: error: implicit declaration of function ‘bfd_set_reloc’; did you mean ‘bfd_set_error’? [-Wimplicit-function-declaration]
    310 |                         bfd_set_reloc(ohandle, oscn, NULL, 0);
        |                         ^~~~~~~~~~~~~
        |                         bfd_set_error
    make[2]: *** [CMakeFiles/ctrlr.dir/build.make:3067: CMakeFiles/ctrlr.dir/Source/Misc/libr-bfd.c.o] Error 1
    make[2]: *** Waiting for unfinished jobs....
    make[1]: *** [CMakeFiles/Makefile2:177: CMakeFiles/ctrlr.dir/all] Error 2
    make: *** [Makefile:136: all] Error 2
    ==> ERROR: A failure occurred in build().
        Aborting..

BrainDamage commented on 2026-02-17 09:37 (UTC)

This package needs to have unzip added to the makedeps, or it'll fail to build in a clean chroot:

pkgbuilds/ctrlr/PKGBUILD: line 27: unzip: command not found