:: Re: [DNG] netman packages
Page principale
Supprimer ce message
Répondre à ce message
Auteur: Isaac Dunham
Date:  
À: Hendrik Boom
CC: dng
Sujet: Re: [DNG] netman packages
On Sun, Nov 15, 2015 at 11:02:07AM -0500, Hendrik Boom wrote:
> Except for [...] it all went smoothly until:
>
> Now signing changes and any dsc files...
> signfile netman_0.1.1~468c97d-jessie2.dsc Aitor Cuadrado Zubizarreta
> <aitor_czr@???>
> gpg: skipped "Aitor Cuadrado Zubizarreta <aitor_czr@???>":
> secret key not available
> gpg: /tmp/debsign.spl1F1J4/netman_0.1.1~468c97d-jessie2.dsc: clearsign
> failed: secret key not available
> debsign: gpg error occurred! Aborting....
> debuild: fatal error at line 1295:
> running debsign failed
> gbp:error: 'debuild -i -I -tc' failed: it exited with 29


Add "-b" to the dpkg-buildpackage options, IIRC.

It's trying to sign the source package with the key of the author of the
last change. If you're not building it to redistribute after making your
own changes, you don't have a need to build the source package.

> P.S. The packages I had to install first were:
>
> pristine-tar
> git-buildpackage
> debhelper quilt libgtk2.0-dev fp-units-gfx-2.6.4 lazarus
> lazarus-ide-gtk2 lcl-nogui-1.2.4 lcl-utils-1.2.4 lcl-units-1.2.4
> python-all-dev
>
> Is there any easy way to install all these without having to wait until
> it complains they are missing, and then aptitude install them comolaint
> by complaint?


If it's a source package in an apt repository, it's just "apt-get build-dep";
but this won't help you, so the only shortcut is writing your own script
to parse debian/control (field Build-Depends, IIRC).

HTH,
Isaac