On Wed, 2010-06-16 at 09:27 -0600, Tim Gardner wrote:
> On 06/16/2010 08:09 AM, Chase Douglas wrote:
> > Tim,
> > I've packaged up the trace-cmd and kernelshark programs, both from a
> > single trace-cmd source package. You can find the source package and
> > prebuilt amd64 binary packages for testing at
> > http://kernel.ubuntu.com/~cndougla/trace-cmd/. As a core-dev and MOTU,
> > can you review the package and upload to the NEW queue for Maverick?
> > Thanks,
> > -- Chase
> Well, to begin with _something_ is messed up with the way you have it
> dget http://kernel.ubuntu.com/~cndougla/trace-cmd/trace-cmd_1.0.2-1.dsc
> rtg@lochsa:~/maverick/trace-cmd$ dpkg-source -x *.dsc
> gpgv: Signature made Wed 16 Jun 2010 08:15:12 AM MDT using DSA key ID
> gpgv: Can't check signature: public key not found
> dpkg-source: warning: failed to verify signature on ./trace-cmd_1.0.2-1.dsc
> dpkg-source: error: cannot fstat file ./trace-cmd_1.0.2-1.debian.tar.gz:
> No such file or directory
I forgot that the new debian packaging format requires the
*.debian.tar.gz tarball as well. I've uploaded it as well now, and I've
verified that it extracts correctly after redownloading it.
> Secondly, I was looking at your packaging repo. If it was me, I'd clone
> Rostedt's repo, then add the debian packaging cruft. Its easy enough to
> rebase against an upstream source only project. Heck, he might even take
> your packaging changes.
> Finally, when creating the source package be sure to elide all .git stuff.
> dpkg-buildpackage -S -rfakeroot -I.git -I.gitignore -i'.git.*'
> I also would not bother with an orig tarball.
That would make it a native package. According to the Ubuntu and Debian
packaging guides it should be a non-native package:
https://wiki.ubuntu.com/PackagingGuide/Basic#Changing the Original
The Debian New Maintainer's Guide doesn't even mention native packaging
much. It is straight non-native packaging.
Please give it another go and see if things work better this time
kernel-team mailing list