You are not logged in.
Hi to all,
after some time i returned to this forumm.
Thanks for preoviuos help i'm starting to understand something but the most part remain dark ![]()
Anyway i'm trying to do my best to trasform my laptop in a good music machine.
Now i have a arch linux installed with 6.3.2-arch1-1 and using xmonad with this mod: https://github.com/Axarva/dotfiles-2.0/. I know this mod could be a problem but 'im trying to understand to manage the plugin.
Now i have pipewire installed with wireplumber.
Also Carla installed and master keyborad that works very well. Also Audacity have no problems.
Before installing an external audio card, i'd like to install some synth.
Have installed the calf plugin, after some problems, and now i'm trying to install Zynaddsubfx from here https://aur.archlinux.org/packages?O=0& … &submit=Go
I downloaded the dir in a home folder with my standard user.
Created a new dir and start.
I haven't ever compiled nothing, so i studied something about cmake to create cmake file and start to build.
I read the log after something build wrong, but now i'm stuck
this is the ouuput of
cmake ..and this for
makeI installed SNDIO and all the packges listed in the cmake output but can't understand why.
Sorry i never used Cmake, i read the basic, i don't want to waster your time and i know there is the wiki.
I read it but i can't go forward. Have you some suggestions?
Thanks!
Last edited by gabtram (2023-06-25 07:40:29)
Offline
You need to read https://wiki.archlinux.org/title/Arch_User_Repository
But why the AUR when it's in Extra?
Last edited by Scimmia (2023-06-15 15:59:45)
Offline
Hi,
thanks for your response.
This is what i do:
tar -xf zynaddsubfx-3.0.6.tar.bz2
91 mv zynaddsubfx-3.0.6 /home/builds/
92 ls -la
93 cd /home/builds/
94 ls
95 ls -la
96 cd zynaddsubfx-3.0.6
97 ls
98 ls -la
99 mkdir build
100 cd build/
101 cmake ..I read that and i cant use pkgbuild cause it don't have the the package file. So mayvbe i'm wrong but in the dir i can't fine the pkgbuild so i can't install it with building the package and then install it via pacman but i have to create build files and then launch make with c++ files.
Please i can't figured the errors from make http://ix.io/4yjo.
Maybe it's something related with this package, don't know
Thanks for your help
EDIT: Now i remember all, i tried to build directly from the tar package with cmake cause, when i tried to install and create the package for pacman install i receive this:
EDIT: sorry i understand, i'm trying to makepkg. I posted you developments. Bye
The text leading up to this was:
--------------------------
|diff --git i/test-libversion.c w/test-libversion.c
|index 808c01f..a122585 100644
|--- i/test-libversion.c
|+++ w/test-libversion.c
--------------------------
File to patch: test-libversion.c
test-libversion.c: No such file or directory
Skip this patch? [y] y
Skipping patch.
1 out of 1 hunk ignored
==> ERROR: A failure occurred in prepare().
Aborting...
home/builds/zynaddpkg/zynaddsubfx-gAnd i don't know what to do. What is the right file, d you know something
Last edited by gabtram (2023-06-16 15:13:34)
Offline
Moving to AUR issues
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
Thanks!
Offline
Did you solve the issue? If so could you please explain how. If not could you explain why you are attempting to build the package rather than use zynaddsubfx as Scimmia asked in post #2 or use the PKGBUILD of that package?
Offline
Hi to all,
no i don't resolve the issue.
Let me explain: i tried to use the default way to install the package.
I try to install the package as:
https://aur.archlinux.org/packages/zynaddsubfx-git while Scimmia said me that the is in Extra: https://archlinux.org/packages/extra/x8 … naddsubfx/
The first erro maybe was to clone the git repo?
git clone https://aur.archlinux.org/zynaddsubfx-git.gitHow can i download the pkg from here? https://archlinux.org/packages/extra/x8 … naddsubfx/
Anyway after downloaded the pkg cloning git repo, i make the package with
makepkg -ii receive this error
==> Starting prepare()...
Submodule 'deps/libuv' (https://github.com/libuv/libuv) registered for path 'deps/libuv'
Cleared directory 'deps/libuv'
error: could not lock config file .git/modules/deps/libuv/config: No such file or directory
warning: Could not unset core.worktree setting in submodule 'deps/libuv'
Submodule 'deps/libuv' (https://github.com/libuv/libuv) unregistered for path 'deps/libuv'
patching file src/Plugin/ZynAddSubFX/ZynAddSubFX-UI-Zest.cpp
can't find file to patch at input line 5
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff --git i/test-libversion.c w/test-libversion.c
|index 808c01f..a122585 100644
|--- i/test-libversion.c
|+++ w/test-libversion.c
--------------------------
File to patch:
Skip this patch? [y] y
Skipping patch.
1 out of 1 hunk ignored
==> ERROR: A failure occurred in prepare().
Aborting...Sorry but i don't why can't upload to xi
Instead if download the tar.gz source code and then try to use cmake to compile it the compilation stops at the begging also sai thet SNDIO lib is not installed while in the meantime i installed it, but i have no experience really with cmake and compile from source code (i want to learn something maybe in the future to modify something).
My question is how can i download from here https://archlinux.org/packages/extra/x8 … naddsubfx/ instead? there is no a git?
I have to clone this? https://gitlab.archlinux.org/archlinux/ … ynaddsubfx
Thanks!
Offline
If i make the package from this https://gitlab.archlinux.org/archlinux/ … ynaddsubfx
I receive the same error that i had when i tried to compile from source code.
/home/builds/zynaddpkg/zynaddsubfx/src/zynaddsubfx-3.0.6/src/Misc/Bank.h:28:7: note: ‘class zyn::Bank’ defined here
28 | class Bank
| ^~~~
make[2]: *** [src/CMakeFiles/zynaddsubfx_core.dir/build.make:440: src/CMakeFiles/zynaddsubfx_core.dir/Misc/Bank.cpp.o] Error 1
make[2]: Leaving directory '/home/builds/zynaddpkg/zynaddsubfx/src/build'
make[1]: *** [CMakeFiles/Makefile2:569: src/CMakeFiles/zynaddsubfx_core.dir/all] Error 2
make[1]: Leaving directory '/home/builds/zynaddpkg/zynaddsubfx/src/build'
make: *** [Makefile:146: all] Error 2
==> ERROR: A failure occurred in build().
Aborting...What could be?
Sorry if i'm not always precise, i'm learning how arch works, repo and so on.
Thanks!
Offline
See Pacman#Installing_packages to install zynaddsubfx from extra using pacman.
Edit:
To build it from source requires two additional commits for changes in gcc 13:
https://github.com/zynaddsubfx/zynaddsu … 53a1ed1707
https://github.com/zynaddsubfx/zynaddsu … 9e03341d8c
The diff for a very rough fix is:
diff --git a/PKGBUILD b/PKGBUILD
index b222182..1b93352 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -48,6 +48,8 @@ source=(
$pkgname-mruby-zest-build-3.0.6-system_wide_location.patch
$pkgname-mruby-zest-build-3.0.6-cflags_ldflags.patch
$pkgname-mruby-zest-build-3.0.6-makefile_find.patch
+ https://github.com/zynaddsubfx/zynaddsubfx/commit/70905c96fe7b9ffde19bc4bc05b0dc53a1ed1707.patch
+ https://github.com/zynaddsubfx/zynaddsubfx/commit/f384d92486d6b515cb628d0f52008a9e03341d8c.patch
)
sha512sums=('86311f00d97e20c7eb22a46c99736c56765ed9737e728ef380a324e4a92c731086ed74f5d7bfeae104b690ab1ee1b40bfb8f240bc4c46f8afd47308ec48cbcea'
'c84d185e7bcc3d7b0bd44941999b9b14638e230c5c5d86b487a39d6b793b56649b6aacde8d27b0aef567eaa3d381d3906d7bd31fd5fd74d5a662e21d188fcdc9'
@@ -74,7 +76,9 @@ sha512sums=('86311f00d97e20c7eb22a46c99736c56765ed9737e728ef380a324e4a92c731086e
'd7ef0b4e8068d1d09d34c913d7b70342eaaa2eb8dae619d223e3e03ac667cf76c6e5615b60efabaf7eae594e3a5d6f40bc0cf10b8e939da1aa349bc27dff4ea8'
'2a6b57df3a9ffac669341d37739b281ce32696f82d82ee17220fdc9e426729d40f91cf50e1b58b7be1cc9bc5651d99794ae5e1bbd32f25c14aaf489989e10aab'
'a3912a879cb78565934a5cdea97ac1623f65a02d26ded548d851cd271da62390eb3fa9f26dfff153eb2d18c5bf30ba47e19fcbf1985e4b03772d2df936998511'
- '85174aeb46883b330bdeccb3519c30e14270cd1f6088970869af55c7d9edce3db0a6132fd4dec23120af5386463e31ee3d8abb093f9f4c81607deafbc6d2fae2')
+ '85174aeb46883b330bdeccb3519c30e14270cd1f6088970869af55c7d9edce3db0a6132fd4dec23120af5386463e31ee3d8abb093f9f4c81607deafbc6d2fae2'
+ 'ee951991ba78f6009090e810804f152ca0f16ebb97694573a9f7ff098a5201905aee445e9b4a159da2e759c6828e4b0836ee35046c9a0763b0c957cea308a2a3'
+ '8052632dd264b00936758c1f9efb33e5d1b7f61896f01a2f0d27adfb1cc0c036298ac5c1540dc0286453fe6f2c929da13645e42902693fa7bb6f7331e5a0094c')
b2sums=('4adbeffb9bc0bd77bf81a6734f5c26fc676426e644e27cebb8e54e8d74d869c0e1b468782cd1a64aacef8f9b788d434a8d30a194944650eea03c4fd146ee7bf7'
'd9586ef1dd7866963d342f9be8def639ab4428a173f8abc2e503643d87e2c9087ff8d6af538df7c8f8df8f8facd409e8665735ef905deae8dfe3a840de340ea1'
'68a24898a4646c6d84e782c4e31a962de456fa315d5c398c16b013efa684683f80cc411bf51628bb9cff799fc77f669d56e5d44af5938e05d0ec64322ad30ec7'
@@ -100,11 +104,15 @@ b2sums=('4adbeffb9bc0bd77bf81a6734f5c26fc676426e644e27cebb8e54e8d74d869c0e1b4687
'2f1782fd907fb0e284c16ee0f09e1d93d05984676707da2d9d47038880e723379535f8d3934f97753cc9a6865aed957a1c230840dda3a2cb49a26cb4ff2cd034'
'69ccb494e863caf8e47eaa70609940d532cfae6265eeffc626f24ed6a2290511d828d63405a7560fd567b0ab01bdabedd85aa3fe28bec5a638477654f9440f40'
'cab9048aede5bd346493ede996752b902f78de95de97310622caa0f7e473eba46159f1ee5fc925cf9ffc3cf1bd3f98c6dac521f354ac1be074346015bf9ded14'
- '1d90dd20faf7b2b4b50417b8f614779237c29c2f721c1e0b9c3a7546f9cf991983e05821d204d2d39931d42083fb348683306e8107438a1ed94d2fa34d90606b')
+ '1d90dd20faf7b2b4b50417b8f614779237c29c2f721c1e0b9c3a7546f9cf991983e05821d204d2d39931d42083fb348683306e8107438a1ed94d2fa34d90606b'
+ 'ad0d24e5091cad017e74a6c6da256a0fc4e2fd9b2639fc332523b81ef29ad8be9aa945a399f2b214e35961a4f07c0de2ab4d441b3ac5e83d2139b4dd615d9b68'
+ 'ac2a63baa3d7b4bd29a23dfd2d33efce34fa77b8f080aae0cdca646e322a6579b30f10a4102de32aa25dd4b142db0b7110c89dd62efd6ce6bc5825da21c11a78')
prepare() {
# https://github.com/zynaddsubfx/zynaddsubfx/pull/170
# https://github.com/zynaddsubfx/zynaddsubfx/pull/171
+ patch -Np1 -d $pkgname-$pkgver -i ../70905c96fe7b9ffde19bc4bc05b0dc53a1ed1707.patch
+ patch -Np1 -d $pkgname-$pkgver -i ../f384d92486d6b515cb628d0f52008a9e03341d8c.patch
patch -Np1 -d $pkgname-$pkgver -i ../$pkgname-3.0.6-system_rtosc.patch
# load libzest.so from custom system location in /usr/lib/zynaddsubfx/
patch -Np1 -d $pkgname-$pkgver -i ../$pkgname-3.0.6-libzest_location.patchLast edited by loqs (2023-06-17 17:51:35)
Offline
Hi Loqs,
thanks really. Now i've understand. I read the wiki but i got confsued with 2 version of this software. Anyway installed from extra works like a charm.
Thanks also for the explanation to apply patch. I'm sure i will need it in the future!
Have a good day!
Gabriele
Offline