ccontavalli / ssh-ident

Different agents and different keys for different projects, with ssh.
Other
965 stars 71 forks source link

Extend instructions to build a Debian package #27

Closed irnc closed 7 years ago

irnc commented 8 years ago

Current instructions fail to create .deb package on a debuild step.

$ cd ssh-ident && debuild
 dpkg-buildpackage -rfakeroot -D -us -uc
dpkg-buildpackage: source package ssh-ident
dpkg-buildpackage: source version 20140619.2318.1
dpkg-buildpackage: source distribution unstable
dpkg-buildpackage: source changed by Flip Hess <flip@fliphess.com>
 dpkg-source --before-build ssh-ident
dpkg-buildpackage: host architecture amd64
dpkg-checkbuilddeps: error: Unmet build dependencies: debhelper (>= 7)
dpkg-buildpackage: warning: build dependencies/conflicts unsatisfied; aborting
dpkg-buildpackage: warning: (Use -d flag to override.)
debuild: fatal error at line 1376:
dpkg-buildpackage -rfakeroot -D -us -uc failed

This is solvable by sudo apt-get install debhelper, so first step should prompt to install debhelper.

But the next error is with package signing.

[...]
Finished running lintian.
Now signing changes and any dsc files...
 signfile ssh-ident_20140619.2318.1.dsc Flip Hess <flip@fliphess.com>
gpg: skipped "Flip Hess <flip@fliphess.com>": secret key not available
gpg: /tmp/debsign.VIRTszb0/ssh-ident_20140619.2318.1.dsc: clearsign failed: \
  secret key not available
debsign: gpg error occurred!  Aborting....
debuild: fatal error at line 1295:
running debsign failed

Instructions could be adjusted to run debuild -us -uc to skill signing, as package is for local consumption.