You are not logged in.

#1 2020-12-15 00:08:05

MountainX
Member
Registered: 2016-02-08
Posts: 371

[SOLVED] Failed to sign package file filecloudsync-.src.tar.gz.

I'm working on an AUR package for filecloud again. It has been a few weeks since I worked on this. Last time I was able to build and sign packages. Today I'm getting this error:

==> Signing package...
==> WARNING: Failed to sign package file filecloudsync-.src.tar.gz.
==> ERROR: An unknown error has occurred. Exiting...
User defined signal 1

The actual file name should be "filecloudsync-20.2.0.4766-1.src.tar.gz". In the message above the version string is missing from the file name. I believe that is the cause of the error, but I don't understand where that version info is missing. Here is my PKGBUILD:

pkgname=filecloudsync
pkgver=20.2.0.4766
pkgrel=1
pkgdesc="FileCloud Sync for Linux: targeted for Ubuntu (12.04 and higher). Uses GTK2."
arch=('x86_64')
url="https://www.getfilecloud.com/additional-downloads"
license=('proprietary')
depends=('libdbusmenu-gtk2' 'libpng12' 'openssl-1.0' 'wxgtk2') # 'openssl' 'wxgtk2') just use what upstream bundle

source_x86_64=("filecloudsync_${pkgver}_linux_amd64.zip::http://patch.codelathe.com/tonido/live/installer/x86-linux/filecloudsync_linux_amd64.zip" 'FileCloud.desktop' 'LICENSE')

sha256sums_x86_64=('b187efd4f7876062f8fa8efbd9178b6a27e0e879ae4072645d07f637bb7e2e4a'
                   '61c24c278efe01caa4722ae250d8d06aa5a522d7127e7593275905e17bf5f5dc'
                   'a397573d54734349929b3572875577073c3aeab6d9e4d6dbae4400a6954a61ed')
install=${pkgname}.install

package() {
  cd "$srcdir/"
  install -dm751 "$pkgdir/opt/filecloudsync"
  install -Dm644 -t "$pkgdir/opt/filecloudsync" lib*
  install -Dm644 -t "$pkgdir/opt/filecloudsync" *.{png,pem}
  install -Dm644 -t "$pkgdir/opt/filecloudsync" translationsdc.zip
  install -Dm755 -t "$pkgdir/opt/filecloudsync" filecloudsync
  install -Dm644 -t "$pkgdir/opt/filecloudsync" filecloudsynccon
  install -Dm755 -t "$pkgdir/opt/filecloudsync" filecloudsyncstart.sh
  install -Dm644 -t "$pkgdir/usr/share/applications/" FileCloud.desktop
  install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE
  install -d "$pkgdir/usr/bin"
  ln -s "/opt/filecloudsync/filecloudsyncstart.sh" "$pkgdir/usr/bin/filecloudsyncstart.sh"
  ln -s "/opt/filecloudsync/filecloudsync" "$pkgdir/usr/bin/filecloudsync"
}

.SRCINFO

pkgbase = filecloudsync
        pkgdesc = FileCloud Sync for Linux: targeted for Ubuntu (12.04 and higher). Uses GTK2.
        pkgver = 20.2.0.4766
        pkgrel = 1
        url = https://www.getfilecloud.com/additional-downloads
        install = filecloudsync.install
        arch = x86_64
        license = proprietary
        depends = libdbusmenu-gtk2
        depends = libpng12
        depends = openssl-1.0
        depends = wxgtk2
        source_x86_64 = filecloudsync_20.2.0.4766_linux_amd64.zip::http://patch.codelathe.com/tonido/live/installer/x86-linux/filecloudsync_linux_amd64.zip
        source_x86_64 = FileCloud.desktop
        source_x86_64 = LICENSE
        sha256sums_x86_64 = b187efd4f7876062f8fa8efbd9178b6a27e0e879ae4072645d07f637bb7e2e4a
        sha256sums_x86_64 = 61c24c278efe01caa4722ae250d8d06aa5a522d7127e7593275905e17bf5f5dc
        sha256sums_x86_64 = a397573d54734349929b3572875577073c3aeab6d9e4d6dbae4400a6954a61ed

pkgname = filecloudsync

Last edited by MountainX (2020-12-15 00:22:23)

Offline

#2 2020-12-15 00:10:11

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,550

Re: [SOLVED] Failed to sign package file filecloudsync-.src.tar.gz.

makepkg -s and makepkg -S are two different things

Offline

#3 2020-12-15 00:23:27

MountainX
Member
Registered: 2016-02-08
Posts: 371

Re: [SOLVED] Failed to sign package file filecloudsync-.src.tar.gz.

Scimmia wrote:

makepkg -s and makepkg -S are two different things

Thank you! (I feel dumb, but if you hadn't replied I probably would have kept looking at the wrong things for another hour! lol)

Offline

Board footer

Powered by FluxBB