@keldrin use a command that delete the src folder after the package is build, I'm using alias mkpkg="LANG=C makepkg -scC"
mv is used in prepare() but building again with previous builds artifacts is not reccomended
| Git Clone URL: | https://aur.archlinux.org/tenacity-git.git (read-only, click to copy) |
|---|---|
| Package Base: | tenacity-git |
| Description: | An easy-to-use multi-track audio editor and recorder, forked from Audacity |
| Upstream URL: | https://tenacityaudio.org |
| Keywords: | audacity audio audio-applications audio-processing floss libre privacy-friendly privacy-preserving recorder recording-app |
| Licenses: | GPL2, CCPL |
| Groups: | pro-audio |
| Conflicts: | tenacity |
| Provides: | tenacity |
| Submitter: | Darkpelz |
| Maintainer: | FabioLolix |
| Last Packager: | FabioLolix |
| Votes: | 87 |
| Popularity: | 0.010538 |
| First Submitted: | 2021-07-07 11:51 (UTC) |
| Last Updated: | 2023-12-23 15:01 (UTC) |
« First ‹ Previous 1 2 3 4 5 6 7 .. 17 Next › Last »
@keldrin use a command that delete the src folder after the package is build, I'm using alias mkpkg="LANG=C makepkg -scC"
mv is used in prepare() but building again with previous builds artifacts is not reccomended
Building the package fails to this error:
/home/myuser/.cache/yay/tenacity-git/PKGBUILD: line 47: cd: images/icons: No such file or directory
==> ERROR: A failure occurred in prepare().
Aborting...
-> error making: tenacity-git-exit status 4
-> Failed to install the following packages. Manual intervention is required:
tenacity-git - exit status 4
libzip appears to be a make dependency, as it doesn't seem to build without it installed
I just built it and it took less than a minute. Definitely something on your end.
@xAsh have you edited your makepkg.conf? https://wiki.archlinux.org/title/Makepkg#Parallel_compilation anyway this isn't into lightest package to build
wondering if anyone else has issues with this package taking ages to compile? I'm using yay, and the step "[100%] Built target mod-script-pipe" takes around 10min
makepkg have options to clean caches (-c and -C, don't remember which is src and which is pkg) and you should be able to pass them to your helper in some way, not gonna to add that to any of my pkgbuilds
I have to manually delete the cache files of ~/.cache/paru/clone/tenacity-git fairly regularly to get this package to not hold up my paru -Syua
Maybe a update to the prepare function is in order to clear out old git files, or build directory similar to
prepare() {
# Format: cd "${srcdir}/${_gitdirname}"
cd "${srcdir}"
# Delete previous git
if [[ -d tenacity ]]; then
rm -rf tenacity
fi
}
Edit:
After a second look, maybe this would be enough:
prepare() {
# Format: cd "${srcdir}/${_gitdirname}"
cd "${srcdir}/tenacity"
# Delete previous git
if [[ -d build ]]; then
rm -rf build
fi
}
@xAsh can confirm, libnyquist is now a git submodule and need to be configured
won't compile:
CMake Error at CMakeLists.txt:739 (add_subdirectory): The source directory
/home/me/.cache/yay/tenacity-git/src/tenacity/lib-src/libnyquist
does not contain a CMakeLists.txt file.
Pinned Comments