On x86_64, I get this error when attempting to build/install this package:
Submodule 'projects/MiBraids/libsamplerate' (https://github.com/libsndfile/libsamplerate) registered for path 'projects/MiBraids/libsamplerate'
Cloning into '/home/modula/.cache/paru/clone/supercollider-mi-ugens-git/src/supercollider-mi-ugens-git/projects/MiBraids/libsamplerate'...
Submodule path 'projects/MiBraids/libsamplerate': checked out 'c164eaa25ffdeedc7d25e731172cc45a25f483d4'
/home/modula/.cache/paru/clone/supercollider-mi-ugens-git/PKGBUILD: line 45: cd: MiRipples: No such file or directory
==> ERROR: A failure occurred in build().
Aborting...
I tried commenting out MiRipples
from the folders array, but then I got the same error for MiClouds
instead.
I also tried adding cd projects
after the cd "$pkgname"
line, but then I got this error:
CMake Warning (dev) at CMakeLists.txt:4 (project):
cmake_minimum_required() should be called prior to this top-level project()
call. Please see the cmake-commands(7) manual for usage documentation of
both commands.
This warning is for project developers. Use -Wno-dev to suppress it.
-- The C compiler identification is GNU 14.1.1
-- The CXX compiler identification is GNU 14.1.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Warning (dev) in CMakeLists.txt:
No cmake_minimum_required command is present. A line of code such as
cmake_minimum_required(VERSION 3.29)
should be added at the top of the file. The version specified may be lower
if you wish to support older CMake versions for this project. For more
information run "cmake --help-policy CMP0000".
This warning is for project developers. Use -Wno-dev to suppress it.
-- Configuring done (0.4s)
-- Generating done (0.0s)
-- Build files have been written to: /home/modula/.cache/paru/clone/supercollider-mi-ugens-git/src/supercollider-mi-ugens-git/projects/MiRipples/build
[ 33%] Building CXX object CMakeFiles/MiRipples.dir/MiRipples.o
In file included from /usr/share/supercollider-headers/include/plugin_interface/SC_PlugIn.h:25,
from /home/modula/.cache/paru/clone/supercollider-mi-ugens-git/src/supercollider-mi-ugens-git/projects/MiRipples/MiRipples.cpp:33:
/usr/share/supercollider-headers/include/plugin_interface/SC_Unit.h:96:32: error: ‘copyAndCastToTypeOfFirstArg’ function uses ‘auto’ type specifier without trailing return type
96 | [[nodiscard]] inline constexpr auto copyAndCastToTypeOfFirstArg(const ToType&, const Value& value) noexcept {
| ^~~~
/usr/share/supercollider-headers/include/plugin_interface/SC_Unit.h:96:32: note: deduced return type only available with ‘-std=c++14’ or ‘-std=gnu++14’
/usr/share/supercollider-headers/include/plugin_interface/SC_Unit.h: In function ‘constexpr auto copyAndCastToTypeOfFirstArg(const ToType&, const Value&)’:
/usr/share/supercollider-headers/include/plugin_interface/SC_Unit.h:97:26: error: ‘remove_cv_t’ in namespace ‘std’ does not name a template type; did you mean ‘remove_cv’?
97 | using TargetT = std::remove_cv_t<std::remove_reference_t<ToType>>;
| ^~~~~~~~~~~
| remove_cv
/usr/share/supercollider-headers/include/plugin_interface/SC_Unit.h:98:24: error: ‘TargetT’ does not name a type
98 | return static_cast<TargetT>(value);
| ^~~~~~~
make[2]: *** [CMakeFiles/MiRipples.dir/build.make:76: CMakeFiles/MiRipples.dir/MiRipples.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:83: CMakeFiles/MiRipples.dir/all] Error 2
make: *** [Makefile:136: all] Error 2
==> ERROR: A failure occurred in build().
Aborting...
Pinned Comments
madskjeldgaard commented on 2021-06-07 09:53 (UTC)
MiRipples does not build on arm, so I have updated the package to exclude that UGen on any architecture that isn't x86