[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [MoM] Packaging fis-get



Hi Luis,

On Thu, Jan 26, 2012 at 11:16:52AM -0500, Luis Ibanez wrote:
> 
> Then I called "debuild".
> 
> (so my rule of thumb is that "debuild" must be called
> from a directory that has the 'package name', in this
> case "fis-gtm-initial" and that it expects the orig.tar.gz
> file to be in the parent directory.)

Yes, this rule of thumb works. :-)

> Finished running lintian.
> Now signing changes and any dsc files...
>  signfile fis-gtm-initial_54002B-1.dsc Andreas Tille <tille@debian.org>
> gpg: skipped "Andreas Tille <tille@debian.org>": secret key not available
> gpg: /tmp/debsign.UEQdYnHe/fis-gtm-initial_54002B-1.dsc: clearsign failed:
> secret key not available
> debsign: gpg error occurred!  Aborting....
> debuild: fatal error at line 1246:
> running debsign failed
> 
> 
> Which is good news.

Yes.  I think full quotes of such build logs do not need to be quoted
any more (except in case of problems).
 
> I verify that there is a .tar.gz file down
> in the debian directory now.
> 
> The command:
> 
>                 find . -name "*.tar.gz"
> 
> returns:
> 
> ./gtm_V54002B_linux_i686_pro-i386.tar.gz
> ./gtm_V54002B_linux_x8664_pro-amd64.tar.gz
> ./debian/fis-gtm-initial/usr/lib/fis-gtm/distribution/gtm_V54002B_linux_i686_pro-i386.tar.gz

Fine.
 
> and I confirm that the command:
> 
>      make -f  debian/rules clean
> 
> cleans the "debian" directory.
> 
> It essentially removes the files:
> 
> debian/fis-gtm-initial/usr/lib
> debian/fis-gtm-initial/usr/lib/fis-gtm
> debian/fis-gtm-initial/usr/lib/fis-gtm/distribution
> debian/fis-gtm-initial/usr/lib/fis-gtm/distribution/gtm_V54002B_linux_i686_pro-i386.tar.gz
> debian/fis-gtm-initial/usr/share
> debian/fis-gtm-initial/usr/share/fis-gtm-initial
> debian/fis-gtm-initial/usr/share/fis-gtm-initial/defaults.template
> debian/fis-gtm-initial/usr/share/doc
> debian/fis-gtm-initial/usr/share/doc/fis-gtm-initial
> debian/fis-gtm-initial/usr/share/doc/fis-gtm-initial/copyright
> debian/fis-gtm-initial/usr/share/doc/fis-gtm-initial/changelog.Debian.gz
> 
> 
> (this was verified by doing "find debian" before
> and after doing "make -f debian/rules   clean")

Rule of thumb for the clean target:  After

   make -f  debian/rules clean

the directory should be byte identical to the state before you called
debuild.  If not, you need to fix the clean target.
 
> So,
> It looks like I manage to replicate the
> recipe and get the package to build.

Yes. 
 
> This is REALLY helpful !    :-)
> 
> In retrospective, I should probably
> have started with this one.

Yes.  Probably I should make a mental note for the next MoM student.
 
> I'll reply to that one, in order
> to keep the continuity of the
> thread.

As you see I'm back online after arriving here in Southport.  Need to
inspect some mail backlog and chat with people here.

Kind regards

       Andreas.

-- 
http://fam-tille.de


Reply to: