[aur-general] missing source file; hook declined update

Olaf Leidinger oleid at mescharet.de
Thu Jul 27 13:01:30 UTC 2017

Dear all,

I'm trying to submit the following new PKGBUILD:

# Maintainer: Olaf Leidinger <oleid at mescharet.de>
# Get the CentOS tarball from https://www.codeplay.com/products/computesuite/computecpp/download
pkgdesc="Accelerates Complex C++ Applications on Heterogeneous Compute Systems using Open Standards"

package() {
    cd "$srcdir"
    mkdir -p "$pkgdir/opt"
    mkdir -p "$pkgdir/usr/bin"
    mkdir -p "$pkgdir/etc/ld.so.conf.d"

    mv ${_pkgbasename} "$pkgdir/opt"

    ln -s /opt/${_pkgbasename}/bin/compute++ "$pkgdir/usr/bin"
    ln -s /opt/${_pkgbasename}/bin/computecpp_info "$pkgdir/usr/bin"

    echo /opt/${_pkgbasename}/lib > "$pkgdir/etc/ld.so.conf.d/computecpp.conf"

This is the corresponding .SRCINFO file:

pkgbase = computecpp
	pkgdesc = Accelerate Complex C++ Applications on Heterogeneous Compute Systems using Open Standards
	pkgver = 0.2.1
	pkgrel = 1
	url = https://www.codeplay.com/products/computesuite
	arch = x86_64
	license = EULA
	source = file://ComputeCpp-CE-0.2.1-CentOS-64bit.tar.gz
	sha256sums = e7e301bcd8906b419d0067c262dc0eac987798da9dbac4763d285c1e9bf8ddec

pkgname = computecpp

On pushing, I get:

$ git push --set-upstream origin master

Counting objects: 11, done.
Delta compression using up to 16 threads.
Compressing objects: 100% (11/11), done.
Writing objects: 100% (11/11), 1.71 KiB | 0 bytes/s, done.
Total 11 (delta 3), reused 0 (delta 0)
remote: error: The following error occurred when parsing commit
remote: error: 340c3119f9661343b5067bf848aaee0ac56a0028:
remote: error: missing source file: ComputeCpp-CE-0.2.1-CentOS-64bit.tar.gz
remote: error: hook declined to update refs/heads/master
To ssh://aur.archlinux.org/computecpp.git
 ! [remote rejected] master -> master (hook declined)
error: failed to push some refs to

Any idea what's wrong? According to my research, prepending file:// is
the way to go for packages with fetch restriction.

Thanks for your insight,


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 862 bytes
Desc: OpenPGP digital signature
URL: <https://lists.archlinux.org/pipermail/aur-general/attachments/20170727/0452aea3/attachment.asc>

More information about the aur-general mailing list