← Back to team overview

maria-developers team mailing list archive

Re: New MariaDB builds: regular trusty and special kvm-deb-sid-pbuilder-amd and (Re: MariaDB)


2014-03-14 12:59 GMT+02:00 Kristian Nielsen <knielsen@xxxxxxxxxxxxxxx>:
> As you will see, it currently fails:
>     http://buildbot.askmonty.org/buildbot/builders/debpkg-trusty/builds/2
>     http://buildbot.askmonty.org/buildbot/builders/debpkg-trusty/builds/2/steps/compile/logs/stdio
> "Base directory /var/cache/pbuilder/base-trusty-amd64.cow does not exist"
> I see in your scripts that you do:
>     mount -t tmpfs -o size=9G tmpfs /var/cache/pbuilder
> But that is not going to work in Buildbot, we do not have 9+ GB of memory
> available for builds. I think to fix this requires changes in your packaging
> files?

The build.sh cannot be applied as such, so I hand picked commands into
the mail https://lists.launchpad.net/maria-developers/msg06767.html
But, maybe will just simplify this setup and skip using pbuilder
inside a virtual machine. The drawback is that the build dependencies
are not handled automatically but they seldom change so we can live
with that drawback.


> You can see the changes I made to the Buildbot config here:
>     http://bazaar.launchpad.net/~maria-captains/mariadb-tools/trunk/revision/227
>     http://bazaar.launchpad.net/~maria-captains/mariadb-tools/trunk/view/head:/buildbot/maria-master.cfg
> (Search for stuff with "debpkg"). If you have suggestions for concrete changes,
> probably Daniel and Elena will also be able to help if I am slow to respond.

Change the line
3902 time git-buildpackage --git-pristine-tar --git-notify=false
--git-pbuilder --git-dist=trusty --git-arch=amd64
3902 time git-buildpackage --git-pristine-tar --git-notify=false

On the first time you should run manually
apt-get install git-buildpackage
gbp-clone --pristine-tar git://github.com/ottok/mariadb-5.5.git
..and apt-get the build dependencies defined in debian/control

On later runs it is enough to reset old build and pull new changes:
git clean -d -f && git reset --hard
gbp-pull --pristine-tar --force
git-buildpackage --git-pristine-tar --git-notify=false

(gbp is a wrapper around git, it just makes sure git pulls in all
branches and tags that git-buildpackage needs)

About your second message: yes, I have machines available and I could
try to setup a mariadb-10.0 build on my own slave. Can you send me a
link that describes how slaves work and how I set one up?

Check out our blog at http://seravo.fi/blog
and follow @ottokekalainen

Follow ups