chmod: cannot access '/home/steve/.cache/pacaur/davinci-resolve /src/DaVinci_Resolve_18.6.0_Linux.run': No such file or directory ==> ERROR: A failure occurred in prepare().
I tried manually renaming, but that didn't work.
Git Clone URL: | https://aur.archlinux.org/davinci-resolve.git (read-only, click to copy) |
---|---|
Package Base: | davinci-resolve |
Description: | Professional A/V post-production software suite from Blackmagic Design |
Upstream URL: | https://www.blackmagicdesign.com/support/family/davinci-resolve-and-fusion |
Keywords: | blackmagic davinci editor resolve video |
Licenses: | LicenseRef-Commercial |
Conflicts: | davinci-resolve-beta, davinci-resolve-studio, davinci-resolve-studio-beta |
Submitter: | jonathon |
Maintainer: | Muflone |
Last Packager: | Muflone |
Votes: | 150 |
Popularity: | 2.62 |
First Submitted: | 2017-04-19 20:57 (UTC) |
Last Updated: | 2025-03-22 03:49 (UTC) |
« First ‹ Previous 1 .. 9 10 11 12 13 14 15 16 17 18 19 .. 60 Next › Last »
chmod: cannot access '/home/steve/.cache/pacaur/davinci-resolve /src/DaVinci_Resolve_18.6.0_Linux.run': No such file or directory ==> ERROR: A failure occurred in prepare().
I tried manually renaming, but that didn't work.
@pmatos @smw
Do not install libc++ from the AUR just use the regular repo:
Can someone please change the packagebuild, that i can install it normal over yay. I don´t know where i can change the diff --git a/PKGBUILD b/PKGBUILD line. Yes i am stupid, but i think it should work for stupid users too.
@smw the workaround didn't work for me (resolve hangs at startup), but I didn't install libc++ from AUR. which package are you referring to?
@gamegard68
Thank you for the libc++ workaround! I can confirm that it worked for me, but I had to install libc++ from the AUR first.
A workaround:
cd /opt/resolve/libs
sudo mv libc++.so.1 libc++.so.1.orig
sudo ln -s /usr/lib/libc++.so.1.0 libc++.so.1
Upgraded to version 18.6 successfully after adapting the PKGBUILD file. But cannot start the program anymore:
/opt/resolve/bin/resolve: symbol lookup error: /opt/resolve/bin/../libs/libdavcloudclient.so: undefined symbol: _ZTVNSt3__14__fs10filesystem16filesystem_errorE
Strange error now
==> Starting prepare()...
~/workspace/davinci-resolve/src ~/workspace/davinci-resolve/src
chmod: cannot access './davinci-resolve/src/DaVinci_Resolve_18.6.0_Linux.run': No such file or directory
==> ERROR: A failure occurred in prepare().
Aborting...
The unpacked run file davinci-resolve/src/DaVinci_Resolve_18.6.0_Linux.run actually says 18.6 not 18.6.0. I did this...
index 66c5c48..80ad87b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -9,6 +9,7 @@
# It can be obtained from chromium -> Developer Tools -> Network -> XHR -> click latest-version and copy downloadId
pkgname=davinci-resolve
+major_version=18.6
pkgver=18.6.0
pkgrel=1
@@ -20,6 +21,7 @@ if [ "$pkgname" == "davinci-resolve" ]; then
sha256sums=('18f391cc522a336553a32c0c8c3eb0f47e0f7478687a08aae1acbf49bfa34560')
pkgdesc='Professional A/V post-production software suite from Blackmagic Design'
_archive_name=DaVinci_Resolve_${pkgver}_Linux
+ _archive_run_name=DaVinci_Resolve_${major_version}_Linux
conflicts=('davinci-resolve-studio' 'davinci-resolve-beta' 'davinci-resolve-studio-beta')
elif [ "$pkgname" == "davinci-resolve-studio" ]; then
# Variables for STUDIO edition
@@ -29,6 +31,7 @@ elif [ "$pkgname" == "davinci-resolve-studio" ]; then
sha256sums=('85d10ad79ecd033c782bcb6ad27e0cb5ac190e9ef4dbd517282bc4dbe045a080')
pkgdesc='Professional A/V post-production software suite from Blackmagic Design. Studio edition, requires license key or license dongle.'
_archive_name=DaVinci_Resolve_Studio_${pkgver}_Linux
+ _archive_run_name=DaVinci_Resolve_Studio_${major_version}_Linux
conflicts=('davinci-resolve' 'davinci-resolve-beta' 'davinci-resolve-studio-beta')
fi
@@ -102,7 +105,7 @@ makedepends=('libarchive' 'xdg-user-dirs' 'patchelf' 'jq')
options=('!strip')
_archive=${_archive_name}.zip
-_installer_binary=${_archive_name}.run
+_installer_binary=${_archive_run_name}.run
source=("${_archive}"::"$_srcurl")
prepare()
There's a small error in 18.6.0. In particular,
_installer_binary=${_archive_name}.run
...which makes sense, except that ${_archive_name} is "DaVinci_Resolve_18.6.0_Linux", but the actual file is "DaVinci_Resolve_18.6_Linux.run" (notice 18.6, not 18.6.0).
Editing this in the PKGBUILD fixes the problem. I took the easy way out and just added the line
_installer_binary="DaVinci_Resolve_18.6_Linux.run"
immediately after the existing version above (line 105 of the unedited file).
Pinned Comments
Muflone commented on 2025-01-26 00:55 (UTC)
IMPORTANT!
Since version 19.1.3-2 this package will not download automatically the source file from the upstream site.
To build this package you will need to manually download the file from https://www.blackmagicdesign.com/support/family/davinci-resolve-and-fusion and place it in the same directory with the PKGBUILD.
This would reduce the mess in this package, making it more readable and clear. Also bypassing the required information from the upstream URL is not allowed in an automated way.
satriani commented on 2021-05-15 14:14 (UTC)
Issues and bugs, please report on the official forum here: https://forum.blackmagicdesign.com/viewforum.php?f=21&sid=239f0d5c49abe5d6a635b69638192e9a Thank you!
Visit DaVinci Resolve - ArchWiki before installing: https://wiki.archlinux.org/title/DaVinci_Resolve
ATTENTION: Please don't flag this package as out-of-date before beta version has been released as stable!
This is a current stable Package!
The current free beta is available here: https://aur.archlinux.org/packages/davinci-resolve-beta/
And for current studio beta here: https://aur.archlinux.org/packages/davinci-resolve-studio-beta/
Thanks.