vitalif / grive2

Google Drive client with support for new Drive REST API and partial sync
http://yourcmc.ru/wiki/Grive2
GNU General Public License v2.0
1.52k stars 140 forks source link

dpkg-buildpackage => clear-sign failed: No secret key #282

Closed sparcbr closed 3 years ago

sparcbr commented 5 years ago

How to fix this?

dpkg-deb: building package 'grive' in '../grive_0.5.1+git20160731_amd64.deb'.
dpkg-deb: building package 'grive-dbgsym' in 'debian/.debhelper/scratch-space/build-grive/grive-dbgsym_0.5.1+git20160731_amd64.deb'.
        Renaming grive-dbgsym_0.5.1+git20160731_amd64.deb to grive-dbgsym_0.5.1+git20160731_amd64.ddeb
 dpkg-genbuildinfo
 dpkg-genchanges  >../grive2_0.5.1+git20160731_amd64.changes
dpkg-genchanges: info: including full source code in upload
 dpkg-source --after-build grive2
dpkg-buildpackage: info: full upload; Debian-native package (full source is included)
 signfile grive2_0.5.1+git20160731.dsc
gpg: skipped "Vitaliy Filippov <vitalif@yourcmc.ru>": No secret key
gpg: dpkg-sign.lac_ZEKw/grive2_0.5.1+git20160731.dsc: clear-sign failed: No secret key

dpkg-buildpackage: error: failed to sign .dsc file
sparcbr commented 5 years ago

Not really a proper solution, but I just used checkinstall which in turn calls plain make instead of dpkg-buildpackage. First change to build subdirectory created by the previous build command, which is probably something like: cd obj-x86_64-linux-gnu Then use checkinstall, or make install.

sudo checkinstall

And follow the instructions if needed. Voilá..

vitalif commented 5 years ago

Why do you need to fix it? It still makes deb packages, just install them with dpkg -i

gigglylo commented 5 years ago

hey, glad to see you here, i'm sorry to ask you this, but any plan on releasing new version?

vitalif commented 5 years ago

No plans currently, but PRs are welcome as usual :)

jankatins commented 3 years ago

This is a dpkg-buildpackage issue: I think it has a flag to not run the signing step.

dmokreckiy commented 2 years ago

Successfully built package with dpkg-buildpackage -j4 --no-sign. Tested in Ubuntu 22.04.