:: [DNG] (forwarded to mailinglist) Fw…
Etusivu
Poista viesti
Vastaa
Lähettäjä: Godefridus Daalmans
Päiväys:  
Vastaanottaja: dng
Aihe: [DNG] (forwarded to mailinglist) Fwd: packaging Re: netman packages


-------- Original Message --------
Subject: packaging Re: [DNG] netman packages
Date: 2015-11-15 19:05
From: Godefridus Daalmans <frits@???>
To: Hendrik Boom <hendrik@???>
Cc: dng@???, Aitor <aitor_czr@???>

> On Wed, Nov 11, 2015 at 12:45:23PM +0100, aitor_czr wrote:
>> Sorry, Hendrik, i forgot to checkout the gbp-master brach
>> (git-buildpackage):
>>
>> $ git clone https://git.devuan.org/aitor_czr/netman.git
>> $ cd netman
>> $ pristine-tar checkout ../netman_0.1.1~468c97d.orig.tar.bz2
>> $ git checkout gbp-master
>> $ git-buildpackage -tc --git-export-dir="../build-area"
>> --git-pristine-tar --git-tag --git-ignore-branch
>>
>> Cheers,
>>
>>      Aitor.

>
> Did that on a 32-bit machine. Except for missing packages it depended
> on, various messagesa about unised variables, and about 200 blank
> lines after the message "Linkinh netman", 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
> hendrik@notlookedfor:~/dv/netman$


So it failed because you are not allowed to sign because only Aitor is.

Everybody can build a package, but only the maintainer can "sign off" on
the result.

I think Hendrik that you have to try debuild without signing.

debuild -uc -us

or in your case

debuild -i -I -tc -uc -us

(I don't know what the -i or -I options do)
-uc = don't sign the resulting .changes file
-us = don't sign the resulting source package (I think that means the
.dsc file)


>
> Looks like I now have to mess with secret keys. How to do this?

Don't mess with them if you can avoid it :-)

>
> -- hendrik
>
> 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?


I'm writing a kind of HOWTO, but it has not been corrected yet, so it
may be .. inaccurate or difficult to read, let's say.
You can read it, if you dare, at
https://git.devuan.org/fritsd/builders-howto/tree/master#README

(gitlab account holders only for the moment)

To answer your question, I had never heard of pristine-tar until Aitor
mentioned it,
I forgot to put git-buildpackage in the manual because I lack experience
with it,
debhelper and quilt and a few others are discussed in my HOWTO,
and the rest you get with
apt-get build-dep
(discussed in the HOWTO)
or with pbuilder and trial-and-error for new packages (not yet mentioned
in the HOWTO)


Groeten,
Frits
>
> By the way, the word-wrap on the git-build-package line was confusing
> for a moment or two.
>
> -- hendrik
>
>
>>
>> On 11/11/15 12:38, aitor_czr wrote:
>> >Hi Hendrik,
>> >
>> >The latest version is in the following link:
>> >
>> >https://git.devuan.org/edbarx/netman/branches
>> >
>> >And here the debian branch and pristine-tar (updated):
>> >
>> >https://git.devuan.org/aitor_czr/netman/branches
>> >
>> >I updated also the packages:
>> >
>> >http://gnuinos.org/netman/
>> >
>> >But only in amd64, because i still can't use pbuilder (cowbuilder
>> >fails in Devuan) and i haven't any computer in i386 to hand at
>> >this moment. But you can build them in a very easy way:
>> >
>> >$ git clone https://git.devuan.org/aitor_czr/netman.git
>> >$ cd netman
>> >$ pristine-tar checkout ../netman_0.1.1~468c97d.orig.tar.bz2
>> >$ git-buildpackage -tc --git-export-dir="../build-area"
>> >--git-pristine-tar --git-tag --git-ignore-branch
>> >
>> >Hope this help,
>> >
>> >      Aitor.

>>
>
>> _______________________________________________
>> Dng mailing list
>> Dng@???
>> https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
>
> _______________________________________________
> Dng mailing list
> Dng@???
> https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
>