Package Details: decklink-sdk 1:14.2-1

Git Clone URL: https://aur.archlinux.org/decklink-sdk.git (read-only, click to copy)
Package Base: decklink-sdk
Description: Blackmagic DeckLink SDK
Upstream URL: https://www.blackmagicdesign.com/support/family/capture-and-playback
Licenses: LicenseRef-custom
Conflicts: blackmagic-decklink-sdk
Provides: blackmagic-decklink-sdk
Replaces: blackmagic-decklink-sdk
Submitter: alub
Maintainer: dbermond
Last Packager: dbermond
Votes: 50
Popularity: 0.000607
First Submitted: 2011-05-26 11:54 (UTC)
Last Updated: 2024-08-16 02:31 (UTC)

Latest Comments

1 2 3 4 5 6 .. 8 Next › Last »

Meow0x7E commented on 2025-04-11 09:41 (UTC)

I tried building in a clean chroot, but it still doesn't work

I don't think it's a serious problem anymore though, since I can still download the zip manually and hand it over to makepkg.

❯ CHROOT=/home/Meow0x7E/Desktop/chroot
❯ mkdir $CHROOT
❯ mkarchroot $CHROOT/root base-devel
❯ arch-nspawn $CHROOT/root pacman -Syu
❯ makechrootpkg -c -r $CHROOT
==> Synchronizing chroot copy [/home/Meow0x7E/Desktop/chroot/root] -> [Meow0x7E]...done
==> Making package: decklink-sdk 1:14.2-1 (Fri Apr 11 17:35:13 2025)
==> Retrieving sources...
==> ERROR: Blackmagic_DeckLink_SDK_14.2.zip was not found in the build directory and is not a URL.
==> ERROR: Could not download sources.

dbermond commented on 2025-04-07 19:37 (UTC)

@Meow0x7E I have no idea why it is not working for you, sorry. You can try to build the package in a clean chroot and check if it works (it should work).

Meow0x7E commented on 2025-04-07 07:10 (UTC)

I tried running the _srcurl part separately after adding the --verbose parameter to curl and it returned a 301 redirected html

I tried accessing http://www.blackmagicdesign.com/api/register/us/download/ directly with my browser f874ba6ae24e436fba84e3be19d2caff, but the page says page not found.

I tried accessing https://www.blackmagicdesign.com/support/download/3e5783ec92f34cd19791dcca353c7b79/Linux again and manually filled in _reqjson. This time I got a zip named Blackmagic_DeckLink_SDK_14.2.zip, I tried to manually move the zip to a directory on the same level as PKGBUILD and ran makepkg -si again this time without any problems. Everything executes normally and I'm not sure what's interfering with curl getting the links. What other information can I give you to analyze?

dbermond commented on 2025-04-05 13:40 (UTC)

@Meow0x7E I cannot reproduce your issue. I've just checked with the exact same command you provided, and the package is building fine. Sources are being downloaded without any problem.

Meow0x7E commented on 2025-04-05 10:35 (UTC) (edited on 2025-04-05 10:36 (UTC) by Meow0x7E)

When trying to build this package makepkg reports an error and then the build fails. can you fix it?

❯ LC_ALL=en_US.UTF-8 makepkg -si
==> Making package: decklink-sdk 1:14.2-1 (Sat 05 Apr 2025 06:32:15 PM CST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
==> ERROR: Blackmagic_DeckLink_SDK_14.2.zip was not found in the build directory and is not a URL.

dbermond commented on 2023-07-12 16:37 (UTC)

@TurnoffNOD I've just checked, and the package is building fine. Your log shows that you are using an AUR helper, and this is not supported. Please use makepkg.

TurnoffNOD commented on 2023-07-12 07:24 (UTC) (edited on 2023-07-12 07:26 (UTC) by TurnoffNOD)

Hi, the latest PKGBUILD still build failed:

AUR Dependency (1): decklink-sdk-1:12.5.1-1
:: PKGBUILD up to date, skipping download: decklink-sdk
  1 decklink-sdk                     (Installed) (Build Files Exist)
==> Packages to cleanBuild?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==> n
  1 decklink-sdk                     (Installed) (Build Files Exist)
==> Diffs to show?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==> n
==> Making package: decklink-sdk 1:12.5.1-1 (2023年07月12日 星期三 14时59分43秒)
==> Retrieving sources...
==> ERROR: Blackmagic_DeckLink_SDK_12.5.1.zip was not found in the build directory and is not a URL.
 -> error downloading sources: /home/ashes/.cache/yay/decklink-sdk
         context: exit status 1


:: (1/1) Parsing SRCINFO: decklink-sdk
==> Making package: decklink-sdk 1:12.5.1-1 (2023年07月12日 星期三 14时59分46秒)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
==> ERROR: Blackmagic_DeckLink_SDK_12.5.1.zip was not found in the build directory and is not a URL.
 -> error making: decklink-sdk-exit status 1
 -> Failed to install the following packages. Manual intervention is required:
decklink-sdk - exit status 1

I have checked the PKGBUILD, found the "ERROR" line, which is source=("Blackmagic_DeckLink_SDK_${pkgver}.zip"::"$_srcurl").

Then I execute this curl (what _srccurl is) command in the terminal, variables manually set its value, which becomes commandline

curl -s -H "User-Agent: Mozilla/5.0 (X11; Linux ${CARCH}) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.5735.198 Safari/537.36" -H 'Content-Type: application/json;charset=UTF-8' -H "Referer: https://www.blackmagicdesign.com/support/download/8dbc1e1a31924df7ad46cfa4a8e08ce1/Linux" --data-ascii "{ \
    \"platform\": \"Linux\", \
    \"country\": \"us\", \
    \"firstname\": \"Arch\", \
    \"lastname\": \"Linux\", \
    \"email\": \"someone@archlinux.org\", \
    \"phone\": \"202-555-0194\", \
    \"state\": \"New York\", \
    \"city\": \"AUR\", \
    \"street\": \"PKGBUILD Street\", \
    \"policy\": true, \
    \"hasAgreedToTerms\": true, \
    \"product\": \"Desktop Video ${pkgver} SDK\" \
}" --compressed "https://www.blackmagicdesign.com/api/register/us/download/16b195b1b9c54c0089aaa3ef0757a457" 

Its output is:

<html>
<head><title>301 Moved Permanently</title></head>
<body bgcolor="white">
<center><h1>301 Moved Permanently</h1></center>
<hr><center>openresty</center>
</body>
</html>

If I use a variable "foobar" to store it, the variable will be empty.

I guess this empty _srcurl cause this problem.