Comment 5 for bug 1023575

Revision history for this message
Stewart Smith (stewart) wrote : Re: [Bug 1023575] Re: Rebuilding Debian Source Package fails because of missing build-dep: dpatch and automake

Stephan Adig <email address hidden> writes:
> The debian/rules file using build.sh wants to download packages via wget, which is not allowed in a buildserver environment (no egress connections allowed)
> And this even means, whoever built this in your company is eventually
> not using not a "clean" build environment which matches a clean
> debian/ubuntu environment ( i would guess it's the same for
> rhel/fedora packages?).

Yep, that's what it does.

Unfortunately, the xtrabackup build procedure is a tad convoluted.

XtraBackup requires a slightly modified InnoDB/XtraDB. It currently
requires the InnoDB from 5.1, the InnoDB Plugin from 5.1, the XtraDB
plugin from PS 5.1 and the XTraDB plugin from PS 5.5 to build all the
binaries that make up the XtraBackup package.

The current procedure for doing that is that we grab source tarballs for
each of the above and then apply a patch we keep in the source
tree. This basically avoids shipping a truly giant source tree.

However, we could/should actually combine these for the source
tarball... which whould probably make Debian build system happy?

Importing it all into the source tree could create its own set of issues
(importing the MySQL history is hundreds of megabytes, and we'd need
several copies of it at different stages... and that sounds to start
like tempting the SCM gods to breathe their furious anger all over our
repo :)

We are well aware that this building against many MySQL versions is
not ideal.

It is our goal to condense this down to one source tere, using just the
latest InnoDB version. We're not quite there yet, as this is certainly
something we want to test thouroughly too.

> I don't want to bug you that much :) we are all busy.

Don't sweat about it - it is truly excellent to have other people
looking at the packaging.

> We can have a off the record chat via email or jabber if you want :)
> contact details are on my LP person page :)

Added on jabber.

--
Stewart Smith