Package Details: bespokesynth-git 1.1.0.r42.gf93ce26-1

Git Clone URL: https://aur.archlinux.org/bespokesynth-git.git (read-only, click to copy)
Package Base: bespokesynth-git
Description: A software modular synth
Upstream URL: https://www.bespokesynth.com/
Licenses: GPL3
Conflicts: bespokesynth
Provides: bespokesynth
Submitter: milkii
Maintainer: dvzrv
Last Packager: dvzrv
Votes: 8
Popularity: 0.000000
First Submitted: 2020-08-28 18:22 (UTC)
Last Updated: 2021-12-21 14:14 (UTC)

Latest Comments

1 2 3 4 5 Next › Last »

grandchild commented on 2023-04-28 21:52 (UTC) (edited on 2023-05-26 18:58 (UTC) by grandchild)

The things I did to make it build:

diff --git a/PKGBUILD b/PKGBUILD
index 52ec742..905021e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -31,7 +31,7 @@ prepare() {
   git submodule deinit libs/pybind11
   git submodule deinit libs/tuning-library
   git submodule deinit libs/json/jsoncpp
-  git submodule update
+  git -c protocol.file.allow=always submodule update --recursive
 }

 pkgver() {

^ That one I wouldn't recommend for the official PKGBUILD. The protocol.file.allow=always is a security issue! The repo should be patched somehow to not depend on the file:// transport.

The build still fails because some linker flags are in the wrong order.

Inside src/bespokesynth-git/ subdirectory:

diff --git a/Source/CMakeLists.txt b/Source/CMakeLists.txt
index 74f2f866..0e7f842b 100644
--- a/Source/CMakeLists.txt
+++ b/Source/CMakeLists.txt
@@ -854,6 +854,8 @@ target_link_libraries(BespokeSynth PRIVATE
     $<$<BOOL:${MINGW}>:dbghelp>
     )

+target_link_options(BespokeSynth BEFORE PUBLIC -Wl,--copy-dt-needed-entries)
+
 bespoke_copy_resource_dir(BespokeSynth)
 bespoke_make_portable(BespokeSynth)

(not sure the BEFORE is strictly necessary.)

It would then complain about an empty libs/link/cmake_include/../modules/asio-standalone/asio/include path in between you have initialize the inner submodule for the link library:

git -C src/bespokesynth-git submodule deinit libs/link
git -C src/bespokesynth-git submodule update --recursive --init libs/link

(I have no idea why the --recursive flag to git submodule update in the PKGBUILD doesn't also do this.)

Then run makepkg -e (i.e. "no-extract") to not overwrite the CMakeLists.txt change again.

grandchild commented on 2023-04-28 20:41 (UTC)

@flome seems to be this: https://vielmetti.typepad.com/logbook/2022/10/git-security-fixes-lead-to-fatal-transport-file-not-allowed-error-in-ci-systems-cve-2022-39253.html

flome commented on 2023-03-25 12:08 (UTC)

/src/bespokesynth-git/libs/oddsound-mts/MTS-ESP'... fatal: transport 'file' not allowed src/bespokesynth-git/libs/oddsound-mts/MTS-ESP' failed Failed to clone 'libs/oddsound-mts/MTS-ESP' a second time, aborting ==> ERROR: A failure occurred in prepare(). Aborting...

wsippel commented on 2022-02-09 20:16 (UTC)

@TheEgg I had to disable the devendoring steps for juce to get VST2 support working. Guess the build Arch ships simply doesn't support VST2. Maybe not best practice, but I got it working by removing the juce deinit step in the prepare section and the two lines mentioning juce in the build section.

dvzrv commented on 2022-01-06 09:02 (UTC)

I will look into devendoring abletonlink upstream in a bit. Currently not at home.

apoorv569 commented on 2021-12-31 07:21 (UTC)

Can confirm @evilscientress solution fixed the problem.

evilscientress commented on 2021-12-30 22:20 (UTC)

I have the issue with the missing asio submodule as well. It's caused by the asio submodule in the ableton link submodule not being initialized and updated. It can easily be fixed by adding this at the end of the prepare function.

  cd libs/link
  git submodule update --init

GeBo commented on 2021-12-23 13:08 (UTC) (edited on 2021-12-23 13:08 (UTC) by GeBo)

Okay, I found out that in the libs directory on the github page for bespokesynth, there is a link to Ableton, called link. This one seems to be included.

But when I go further in the modules directory, there is another link, called asio-standalone. It seems that only this empty directory is present, and not the contents.

This link on the github page is a reference to https://github.com/chriskohlhoff/asio.git. I downloaded (git clone) that git and placed the folder called asio, which is within asio (asio/asio !) to the above mentioned asio-standalone folder.

After this, bespokesynth compiles fine.

GeBo commented on 2021-12-22 22:34 (UTC)

I get underneath error too, during an update. I already removed the bespokesynth-git path to build with freshly downloaded files, but still that error exists.