r2126 - in zope2.12/branches/with-revived-tarball/debian (16 files)

Jonas Meurer jonas at freesources.org
Fri Nov 12 19:08:44 UTC 2010


Hey,

On 12/11/2010 Michael Mulich wrote:
> On 11/12/10 1:03 PM, Jonas Meurer wrote:
> >First, the changes you commit to svn look very promising!
> 
> Thank you. I've been able to install zope2.12 and create instances.
> My latest changes to dzhandle have made it possible to install
> zope2.12-sandbox as well.

great! your work is much appreciated. looking forward to have zope2.12
packages in debian/unstable ...

> >Today I took a look at the with-revived-tarball branch, and noted that
> >something must be wrong with the build process. dpkg-source adds a patch
> >to debian/patches at build time. I guess this is due to differences
> >between the original tarball at ../tarballs/zope2.12_2.12.0.orig.tar.gz
> >and the build environment you build from.
> >maybe the reason is that you don't update the tarball while you modify
> >the source files in your build directory, from where you start
> >dpkg-buildpackage.
> 
> I'm still a little uncertain about what happens between when
> dpkg-source and dpkg-buildpackage are run. So I'm not exactly sure
> what you mean. I'll definitely make it my next priority to fix this
> issue.
> 
> >I'm not sure what causes this patch. But this event indicates, that
> >something wents wrong.
> 
> This explains why I haven't been able to use svn-buildpackage. I
> thought it was just me. I was planning to deal with it later, but
> apparently it's an issue. I've been unpacking the source and running
> debuild over it up to this point.

I'm happy to help you with packaging issues. please write down step by
step instructions about how you build the debian package. i'll take a
look at your build process and see whether the problem can be located.

the best solution would be to automate all preliminary steps in the
debian/rules makefile:

a target called 'get-orig-source', should automate the process of
building a custom orig.tar.gz from the upstream zope2.12 tarball and all
required zope dependencies.
this target must not be invoked at build process, but instead needs to
be invoked manually.

many debian packages already provide this 'get-orig-source' target. see
http://www.debian.org/doc/debian-policy/ch-source.html chapter 4.9 for
more information.

a get-orig-source target also has the advantage, that you don't need to
maintain a custom zope source tarball, but instead have code that
automates the preparation task, which easily can be updated for
subsequent zope releases.

the custom build scripts (e.g. buildout receipe, configure script)
should be provided as debian patches in debian/patches, and applied to
the source at package build process instead of being part of the
(crafted) source tarball.

greetings,
 jonas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-zope-developers/attachments/20101112/5d4880b1/attachment.pgp>


More information about the pkg-zope-developers mailing list