You are not logged in.
Hi all
Although I've been running Arch for a couple of years, I've never had to run makepkg -si on a PKGBUILD file, but as they say, there's always a first time.
Background:
I'm trying to install Davinci Resolve Studio. The current AUR package fails giving me the following error:
j-desktop% paru -S davinci-resolve-studio
:: Resolving dependencies...
:: Calculating conflicts...
:: Calculating inner conflicts...
:: marked out of date: davinci-resolve-studio
Aur (1) davinci-resolve-studio-18.1.4-1
:: Proceed to review? [Y/n]:
:: Downloading PKGBUILDs...
PKGBUILDs up to date
nothing new to review
fetching devel info...
==> Making package: davinci-resolve-studio 18.1.4-1 (Sun 13 Aug 2023 18:51:00 BST)
==> Retrieving sources...
-> Found DaVinci_Resolve_Studio_18.1.4_Linux.zip
==> Validating source files with sha256sums...
DaVinci_Resolve_Studio_18.1.4_Linux.zip ... FAILED
==> ERROR: One or more files did not pass the validity check!
error: failed to download sources for 'davinci-resolve-studio-18.1.4-1':
error: packages failed to build: davinci-resolve-studio-18.1.4-1
j-desktop%
It sounds like I need to edit the PKGBUILD file myself to unblock myself.
My Plan:
I first need to learn to install things from a PKGBUILD file. As I said earlier, I've not done that before.
Now make edits to the PKGBUILD file, and re-install
I am failing on 1. Or at least I think I am, cause what I'm seeing doesn't make sense to me.
Exact steps taken:
Copy the contents of the PKGBUILD file into ~/downloads/temp/PKGBUILD
Then when in that directory, I ran makepkg -si
Here's the output:
~/downloads/temp ❯ makepkg -si 13:47:46
==> Making package: davinci-resolve-studio 18.1.4-1 (Mon 28 Aug 2023 13:47:49 BST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Found DaVinci_Resolve_Studio_18.1.4_Linux.zip
==> Validating source files with sha256sums...
DaVinci_Resolve_Studio_18.1.4_Linux.zip ... FAILED
==> ERROR: One or more files did not pass the validity check!
~/downloads/temp ❯ 13:47:49
So, it is the same validity check error which is good, however, when I run ls ~/downloads/temp I see the following:
~ ❯ ls -lah ~/downloads/temp 13:51:18
total 16K
drwxr-xr-x 1 j j 100 Aug 28 13:22 .
drwxr-xr-x 1 j j 272 Aug 28 13:19 ..
-rw-r--r-- 1 j j 553 Aug 28 13:22 DaVinci_Resolve_Studio_18.1.4_Linux.zip
-rw-r--r-- 1 j j 9.4K Aug 28 13:20 PKGBUILD
drwxr-xr-x 1 j j 0 Aug 28 13:22 src
~ ❯ 13:51:39
Notice how the downloaded zip file is only 553 bytes! That can't be right can it? This leads me to think that my attempt has failed and something is going wrong. If I go to their website and download the zip through the browser, it is about 4.7Gb.
What am I missing? am I right that something isn't right?
Offline
file DaVinci_Resolve_Studio_18.1.4_Linux.zip
It's perhaps a html page?
Otherwise delete the file and try makepkg again.
Offline
Mod note: moving to AUR Issues.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
I tried with the PKGBUILD provided in this comment and at least the download starts (It's 4Gb so I stopped it). That PKBUILD is for version 18.5.1 and the one you are trying to build is 18.4.1, which (I'm guessing, I did not check) is no longer available.
Could you try with the linked PKGBUILD?
Offline