Posts Tagged ‘packaging’

Project-Builder.org reaches 0.13.2

2016/02/24

Before leaving for a 15 days trip to the US, I’ve published the latest version 0.13.2 of project-builder.org.

It will be very useful for my colleagues and friends working on python-redfish to make local packages for testing that module, and then to publish it in upstream distributions such as Mageia and Fedora to start with.

That version improves git support, ssh support with ECDSA (for RHEL 7 distributions which have removed DSA by default), provides Fedora 22 and 23 support as well (with dnf).

Of course, project-builder.org is available for 160 distribution tuples because it uses project-builder.org to make that possible ! And if I can do that for this project, then you can probably do it as well for yours. The goal again is to help upstream projects to provide upstream packages for various distributions to help users, testers to install the software on their system. And so is the tool itself, you can download it easily and test it following the instructions described in the Lab document.

I have the intention to work next on improving the conf files to support regular expressions for the labels (to allow making conf entries such as minosdep fedora-2[0-9] = ….), looking at transforming them to use JSON instead of their own format (JSON wasn’t an option when I started back in 2005) and also looking at the Swagger2 perl module to help build a RESTful API around project-builder.org

As usual, that’s not the lack of idea which is preventing all that to arrive but the lack of time. So don’t hold your breath if you plan to do GET/POST request to build your packages with project-builder.org but it will come. And now this version is available, back to MondoRescue to fix the UEFI support !

Fosdem is here again !

2016/01/26

In addition to next week event participation for HPE in Cannes, I’ll be at Fosdem the coming week-end in Brussels. And I’m so happy to be able to be there again, as it has been since 2012 that i’ve not participated.

This time, it’s not MondoRescue or Project-Builder.org related. But the presentation that was selected is part of the Distributions dev room. The title is “Building Linux distribution packages with Docker”. I’ve been using Docker to help in building packages since a long time now, and Project-Builder.org latest version is now supporting it pretty well to help me package my upstream projects. But I want to cover a different aspect.

Docker has brought an ease of use without comparison with VMs typically to build native upstream distribution packages. Where before it was needed to
launch a complete environment, copy the sources into it, invoke the build tools to create the packages and then copy them back to the host, Docker has made all these steps much easier and straight forward, allowing for more rapid package production and automation.

This presentation will show a detailed use case for building packages for both Mageia and Fedora with their respective bm or koji tools encapsulated in Docker containers. It should help any upstream packager adopt a similar approach to make his packaging task a breathe.

Will be there Saturday the 30th of January (my 20′ talk is at 11:30 in K.4.201) and I’ll stay till Sunday early afternoon. Feel free again to catch me and discuss. When not in my talk, I’ll be in other sessions and also around the Mageia Booth.

And come in mass as this is one of the best FLOSS event WW. Really !

Project-Builder.org 0.12.7 is out and 0.13.1 will be there soon

2015/11/25

I’ve published the latest version of project-builder.org, 0.12.7, earlier this year to add support around the latest distributions published (SLES 12 and also Mageia 3 & 4 chroots) and fix a checkssh bug. But I also realized I didn’t mentioned the availability of the previous 0.12.6 last year in June. Both are minor versions, the previous one improving git and git-svn support (that I start to learn progressively).

But most of the work has been done recently in bringing docker support into project-builder.org without breaking VM/VE/RM support we had before. Which is now also done !

For those of you not familiar with project-builder.org, I recommend that you first have a look at the Lab document in order to understand the basic concepts and features, before jumping into the Docker part, as these will be assumed as understoodūüėČ

So you can invoke pb to build packages using Docker containers. It’s now pretty simple. First you need to have a working docker installation with availability of images. You can get official or your own docker images of the preferred distribution you want to build for:


$ docker images

REPOSITORY TAG    IMAGE ID     CREATED     VIRTUAL SIZE
fedora     latest 109b72e23ca5 4 days ago  204 MB
ubuntu     14.04  ca4d7b1b9a51 2 weeks ago 187.9 MB
mageia     4      cda9f6b4e5b9 5 weeks ago 159.7 MB
mageia     latest 796a285f7dd9 5 weeks ago 167.8 MB
mageia     5      796a285f7dd9 5 weeks ago 167.8 MB

Now you’re ready to create a new image with project-builder.org in it, ready to be used to create packages for your project. Here I’ll start building a docker image (-T docker with newve command) for my project which is pb itself (-p pb) on the current version of my distribution (-i mageia:5 as given by the docker image command) and I’ll call that docker image mageia-5-x86_64 (option -m):

$ pb -p pb -m mageia-5-x86_64 -T docker -i mageia:5 newve
Project: pb
Action: newve
Installing dependencies perl sudo wget tar make gzip in Docker container localhost:5000/pb:mageia-5-x86_64... OK

$ docker images | grep mageia

localhost:5000/pb mageia-5-x86_64 5e12a6c59147 2 minutes ago   185 MB
[...]

So have now an image with the minimum set of packages needed to install pb in it. Let’s check that:

$ docker run -ti `docker images | grep mageia-5 | awk '{print $3}'` /bin/bash
[root@8158b86786a7 /]# cat /etc/mageia-release
Mageia release 5 (Official) for x86_64
[root@8158b86786a7 /]# uname -a
Linux 8158b86786a7 3.19.8-server-3.mga5 #1 SMP Sat Jun 13 17:26:10 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
[root@8158b86786a7 /]# urpmi tcsh
http://distro.ibiblio.org/mageia/distrib/5/x86_64/media/core/release/tcsh-6.18.01-8.mga5.x86_64.rpm
installing tcsh-6.18.01-8.mga5.x86_64.rpm from /var/cache/urpmi/rpms
Preparing... #############################################
1/1: tcsh #############################################
[root@8158b86786a7 /]# pb --help
bash: pb: command not found
[root@8158b86786a7 /]# exit


So I have a minimal Mageia 5 environment, allowing me to install packages in it with urpmi. Let’s do install pb now in it:

$ pb -p pb -m mageia-5-x86_64 -T docker sbx2setupve
 Project: pb
 Action: sbx2setupve
 Packages: pbmkbm,rpmbootstrap,project-builder,ProjectBuilder
 [...]
 Management of ProjectBuilder devel-0 (rev 2013)
 Exporting /users/bruno/pb/devel/pb-modules from svn+ssh to /users/bruno/pb/delivery/ProjectBuilder-devel20151125012454 ... OK
 Generating fake ChangeLog for test version
 Preparing delivery ...
 Delivered and compressed patches N/A
 Delivered additional sources N/A
 Build files have been generated for ... asianux-2-i386,asianux-2-x86_64,asianux-3-i386,asianux-3-x86_64,centos-4-i386,centos-4-x86_64,centos-5-i386,centos-5-x86_64,centos-7-x86_64,debian-3-i386,debian-4-i386,debian-4-x86_64,debian-5-i386,debian-5-x86_64,debian-6-i386,debian-6-x86_64,debian-7-i386,debian-7-x86_64,debian-8-i386,debian-8-x86_64,fedora-10-i386,fedora-10-x86_64,fedora-11-i386,fedora-11-x86_64,fedora-12-i386,fedora-12-x86_64,fedora-13-i386,fedora-13-x86_64,fedora-14-i386,fedora-14-x86_64,fedora-15-i386,fedora-15-x86_64,fedora-16-i386,fedora-16-x86_64,fedora-17-i386,fedora-17-x86_64,fedora-18-i386,fedora-18-x86_64,fedora-19-i386,fedora-19-x86_64,fedora-20-i386,fedora-20-x86_64,fedora-21-i386,fedora-21-x86_64,fedora-4-i386,fedora-5-i386,fedora-6-i386,fedora-6-x86_64,fedora-7-i386,fedora-7-x86_64,fedora-8-i386,fedora-8-x86_64,fedora-9-i386,fedora-9-x86_64,gentoo-nover-i386,gentoo-nover-x86_64,lsb-3.2.0-i386,lsb-3.2.0-x86_64,lsb-4.0.1-i386,lsb-4.0.1-x86_64,mageia-1-i386,mageia-1-x86_64,mageia-2-i386,mageia-2-x86_64,mageia-3-i386,mageia-3-x86_64,mageia-4-i386,mageia-4-x86_64,mageia-5-i386,mageia-5-x86_64,mandrake-10.1-i386,mandrake-10.2-i386,mandriva-2006.0-i386,mandriva-2007.0-i386,mandriva-2007.0-x86_64,mandriva-2007.1-i386,mandriva-2007.1-x86_64,mandriva-2008.0-i386,mandriva-2008.0-x86_64,mandriva-2008.1-i386,mandriva-2008.1-x86_64,mandriva-2009.0-i386,mandriva-2009.0-x86_64,mandriva-2009.1-i386,mandriva-2009.1-x86_64,mandriva-2010.0-i386,mandriva-2010.0-x86_64,mandriva-2010.1-i386,mandriva-2010.1-x86_64,opensuse-10.2-i386,opensuse-10.2-x86_64,opensuse-10.3-i386,opensuse-10.3-x86_64,opensuse-11.0-i386,opensuse-11.0-x86_64,opensuse-11.1-i386,opensuse-11.1-x86_64,opensuse-11.2-i386,opensuse-11.2-x86_64,opensuse-11.3-i386,opensuse-11.3-x86_64,opensuse-11.4-i386,opensuse-11.4-x86_64,opensuse-12.1-i386,opensuse-12.1-x86_64,opensuse-12.2-i386,opensuse-12.2-x86_64,opensuse-12.3-i386,opensuse-12.3-x86_64,opensuse-13.1-i386,opensuse-13.1-x86_64,opensuse-13.2-i386,opensuse-13.2-x86_64,redhat-6.2-i386,redhat-7.3-i386,redhat-9-i386,rhel-2-i386,rhel-3-i386,rhel-3-x86_64,rhel-4-i386,rhel-4-x86_64,rhel-5-i386,rhel-5-x86_64,rhel-6-i386,rhel-6-x86_64,rhel-7-x86_64,sles-10-i386,sles-10-x86_64,sles-11-i386,sles-11-x86_64,sles-12-x86_64,sles-9-i386,solaris-10-i386,suse-10.0-i386,suse-10.1-i386,ubuntu-10.04-i386,ubuntu-10.04-x86_64,ubuntu-10.10-i386,ubuntu-10.10-x86_64,ubuntu-11.04-i386,ubuntu-11.04-x86_64,ubuntu-11.10-i386,ubuntu-11.10-x86_64,ubuntu-12.04-i386,ubuntu-12.04-x86_64,ubuntu-12.10-i386,ubuntu-12.10-x86_64,ubuntu-13.04-i386,ubuntu-13.04-x86_64,ubuntu-13.10-i386,ubuntu-13.10-x86_64,ubuntu-14.04-i386,ubuntu-14.04-x86_64,ubuntu-14.10-i386,ubuntu-14.10-x86_64,ubuntu-15.04-i386,ubuntu-15.04-x86_64,ubuntu-6.06-i386,ubuntu-7.04-i386,ubuntu-7.04-x86_64,ubuntu-7.10-i386,ubuntu-7.10-x86_64,ubuntu-8.04-i386,ubuntu-8.04-x86_64,ubuntu-8.10-i386,ubuntu-8.10-x86_64,ubuntu-9.04-i386,ubuntu-9.04-x86_64,ubuntu-9.10-i386,ubuntu-9.10-x86_64
 Creating ProjectBuilder tar files compressed... OK
 Under /users/bruno/pb/delivery/ProjectBuilder-devel20151125012454.tar.gz
 Creating pbconf tar files compressed... OK
 Under /users/bruno/pb/delivery/ProjectBuilder-devel20151125012454.pbconf.tar.gz
 Packages: rpmbootstrap,pbmkbm,ProjectBuilder,project-builder
 Sources handled (VEScriptSandBox): /users/bruno/pb/delivery/setupv-mageia-5-x86_64
 Executing pbscript on ////test/src if needed...
 [mageia-5-x86_64] [mageia-5-x86_64] Sending build context to Docker daemon 316.4 kB
 [mageia-5-x86_64] Sending build context to Docker daemon
 [mageia-5-x86_64] Step 0 : FROM localhost:5000/pb:mageia-5-x86_64
 [mageia-5-x86_64] ---> 5e12a6c59147
 [mageia-5-x86_64] Step 1 : MAINTAINER project-builder.org aka pb
 [mageia-5-x86_64] ---> Running in ea90fc005c77
 [mageia-5-x86_64] ---> 64c90d9fa8e0
 [mageia-5-x86_64] Removing intermediate container ea90fc005c77
 [mageia-5-x86_64] Step 2 : USER root
 [mageia-5-x86_64] ---> Running in 955ed5a1d209
 [mageia-5-x86_64] ---> dab985840998
 [mageia-5-x86_64] Removing intermediate container 955ed5a1d209
 [mageia-5-x86_64] Step 3 : RUN mkdir -p ////test/src
 [mageia-5-x86_64] ---> Running in 11a1da4e8b84
 [mageia-5-x86_64] ---> a592e1fcc806
 [mageia-5-x86_64] Removing intermediate container 11a1da4e8b84
 [mageia-5-x86_64] Step 4 : RUN cd ////test/src ; for i in setupv-mageia-5-x86_64; do if [ -f $i ]; then rm -f $i; fi; done
 [mageia-5-x86_64] ---> Running in 5a77f129fddc
 [mageia-5-x86_64] ---> d9d45746c9da
 [mageia-5-x86_64] Removing intermediate container 5a77f129fddc
 [mageia-5-x86_64] Step 5 : COPY ProjectBuilder-devel20151125012454.tar.gz /tmp/
 [mageia-5-x86_64] ---> 1fa0c67f841a
 [mageia-5-x86_64] Removing intermediate container 8da9d71d00d9
 [mageia-5-x86_64] Step 6 : COPY project-builder-devel20151125012454.tar.gz /tmp/
 [mageia-5-x86_64] ---> bfe948bef80b
 [mageia-5-x86_64] Removing intermediate container b7b19f036b1d
 [mageia-5-x86_64] Step 7 : COPY setupv-mageia-5-x86_64 ////test/src/
 [mageia-5-x86_64] ---> 0eceea6cc9e7
 [mageia-5-x86_64] Removing intermediate container 6f01331bd5a9
 [mageia-5-x86_64] Step 8 : RUN sed -i '/requiretty/d' /etc/sudoers
 [mageia-5-x86_64] ---> Running in 4605991e6171
 [mageia-5-x86_64] ---> 2f845d6ce7f7
 [mageia-5-x86_64] Removing intermediate container 4605991e6171
 [mageia-5-x86_64] Step 9 : COPY setupv-mageia-5-x86_64 ////test/src/
 [mageia-5-x86_64] ---> 828e00124d06
 [mageia-5-x86_64] Removing intermediate container 4323d70d1860
 [mageia-5-x86_64] Step 10 : RUN cd ////test/src ; perl ./setupv-mageia-5-x86_64 ; if [ '0' = '0' ]; then rm -f setupv-mageia-5-x86_64; fi
 [mageia-5-x86_64] ---> Running in 40041962e715
 [mageia-5-x86_64] rm -f /dev/null; mknod /dev/null c 1 3; chmod 777 /dev/null... OK
 [mageia-5-x86_64] Adding group pb... OK
 [mageia-5-x86_64] Adding user pb (group pb - home /home/pb)... OK
 [mageia-5-x86_64] distro tuple: $VAR1 = {
 [mageia-5-x86_64] 'os' => 'linux',
 [mageia-5-x86_64] 'version' => '5',
 [mageia-5-x86_64] 'arch' => 'x86_64',
 [mageia-5-x86_64] 'type' => 'rpm',
 [mageia-5-x86_64] 'update' => 'sudo /usr/sbin/urpmi.update -a ; sudo /usr/sbin/urpmi --auto --auto-select --no-suggests',
 [mageia-5-x86_64] 'suffix' => '.mga5',
 [mageia-5-x86_64] 'useminor' => 'false',
 [mageia-5-x86_64] 'install' => 'sudo /usr/sbin/urpmi.update -a ; sudo /usr/sbin/urpmi --auto --no-suggests',
 [mageia-5-x86_64] 'nover' => '',
 [mageia-5-x86_64] 'family' => 'md',
 [mageia-5-x86_64] 'name' => 'mageia',
 [mageia-5-x86_64] 'rmdot' => ''
 [mageia-5-x86_64] };
 [mageia-5-x86_64]
 [mageia-5-x86_64] Looking for rpm-build... NOT OK but non blocking
 [mageia-5-x86_64] Looking for wget... OK
 [mageia-5-x86_64] Looking for patch... NOT OK but non blocking
 [mageia-5-x86_64] Looking for make... OK
 [mageia-5-x86_64] Looking for ntp-client... NOT OK but non blocking
 [mageia-5-x86_64] Looking for perl-File-MimeInfo... NOT OK but non blocking
 [mageia-5-x86_64] Looking for perl-File-BaseDir... NOT OK but non blocking
 [mageia-5-x86_64] Looking for perl-Date-Manip... NOT OK but non blocking
 [mageia-5-x86_64] Looking for diffutils... OK
 [mageia-5-x86_64] Installing dependencies (sudo /usr/sbin/urpmi.update -a ; sudo /usr/sbin/urpmi --auto --no-suggests rpm-build patch ntp-client perl-File-MimeInfo perl-File-BaseDir perl-Date-Manip)... medium "Core Release" is up-to-date
 [mageia-5-x86_64] medium "Core Updates" is up-to-date
 [mageia-5-x86_64] medium "Core 32bit Release" is up-to-date
 [mageia-5-x86_64] medium "Core 32bit Updates" is up-to-date
 [mageia-5-x86_64] OK
 [mageia-5-x86_64] Building Project-Builder... Can't parse version 'devel20151125012454'
 [mageia-5-x86_64] Can't parse version 'devel20151125012454'
 [mageia-5-x86_64] Generating a Unix-style Makefile
 [mageia-5-x86_64] Writing Makefile for ProjectBuilder
 [mageia-5-x86_64] Writing MYMETA.yml and MYMETA.json
 [mageia-5-x86_64] cp lib/ProjectBuilder/Distribution.pm blib/lib/ProjectBuilder/Distribution.pm
 [mageia-5-x86_64] cp lib/ProjectBuilder/Display.pm blib/lib/ProjectBuilder/Display.pm
 [mageia-5-x86_64] cp lib/ProjectBuilder/Env.pm blib/lib/ProjectBuilder/Env.pm
 [mageia-5-x86_64] cp lib/ProjectBuilder/Log/Item.pm blib/lib/ProjectBuilder/Log/Item.pm
 [mageia-5-x86_64] cp lib/ProjectBuilder/Log.pm blib/lib/ProjectBuilder/Log.pm
 [mageia-5-x86_64] cp lib/ProjectBuilder/Version.pm blib/lib/ProjectBuilder/Version.pm
 [mageia-5-x86_64] cp lib/ProjectBuilder/Conf.pm blib/lib/ProjectBuilder/Conf.pm
 [mageia-5-x86_64] cp lib/ProjectBuilder/VCS.pm blib/lib/ProjectBuilder/VCS.pm
 [mageia-5-x86_64] cp lib/ProjectBuilder/VE.pm blib/lib/ProjectBuilder/VE.pm
 [mageia-5-x86_64] cp lib/ProjectBuilder/Base.pm blib/lib/ProjectBuilder/Base.pm
 [mageia-5-x86_64] cp bin/pbgetparam blib/bin/pbgetparam
 [mageia-5-x86_64] /usr/bin/perl5.20.1 -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/bin/pbgetparam
 [mageia-5-x86_64] cp bin/pbdistrocheck blib/bin/pbdistrocheck
 [mageia-5-x86_64] /usr/bin/perl5.20.1 -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/bin/pbdistrocheck
 [mageia-5-x86_64] Manifying blib/man1/pbdistrocheck.1
 [mageia-5-x86_64] Manifying blib/man1/pbgetparam.1
 [mageia-5-x86_64] Manifying blib/man3/ProjectBuilder::Base.3pm
 [mageia-5-x86_64] Manifying blib/man3/ProjectBuilder::Conf.3pm
 [mageia-5-x86_64] Manifying blib/man3/ProjectBuilder::Display.3pm
 [mageia-5-x86_64] Manifying blib/man3/ProjectBuilder::Distribution.3pm
 [mageia-5-x86_64] Manifying blib/man3/ProjectBuilder::Env.3pm
 [mageia-5-x86_64] Manifying blib/man3/ProjectBuilder::VCS.3pm
 [mageia-5-x86_64] Manifying blib/man3/ProjectBuilder::VE.3pm
 [mageia-5-x86_64] Installing /usr/bin/pbdistrocheck
 [mageia-5-x86_64] Installing /usr/bin/pbgetparam
 [mageia-5-x86_64] Installing /usr/lib/perl5/5.20.1/ProjectBuilder/Distribution.pm
 [mageia-5-x86_64] Installing /usr/lib/perl5/5.20.1/ProjectBuilder/VCS.pm
 [mageia-5-x86_64] Installing /usr/lib/perl5/5.20.1/ProjectBuilder/Env.pm
 [mageia-5-x86_64] Installing /usr/lib/perl5/5.20.1/ProjectBuilder/Log.pm
 [mageia-5-x86_64] Installing /usr/lib/perl5/5.20.1/ProjectBuilder/Version.pm
 [mageia-5-x86_64] Installing /usr/lib/perl5/5.20.1/ProjectBuilder/Conf.pm
 [mageia-5-x86_64] Installing /usr/lib/perl5/5.20.1/ProjectBuilder/Display.pm
 [mageia-5-x86_64] Installing /usr/lib/perl5/5.20.1/ProjectBuilder/VE.pm
 [mageia-5-x86_64] Installing /usr/lib/perl5/5.20.1/ProjectBuilder/Base.pm
 [mageia-5-x86_64] Installing /usr/lib/perl5/5.20.1/ProjectBuilder/Log/Item.pm
 [mageia-5-x86_64] Installing /usr/share/man/man1/pbgetparam.1
 [mageia-5-x86_64] Installing /usr/share/man/man1/pbdistrocheck.1
 [mageia-5-x86_64] Installing /usr/share/man/man3pm/ProjectBuilder::Base.3pm
 [mageia-5-x86_64] Installing /usr/share/man/man3pm/ProjectBuilder::Display.3pm
 [mageia-5-x86_64] Installing /usr/share/man/man3pm/ProjectBuilder::VCS.3pm
 [mageia-5-x86_64] Installing /usr/share/man/man3pm/ProjectBuilder::Env.3pm
 [mageia-5-x86_64] Installing /usr/share/man/man3pm/ProjectBuilder::Conf.3pm
 [mageia-5-x86_64] Installing /usr/share/man/man3pm/ProjectBuilder::VE.3pm
 [mageia-5-x86_64] Installing /usr/share/man/man3pm/ProjectBuilder::Distribution.3pm
 [mageia-5-x86_64] Appending installation info to /usr/lib/perl5/5.20.1/x86_64-linux-thread-multi/perllocal.pod
 [mageia-5-x86_64] mkdir -p /usr/local/etc/pb
 [mageia-5-x86_64] chmod 755 /usr/local/etc/pb
 [mageia-5-x86_64] cp etc/pb.conf /usr/local/etc/pb
 [mageia-5-x86_64] mkdir -p /usr/local/share/man/man5
 [mageia-5-x86_64] pod2man --section=5 etc/pb.conf.pod > /usr/local/share/man/man5/pb.conf.5
 [mageia-5-x86_64] Can't parse version 'devel20151125012454'
 [mageia-5-x86_64] Can't parse version 'devel20151125012454'
 [mageia-5-x86_64] Generating a Unix-style Makefile
 [mageia-5-x86_64] Writing Makefile for pb
 [mageia-5-x86_64] Writing MYMETA.yml and MYMETA.json
 [mageia-5-x86_64] cp lib/ProjectBuilder/Filter.pm blib/lib/ProjectBuilder/Filter.pm
 [mageia-5-x86_64] cp lib/ProjectBuilder/Changelog.pm blib/lib/ProjectBuilder/Changelog.pm
 [mageia-5-x86_64] cp lib/ProjectBuilder/CMS.pm blib/lib/ProjectBuilder/CMS.pm
 [mageia-5-x86_64] cp bin/pbvi blib/bin/pbvi
 [mageia-5-x86_64] /usr/bin/perl5.20.1 -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/bin/pbvi
 [mageia-5-x86_64] cp bin/pb blib/bin/pb
 [mageia-5-x86_64] /usr/bin/perl5.20.1 -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/bin/pb
 [mageia-5-x86_64] cp bin/pbg blib/bin/pbg
 [mageia-5-x86_64] /usr/bin/perl5.20.1 -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/bin/pbg
 [mageia-5-x86_64] Manifying blib/man1/pb.1
 [mageia-5-x86_64] Manifying blib/man3/ProjectBuilder::CMS.3pm
 [mageia-5-x86_64] Manifying blib/man3/ProjectBuilder::Changelog.3pm
 [mageia-5-x86_64] Manifying blib/man3/ProjectBuilder::Filter.3pm
 [mageia-5-x86_64] Installing /usr/bin/pb
 [mageia-5-x86_64] Installing /usr/bin/pbvi
 [mageia-5-x86_64] Installing /usr/bin/pbg
 [mageia-5-x86_64] Installing /usr/lib/perl5/5.20.1/ProjectBuilder/Changelog.pm
 [mageia-5-x86_64] Installing /usr/lib/perl5/5.20.1/ProjectBuilder/CMS.pm
 [mageia-5-x86_64] Installing /usr/lib/perl5/5.20.1/ProjectBuilder/Filter.pm
 [mageia-5-x86_64] Installing /usr/share/man/man1/pb.1
 [mageia-5-x86_64] Installing /usr/share/man/man3pm/ProjectBuilder::CMS.3pm
 [mageia-5-x86_64] Installing /usr/share/man/man3pm/ProjectBuilder::Changelog.3pm
 [mageia-5-x86_64] Installing /usr/share/man/man3pm/ProjectBuilder::Filter.3pm
 [mageia-5-x86_64] Appending installation info to /usr/lib/perl5/5.20.1/x86_64-linux-thread-multi/perllocal.pod
 [mageia-5-x86_64] OK
 [mageia-5-x86_64] pb -h... OK
 [mageia-5-x86_64] pb (aka project-builder.org) Version devel20151125012454-2013
 [mageia-5-x86_64]
 [mageia-5-x86_64] Usage:
 [mageia-5-x86_64] pb [-vhSq][-r pbroot][-p project][[-s script -a account -P port][-T
 [mageia-5-x86_64] VEtype][-t [os-ver-arch]][-m os-ver-arch[,...]]][-g][-i image]
 [mageia-5-x86_64] [ ...]
 [mageia-5-x86_64]
 [mageia-5-x86_64] pb [--verbose][--help][--man][--quiet][--snapshot][--revision
 [mageia-5-x86_64] pbroot][--project project][[--script script --account account --port
 [mageia-5-x86_64] port][-T VEtype][--target [os-ver-arch]][--machine
 [mageia-5-x86_64] os-ver-arch[,...]]][--nographic][--image image][--rebuild]
 [mageia-5-x86_64] [ ...]
 [mageia-5-x86_64]
 [mageia-5-x86_64] pbdistrocheck... OK
 [mageia-5-x86_64] Project-Builder tuple:
 [mageia-5-x86_64] OS: linux
 [mageia-5-x86_64] Name: mageia
 [mageia-5-x86_64] Ver: 5
 [mageia-5-x86_64] Arch: x86_64
 [mageia-5-x86_64] Type: rpm
 [mageia-5-x86_64] Family: md
 [mageia-5-x86_64] Suffix: .mga5
 [mageia-5-x86_64] Update: sudo /usr/sbin/urpmi.update -a ; sudo /usr/sbin/urpmi --auto --auto-select --no-suggests
 [mageia-5-x86_64] Install: sudo /usr/sbin/urpmi.update -a ; sudo /usr/sbin/urpmi --auto --no-suggests
 [mageia-5-x86_64] ---> 58ecfa79091e
 [mageia-5-x86_64] Removing intermediate container 40041962e715
 [mageia-5-x86_64] Step 11 : RUN rm -rf ////test/src/*
 [mageia-5-x86_64] ---> Running in 1cf971fcd906
 [mageia-5-x86_64] ---> 2e72e2a5f762
 [mageia-5-x86_64] Removing intermediate container 1cf971fcd906
 [mageia-5-x86_64] Step 12 : RUN chown -R root ////test/src
 [mageia-5-x86_64] ---> Running in 56a0605ff6f3
 [mageia-5-x86_64] ---> f25fcac56408
 [mageia-5-x86_64] Removing intermediate container 56a0605ff6f3
 [mageia-5-x86_64] Successfully built f25fcac56408
 


You can see how we dynamically build a Dockerfile to enhance our first image by copying the tar files fro the host, as well as the build script (made by pb as well) and then invoking it to install all dependencies and build pb in the container ansd install it.
So now we have the second stage of our docker image ready with pb installed in it.
Let’s have again a look at it:

$ docker images | grep mageia-5
 localhost:5000/pb  mageia-5-x86_64-pb f25fcac56408   8 minutes ago  378.7 MB
 localhost:5000/pb  mageia-5-x86_64    5e12a6c59147  21 minutes ago  185 MB
 
$ docker run -ti `docker images | grep mageia-5-x86_64-pb | awk '{print $3}'` /bin/bash
 [root@3ab36f997ac9 /]# pb --help
 pb (aka project-builder.org) Version devel20151125012454-2013
Usage:
 pb [-vhSq][-r pbroot][-p project][[-s script -a account -P port][-T
 VEtype][-t [os-ver-arch]][-m os-ver-arch[,...]]][-g][-i image]
 [ ...]
 pb [--verbose][--help][--man][--quiet][--snapshot][--revision
 pbroot][--project project][[--script script --account account --port
 port][-T VEtype][--target [os-ver-arch]][--machine
 os-ver-arch[,...]]][--nographic][--image image][--rebuild]
 [ ...]
[root@3ab36f997ac9 /]# exit

The next stage is to build on top of this one again a new image adding the dependencies of the project you want to build packages for:

 $ pb -p pb -m mageia-5-x86_64 -T docker prepve
 Project: pb
 Action: prepve
 Packages: rpmbootstrap,project-builder,ProjectBuilder,pbmkbm
 Packages: rpmbootstrap,project-builder,ProjectBuilder,pbmkbm
 Sources handled (VEprep): /users/bruno/pb/delivery/rpmbootstrap-devel20151125012454.tar.gz /users/bruno/pb/delivery/rpmbootstrap-devel20151125012454.pbconf.tar.gz /users/bruno/pb/delivery/project-builder-devel20151125012454.tar.gz /users/bruno/pb/delivery/project-builder-devel20151125012454.pbconf.tar.gz /users/bruno/pb/delivery/ProjectBuilder-devel20151125012454.tar.gz /users/bruno/pb/delivery/ProjectBuilder-devel20151125012454.pbconf.tar.gz /users/bruno/pb/delivery/pbmkbm-devel20151125012454.tar.gz /users/bruno/pb/delivery/pbmkbm-devel20151125012454.pbconf.tar.gz /users/bruno/pb/pbconf/devel/pb.pb /users/bruno/pb/delivery/devel-0.pb /users/bruno/.pbrc /users/bruno/pb/delivery/pbrc /users/bruno/pb/delivery/pbprep-mageia-5-x86_64
 Executing pbscript on ///home/pb/pb/delivery if needed... OK
 Sending build context to Docker daemon 2.805 MBld context to Docker daemon 557.1 kB
 [mageia-5-x86_64] Sending build context to Docker daemon
 [mageia-5-x86_64] Step 0 : FROM localhost:5000/pb:mageia-5-x86_64-pb
 [mageia-5-x86_64] ---> f25fcac56408
 [mageia-5-x86_64] Step 1 : MAINTAINER project-builder.org aka pb
 [mageia-5-x86_64] ---> Running in 46fb61bb3c7d
 [mageia-5-x86_64] ---> 1468e8ca1545
 [mageia-5-x86_64] Removing intermediate container 46fb61bb3c7d
 [mageia-5-x86_64] Step 2 : USER pb
 [mageia-5-x86_64] ---> Running in e30fd8bfba03
 [mageia-5-x86_64] ---> 3cded1a10ed1
 [mageia-5-x86_64] Removing intermediate container e30fd8bfba03
 [mageia-5-x86_64] Step 3 : RUN mkdir -p ///home/pb/pb/delivery
 [mageia-5-x86_64] ---> Running in 7278bb34ad43
 [mageia-5-x86_64] ---> af5341e5137a
 [mageia-5-x86_64] Removing intermediate container 7278bb34ad43
 [mageia-5-x86_64] Step 4 : RUN cd ///home/pb/pb/delivery ; for i in rpmbootstrap-devel20151125012454.tar.gz rpmbootstrap-devel20151125012454.pbconf.tar.gz project-builder-devel20151125012454.tar.gz project-builder-devel20151125012454.pbconf.tar.gz ProjectBuilder-devel20151125012454.tar.gz ProjectBuilder-devel20151125012454.pbconf.tar.gz pbmkbm-devel20151125012454.tar.gz pbmkbm-devel20151125012454.pbconf.tar.gz pb.pb devel-0.pb .pbrc pbrc pbprep-mageia-5-x86_64; do if [ -f $i ]; then rm -f $i; fi; done
 [mageia-5-x86_64] ---> Running in 86ddad33cc02
 [mageia-5-x86_64] ---> 644ed30b8a26
 [mageia-5-x86_64] Removing intermediate container 86ddad33cc02
 [mageia-5-x86_64] Step 5 : COPY rpmbootstrap-devel20151125012454.tar.gz ///home/pb/pb/delivery/
 [mageia-5-x86_64] ---> fc45842992b2
 [mageia-5-x86_64] Removing intermediate container 23a659e603b2
 [mageia-5-x86_64] Step 6 : COPY rpmbootstrap-devel20151125012454.pbconf.tar.gz ///home/pb/pb/delivery/
 [mageia-5-x86_64] ---> c43109699189
 [mageia-5-x86_64] Removing intermediate container b4873352c197
 [mageia-5-x86_64] Step 7 : COPY project-builder-devel20151125012454.tar.gz ///home/pb/pb/delivery/
 [mageia-5-x86_64] ---> fc24c2691b24
 [mageia-5-x86_64] Removing intermediate container be0fd529f99a
 [mageia-5-x86_64] Step 8 : COPY project-builder-devel20151125012454.pbconf.tar.gz ///home/pb/pb/delivery/
 [mageia-5-x86_64] ---> 1b1d2b06df55
 [mageia-5-x86_64] Removing intermediate container 144ed2d13289
 [mageia-5-x86_64] Step 9 : COPY ProjectBuilder-devel20151125012454.tar.gz ///home/pb/pb/delivery/
 [mageia-5-x86_64] ---> 8c21371e005d
 [mageia-5-x86_64] Removing intermediate container 0d62c2d8cf0a
 [mageia-5-x86_64] Step 10 : COPY ProjectBuilder-devel20151125012454.pbconf.tar.gz ///home/pb/pb/delivery/
 [mageia-5-x86_64] ---> 62012b6e8fb7
 [mageia-5-x86_64] Removing intermediate container 387fda881928
 [mageia-5-x86_64] Step 11 : COPY pbmkbm-devel20151125012454.tar.gz ///home/pb/pb/delivery/
 [mageia-5-x86_64] ---> 75c6e30898b8
 [mageia-5-x86_64] Removing intermediate container 1111d288a1be
 [mageia-5-x86_64] Step 12 : COPY pbmkbm-devel20151125012454.pbconf.tar.gz ///home/pb/pb/delivery/
 [mageia-5-x86_64] ---> 753fbb19b39d
 [mageia-5-x86_64] Removing intermediate container 80066f1ba34c
 [mageia-5-x86_64] Step 13 : COPY pb.pb ///home/pb/pb/delivery/
 [mageia-5-x86_64] ---> 48fd07706b2e
 [mageia-5-x86_64] Removing intermediate container 05aaa61e6611
 [mageia-5-x86_64] Step 14 : COPY devel-0.pb ///home/pb/pb/delivery/
 [mageia-5-x86_64] ---> 7554809c4947
 [mageia-5-x86_64] Removing intermediate container 92ca0a2fe70b
 [mageia-5-x86_64] Step 15 : COPY .pbrc ///home/pb/pb/delivery/
 [mageia-5-x86_64] ---> 68ab9b6c6527
 [mageia-5-x86_64] Removing intermediate container f1deb9251ac7
 [mageia-5-x86_64] Step 16 : COPY pbrc ///home/pb/pb/delivery/
 [mageia-5-x86_64] ---> 0c07d8ff41ad
 [mageia-5-x86_64] Removing intermediate container cf1163b2f6d3
 [mageia-5-x86_64] Step 17 : COPY pbprep-mageia-5-x86_64 ///home/pb/pb/delivery/
 [mageia-5-x86_64] ---> 926c10e16378
 [mageia-5-x86_64] Removing intermediate container 29a242033d65
 [mageia-5-x86_64] Step 18 : RUN cd ///home/pb/pb/delivery ; ln -sf rpmbootstrap-devel20151125012454.tar.gz rpmbootstrap-latest.tar.gz ; ln -sf project-builder-devel20151125012454.tar.gz project-builder-latest.tar.gz ; ln -sf ProjectBuilder-devel20151125012454.tar.gz ProjectBuilder-latest.tar.gz ; ln -sf pbmkbm-devel20151125012454.tar.gz pbmkbm-latest.tar.gz
 [mageia-5-x86_64] ---> Running in 756642c08580
 [mageia-5-x86_64] ---> 2ea4981d5454
 [mageia-5-x86_64] Removing intermediate container 756642c08580
 [mageia-5-x86_64] Step 19 : COPY pbprep-mageia-5-x86_64 ///home/pb/pb/delivery/
 [mageia-5-x86_64] ---> a94268c4c248
 [mageia-5-x86_64] Removing intermediate container 02321412b2fe
 [mageia-5-x86_64] Step 20 : RUN cd ///home/pb/pb/delivery ; perl ./pbprep-mageia-5-x86_64 ; if [ '0' = '0' ]; then rm -f pbprep-mageia-5-x86_64; fi
 [mageia-5-x86_64] ---> Running in 94768c0cb8ba
 [mageia-5-x86_64] ... Execution needed
 [mageia-5-x86_64] ==== Start of script for ve mageia-5-x86_64 =====
 [mageia-5-x86_64] setting up date with /bin/true
 [mageia-5-x86_64] preping packages on ve...
 [mageia-5-x86_64] pb (aka project-builder.org) Version devel20151125012454-2013
 [mageia-5-x86_64]
 [mageia-5-x86_64] Usage:
 [mageia-5-x86_64] pb [-vhSq][-r pbroot][-p project][[-s script -a account -P port][-T
 [mageia-5-x86_64] VEtype][-t [os-ver-arch]][-m os-ver-arch[,...]]][-g][-i image]
 [mageia-5-x86_64] [ ...]
 [mageia-5-x86_64]
 [mageia-5-x86_64] pb [--verbose][--help][--man][--quiet][--snapshot][--revision
 [mageia-5-x86_64] pbroot][--project project][[--script script --account account --port
 [mageia-5-x86_64] port][-T VEtype][--target [os-ver-arch]][--machine
 [mageia-5-x86_64] os-ver-arch[,...]]][--nographic][--image image][--rebuild]
 [mageia-5-x86_64] [ ...]
 [mageia-5-x86_64]
 [mageia-5-x86_64] Project: pb
 [mageia-5-x86_64] Action: build2prep
 [mageia-5-x86_64] INFO: ------ Starting to prepare build environement ------
 [mageia-5-x86_64] Packages: pbmkbm,ProjectBuilder,project-builder,rpmbootstrap
 [mageia-5-x86_64] Extracting spec files from /home/pb/pb/delivery/pbmkbm-devel20151125012454.pbconf.tar.gz... OK
 [mageia-5-x86_64] Looking for rpm-build... OK
 [mageia-5-x86_64] Extracting spec files from /home/pb/pb/delivery/ProjectBuilder-devel20151125012454.pbconf.tar.gz... OK
 [mageia-5-x86_64] Looking for rpm-build... OK
 [mageia-5-x86_64] Extracting spec files from /home/pb/pb/delivery/project-builder-devel20151125012454.pbconf.tar.gz... OK
 [mageia-5-x86_64] Looking for rpm-build... OK
 [mageia-5-x86_64] Extracting spec files from /home/pb/pb/delivery/rpmbootstrap-devel20151125012454.pbconf.tar.gz... OK
 [mageia-5-x86_64] Looking for rpm-build... OK
 [mageia-5-x86_64] INFO: ------ Finished preparing build environment ------
 [mageia-5-x86_64] ==== End of script 17302 for ve mageia-5-x86_64 =====
 [mageia-5-x86_64] ---> fedb7777e2f6
 [mageia-5-x86_64] Removing intermediate container 94768c0cb8ba
 [mageia-5-x86_64] Step 21 : RUN rm -rf ///home/pb/pb/delivery/*
 [mageia-5-x86_64] ---> Running in 2e4a8576f643
 [mageia-5-x86_64] ---> 3ac6ec13693d
 [mageia-5-x86_64] Removing intermediate container 2e4a8576f643
 [mageia-5-x86_64] Successfully built 3ac6ec13693d


Here not a lot happened, as we’re working with pb itself, and the previous step already installed its dependencies. But that wouldn’t be the case for another project as we’ll see later.
However, we have a new image ready to use:

$ docker images | grep mageia-5
localhost:5000/pb  mageia-5-x86_64-pb-pb  3ac6ec13693d   2 minutes ago  381.5 MB
localhost:5000/pb  mageia-5-x86_64-pb     f25fcac56408  13 minutes ago  378.7 MB
localhost:5000/pb  mageia-5-x86_64        5e12a6c59147  26 minutes ago  185 MB

Finally, we can now build our packages for Mageia 5 with Docker and pb:

$ pb -p pb -m mageia-5-x86_64 -T docker build2ve
Project: pb
Action: build2ve
Packages: ProjectBuilder,project-builder,pbmkbm,rpmbootstrap
Packages: pbmkbm,rpmbootstrap,project-builder,ProjectBuilder
Sources handled (VEbuild): /users/bruno/pb/delivery/pbmkbm-devel20151125025536.tar.gz /users/bruno/pb/delivery/pbmkbm-devel20151125025536.pbconf.tar.gz /users/bruno/pb/delivery/rpmbootstrap-devel20151125025536.tar.gz /users/bruno/pb/delivery/rpmbootstrap-devel20151125025536.pbconf.tar.gz /users/bruno/pb/delivery/project-builder-devel20151125025536.tar.gz /users/bruno/pb/delivery/project-builder-devel20151125025536.pbconf.tar.gz /users/bruno/pb/delivery/ProjectBuilder-devel20151125025536.tar.gz /users/bruno/pb/delivery/ProjectBuilder-devel20151125025536.pbconf.tar.gz /users/bruno/pb/pbconf/devel/pb.pb /users/bruno/pb/delivery/devel-0.pb /users/bruno/.pbrc /users/bruno/pb/delivery/pbrc /users/bruno/pb/delivery/pbbuild-mageia-5-x86_64
Executing pbscript on ///home/pb/pb/delivery if needed... OK
[mageia-5-x86_64] [mageia-5-x86_64] total 2768
[mageia-5-x86_64] drwxr-xr-x 2 600 501 4096 Nov 25 01:56 .
[mageia-5-x86_64] drwxr-xr-x 28 pb pb 4096 Nov 25 01:56 ..
[mageia-5-x86_64] -rw-r--r-- 1 600 501 4598 Nov 25 01:56 .pbrc
[mageia-5-x86_64] -rw-r--r-- 1 600 501 357193 Nov 25 01:56 ProjectBuilder-devel20151125025536.pbconf.tar.gz
[mageia-5-x86_64] -rw-r--r-- 1 600 501 91853 Nov 25 01:56 ProjectBuilder-devel20151125025536.tar.gz
[mageia-5-x86_64] -rw-r--r-- 1 600 501 115 Nov 25 01:56 devel-0.pb
[mageia-5-x86_64] -rw-r--r-- 1 600 501 1938 Nov 25 01:56 pb.pb
[mageia-5-x86_64] -rw-r--r-- 1 600 501 1701 Nov 25 01:56 pbbuild-mageia-5-x86_64
[mageia-5-x86_64] -rw-r--r-- 1 600 501 37728 Nov 25 01:56 pbmkbm-devel20151125025536.pbconf.tar.gz
[mageia-5-x86_64] -rw-r--r-- 1 600 501 14707 Nov 25 01:56 pbmkbm-devel20151125025536.tar.gz
[mageia-5-x86_64] -rw-r--r-- 1 600 501 2099 Nov 25 01:56 pbrc
[mageia-5-x86_64] -rw-r--r-- 1 600 501 2103508 Nov 25 01:56 project-builder-devel20151125025536.pbconf.tar.gz
[mageia-5-x86_64] -rw-r--r-- 1 600 501 76302 Nov 25 01:56 project-builder-devel20151125025536.tar.gz
[mageia-5-x86_64] -rw-r--r-- 1 600 501 82589 Nov 25 01:56 rpmbootstrap-devel20151125025536.pbconf.tar.gz
[mageia-5-x86_64] -rw-r--r-- 1 600 501 17356 Nov 25 01:56 rpmbootstrap-devel20151125025536.tar.gz
[mageia-5-x86_64] ... Execution needed
[mageia-5-x86_64] ==== Start of script for ve mageia-5-x86_64 =====
[mageia-5-x86_64] setting up date with /bin/true
[mageia-5-x86_64] building packages on ve...
[mageia-5-x86_64] pb (aka project-builder.org) Version devel20151125012454-2013
[mageia-5-x86_64]
[mageia-5-x86_64] Usage:
[mageia-5-x86_64] pb [-vhSq][-r pbroot][-p project][[-s script -a account -P port][-T
[mageia-5-x86_64] VEtype][-t [os-ver-arch]][-m os-ver-arch[,...]]][-g][-i image]
[mageia-5-x86_64] [ ...]
[mageia-5-x86_64]
[mageia-5-x86_64] pb [--verbose][--help][--man][--quiet][--snapshot][--revision
[mageia-5-x86_64] pbroot][--project project][[--script script --account account --port
[mageia-5-x86_64] port][-T VEtype][--target [os-ver-arch]][--machine
[mageia-5-x86_64] os-ver-arch[,...]]][--nographic][--image image][--rebuild]
[mageia-5-x86_64] [ ...]
[mageia-5-x86_64]
[mageia-5-x86_64] Project: pb
[mageia-5-x86_64] Action: build2pkg
[mageia-5-x86_64] INFO: ------ Starting to build package ------
[mageia-5-x86_64] Packages: ProjectBuilder,project-builder,rpmbootstrap,pbmkbm
[mageia-5-x86_64] Extracting spec files from /home/pb/pb/delivery/ProjectBuilder-devel20151125025536.pbconf.tar.gz... OK
[mageia-5-x86_64] Extracting patch files from /home/pb/pb/delivery/ProjectBuilder-devel20151125025536.pbconf.tar.gz... NOT OK but non blocking
[mageia-5-x86_64] Extracting src files from /home/pb/pb/delivery/ProjectBuilder-devel20151125025536.pbconf.tar.gz... NOT OK but non blocking
[mageia-5-x86_64] Building package with /home/pb/pb/build/SPECS/perl-ProjectBuilder.spec under /home/pb/pb/build... OK
[mageia-5-x86_64] Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.BO80Di
[mageia-5-x86_64] + umask 022
[mageia-5-x86_64] + cd /home/pb/pb/build/BUILD
[mageia-5-x86_64] + '[' 1 -eq 1 ']'
[mageia-5-x86_64] + '[' 1 -eq 1 ']'
[mageia-5-x86_64] + '[' 1 -eq 1 ']'
[mageia-5-x86_64] + cd /home/pb/pb/build/BUILD
[mageia-5-x86_64] + rm -rf ProjectBuilder-devel20151125025536
[mageia-5-x86_64] + /usr/bin/gzip -dc /home/pb/pb/build/SOURCES/ProjectBuilder-devel20151125025536.tar.gz
[mageia-5-x86_64] + /usr/bin/tar -xf -
[mageia-5-x86_64] + STATUS=0
[mageia-5-x86_64] + '[' 0 -ne 0 ']'
[mageia-5-x86_64] + cd ProjectBuilder-devel20151125025536
[mageia-5-x86_64] + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
[mageia-5-x86_64] + exit 0
[mageia-5-x86_64] Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.cfd5qS
[mageia-5-x86_64] + umask 022
[mageia-5-x86_64] + cd /home/pb/pb/build/BUILD
[mageia-5-x86_64] + cd ProjectBuilder-devel20151125025536
[mageia-5-x86_64] + '[' 1 -eq 1 ']'
[mageia-5-x86_64] + '[' 1 -eq 1 ']'
[mageia-5-x86_64] + /usr/bin/perl Makefile.PL INSTALLDIRS=vendor destdir=/home/pb/pb/build/BUILDROOT/perl-ProjectBuilder-devel20151125025536-0.mga5.x86_64/ CONFDIR=/etc/pb MANDIR=/usr/share/man
[mageia-5-x86_64] 'CONFDIR' is not a known MakeMaker parameter name.
[mageia-5-x86_64] 'MANDIR' is not a known MakeMaker parameter name.
[mageia-5-x86_64] Can't parse version 'devel20151125025536'
[mageia-5-x86_64] Can't parse version 'devel20151125025536'
[mageia-5-x86_64] Generating a Unix-style Makefile
[mageia-5-x86_64] Writing Makefile for ProjectBuilder
[mageia-5-x86_64] Writing MYMETA.yml and MYMETA.json
[mageia-5-x86_64] + make
[mageia-5-x86_64] cp lib/ProjectBuilder/Log.pm blib/lib/ProjectBuilder/Log.pm
[mageia-5-x86_64] cp lib/ProjectBuilder/VE.pm blib/lib/ProjectBuilder/VE.pm
[mageia-5-x86_64] cp lib/ProjectBuilder/Display.pm blib/lib/ProjectBuilder/Display.pm
[mageia-5-x86_64] cp lib/ProjectBuilder/Base.pm blib/lib/ProjectBuilder/Base.pm
[mageia-5-x86_64] cp lib/ProjectBuilder/Env.pm blib/lib/ProjectBuilder/Env.pm
[mageia-5-x86_64] cp lib/ProjectBuilder/Version.pm blib/lib/ProjectBuilder/Version.pm
[mageia-5-x86_64] cp lib/ProjectBuilder/Distribution.pm blib/lib/ProjectBuilder/Distribution.pm
[mageia-5-x86_64] cp lib/ProjectBuilder/Conf.pm blib/lib/ProjectBuilder/Conf.pm
[mageia-5-x86_64] cp lib/ProjectBuilder/Log/Item.pm blib/lib/ProjectBuilder/Log/Item.pm
[mageia-5-x86_64] cp lib/ProjectBuilder/VCS.pm blib/lib/ProjectBuilder/VCS.pm
[mageia-5-x86_64] cp bin/pbgetparam blib/bin/pbgetparam
[mageia-5-x86_64] /usr/bin/perl5.20.1 -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/bin/pbgetparam
[mageia-5-x86_64] cp bin/pbdistrocheck blib/bin/pbdistrocheck
[mageia-5-x86_64] /usr/bin/perl5.20.1 -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/bin/pbdistrocheck
[mageia-5-x86_64] Manifying blib/man1/pbdistrocheck.1
[mageia-5-x86_64] Manifying blib/man1/pbgetparam.1
[mageia-5-x86_64] Manifying blib/man3/ProjectBuilder::Base.3pm
[mageia-5-x86_64] Manifying blib/man3/ProjectBuilder::Conf.3pm
[mageia-5-x86_64] Manifying blib/man3/ProjectBuilder::Display.3pm
[mageia-5-x86_64] Manifying blib/man3/ProjectBuilder::Distribution.3pm
[mageia-5-x86_64] Manifying blib/man3/ProjectBuilder::Env.3pm
[mageia-5-x86_64] Manifying blib/man3/ProjectBuilder::VCS.3pm
[mageia-5-x86_64] Manifying blib/man3/ProjectBuilder::VE.3pm
[mageia-5-x86_64] + exit 0
[mageia-5-x86_64] Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.QGDo9u
[mageia-5-x86_64] + umask 022
[mageia-5-x86_64] + cd /home/pb/pb/build/BUILD
[mageia-5-x86_64] + '[' /home/pb/pb/build/BUILDROOT/perl-ProjectBuilder-devel20151125025536-0.mga5.x86_64 '!=' / ']'
[mageia-5-x86_64] + rm -rf /home/pb/pb/build/BUILDROOT/perl-ProjectBuilder-devel20151125025536-0.mga5.x86_64
[mageia-5-x86_64] ++ dirname /home/pb/pb/build/BUILDROOT/perl-ProjectBuilder-devel20151125025536-0.mga5.x86_64
[mageia-5-x86_64] + mkdir -p /home/pb/pb/build/BUILDROOT
[mageia-5-x86_64] + mkdir /home/pb/pb/build/BUILDROOT/perl-ProjectBuilder-devel20151125025536-0.mga5.x86_64
[mageia-5-x86_64] + cd ProjectBuilder-devel20151125025536
[mageia-5-x86_64] + '[' 1 -eq 1 ']'
[mageia-5-x86_64] + /usr/bin/rm -rf /home/pb/pb/build/BUILDROOT/perl-ProjectBuilder-devel20151125025536-0.mga5.x86_64
[mageia-5-x86_64] + make DESTDIR=/home/pb/pb/build/BUILDROOT/perl-ProjectBuilder-devel20151125025536-0.mga5.x86_64 install
[mageia-5-x86_64] Installing /home/pb/pb/build/BUILDROOT/perl-ProjectBuilder-devel20151125025536-0.mga5.x86_64/usr/bin/pbdistrocheck
[mageia-5-x86_64] Installing /home/pb/pb/build/BUILDROOT/perl-ProjectBuilder-devel20151125025536-0.mga5.x86_64/usr/bin/pbgetparam
[mageia-5-x86_64] Installing /home/pb/pb/build/BUILDROOT/perl-ProjectBuilder-devel20151125025536-0.mga5.x86_64/usr/lib/perl5/vendor_perl/5.20.1/ProjectBuilder/Distribution.pm
[mageia-5-x86_64] Installing /home/pb/pb/build/BUILDROOT/perl-ProjectBuilder-devel20151125025536-0.mga5.x86_64/usr/lib/perl5/vendor_perl/5.20.1/ProjectBuilder/VCS.pm
[mageia-5-x86_64] Installing /home/pb/pb/build/BUILDROOT/perl-ProjectBuilder-devel20151125025536-0.mga5.x86_64/usr/lib/perl5/vendor_perl/5.20.1/ProjectBuilder/Env.pm
[mageia-5-x86_64] Installing /home/pb/pb/build/BUILDROOT/perl-ProjectBuilder-devel20151125025536-0.mga5.x86_64/usr/lib/perl5/vendor_perl/5.20.1/ProjectBuilder/Log.pm
[mageia-5-x86_64] Installing /home/pb/pb/build/BUILDROOT/perl-ProjectBuilder-devel20151125025536-0.mga5.x86_64/usr/lib/perl5/vendor_perl/5.20.1/ProjectBuilder/Version.pm
[mageia-5-x86_64] Installing /home/pb/pb/build/BUILDROOT/perl-ProjectBuilder-devel20151125025536-0.mga5.x86_64/usr/lib/perl5/vendor_perl/5.20.1/ProjectBuilder/Conf.pm
[mageia-5-x86_64] Installing /home/pb/pb/build/BUILDROOT/perl-ProjectBuilder-devel20151125025536-0.mga5.x86_64/usr/lib/perl5/vendor_perl/5.20.1/ProjectBuilder/Display.pm
[mageia-5-x86_64] Installing /home/pb/pb/build/BUILDROOT/perl-ProjectBuilder-devel20151125025536-0.mga5.x86_64/usr/lib/perl5/vendor_perl/5.20.1/ProjectBuilder/VE.pm
[mageia-5-x86_64] Installing /home/pb/pb/build/BUILDROOT/perl-ProjectBuilder-devel20151125025536-0.mga5.x86_64/usr/lib/perl5/vendor_perl/5.20.1/ProjectBuilder/Base.pm
[mageia-5-x86_64] Installing /home/pb/pb/build/BUILDROOT/perl-ProjectBuilder-devel20151125025536-0.mga5.x86_64/usr/lib/perl5/vendor_perl/5.20.1/ProjectBuilder/Log/Item.pm
[mageia-5-x86_64] Installing /home/pb/pb/build/BUILDROOT/perl-ProjectBuilder-devel20151125025536-0.mga5.x86_64/usr/share/man/man1/pbgetparam.1
[mageia-5-x86_64] Installing /home/pb/pb/build/BUILDROOT/perl-ProjectBuilder-devel20151125025536-0.mga5.x86_64/usr/share/man/man1/pbdistrocheck.1
[mageia-5-x86_64] Installing /home/pb/pb/build/BUILDROOT/perl-ProjectBuilder-devel20151125025536-0.mga5.x86_64/usr/share/man/man3/ProjectBuilder::Base.3pm
[mageia-5-x86_64] Installing /home/pb/pb/build/BUILDROOT/perl-ProjectBuilder-devel20151125025536-0.mga5.x86_64/usr/share/man/man3/ProjectBuilder::Display.3pm
[mageia-5-x86_64] Installing /home/pb/pb/build/BUILDROOT/perl-ProjectBuilder-devel20151125025536-0.mga5.x86_64/usr/share/man/man3/ProjectBuilder::VCS.3pm
[mageia-5-x86_64] Installing /home/pb/pb/build/BUILDROOT/perl-ProjectBuilder-devel20151125025536-0.mga5.x86_64/usr/share/man/man3/ProjectBuilder::Env.3pm
[mageia-5-x86_64] Installing /home/pb/pb/build/BUILDROOT/perl-ProjectBuilder-devel20151125025536-0.mga5.x86_64/usr/share/man/man3/ProjectBuilder::Conf.3pm
[mageia-5-x86_64] Installing /home/pb/pb/build/BUILDROOT/perl-ProjectBuilder-devel20151125025536-0.mga5.x86_64/usr/share/man/man3/ProjectBuilder::VE.3pm
[mageia-5-x86_64] Installing /home/pb/pb/build/BUILDROOT/perl-ProjectBuilder-devel20151125025536-0.mga5.x86_64/usr/share/man/man3/ProjectBuilder::Distribution.3pm
[mageia-5-x86_64] Appending installation info to /home/pb/pb/build/BUILDROOT/perl-ProjectBuilder-devel20151125025536-0.mga5.x86_64/usr/lib/perl5/5.20.1/x86_64-linux-thread-multi/perllocal.pod
[mageia-5-x86_64] mkdir -p /home/pb/pb/build/BUILDROOT/perl-ProjectBuilder-devel20151125025536-0.mga5.x86_64/etc/pb
[mageia-5-x86_64] chmod 755 /home/pb/pb/build/BUILDROOT/perl-ProjectBuilder-devel20151125025536-0.mga5.x86_64/etc/pb
[mageia-5-x86_64] cp etc/pb.conf /home/pb/pb/build/BUILDROOT/perl-ProjectBuilder-devel20151125025536-0.mga5.x86_64/etc/pb
[mageia-5-x86_64] mkdir -p /home/pb/pb/build/BUILDROOT/perl-ProjectBuilder-devel20151125025536-0.mga5.x86_64/usr/share/man/man5
[mageia-5-x86_64] pod2man --section=5 etc/pb.conf.pod > /home/pb/pb/build/BUILDROOT/perl-ProjectBuilder-devel20151125025536-0.mga5.x86_64/usr/share/man/man5/pb.conf.5
[mageia-5-x86_64] + find /home/pb/pb/build/BUILDROOT/perl-ProjectBuilder-devel20151125025536-0.mga5.x86_64 -type f -name perllocal.pod -o -name .packlist -o -name '*.bs' -a -size 0
[mageia-5-x86_64] + xargs rm -f
[mageia-5-x86_64] + find /home/pb/pb/build/BUILDROOT/perl-ProjectBuilder-devel20151125025536-0.mga5.x86_64 -type d -depth
[mageia-5-x86_64] + xargs rmdir --ignore-fail-on-non-empty
[mageia-5-x86_64] + /usr/lib/rpm/find-debuginfo.sh --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -m /home/pb/pb/build/BUILD/ProjectBuilder-devel20151125025536
[mageia-5-x86_64]
[mageia-5-x86_64] + '[' -n '' ']'
[mageia-5-x86_64] + /usr/share/spec-helper/clean_files
[mageia-5-x86_64] + '[' -n '' ']'
[mageia-5-x86_64] + /usr/share/spec-helper/compress_files .xz
[mageia-5-x86_64] + '[' -n '' ']'
[mageia-5-x86_64] + /usr/share/spec-helper/relink_symlinks
[mageia-5-x86_64] + '[' -n '' ']'
[mageia-5-x86_64] + /usr/share/spec-helper/clean_perl
[mageia-5-x86_64] + '[' -n '' ']'
[mageia-5-x86_64] + /usr/share/spec-helper/lib_symlinks
[mageia-5-x86_64] + '[' -n '' ']'
[mageia-5-x86_64] + /usr/share/spec-helper/gprintify
[mageia-5-x86_64] + '[' -n '' ']'
[mageia-5-x86_64] + /usr/share/spec-helper/fix_mo
[mageia-5-x86_64] + '[' -n '' ']'
[mageia-5-x86_64] + /usr/share/spec-helper/translate_menu
[mageia-5-x86_64] + '[' -n '' ']'
[mageia-5-x86_64] + /usr/share/spec-helper/fix_pamd
[mageia-5-x86_64] + '[' -n '' ']'
[mageia-5-x86_64] + /usr/share/spec-helper/remove_info_dir
[mageia-5-x86_64] + '[' -n '' ']'
[mageia-5-x86_64] + /usr/share/spec-helper/fix_eol
[mageia-5-x86_64] + '[' -n '' ']'
[mageia-5-x86_64] + /usr/share/spec-helper/check_elf_files
[mageia-5-x86_64] + /usr/lib/rpm/mageia/brp-java-repack-jars
[mageia-5-x86_64] + '[' 1 -eq 1 ']'
[mageia-5-x86_64] + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1
[mageia-5-x86_64] + /usr/lib/rpm/brp-python-hardlink
[mageia-5-x86_64] Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.6PTMwa
[mageia-5-x86_64] + umask 022
[mageia-5-x86_64] + cd /home/pb/pb/build/BUILD
[mageia-5-x86_64] + cd ProjectBuilder-devel20151125025536
[mageia-5-x86_64] + '[' 1 -eq 1 ']'
[mageia-5-x86_64] + make test
[mageia-5-x86_64] PERL_DL_NONLAZY=1 /usr/bin/perl5.20.1 "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
[mageia-5-x86_64] Subroutine main::plan redefined at t/Base.t line 21.
[mageia-5-x86_64] Subroutine main::ok redefined at t/Base.t line 21.
[mageia-5-x86_64] Prototype mismatch: sub main::ok ($;$) vs ($;$$) at t/Base.t line 21.
[mageia-5-x86_64] Subroutine main::skip redefined at t/Base.t line 21.
[mageia-5-x86_64] Prototype mismatch: sub main::skip: none vs ($;$$$) at t/Base.t line 21.
[mageia-5-x86_64] t/Base.t .. ok
[mageia-5-x86_64] Subroutine main::plan redefined at t/Conf.t line 23.
[mageia-5-x86_64] Subroutine main::ok redefined at t/Conf.t line 23.
[mageia-5-x86_64] Prototype mismatch: sub main::ok ($;$) vs ($;$$) at t/Conf.t line 23.
[mageia-5-x86_64] Subroutine main::skip redefined at t/Conf.t line 23.
[mageia-5-x86_64] Prototype mismatch: sub main::skip: none vs ($;$$$) at t/Conf.t line 23.
[mageia-5-x86_64] t/Conf.t .. ok
[mageia-5-x86_64] Subroutine main::plan redefined at t/Log.t line 21.
[mageia-5-x86_64] Subroutine main::ok redefined at t/Log.t line 21.
[mageia-5-x86_64] Prototype mismatch: sub main::ok ($;$) vs ($;$$) at t/Log.t line 21.
[mageia-5-x86_64] Subroutine main::skip redefined at t/Log.t line 21.
[mageia-5-x86_64] Prototype mismatch: sub main::skip: none vs ($;$$$) at t/Log.t line 21.
[mageia-5-x86_64] t/Log.t ... ok
[mageia-5-x86_64] All tests successful.
[mageia-5-x86_64] Files=3, Tests=3, 0 wallclock secs ( 0.03 usr 0.00 sys + 0.14 cusr 0.02 csys = 0.19 CPU)
[mageia-5-x86_64] Result: PASS
[mageia-5-x86_64] + exit 0
[mageia-5-x86_64] Processing files: perl-ProjectBuilder-devel20151125025536-0.mga5.noarch
[mageia-5-x86_64] Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.MMENRQ
[mageia-5-x86_64] + umask 022
[mageia-5-x86_64] + cd /home/pb/pb/build/BUILD
[mageia-5-x86_64] + cd ProjectBuilder-devel20151125025536
[mageia-5-x86_64] + DOCDIR=/home/pb/pb/build/BUILDROOT/perl-ProjectBuilder-devel20151125025536-0.mga5.x86_64/usr/share/doc/perl-ProjectBuilder
[mageia-5-x86_64] + export DOCDIR
[mageia-5-x86_64] + /usr/bin/mkdir -p /home/pb/pb/build/BUILDROOT/perl-ProjectBuilder-devel20151125025536-0.mga5.x86_64/usr/share/doc/perl-ProjectBuilder
[mageia-5-x86_64] + cp -pr NEWS /home/pb/pb/build/BUILDROOT/perl-ProjectBuilder-devel20151125025536-0.mga5.x86_64/usr/share/doc/perl-ProjectBuilder
[mageia-5-x86_64] + cp -pr AUTHORS /home/pb/pb/build/BUILDROOT/perl-ProjectBuilder-devel20151125025536-0.mga5.x86_64/usr/share/doc/perl-ProjectBuilder
[mageia-5-x86_64] + cp -pr INSTALL /home/pb/pb/build/BUILDROOT/perl-ProjectBuilder-devel20151125025536-0.mga5.x86_64/usr/share/doc/perl-ProjectBuilder
[mageia-5-x86_64] + cp -pr COPYING /home/pb/pb/build/BUILDROOT/perl-ProjectBuilder-devel20151125025536-0.mga5.x86_64/usr/share/doc/perl-ProjectBuilder
[mageia-5-x86_64] + cp -pr README /home/pb/pb/build/BUILDROOT/perl-ProjectBuilder-devel20151125025536-0.mga5.x86_64/usr/share/doc/perl-ProjectBuilder
[mageia-5-x86_64] + exit 0
[mageia-5-x86_64] Provides: config(perl-ProjectBuilder) = devel20151125025536-0.mga5 perl(ProjectBuilder::Base) perl(ProjectBuilder::Conf) perl(ProjectBuilder::Display) perl(ProjectBuilder::Distribution) perl(ProjectBuilder::Env) perl(ProjectBuilder::Log) perl(ProjectBuilder::Log::Item) perl(ProjectBuilder::VCS) perl(ProjectBuilder::VE) perl(ProjectBuilder::Version) perl-ProjectBuilder = devel20151125025536-0.mga5
[mageia-5-x86_64] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) = 2:5.20.1
[mageia-5-x86_64] Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/pb/pb/build/BUILDROOT/perl-ProjectBuilder-devel20151125025536-0.mga5.x86_64
[mageia-5-x86_64] Wrote: /home/pb/pb/build/SRPMS/perl-ProjectBuilder-devel20151125025536-0.mga5.src.rpm
[mageia-5-x86_64] Wrote: /home/pb/pb/build/RPMS/noarch/perl-ProjectBuilder-devel20151125025536-0.mga5.noarch.rpm
[mageia-5-x86_64] Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.k9o2mz
[mageia-5-x86_64] + umask 022
[mageia-5-x86_64] + cd /home/pb/pb/build/BUILD
[mageia-5-x86_64] + cd ProjectBuilder-devel20151125025536
[mageia-5-x86_64] + /usr/bin/rm -rf /home/pb/pb/build/BUILDROOT/perl-ProjectBuilder-devel20151125025536-0.mga5.x86_64
[mageia-5-x86_64] + exit 0
[mageia-5-x86_64] Extracting spec files from /home/pb/pb/delivery/project-builder-devel20151125025536.pbconf.tar.gz... OK
[mageia-5-x86_64] Extracting patch files from /home/pb/pb/delivery/project-builder-devel20151125025536.pbconf.tar.gz... NOT OK but non blocking
[mageia-5-x86_64] Extracting src files from /home/pb/pb/delivery/project-builder-devel20151125025536.pbconf.tar.gz... NOT OK but non blocking
[mageia-5-x86_64] Building package with /home/pb/pb/build/SPECS/project-builder.spec under /home/pb/pb/build... OK
[mageia-5-x86_64] Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.weXFg0
[mageia-5-x86_64] + umask 022
[mageia-5-x86_64] + cd /home/pb/pb/build/BUILD
[mageia-5-x86_64] + '[' 1 -eq 1 ']'
[mageia-5-x86_64] + '[' 1 -eq 1 ']'
[mageia-5-x86_64] + '[' 1 -eq 1 ']'
[mageia-5-x86_64] + cd /home/pb/pb/build/BUILD
[mageia-5-x86_64] + rm -rf project-builder-devel20151125025536
[mageia-5-x86_64] + /usr/bin/gzip -dc /home/pb/pb/build/SOURCES/project-builder-devel20151125025536.tar.gz
[mageia-5-x86_64] + /usr/bin/tar -xf -
[mageia-5-x86_64] + STATUS=0
[mageia-5-x86_64] + '[' 0 -ne 0 ']'
[mageia-5-x86_64] + cd project-builder-devel20151125025536
[mageia-5-x86_64] + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
[mageia-5-x86_64] + exit 0
[mageia-5-x86_64] Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.QdQzwJ
[mageia-5-x86_64] + umask 022
[mageia-5-x86_64] + cd /home/pb/pb/build/BUILD
[mageia-5-x86_64] + cd project-builder-devel20151125025536
[mageia-5-x86_64] + '[' 1 -eq 1 ']'
[mageia-5-x86_64] + '[' 1 -eq 1 ']'
[mageia-5-x86_64] + /usr/bin/perl Makefile.PL INSTALLDIRS=vendor destdir=/home/pb/pb/build/BUILDROOT/project-builder-devel20151125025536-0.mga5.x86_64/
[mageia-5-x86_64] Can't parse version 'devel20151125025536'
[mageia-5-x86_64] Can't parse version 'devel20151125025536'
[mageia-5-x86_64] Generating a Unix-style Makefile
[mageia-5-x86_64] Writing Makefile for pb
[mageia-5-x86_64] Writing MYMETA.yml and MYMETA.json
[mageia-5-x86_64] + make
[mageia-5-x86_64] cp lib/ProjectBuilder/CMS.pm blib/lib/ProjectBuilder/CMS.pm
[mageia-5-x86_64] cp lib/ProjectBuilder/Filter.pm blib/lib/ProjectBuilder/Filter.pm
[mageia-5-x86_64] cp lib/ProjectBuilder/Changelog.pm blib/lib/ProjectBuilder/Changelog.pm
[mageia-5-x86_64] cp bin/pbg blib/bin/pbg
[mageia-5-x86_64] /usr/bin/perl5.20.1 -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/bin/pbg
[mageia-5-x86_64] cp bin/pb blib/bin/pb
[mageia-5-x86_64] /usr/bin/perl5.20.1 -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/bin/pb
[mageia-5-x86_64] cp bin/pbvi blib/bin/pbvi
[mageia-5-x86_64] /usr/bin/perl5.20.1 -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/bin/pbvi
[mageia-5-x86_64] Manifying blib/man1/pb.1
[mageia-5-x86_64] Manifying blib/man3/ProjectBuilder::CMS.3pm
[mageia-5-x86_64] Manifying blib/man3/ProjectBuilder::Changelog.3pm
[mageia-5-x86_64] Manifying blib/man3/ProjectBuilder::Filter.3pm
[mageia-5-x86_64] + exit 0
[mageia-5-x86_64] Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.nQ9hNv
[mageia-5-x86_64] + umask 022
[mageia-5-x86_64] + cd /home/pb/pb/build/BUILD
[mageia-5-x86_64] + '[' /home/pb/pb/build/BUILDROOT/project-builder-devel20151125025536-0.mga5.x86_64 '!=' / ']'
[mageia-5-x86_64] + rm -rf /home/pb/pb/build/BUILDROOT/project-builder-devel20151125025536-0.mga5.x86_64
[mageia-5-x86_64] ++ dirname /home/pb/pb/build/BUILDROOT/project-builder-devel20151125025536-0.mga5.x86_64
[mageia-5-x86_64] + mkdir -p /home/pb/pb/build/BUILDROOT
[mageia-5-x86_64] + mkdir /home/pb/pb/build/BUILDROOT/project-builder-devel20151125025536-0.mga5.x86_64
[mageia-5-x86_64] + cd project-builder-devel20151125025536
[mageia-5-x86_64] + '[' 1 -eq 1 ']'
[mageia-5-x86_64] + /usr/bin/rm -rf /home/pb/pb/build/BUILDROOT/project-builder-devel20151125025536-0.mga5.x86_64
[mageia-5-x86_64] + make DESTDIR=/home/pb/pb/build/BUILDROOT/project-builder-devel20151125025536-0.mga5.x86_64 install
[mageia-5-x86_64] Installing /home/pb/pb/build/BUILDROOT/project-builder-devel20151125025536-0.mga5.x86_64/usr/bin/pb
[mageia-5-x86_64] Installing /home/pb/pb/build/BUILDROOT/project-builder-devel20151125025536-0.mga5.x86_64/usr/bin/pbvi
[mageia-5-x86_64] Installing /home/pb/pb/build/BUILDROOT/project-builder-devel20151125025536-0.mga5.x86_64/usr/bin/pbg
[mageia-5-x86_64] Installing /home/pb/pb/build/BUILDROOT/project-builder-devel20151125025536-0.mga5.x86_64/usr/lib/perl5/vendor_perl/5.20.1/ProjectBuilder/Changelog.pm
[mageia-5-x86_64] Installing /home/pb/pb/build/BUILDROOT/project-builder-devel20151125025536-0.mga5.x86_64/usr/lib/perl5/vendor_perl/5.20.1/ProjectBuilder/CMS.pm
[mageia-5-x86_64] Installing /home/pb/pb/build/BUILDROOT/project-builder-devel20151125025536-0.mga5.x86_64/usr/lib/perl5/vendor_perl/5.20.1/ProjectBuilder/Filter.pm
[mageia-5-x86_64] Installing /home/pb/pb/build/BUILDROOT/project-builder-devel20151125025536-0.mga5.x86_64/usr/share/man/man1/pb.1
[mageia-5-x86_64] Installing /home/pb/pb/build/BUILDROOT/project-builder-devel20151125025536-0.mga5.x86_64/usr/share/man/man3/ProjectBuilder::CMS.3pm
[mageia-5-x86_64] Installing /home/pb/pb/build/BUILDROOT/project-builder-devel20151125025536-0.mga5.x86_64/usr/share/man/man3/ProjectBuilder::Changelog.3pm
[mageia-5-x86_64] Installing /home/pb/pb/build/BUILDROOT/project-builder-devel20151125025536-0.mga5.x86_64/usr/share/man/man3/ProjectBuilder::Filter.3pm
[mageia-5-x86_64] Appending installation info to /home/pb/pb/build/BUILDROOT/project-builder-devel20151125025536-0.mga5.x86_64/usr/lib/perl5/5.20.1/x86_64-linux-thread-multi/perllocal.pod
[mageia-5-x86_64] + find /home/pb/pb/build/BUILDROOT/project-builder-devel20151125025536-0.mga5.x86_64 -type f -name perllocal.pod -o -name .packlist -o -name '*.bs' -a -size 0
[mageia-5-x86_64] + xargs rm -f
[mageia-5-x86_64] + find /home/pb/pb/build/BUILDROOT/project-builder-devel20151125025536-0.mga5.x86_64 -type d -depth
[mageia-5-x86_64] + xargs rmdir --ignore-fail-on-non-empty
[mageia-5-x86_64] + /usr/lib/rpm/find-debuginfo.sh --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -m /home/pb/pb/build/BUILD/project-builder-devel20151125025536
[mageia-5-x86_64]
[mageia-5-x86_64] + '[' -n '' ']'
[mageia-5-x86_64] + /usr/share/spec-helper/clean_files
[mageia-5-x86_64] + '[' -n '' ']'
[mageia-5-x86_64] + /usr/share/spec-helper/compress_files .xz
[mageia-5-x86_64] + '[' -n '' ']'
[mageia-5-x86_64] + /usr/share/spec-helper/relink_symlinks
[mageia-5-x86_64] + '[' -n '' ']'
[mageia-5-x86_64] + /usr/share/spec-helper/clean_perl
[mageia-5-x86_64] + '[' -n '' ']'
[mageia-5-x86_64] + /usr/share/spec-helper/lib_symlinks
[mageia-5-x86_64] + '[' -n '' ']'
[mageia-5-x86_64] + /usr/share/spec-helper/gprintify
[mageia-5-x86_64] + '[' -n '' ']'
[mageia-5-x86_64] + /usr/share/spec-helper/fix_mo
[mageia-5-x86_64] + '[' -n '' ']'
[mageia-5-x86_64] + /usr/share/spec-helper/translate_menu
[mageia-5-x86_64] + '[' -n '' ']'
[mageia-5-x86_64] + /usr/share/spec-helper/fix_pamd
[mageia-5-x86_64] + '[' -n '' ']'
[mageia-5-x86_64] + /usr/share/spec-helper/remove_info_dir
[mageia-5-x86_64] + '[' -n '' ']'
[mageia-5-x86_64] + /usr/share/spec-helper/fix_eol
[mageia-5-x86_64] + '[' -n '' ']'
[mageia-5-x86_64] + /usr/share/spec-helper/check_elf_files
[mageia-5-x86_64] + /usr/lib/rpm/mageia/brp-java-repack-jars
[mageia-5-x86_64] + '[' 1 -eq 1 ']'
[mageia-5-x86_64] + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1
[mageia-5-x86_64] + /usr/lib/rpm/brp-python-hardlink
[mageia-5-x86_64] Processing files: project-builder-devel20151125025536-0.mga5.noarch
[mageia-5-x86_64] Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.1DIB1j
[mageia-5-x86_64] + umask 022
[mageia-5-x86_64] + cd /home/pb/pb/build/BUILD
[mageia-5-x86_64] + cd project-builder-devel20151125025536
[mageia-5-x86_64] + DOCDIR=/home/pb/pb/build/BUILDROOT/project-builder-devel20151125025536-0.mga5.x86_64/usr/share/doc/project-builder
[mageia-5-x86_64] + export DOCDIR
[mageia-5-x86_64] + /usr/bin/mkdir -p /home/pb/pb/build/BUILDROOT/project-builder-devel20151125025536-0.mga5.x86_64/usr/share/doc/project-builder
[mageia-5-x86_64] + cp -pr NEWS /home/pb/pb/build/BUILDROOT/project-builder-devel20151125025536-0.mga5.x86_64/usr/share/doc/project-builder
[mageia-5-x86_64] + cp -pr AUTHORS /home/pb/pb/build/BUILDROOT/project-builder-devel20151125025536-0.mga5.x86_64/usr/share/doc/project-builder
[mageia-5-x86_64] + cp -pr INSTALL /home/pb/pb/build/BUILDROOT/project-builder-devel20151125025536-0.mga5.x86_64/usr/share/doc/project-builder
[mageia-5-x86_64] + cp -pr COPYING /home/pb/pb/build/BUILDROOT/project-builder-devel20151125025536-0.mga5.x86_64/usr/share/doc/project-builder
[mageia-5-x86_64] + cp -pr README /home/pb/pb/build/BUILDROOT/project-builder-devel20151125025536-0.mga5.x86_64/usr/share/doc/project-builder
[mageia-5-x86_64] + exit 0
[mageia-5-x86_64] Provides: perl(ProjectBuilder::CMS) perl(ProjectBuilder::Changelog) perl(ProjectBuilder::Filter) project-builder = devel20151125025536-0.mga5
[mageia-5-x86_64] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) = 2:5.20.1
[mageia-5-x86_64] Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/pb/pb/build/BUILDROOT/project-builder-devel20151125025536-0.mga5.x86_64
[mageia-5-x86_64] Wrote: /home/pb/pb/build/SRPMS/project-builder-devel20151125025536-0.mga5.src.rpm
[mageia-5-x86_64] Wrote: /home/pb/pb/build/RPMS/noarch/project-builder-devel20151125025536-0.mga5.noarch.rpm
[mageia-5-x86_64] Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.0cVfq9
[mageia-5-x86_64] + umask 022
[mageia-5-x86_64] + cd /home/pb/pb/build/BUILD
[mageia-5-x86_64] + cd project-builder-devel20151125025536
[mageia-5-x86_64] + /usr/bin/rm -rf /home/pb/pb/build/BUILDROOT/project-builder-devel20151125025536-0.mga5.x86_64
[mageia-5-x86_64] + exit 0
[...]
[mageia-5-x86_64] INFO: ------ Finished building package ------
[mageia-5-x86_64] Checking validity of rpms with /usr/bin/rpmlint... OK
[mageia-5-x86_64] pbmkbm.src: W: summary-too-long fr Project Builder Make Boot Media permet de créer des media amorçables à façon
[...]
[mageia-5-x86_64] pbmkbm.noarch: W: changelog-time-in-future 2030-01-01
[mageia-5-x86_64]
[mageia-5-x86_64] 8 packages and 0 specfiles checked; 0 errors, 69 warnings.
[mageia-5-x86_64] SRPM packages generated: /home/pb/pb/build/SRPMS/perl-ProjectBuilder-devel20151125025536-0.mga5.src.rpm /home/pb/pb/build/SRPMS/project-builder-devel20151125025536-0.mga5.src.rpm /home/pb/pb/build/SRPMS/rpmbootstrap-devel20151125025536-0.mga5.src.rpm /home/pb/pb/build/SRPMS/pbmkbm-devel20151125025536-0.mga5.src.rpm
[mageia-5-x86_64] RPM packages generated: /home/pb/pb/build/RPMS/noarch/perl-ProjectBuilder-devel20151125025536-0.mga5.noarch.rpm /home/pb/pb/build/RPMS/noarch/project-builder-devel20151125025536-0.mga5.noarch.rpm /home/pb/pb/build/RPMS/noarch/rpmbootstrap-devel20151125025536-0.mga5.noarch.rpm /home/pb/pb/build/RPMS/noarch/pbmkbm-devel20151125025536-0.mga5.noarch.rpm
[mageia-5-x86_64] ==== End of script 22892 for ve mageia-5-x86_64 =====
Get package names in /users/bruno/pb/build/devel-0-mageia-5-x86_64... OK
Recovery of package perl-ProjectBuilder-devel20151125025536-0.mga5.src.rpm in /users/bruno/pb/build/mageia/5/x86_64... OK
Recovery of package perl-ProjectBuilder-devel20151125025536-0.mga5.noarch.rpm in /users/bruno/pb/build/mageia/5/x86_64... OK
Recovery of package project-builder-devel20151125025536-0.mga5.src.rpm in /users/bruno/pb/build/mageia/5/x86_64... OK
Recovery of package project-builder-devel20151125025536-0.mga5.noarch.rpm in /users/bruno/pb/build/mageia/5/x86_64... OK
Recovery of package rpmbootstrap-devel20151125025536-0.mga5.src.rpm in /users/bruno/pb/build/mageia/5/x86_64... OK
Recovery of package rpmbootstrap-devel20151125025536-0.mga5.noarch.rpm in /users/bruno/pb/build/mageia/5/x86_64... OK
Recovery of package pbmkbm-devel20151125025536-0.mga5.src.rpm in /users/bruno/pb/build/mageia/5/x86_64... OK
Recovery of package pbmkbm-devel20151125025536-0.mga5.noarch.rpm in /users/bruno/pb/build/mageia/5/x86_64... OK
Signing RPM packages...
mageia/5/x86_64/perl-ProjectBuilder-devel20151125025536-0.mga5.src.rpm:

You need a passphrase to unlock the secret key for
user: "Bruno Cornec (primary address) "
1024-bit DSA key, ID 0x141B9FF237DB9883, created 2001-08-24

mageia/5/x86_64/perl-ProjectBuilder-devel20151125025536-0.mga5.src.rpm has been resigned
[...]
mageia/5/x86_64/pbmkbm-devel20151125025536-0.mga5.noarch.rpm has been resigned
Packages: ProjectBuilder,rpmbootstrap,pbmkbm,project-builder
Exporting public key for Bruno Cornec
Preparing /prj/ftp/test/mageia/5/x86_64 on xxx@www.project-builder.org:/prj/ftp/test/mageia/5/x86_64... OK
Sources handled (Packages): mageia/5/x86_64/perl-ProjectBuilder-devel20151125025536-0.mga5.src.rpm mageia/5/x86_64/perl-ProjectBuilder-devel20151125025536-0.mga5.noarch.rpm mageia/5/x86_64/project-builder-devel20151125025536-0.mga5.src.rpm mageia/5/x86_64/project-builder-devel20151125025536-0.mga5.noarch.rpm mageia/5/x86_64/rpmbootstrap-devel20151125025536-0.mga5.src.rpm mageia/5/x86_64/rpmbootstrap-devel20151125025536-0.mga5.noarch.rpm mageia/5/x86_64/pbmkbm-devel20151125025536-0.mga5.src.rpm mageia/5/x86_64/pbmkbm-devel20151125025536-0.mga5.noarch.rpm /users/bruno/pb/delivery/pb.pubkey /users/bruno/pb/build/pbscript.22893
Packages delivery in xxx@www.project-builder.org:/prj/ftp/test/mageia/5/x86_64... OK
Executing pbscript on xxx@www.project-builder.org:/prj/ftp/test/mageia/5/x86_64 if needed... OK
16/16 - rpmbootstrap-devel20151125025536-0.mga5.src.rpm
[mageia-5-x86_64] Saving Primary metadata
[mageia-5-x86_64] Saving file lists metadata
[mageia-5-x86_64] Saving other metadata
[mageia-5-x86_64] adding 16 new rpms not available in existing hdlist
[mageia-5-x86_64] replacing ./media_info/hdlist.cz with hdlist.cz.tmp
[mageia-5-x86_64] replacing ./media_info/synthesis.hdlist.cz with synthesis.hdlist.cz.tmp
[mageia-5-x86_64] updating ./media_info/MD5SUM

Here you are ! We’ve built packages for Mageia 5 using pb and Docker and delivered them on to the ftp server of the project and recomputed indexes in order to have them ready to be consumed. That’s what I call Continuous Packaging ! Note that when the build is successful, the intermediate container used to build is removed at the end.

Ok, sounds great, but that’s a bit of overhead for building … natively. So start doing it for another distro:

$ pb -p pb -T docker -m debian-8-x86_64 -i debian:8 newve
Project: pb
Action: newve
Installing dependencies perl sudo wget tar make gzip in Docker container localhost:5000/pb:debian-8-x86_64... OK
$ docker images | grep debian
localhost:5000/pb                  debian-8-x86_64                      06675d245362        46 minutes ago      214.4 MB
debian                             8                                    ea6bab360f56        5 days ago          125.1 MB

Now our environment is ready to build pb on Debian 8 (while my native environment is Mageia 5). So we redo the same magic (sbx2setupve, prepve and sbx2ve) as before adapted to point to our Debian env:

$ pb -p pb -T docker -m debian-8-x86_64 sbx2setupve
Project: pb
Action: sbx2setupve
Packages: project-builder,ProjectBuilder,pbmkbm,rpmbootstrap

Management of project-builder devel-0 (rev 2013M)
Exporting /users/bruno/pb/devel/pb from svn+ssh to /users/bruno/pb/delivery/project-builder-devel20151125121142 ... OK
Generating fake ChangeLog for test version
Preparing delivery ...
Delivered and compressed patches N/A
Delivered additional sources N/A
Build files have been generated for ... asianux-2-i386,asianux-2-x86_64,asianux-3-i386,asianux-3-x86_64,centos-4-i386,centos-4-x86_64,centos-5-i386,centos-5-x86_64,centos-7-x86_64,debian-3-i386,debian-4-i386,debian-4-x86_64,debian-5-i386,debian-5-x86_64,debian-6-i386,debian-6-x86_64,debian-7-i386,debian-7-x86_64,debian-8-i386,debian-8-x86_64,fedora-10-i386,fedora-10-x86_64,fedora-11-i386,fedora-11-x86_64,fedora-12-i386,fedora-12-x86_64,fedora-13-i386,fedora-13-x86_64,fedora-14-i386,fedora-14-x86_64,fedora-15-i386,fedora-15-x86_64,fedora-16-i386,fedora-16-x86_64,fedora-17-i386,fedora-17-x86_64,fedora-18-i386,fedora-18-x86_64,fedora-19-i386,fedora-19-x86_64,fedora-20-i386,fedora-20-x86_64,fedora-21-i386,fedora-21-x86_64,fedora-4-i386,fedora-5-i386,fedora-6-i386,fedora-6-x86_64,fedora-7-i386,fedora-7-x86_64,fedora-8-i386,fedora-8-x86_64,fedora-9-i386,fedora-9-x86_64,gentoo-nover-i386,gentoo-nover-x86_64,lsb-3.2.0-i386,lsb-3.2.0-x86_64,lsb-4.0.1-i386,lsb-4.0.1-x86_64,mageia-1-i386,mageia-1-x86_64,mageia-2-i386,mageia-2-x86_64,mageia-3-i386,mageia-3-x86_64,mageia-4-i386,mageia-4-x86_64,mageia-5-i386,mageia-5-x86_64,mandrake-10.1-i386,mandrake-10.2-i386,mandriva-2006.0-i386,mandriva-2007.0-i386,mandriva-2007.0-x86_64,mandriva-2007.1-i386,mandriva-2007.1-x86_64,mandriva-2008.0-i386,mandriva-2008.0-x86_64,mandriva-2008.1-i386,mandriva-2008.1-x86_64,mandriva-2009.0-i386,mandriva-2009.0-x86_64,mandriva-2009.1-i386,mandriva-2009.1-x86_64,mandriva-2010.0-i386,mandriva-2010.0-x86_64,mandriva-2010.1-i386,mandriva-2010.1-x86_64,opensuse-10.2-i386,opensuse-10.2-x86_64,opensuse-10.3-i386,opensuse-10.3-x86_64,opensuse-11.0-i386,opensuse-11.0-x86_64,opensuse-11.1-i386,opensuse-11.1-x86_64,opensuse-11.2-i386,opensuse-11.2-x86_64,opensuse-11.3-i386,opensuse-11.3-x86_64,opensuse-11.4-i386,opensuse-11.4-x86_64,opensuse-12.1-i386,opensuse-12.1-x86_64,opensuse-12.2-i386,opensuse-12.2-x86_64,opensuse-12.3-i386,opensuse-12.3-x86_64,opensuse-13.1-i386,opensuse-13.1-x86_64,opensuse-13.2-i386,opensuse-13.2-x86_64,redhat-6.2-i386,redhat-7.3-i386,redhat-9-i386,rhel-2-i386,rhel-3-i386,rhel-3-x86_64,rhel-4-i386,rhel-4-x86_64,rhel-5-i386,rhel-5-x86_64,rhel-6-i386,rhel-6-x86_64,rhel-7-x86_64,sles-10-i386,sles-10-x86_64,sles-11-i386,sles-11-x86_64,sles-12-x86_64,sles-9-i386,solaris-10-i386,suse-10.0-i386,suse-10.1-i386,ubuntu-10.04-i386,ubuntu-10.04-x86_64,ubuntu-10.10-i386,ubuntu-10.10-x86_64,ubuntu-11.04-i386,ubuntu-11.04-x86_64,ubuntu-11.10-i386,ubuntu-11.10-x86_64,ubuntu-12.04-i386,ubuntu-12.04-x86_64,ubuntu-12.10-i386,ubuntu-12.10-x86_64,ubuntu-13.04-i386,ubuntu-13.04-x86_64,ubuntu-13.10-i386,ubuntu-13.10-x86_64,ubuntu-14.04-i386,ubuntu-14.04-x86_64,ubuntu-14.10-i386,ubuntu-14.10-x86_64,ubuntu-15.04-i386,ubuntu-15.04-x86_64,ubuntu-6.06-i386,ubuntu-7.04-i386,ubuntu-7.04-x86_64,ubuntu-7.10-i386,ubuntu-7.10-x86_64,ubuntu-8.04-i386,ubuntu-8.04-x86_64,ubuntu-8.10-i386,ubuntu-8.10-x86_64,ubuntu-9.04-i386,ubuntu-9.04-x86_64,ubuntu-9.10-i386,ubuntu-9.10-x86_64
Creating project-builder tar files compressed... OK
Under /users/bruno/pb/delivery/project-builder-devel20151125121142.tar.gz
Creating pbconf tar files compressed... OK
Under /users/bruno/pb/delivery/project-builder-devel20151125121142.pbconf.tar.gz
[...]
Packages: ProjectBuilder,project-builder,pbmkbm,rpmbootstrap
Sources handled (VEScriptSandBox): /users/bruno/pb/delivery/setupv-debian-8-x86_64
Executing pbscript on ////test/src if needed... OK
[debian-8-x86_64] [debian-8-x86_64] Sending build context to Docker daemon 316.9 kB
[debian-8-x86_64] Sending build context to Docker daemon 
[debian-8-x86_64] Step 0 : FROM localhost:5000/pb:debian-8-x86_64
[debian-8-x86_64]  ---> 06675d245362
[debian-8-x86_64] Step 1 : MAINTAINER project-builder.org aka pb
[debian-8-x86_64]  ---> Running in e7b16bcd77a7
[debian-8-x86_64]  ---> 04f861205437
[debian-8-x86_64] Removing intermediate container e7b16bcd77a7
[debian-8-x86_64] Step 2 : USER root
[debian-8-x86_64]  ---> Running in 636648df8aee
[debian-8-x86_64]  ---> a942beae2e8f
[debian-8-x86_64] Removing intermediate container 636648df8aee
[debian-8-x86_64] Step 3 : RUN mkdir -p ////test/src
[debian-8-x86_64]  ---> Running in fc6eea52beb4
[debian-8-x86_64]  ---> 90acf09df463
[debian-8-x86_64] Removing intermediate container fc6eea52beb4
[debian-8-x86_64] Step 4 : RUN cd ////test/src ; for i in  setupv-debian-8-x86_64; do if [ -f $i ]; then rm -f $i; fi; done
[debian-8-x86_64]  ---> Running in 5967d100ce5d
[debian-8-x86_64]  ---> 176bc43ee778
[debian-8-x86_64] Removing intermediate container 5967d100ce5d
[debian-8-x86_64] Step 5 : COPY ProjectBuilder-devel20151125121142.tar.gz /tmp/
[...]
[debian-8-x86_64] Step 10 : RUN cd ////test/src ; perl ./setupv-debian-8-x86_64 ; if [ '0' = '0' ]; then rm -f setupv-debian-8-x86_64; fi
[debian-8-x86_64]  ---> Running in 482abedc993e
[debian-8-x86_64] rm -f /dev/null; mknod /dev/null c 1 3; chmod 777 /dev/null... OK
[debian-8-x86_64] Adding group pb... OK
[debian-8-x86_64] Adding user pb (group pb - home /home/pb)... OK
[debian-8-x86_64] distro tuple: $VAR1 = {
[debian-8-x86_64]           'family' => 'du',
[debian-8-x86_64]           'arch' => 'x86_64',
[debian-8-x86_64]           'rmdot' => '',
[debian-8-x86_64]           'nover' => '',
[debian-8-x86_64]           'update' => 'sudo /usr/bin/apt-get update; sudo /usr/bin/env DEBIAN_FRONTEND="noninteractive" /usr/bin/apt-get --quiet -y --force-yes dist-upgrade',
[debian-8-x86_64]           'os' => 'linux',
[debian-8-x86_64]           'install' => 'sudo /usr/bin/apt-get update ; sudo /usr/bin/env DEBIAN_FRONTEND=noninteractive /usr/bin/apt-get -y --allow-unauthenticated install ',
[debian-8-x86_64]           'name' => 'debian',
[debian-8-x86_64]           'version' => '8',
[debian-8-x86_64]           'suffix' => '.debian8',
[debian-8-x86_64]           'useminor' => 'false',
[debian-8-x86_64]           'type' => 'deb'
[debian-8-x86_64]         };
[debian-8-x86_64] 
[debian-8-x86_64] Looking for wget... OK
[debian-8-x86_64] Looking for patch... NOT OK but non blocking
[debian-8-x86_64] dpkg-query: no packages found matching patch
[debian-8-x86_64] Looking for dpkg-dev... NOT OK but non blocking
[debian-8-x86_64] Looking for make... OK
[debian-8-x86_64] Looking for debian-builder... NOT OK but non blocking
[debian-8-x86_64] dpkg-query: no packages found matching debian-builder
[debian-8-x86_64] Looking for dh-make... NOT OK but non blocking
[debian-8-x86_64] dpkg-query: no packages found matching dh-make
[debian-8-x86_64] Looking for fakeroot... NOT OK but non blocking
[debian-8-x86_64] dpkg-query: no packages found matching fakeroot
[debian-8-x86_64] Looking for ntpdate... NOT OK but non blocking
[debian-8-x86_64] dpkg-query: no packages found matching ntpdate
[debian-8-x86_64] Looking for libfile-mimeinfo-perl... NOT OK but non blocking
[debian-8-x86_64] dpkg-query: no packages found matching libfile-mimeinfo-perl
[debian-8-x86_64] Looking for libmodule-build-perl... OK
[debian-8-x86_64] Looking for libdate-manip-perl... NOT OK but non blocking
[debian-8-x86_64] dpkg-query: no packages found matching libdate-manip-perl
[debian-8-x86_64] Looking for libmail-sendmail-perl... NOT OK but non blocking
[debian-8-x86_64] dpkg-query: no packages found matching libmail-sendmail-perl
[debian-8-x86_64] Looking for diffutils... OK
[debian-8-x86_64] Installing dependencies (sudo /usr/bin/apt-get update ; sudo /usr/bin/env DEBIAN_FRONTEND=noninteractive /usr/bin/apt-get -y --allow-unauthenticated install  patch dpkg-dev debian-builder dh-make fakeroot ntpdate libfile-mimeinfo-perl libdate-manip-perl libmail-sendmail-perl)... Hit http://security.debian.org jessie/updates InRelease
[debian-8-x86_64] Get:1 http://security.debian.org jessie/updates/main amd64 Packages [190 kB]
[debian-8-x86_64] Ign http://httpredir.debian.org jessie InRelease
[debian-8-x86_64] Hit http://httpredir.debian.org jessie-updates InRelease
[debian-8-x86_64] Hit http://httpredir.debian.org jessie Release.gpg
[debian-8-x86_64] Hit http://httpredir.debian.org jessie Release
[debian-8-x86_64] Get:2 http://httpredir.debian.org jessie-updates/main amd64 Packages [3619 B]
[debian-8-x86_64] Get:3 http://httpredir.debian.org jessie/main amd64 Packages [9035 kB]
[debian-8-x86_64] Fetched 9229 kB in 10s (853 kB/s)
[debian-8-x86_64] Reading package lists...
[debian-8-x86_64] OK
[debian-8-x86_64] Building Project-Builder... 
[...] OK
[debian-8-x86_64] pb -h... OK
[debian-8-x86_64] pb (aka project-builder.org) Version devel20151125121142-2013M
[debian-8-x86_64] 
[debian-8-x86_64] Usage:
[debian-8-x86_64]     pb [-vhSq][-r pbroot][-p project][[-s script -a account -P port][-T
[debian-8-x86_64]     VEtype][-t [os-ver-arch]][-m os-ver-arch[,...]]][-g][-i image] 
[debian-8-x86_64]     [ ...]
[debian-8-x86_64] 
[debian-8-x86_64]     pb [--verbose][--help][--man][--quiet][--snapshot][--revision
[debian-8-x86_64]     pbroot][--project project][[--script script --account account --port
[debian-8-x86_64]     port][-T VEtype][--target [os-ver-arch]][--machine
[debian-8-x86_64]     os-ver-arch[,...]]][--nographic][--image image][--rebuild] 
[debian-8-x86_64]     [ ...]
[debian-8-x86_64] 
[debian-8-x86_64] pbdistrocheck... OK
[debian-8-x86_64] Project-Builder tuple:
[debian-8-x86_64] OS:   linux
[debian-8-x86_64] Name: debian
[debian-8-x86_64] Ver:  8
[debian-8-x86_64] Arch: x86_64
[debian-8-x86_64] Type: deb
[debian-8-x86_64] Family:       du
[debian-8-x86_64] Suffix:       .debian8
[debian-8-x86_64] Update:       sudo /usr/bin/apt-get update; sudo /usr/bin/env DEBIAN_FRONTEND="noninteractive" /usr/bin/apt-get --quiet -y --force-yes dist-upgrade
[debian-8-x86_64] Install:      sudo /usr/bin/apt-get update ; sudo /usr/bin/env DEBIAN_FRONTEND=noninteractive /usr/bin/apt-get -y --allow-unauthenticated install 
[debian-8-x86_64]  ---> f6f3bfdf3e17
[debian-8-x86_64] Removing intermediate container 482abedc993e
[debian-8-x86_64] Step 11 : RUN rm -rf ////test/src/*
[debian-8-x86_64]  ---> Running in 300470fa980d
[debian-8-x86_64]  ---> 85bfa83cba2c
[debian-8-x86_64] Removing intermediate container 300470fa980d
[debian-8-x86_64] Step 12 : RUN chown -R root ////test/src
[debian-8-x86_64]  ---> Running in 356fd9954f75
[debian-8-x86_64]  ---> f6d81fc68abb
[debian-8-x86_64] Removing intermediate container 356fd9954f75
[debian-8-x86_64] Successfully built f6d81fc68abb


$ pb -p pb -T docker -m debian-8-x86_64 prepve
Project: pb
Action: prepve
Packages: project-builder,rpmbootstrap,ProjectBuilder,pbmkbm
Packages: pbmkbm,rpmbootstrap,project-builder,ProjectBuilder
Sources handled (VEprep): /users/bruno/pb/delivery/pbmkbm-devel20151125121142.tar.gz /users/bruno/pb/delivery/pbmkbm-devel20151125121142.pbconf.tar.gz /users/bruno/pb/delivery/rpmbootstrap-devel20151125121142.tar.gz /users/bruno/pb/delivery/rpmbootstrap-devel20151125121142.pbconf.tar.gz /users/bruno/pb/delivery/project-builder-devel20151125121142.tar.gz /users/bruno/pb/delivery/project-builder-devel20151125121142.pbconf.tar.gz /users/bruno/pb/delivery/ProjectBuilder-devel20151125121142.tar.gz /users/bruno/pb/delivery/ProjectBuilder-devel20151125121142.pbconf.tar.gz /users/bruno/pb/pbconf/devel/pb.pb /users/bruno/pb/delivery/devel-0.pb /users/bruno/.pbrc /users/bruno/pb/delivery/pbrc /users/bruno/pb/delivery/pbprep-debian-8-x86_64
Executing pbscript on ///home/pb/pb/delivery if needed... OK
Sending build context to Docker daemon 2.805 MBld context to Docker daemon 557.1 kB
[debian-8-x86_64] Sending build context to Docker daemon 
[debian-8-x86_64] Step 0 : FROM localhost:5000/pb:debian-8-x86_64-pb
[debian-8-x86_64]  ---> f6d81fc68abb
[...]
[debian-8-x86_64] Step 17 : COPY pbprep-debian-8-x86_64 ///home/pb/pb/delivery/
[debian-8-x86_64]  ---> a1b1b25d09de
[debian-8-x86_64] Removing intermediate container a9a98135ceb0
[debian-8-x86_64] Step 18 : RUN cd ///home/pb/pb/delivery ; ln -sf pbmkbm-devel20151125121142.tar.gz pbmkbm-latest.tar.gz ; ln -sf rpmbootstrap-devel20151125121142.tar.gz rpmbootstrap-latest.tar.gz ; ln -sf project-builder-devel20151125121142.tar.gz project-builder-latest.tar.gz ; ln -sf ProjectBuilder-devel20151125121142.tar.gz ProjectBuilder-latest.tar.gz
[debian-8-x86_64]  ---> Running in 2d9c3c80ee4b
[debian-8-x86_64]  ---> 1bf0f8e6259e
[debian-8-x86_64] Removing intermediate container 2d9c3c80ee4b
[debian-8-x86_64] Step 19 : COPY pbprep-debian-8-x86_64 ///home/pb/pb/delivery/
[debian-8-x86_64]  ---> 96cd7a3f8518
[debian-8-x86_64] Removing intermediate container 3eba16433e7f
[debian-8-x86_64] Step 20 : RUN cd ///home/pb/pb/delivery ; perl ./pbprep-debian-8-x86_64 ; if [ '0' = '0' ]; then rm -f pbprep-debian-8-x86_64; fi
[debian-8-x86_64]  ---> Running in ecf1c459e408
[debian-8-x86_64] ... Execution needed
[debian-8-x86_64] ==== Start of script for ve debian-8-x86_64 =====
[debian-8-x86_64] setting up date with /bin/true
[debian-8-x86_64] preping packages on ve...
[debian-8-x86_64] pb (aka project-builder.org) Version devel20151125121142-2013M
[debian-8-x86_64] 
[debian-8-x86_64] Usage:
[debian-8-x86_64]     pb [-vhSq][-r pbroot][-p project][[-s script -a account -P port][-T
[debian-8-x86_64]     VEtype][-t [os-ver-arch]][-m os-ver-arch[,...]]][-g][-i image] 
[debian-8-x86_64]     [ ...]
[debian-8-x86_64] 
[debian-8-x86_64]     pb [--verbose][--help][--man][--quiet][--snapshot][--revision
[debian-8-x86_64]     pbroot][--project project][[--script script --account account --port
[debian-8-x86_64]     port][-T VEtype][--target [os-ver-arch]][--machine
[debian-8-x86_64]     os-ver-arch[,...]]][--nographic][--image image][--rebuild] 
[debian-8-x86_64]     [ ...]
[debian-8-x86_64] 
[debian-8-x86_64] Project: pb
[debian-8-x86_64] Action: build2prep
[debian-8-x86_64] INFO: ------ Starting to prepare build environement ------
[debian-8-x86_64] Packages: ProjectBuilder,project-builder,pbmkbm,rpmbootstrap
[debian-8-x86_64] Extracting spec files from /home/pb/pb/delivery/ProjectBuilder-devel20151125121142.pbconf.tar.gz... OK
[debian-8-x86_64] Looking for debhelper... OK
[debian-8-x86_64] Looking for perl... OK
[debian-8-x86_64] Extracting spec files from /home/pb/pb/delivery/project-builder-devel20151125121142.pbconf.tar.gz... OK
[debian-8-x86_64] Looking for debhelper... OK
[debian-8-x86_64] Looking for fakeroot... OK
[debian-8-x86_64] Looking for dpkg-dev... OK
[debian-8-x86_64] Extracting spec files from /home/pb/pb/delivery/pbmkbm-devel20151125121142.pbconf.tar.gz... OK
[debian-8-x86_64] Looking for debhelper... OK
[debian-8-x86_64] Looking for fakeroot... OK
[debian-8-x86_64] Looking for dpkg-dev... OK
[debian-8-x86_64] Extracting spec files from /home/pb/pb/delivery/rpmbootstrap-devel20151125121142.pbconf.tar.gz... OK
[debian-8-x86_64] Looking for debhelper... OK
[debian-8-x86_64] Looking for fakeroot... OK
[debian-8-x86_64] Looking for dpkg-dev... OK
[debian-8-x86_64] INFO: ------ Finished preparing build environment ------
[debian-8-x86_64] ==== End of script 31376 for ve debian-8-x86_64 =====
[debian-8-x86_64]  ---> fd5ab9dd314d
[debian-8-x86_64] Removing intermediate container ecf1c459e408
[debian-8-x86_64] Step 21 : RUN rm -rf ///home/pb/pb/delivery/*
[debian-8-x86_64]  ---> Running in 446ee66708b2
[debian-8-x86_64]  ---> fea975dea564
[debian-8-x86_64] Removing intermediate container 446ee66708b2
[debian-8-x86_64] Successfully built fea975dea564


$ pb -p pb -T docker -m debian-8-x86_64 sbx2ve
Project: pb
Action: sbx2ve
Packages: pbmkbm,rpmbootstrap,ProjectBuilder,project-builder

[...]
Management of project-builder devel-0 (rev 2013M)
Exporting /users/bruno/pb/devel/pb from svn+ssh to /users/bruno/pb/delivery/project-builder-devel20151125135601 ... OK
Generating fake ChangeLog for test version
Preparing delivery ...
Delivered and compressed patches N/A
Delivered additional sources N/A
Build files have been generated for ... asianux-2-i386,asianux-2-x86_64,asianux-3-i386,asianux-3-x86_64,centos-4-i386,centos-4-x86_64,centos-5-i386,centos-5-x86_64,centos-7-x86_64,debian-3-i386,debian-4-i386,debian-4-x86_64,debian-5-i386,debian-5-x86_64,debian-6-i386,debian-6-x86_64,debian-7-i386,debian-7-x86_64,debian-8-i386,debian-8-x86_64,fedora-10-i386,fedora-10-x86_64,fedora-11-i386,fedora-11-x86_64,fedora-12-i386,fedora-12-x86_64,fedora-13-i386,fedora-13-x86_64,fedora-14-i386,fedora-14-x86_64,fedora-15-i386,fedora-15-x86_64,fedora-16-i386,fedora-16-x86_64,fedora-17-i386,fedora-17-x86_64,fedora-18-i386,fedora-18-x86_64,fedora-19-i386,fedora-19-x86_64,fedora-20-i386,fedora-20-x86_64,fedora-21-i386,fedora-21-x86_64,fedora-4-i386,fedora-5-i386,fedora-6-i386,fedora-6-x86_64,fedora-7-i386,fedora-7-x86_64,fedora-8-i386,fedora-8-x86_64,fedora-9-i386,fedora-9-x86_64,gentoo-nover-i386,gentoo-nover-x86_64,lsb-3.2.0-i386,lsb-3.2.0-x86_64,lsb-4.0.1-i386,lsb-4.0.1-x86_64,mageia-1-i386,mageia-1-x86_64,mageia-2-i386,mageia-2-x86_64,mageia-3-i386,mageia-3-x86_64,mageia-4-i386,mageia-4-x86_64,mageia-5-i386,mageia-5-x86_64,mandrake-10.1-i386,mandrake-10.2-i386,mandriva-2006.0-i386,mandriva-2007.0-i386,mandriva-2007.0-x86_64,mandriva-2007.1-i386,mandriva-2007.1-x86_64,mandriva-2008.0-i386,mandriva-2008.0-x86_64,mandriva-2008.1-i386,mandriva-2008.1-x86_64,mandriva-2009.0-i386,mandriva-2009.0-x86_64,mandriva-2009.1-i386,mandriva-2009.1-x86_64,mandriva-2010.0-i386,mandriva-2010.0-x86_64,mandriva-2010.1-i386,mandriva-2010.1-x86_64,opensuse-10.2-i386,opensuse-10.2-x86_64,opensuse-10.3-i386,opensuse-10.3-x86_64,opensuse-11.0-i386,opensuse-11.0-x86_64,opensuse-11.1-i386,opensuse-11.1-x86_64,opensuse-11.2-i386,opensuse-11.2-x86_64,opensuse-11.3-i386,opensuse-11.3-x86_64,opensuse-11.4-i386,opensuse-11.4-x86_64,opensuse-12.1-i386,opensuse-12.1-x86_64,opensuse-12.2-i386,opensuse-12.2-x86_64,opensuse-12.3-i386,opensuse-12.3-x86_64,opensuse-13.1-i386,opensuse-13.1-x86_64,opensuse-13.2-i386,opensuse-13.2-x86_64,redhat-6.2-i386,redhat-7.3-i386,redhat-9-i386,rhel-2-i386,rhel-3-i386,rhel-3-x86_64,rhel-4-i386,rhel-4-x86_64,rhel-5-i386,rhel-5-x86_64,rhel-6-i386,rhel-6-x86_64,rhel-7-x86_64,sles-10-i386,sles-10-x86_64,sles-11-i386,sles-11-x86_64,sles-12-x86_64,sles-9-i386,solaris-10-i386,suse-10.0-i386,suse-10.1-i386,ubuntu-10.04-i386,ubuntu-10.04-x86_64,ubuntu-10.10-i386,ubuntu-10.10-x86_64,ubuntu-11.04-i386,ubuntu-11.04-x86_64,ubuntu-11.10-i386,ubuntu-11.10-x86_64,ubuntu-12.04-i386,ubuntu-12.04-x86_64,ubuntu-12.10-i386,ubuntu-12.10-x86_64,ubuntu-13.04-i386,ubuntu-13.04-x86_64,ubuntu-13.10-i386,ubuntu-13.10-x86_64,ubuntu-14.04-i386,ubuntu-14.04-x86_64,ubuntu-14.10-i386,ubuntu-14.10-x86_64,ubuntu-15.04-i386,ubuntu-15.04-x86_64,ubuntu-6.06-i386,ubuntu-7.04-i386,ubuntu-7.04-x86_64,ubuntu-7.10-i386,ubuntu-7.10-x86_64,ubuntu-8.04-i386,ubuntu-8.04-x86_64,ubuntu-8.10-i386,ubuntu-8.10-x86_64,ubuntu-9.04-i386,ubuntu-9.04-x86_64,ubuntu-9.10-i386,ubuntu-9.10-x86_64
Creating project-builder tar files compressed... OK
Under /users/bruno/pb/delivery/project-builder-devel20151125135601.tar.gz
Creating pbconf tar files compressed... OK
Under /users/bruno/pb/delivery/project-builder-devel20151125135601.pbconf.tar.gz
Packages: pbmkbm,rpmbootstrap,ProjectBuilder,project-builder
Packages: pbmkbm,rpmbootstrap,project-builder,ProjectBuilder
Sources handled (VEbuild): /users/bruno/pb/delivery/pbmkbm-devel20151125135601.tar.gz /users/bruno/pb/delivery/pbmkbm-devel20151125135601.pbconf.tar.gz /users/bruno/pb/delivery/rpmbootstrap-devel20151125135601.tar.gz /users/bruno/pb/delivery/rpmbootstrap-devel20151125135601.pbconf.tar.gz /users/bruno/pb/delivery/project-builder-devel20151125135601.tar.gz /users/bruno/pb/delivery/project-builder-devel20151125135601.pbconf.tar.gz /users/bruno/pb/delivery/ProjectBuilder-devel20151125135601.tar.gz /users/bruno/pb/delivery/ProjectBuilder-devel20151125135601.pbconf.tar.gz /users/bruno/pb/pbconf/devel/pb.pb /users/bruno/pb/delivery/devel-0.pb /users/bruno/.pbrc /users/bruno/pb/delivery/pbrc /users/bruno/pb/delivery/pbbuild-debian-8-x86_64
Executing pbscript on ///home/pb/pb/delivery if needed... OK
[debian-8-x86_64] [debian-8-x86_64] total 2768
[debian-8-x86_64] drwxr-xr-x  2 600 501    4096 Nov 25 12:56 .
[debian-8-x86_64] drwxr-xr-x 28 pb  pb     4096 Nov 25 12:56 ..
[debian-8-x86_64] -rw-r--r--  1 600 501    4598 Nov 25 12:56 .pbrc
[debian-8-x86_64] -rw-r--r--  1 600 501  357254 Nov 25 12:56 ProjectBuilder-devel20151125135601.pbconf.tar.gz
[debian-8-x86_64] -rw-r--r--  1 600 501   91858 Nov 25 12:56 ProjectBuilder-devel20151125135601.tar.gz
[debian-8-x86_64] -rw-r--r--  1 600 501     115 Nov 25 12:56 devel-0.pb
[debian-8-x86_64] -rw-r--r--  1 600 501    1938 Nov 25 12:56 pb.pb
[debian-8-x86_64] -rw-r--r--  1 600 501    1700 Nov 25 12:56 pbbuild-debian-8-x86_64
[debian-8-x86_64] -rw-r--r--  1 600 501   37658 Nov 25 12:56 pbmkbm-devel20151125135601.pbconf.tar.gz
[debian-8-x86_64] -rw-r--r--  1 600 501   14708 Nov 25 12:56 pbmkbm-devel20151125135601.tar.gz
[debian-8-x86_64] -rw-r--r--  1 600 501    2099 Nov 25 12:56 pbrc
[debian-8-x86_64] -rw-r--r--  1 600 501 2103517 Nov 25 12:56 project-builder-devel20151125135601.pbconf.tar.gz
[debian-8-x86_64] -rw-r--r--  1 600 501   76308 Nov 25 12:56 project-builder-devel20151125135601.tar.gz
[debian-8-x86_64] -rw-r--r--  1 600 501   82630 Nov 25 12:56 rpmbootstrap-devel20151125135601.pbconf.tar.gz
[debian-8-x86_64] -rw-r--r--  1 600 501   17361 Nov 25 12:56 rpmbootstrap-devel20151125135601.tar.gz
[debian-8-x86_64] ... Execution needed
[debian-8-x86_64] ==== Start of script for ve debian-8-x86_64 =====
[debian-8-x86_64] setting up date with /bin/true
[debian-8-x86_64] building packages on ve...
[debian-8-x86_64] pb (aka project-builder.org) Version devel20151125121142-2013M
[debian-8-x86_64] 
[debian-8-x86_64] Usage:
[debian-8-x86_64]     pb [-vhSq][-r pbroot][-p project][[-s script -a account -P port][-T
[debian-8-x86_64]     VEtype][-t [os-ver-arch]][-m os-ver-arch[,...]]][-g][-i image] 
[debian-8-x86_64]     [ ...]
[debian-8-x86_64] 
[debian-8-x86_64]     pb [--verbose][--help][--man][--quiet][--snapshot][--revision
[debian-8-x86_64]     pbroot][--project project][[--script script --account account --port
[debian-8-x86_64]     port][-T VEtype][--target [os-ver-arch]][--machine
[debian-8-x86_64]     os-ver-arch[,...]]][--nographic][--image image][--rebuild] 
[debian-8-x86_64]     [ ...]
[debian-8-x86_64] 
[debian-8-x86_64] Project: pb
[debian-8-x86_64] Action: build2pkg
[debian-8-x86_64] INFO: ------ Starting to build package ------
[debian-8-x86_64] Packages: project-builder,ProjectBuilder,rpmbootstrap,pbmkbm
[debian-8-x86_64] Extracting sources... OK
[debian-8-x86_64] Extracting pbconf... OK
[debian-8-x86_64] Extracting patch files from /home/pb/pb/delivery/project-builder-devel20151125135601.pbconf.tar.gz... NOT OK but non blocking
[debian-8-x86_64] Building package... OK
[debian-8-x86_64] dpkg-buildpackage: source package project-builder
[debian-8-x86_64] dpkg-buildpackage: source version 0devel20151125135601-0
[debian-8-x86_64] dpkg-buildpackage: source distribution unstable
[debian-8-x86_64] dpkg-buildpackage: source changed by Bruno Cornec 
[debian-8-x86_64]  dpkg-source --before-build project-builder-devel20151125135601
[debian-8-x86_64] dpkg-buildpackage: host architecture amd64
[debian-8-x86_64]  fakeroot debian/rules clean
[debian-8-x86_64] dh_testdir
[debian-8-x86_64] dh_testroot
[debian-8-x86_64] rm -f build-stamp
[debian-8-x86_64] # Add here commands to clean up after the build process.
[debian-8-x86_64] /usr/bin/make distclean
[debian-8-x86_64] make[1]: Entering directory '/home/pb/pb/build/project-builder-devel20151125135601'
[debian-8-x86_64] make[1]: *** No rule to make target 'distclean'.  Stop.
[debian-8-x86_64] make[1]: Leaving directory '/home/pb/pb/build/project-builder-devel20151125135601'
[debian-8-x86_64] debian/rules:34: recipe for target 'clean' failed
[debian-8-x86_64] make: [clean] Error 2 (ignored)
[debian-8-x86_64] dh_clean
[debian-8-x86_64]  dpkg-source -b project-builder-devel20151125135601
[debian-8-x86_64] dpkg-source: warning: no source format specified in debian/source/format, see dpkg-source(1)
[debian-8-x86_64] dpkg-source: warning: source directory 'project-builder-devel20151125135601' is not - 'project-builder-0devel20151125135601'
[debian-8-x86_64] dpkg-source: info: using source format `1.0'
[debian-8-x86_64] dpkg-source: info: building project-builder in project-builder_0devel20151125135601-0.tar.gz
[debian-8-x86_64] dpkg-source: info: building project-builder in project-builder_0devel20151125135601-0.dsc
[debian-8-x86_64]  debian/rules build
[debian-8-x86_64] dh_testdir
[debian-8-x86_64] # Add here commands to compile the package.
[debian-8-x86_64] /usr/bin/perl Makefile.PL INSTALLDIRS=vendor PBKEYWORD=/home/pb/pb/build/project-builder-devel20151125135601/PBFINALDIR MANDIR=/usr/share/man
[debian-8-x86_64] 'MANDIR' is not a known MakeMaker parameter name.
[debian-8-x86_64] 'PBKEYWORD' is not a known MakeMaker parameter name.
[debian-8-x86_64] Can't parse version 'devel20151125135601'
[debian-8-x86_64] Can't parse version 'devel20151125135601'
[debian-8-x86_64] Generating a Unix-style Makefile
[debian-8-x86_64] Writing Makefile for pb
[debian-8-x86_64] Writing MYMETA.yml and MYMETA.json
[debian-8-x86_64] /usr/bin/make
[debian-8-x86_64] make[1]: Entering directory '/home/pb/pb/build/project-builder-devel20151125135601'
[debian-8-x86_64] cp lib/ProjectBuilder/Filter.pm blib/lib/ProjectBuilder/Filter.pm
[debian-8-x86_64] cp lib/ProjectBuilder/CMS.pm blib/lib/ProjectBuilder/CMS.pm
[debian-8-x86_64] cp lib/ProjectBuilder/Changelog.pm blib/lib/ProjectBuilder/Changelog.pm
[debian-8-x86_64] cp bin/pbg blib/bin/pbg
[debian-8-x86_64] /usr/bin/perl -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/bin/pbg
[debian-8-x86_64] cp bin/pbvi blib/bin/pbvi
[debian-8-x86_64] /usr/bin/perl -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/bin/pbvi
[debian-8-x86_64] cp bin/pb blib/bin/pb
[debian-8-x86_64] /usr/bin/perl -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/bin/pb
[debian-8-x86_64] Manifying blib/man1/pb.1p
[debian-8-x86_64] Manifying blib/man3/ProjectBuilder::CMS.3pm
[debian-8-x86_64] Manifying blib/man3/ProjectBuilder::Changelog.3pm
[debian-8-x86_64] Manifying blib/man3/ProjectBuilder::Filter.3pm
[debian-8-x86_64] make[1]: Leaving directory '/home/pb/pb/build/project-builder-devel20151125135601'
[debian-8-x86_64] touch build-stamp
[debian-8-x86_64]  fakeroot debian/rules binary
[debian-8-x86_64] dh_testdir
[debian-8-x86_64] dh_testroot
[debian-8-x86_64] dh_clean -k
[debian-8-x86_64] dh_clean: dh_clean -k is deprecated; use dh_prep instead
[debian-8-x86_64] dh_installdirs
[debian-8-x86_64] # Add here commands to install the package into debian/linuxcoe-sd
[debian-8-x86_64] /usr/bin/make install DESTDIR=/home/pb/pb/build/project-builder-devel20151125135601/debian/project-builder
[debian-8-x86_64] make[1]: Entering directory '/home/pb/pb/build/project-builder-devel20151125135601'
[debian-8-x86_64] Installing /home/pb/pb/build/project-builder-devel20151125135601/debian/project-builder/usr/bin/pb
[debian-8-x86_64] Installing /home/pb/pb/build/project-builder-devel20151125135601/debian/project-builder/usr/bin/pbvi
[debian-8-x86_64] Installing /home/pb/pb/build/project-builder-devel20151125135601/debian/project-builder/usr/bin/pbg
[debian-8-x86_64] Installing /home/pb/pb/build/project-builder-devel20151125135601/debian/project-builder/usr/share/perl5/ProjectBuilder/Changelog.pm
[debian-8-x86_64] Installing /home/pb/pb/build/project-builder-devel20151125135601/debian/project-builder/usr/share/perl5/ProjectBuilder/CMS.pm
[debian-8-x86_64] Installing /home/pb/pb/build/project-builder-devel20151125135601/debian/project-builder/usr/share/perl5/ProjectBuilder/Filter.pm
[debian-8-x86_64] Installing /home/pb/pb/build/project-builder-devel20151125135601/debian/project-builder/usr/share/man/man1/pb.1p
[debian-8-x86_64] Installing /home/pb/pb/build/project-builder-devel20151125135601/debian/project-builder/usr/share/man/man3/ProjectBuilder::CMS.3pm
[debian-8-x86_64] Installing /home/pb/pb/build/project-builder-devel20151125135601/debian/project-builder/usr/share/man/man3/ProjectBuilder::Changelog.3pm
[debian-8-x86_64] Installing /home/pb/pb/build/project-builder-devel20151125135601/debian/project-builder/usr/share/man/man3/ProjectBuilder::Filter.3pm
[debian-8-x86_64] make[1]: Leaving directory '/home/pb/pb/build/project-builder-devel20151125135601'
[debian-8-x86_64] dh_testdir
[debian-8-x86_64] dh_testroot
[debian-8-x86_64] dh_installchangelogs ChangeLog
[debian-8-x86_64] dh_installdocs
[debian-8-x86_64] #       dh_installexamples
[debian-8-x86_64] #       dh_install
[debian-8-x86_64] #       dh_installmenu
[debian-8-x86_64] #       dh_installdebconf
[debian-8-x86_64] #       dh_installlogrotate
[debian-8-x86_64] #       dh_installemacsen
[debian-8-x86_64] #       dh_installpam
[debian-8-x86_64] #       dh_installmime
[debian-8-x86_64] #       dh_python
[debian-8-x86_64] #       dh_installinit
[debian-8-x86_64] #       dh_installcron
[debian-8-x86_64] #       dh_installinfo
[debian-8-x86_64] dh_installman
[debian-8-x86_64] dh_perl
[debian-8-x86_64] dh_strip
[debian-8-x86_64] dh_compress
[debian-8-x86_64] dh_fixperms
[debian-8-x86_64] #       dh_makeshlibs
[debian-8-x86_64] dh_installdeb
[debian-8-x86_64] #       dh_shlibdeps
[debian-8-x86_64] dh_gencontrol
[debian-8-x86_64] dpkg-gencontrol: warning: package project-builder: unused substitution variable ${perl:Depends}
[debian-8-x86_64] dh_md5sums
[debian-8-x86_64] dh_builddeb
[debian-8-x86_64] dpkg-deb: building package `project-builder' in `../project-builder_0devel20151125135601-0_all.deb'.
[debian-8-x86_64] # We have nothing to do by default.
[debian-8-x86_64] #
[debian-8-x86_64]  dpkg-genchanges  >../project-builder_0devel20151125135601-0_amd64.changes
[debian-8-x86_64] dpkg-genchanges: warning: the current version (0devel20151125135601-0) is earlier than the previous one (0.12.7-1)
[debian-8-x86_64] dpkg-genchanges: including full source code in upload
[debian-8-x86_64]  dpkg-source --after-build project-builder-devel20151125135601
[debian-8-x86_64] dpkg-buildpackage: full upload; Debian-native package (full source is included)
[...]
[debian-8-x86_64] deb packages generated: project-builder_0devel20151125135601-0_all.deb libprojectbuilder-perl_0devel20151125135601-0_all.deb rpmbootstrap_0devel20151125135601-0_all.deb pbmkbm_0devel20151125135601-0_all.deb 
[debian-8-x86_64] ==== End of script 8480 for ve debian-8-x86_64 =====
[debian-8-x86_64] total 3184
[debian-8-x86_64] drwxrwxrwx   2 600 501    4096 Nov 25 12:56 .
[debian-8-x86_64] drwxr-x--x 160 600 501   20480 Nov 25 12:56 ..
[debian-8-x86_64] -rw-r--r--   1 pb  pb      931 Nov 25 12:56 libprojectbuilder-perl_0devel20151125135601-0.dsc
[debian-8-x86_64] -rw-r--r--   1 pb  pb   627739 Nov 25 12:56 libprojectbuilder-perl_0devel20151125135601-0.tar.gz
[debian-8-x86_64] -rw-r--r--   1 pb  pb    95916 Nov 25 12:56 libprojectbuilder-perl_0devel20151125135601-0_all.deb
[debian-8-x86_64] -rw-r--r--   1 pb  pb     1539 Nov 25 12:56 libprojectbuilder-perl_0devel20151125135601-0_amd64.changes
[debian-8-x86_64] -rw-r--r--   1 pb  pb      461 Nov 25 12:56 pbgen-devel-0-debian-8-x86_64
[debian-8-x86_64] -rw-r--r--   1 pb  pb      800 Nov 25 12:56 pbmkbm_0devel20151125135601-0.dsc
[debian-8-x86_64] -rw-r--r--   1 pb  pb    49668 Nov 25 12:56 pbmkbm_0devel20151125135601-0.tar.gz
[debian-8-x86_64] -rw-r--r--   1 pb  pb    19108 Nov 25 12:56 pbmkbm_0devel20151125135601-0_all.deb
[debian-8-x86_64] -rw-r--r--   1 pb  pb     1334 Nov 25 12:56 pbmkbm_0devel20151125135601-0_amd64.changes
[debian-8-x86_64] -rw-r--r--   1 pb  pb      878 Nov 25 12:56 project-builder_0devel20151125135601-0.dsc
[debian-8-x86_64] -rw-r--r--   1 pb  pb  2177587 Nov 25 12:56 project-builder_0devel20151125135601-0.tar.gz
[debian-8-x86_64] -rw-r--r--   1 pb  pb    84778 Nov 25 12:56 project-builder_0devel20151125135601-0_all.deb
[debian-8-x86_64] -rw-r--r--   1 pb  pb     1452 Nov 25 12:56 project-builder_0devel20151125135601-0_amd64.changes
[debian-8-x86_64] -rw-r--r--   1 pb  pb      851 Nov 25 12:56 rpmbootstrap_0devel20151125135601-0.dsc
[debian-8-x86_64] -rw-r--r--   1 pb  pb   103103 Nov 25 12:56 rpmbootstrap_0devel20151125135601-0.tar.gz
[debian-8-x86_64] -rw-r--r--   1 pb  pb    22020 Nov 25 12:56 rpmbootstrap_0devel20151125135601-0_all.deb
[debian-8-x86_64] -rw-r--r--   1 pb  pb     1402 Nov 25 12:56 rpmbootstrap_0devel20151125135601-0_amd64.changes
Get package names in /users/bruno/pb/build/devel-0-debian-8-x86_64... OK
Recovery of package project-builder_0devel20151125135601-0_all.deb in /users/bruno/pb/build/debian/8/x86_64... OK
Recovery of package project-builder_*.dsc in /users/bruno/pb/build/debian/8/x86_64... OK
Recovery of package project-builder_*.tar.gz in /users/bruno/pb/build/debian/8/x86_64... OK
Recovery of package project-builder_*.changes in /users/bruno/pb/build/debian/8/x86_64... OK
Recovery of package libprojectbuilder-perl_0devel20151125135601-0_all.deb in /users/bruno/pb/build/debian/8/x86_64... OK
Recovery of package libprojectbuilder-perl_*.dsc in /users/bruno/pb/build/debian/8/x86_64... OK
Recovery of package libprojectbuilder-perl_*.tar.gz in /users/bruno/pb/build/debian/8/x86_64... OK
Recovery of package libprojectbuilder-perl_*.changes in /users/bruno/pb/build/debian/8/x86_64... OK
Recovery of package rpmbootstrap_0devel20151125135601-0_all.deb in /users/bruno/pb/build/debian/8/x86_64... OK
Recovery of package rpmbootstrap_*.dsc in /users/bruno/pb/build/debian/8/x86_64... OK
Recovery of package rpmbootstrap_*.tar.gz in /users/bruno/pb/build/debian/8/x86_64... OK
Recovery of package rpmbootstrap_*.changes in /users/bruno/pb/build/debian/8/x86_64... OK
Recovery of package pbmkbm_0devel20151125135601-0_all.deb in /users/bruno/pb/build/debian/8/x86_64... OK
Recovery of package pbmkbm_*.dsc in /users/bruno/pb/build/debian/8/x86_64... OK
Recovery of package pbmkbm_*.tar.gz in /users/bruno/pb/build/debian/8/x86_64... OK
Recovery of package pbmkbm_*.changes in /users/bruno/pb/build/debian/8/x86_64... OK
Packages: pbmkbm,rpmbootstrap,ProjectBuilder,project-builder
Exporting public key for Bruno Cornec 
Preparing /prj/ftp/test/debian/8 on xxx@www.project-builder.org:/prj/ftp/test/debian/8... OK
Sources handled (Packages): debian/8/x86_64/project-builder_0devel20151125135601-0_all.deb debian/8/x86_64/project-builder_*.dsc debian/8/x86_64/project-builder_*.tar.gz debian/8/x86_64/project-builder_*.changes debian/8/x86_64/libprojectbuilder-perl_0devel20151125135601-0_all.deb debian/8/x86_64/libprojectbuilder-perl_*.dsc debian/8/x86_64/libprojectbuilder-perl_*.tar.gz debian/8/x86_64/libprojectbuilder-perl_*.changes debian/8/x86_64/rpmbootstrap_0devel20151125135601-0_all.deb debian/8/x86_64/rpmbootstrap_*.dsc debian/8/x86_64/rpmbootstrap_*.tar.gz debian/8/x86_64/rpmbootstrap_*.changes debian/8/x86_64/pbmkbm_0devel20151125135601-0_all.deb debian/8/x86_64/pbmkbm_*.dsc debian/8/x86_64/pbmkbm_*.tar.gz debian/8/x86_64/pbmkbm_*.changes /users/bruno/pb/delivery/pb.pubkey /users/bruno/pb/build/pbscript.8481
Packages delivery in xxx@www.project-builder.org:/prj/ftp/test/debian/8... OK
Executing pbscript on xxx@www.project-builder.org:/prj/ftp/test/debian/8 if needed... OK
[debian-8-x86_64] [debian-8-x86_64] Creating Packages metadata
[debian-8-x86_64] Packages for amd64:
[debian-8-x86_64] dpkg-scanpackages: warning: Package libmondorescue-perl (filename 8/libmondorescue-perl_3.2.220150910110122-0_all.deb) is repeat;
[debian-8-x86_64] dpkg-scanpackages: warning: ignored that one and using data from 8/libmondorescue-perl_3.2.220151113115543-0_all.deb!
[debian-8-x86_64] dpkg-scanpackages: warning: Package mindi (filename 8/mindi_3.0.220150910110122-0_amd64.deb) is repeat;
[debian-8-x86_64] dpkg-scanpackages: warning: ignored that one and using data from 8/mindi_3.0.220151113115543-0_amd64.deb!
[debian-8-x86_64] dpkg-scanpackages: warning: Package mondo (filename 8/mondo_3.2.220151019112347-0_amd64.deb) is repeat;
[debian-8-x86_64] dpkg-scanpackages: warning: ignored that one and using data from 8/mondo_3.2.220151113115543-0_amd64.deb!
[debian-8-x86_64] dpkg-scanpackages: warning: Package mondo (filename 8/mondo_3.2.220150910110122-0_amd64.deb) is repeat;
[debian-8-x86_64] dpkg-scanpackages: warning: ignored that one and using data from 8/mondo_3.2.220151113115543-0_amd64.deb!
[debian-8-x86_64] dpkg-scanpackages: warning: Packages in archive but missing from override file:
[debian-8-x86_64] Creating Contents metadata
[debian-8-x86_64] dpkg-scanpackages: warning:   libmondorescue-perl libprojectbuilder-perl mindi mondo pbmkbm project-builder rpmbootstrap
[debian-8-x86_64] dpkg-scanpackages: info: Wrote 7 entries to output Packages file.
[debian-8-x86_64] 
[debian-8-x86_64] E: This is not a valid DEB archive, it has no 'data.tar.gz', 'data.tar.bz2' or 'data.tar.lzma' member
[debian-8-x86_64] E: Errors apply to file '8/mondo_3.2.220151113115543-0_amd64.deb'
[debian-8-x86_64] E: This is not a valid DEB archive, it has no 'data.tar.gz', 'data.tar.bz2' or 'data.tar.lzma' member
[debian-8-x86_64] E: Errors apply to file '8/project-builder_0devel20151125135601-0_all.deb'
[debian-8-x86_64] E: This is not a valid DEB archive, it has no 'data.tar.gz', 'data.tar.bz2' or 'data.tar.lzma' member
[debian-8-x86_64] E: Errors apply to file '8/rpmbootstrap_0devel20151125135601-0_all.deb'
[debian-8-x86_64] E: This is not a valid DEB archive, it has no 'data.tar.gz', 'data.tar.bz2' or 'data.tar.lzma' member
[debian-8-x86_64] E: Errors apply to file '8/libmondorescue-perl_3.2.220151113115543-0_all.deb'
[debian-8-x86_64] E: This is not a valid DEB archive, it has no 'data.tar.gz', 'data.tar.bz2' or 'data.tar.lzma' member
[debian-8-x86_64] E: Errors apply to file '8/mindi_3.0.220151113115543-0_amd64.deb'
[debian-8-x86_64] E: This is not a valid DEB archive, it has no 'data.tar.gz', 'data.tar.bz2' or 'data.tar.lzma' member
[debian-8-x86_64] E: Errors apply to file '8/pbmkbm_0devel20151125135601-0_all.deb'
[debian-8-x86_64] E: This is not a valid DEB archive, it has no 'data.tar.gz', 'data.tar.bz2' or 'data.tar.lzma' member
[debian-8-x86_64] E: Errors apply to file '8/libmondorescue-perl_3.2.220150910110122-0_all.deb'
[debian-8-x86_64] E: This is not a valid DEB archive, it has no 'data.tar.gz', 'data.tar.bz2' or 'data.tar.lzma' member
[debian-8-x86_64] E: Errors apply to file '8/libprojectbuilder-perl_0devel20151125135601-0_all.deb'
[debian-8-x86_64] E: This is not a valid DEB archive, it has no 'data.tar.gz', 'data.tar.bz2' or 'data.tar.lzma' member
[debian-8-x86_64] E: Errors apply to file '8/mindi_3.0.220150910110122-0_amd64.debCreating Release metadata (x86_64 aka amd64)
[debian-8-x86_64] Creating Source metadata
[debian-8-x86_64] '
[debian-8-x86_64] E: This is not a valid DEB archive, it has no 'data.tar.gz', 'data.tar.bz2' or 'data.tar.lzma' member
[debian-8-x86_64] E: Errors apply to file '8/mondo_3.2.220151019112347-0_amd64.deb'
[debian-8-x86_64] E: This is not a valid DEB archive, it has no 'data.tar.gz', 'data.tar.bz2' or 'data.tar.lzma' member
[debian-8-x86_64] E: Errors apply to file '8/mondo_3.2.220150910110122-0_amd64.deb'
[debian-8-x86_64] Creating Release metadata

So with nothing at hand, just docker and pb, I’ve been able to generate deb packages for the latest Debian for my app. And I now have ready to use Debian images:

$ docker images | grep debian
localhost:5000/pb                  debian-8-x86_64-pb-pb                fea975dea564        About an hour ago   578.7 MB
localhost:5000/pb                  debian-8-x86_64-pb                   f6d81fc68abb        2 hours ago         575.9 MB
localhost:5000/pb                  debian-8-x86_64                      06675d245362        3 hours ago         214.4 MB
debian                             8                                    ea6bab360f56        5 days ago          125.1 MB


I can easily look at the steps performed to obtain them:

$ docker history localhost:5000/pb:debian-8-x86_64
IMAGE               CREATED             CREATED BY                                      SIZE
06675d245362        3 hours ago         /bin/sh -c /usr/bin/apt-get update ; /usr/bin   89.25 MB
e0543ede3032        3 hours ago         /bin/sh -c #(nop) MAINTAINER project-builder.   0 B
ea6bab360f56        5 days ago          /bin/sh -c #(nop) CMD ["/bin/bash"]             0 B
5679b9b90e09        5 days ago          /bin/sh -c #(nop) ADD file:5afd8eec1dc1e7666d   125.1 MB

And if I’m building packages for other projects, I can easily reuse that as well, just need the prepve and the build:

$ pb -p mondorescue -T docker -m debian-8-x86_64 prepve
Project: mondorescue
Action: prepve
Packages: mindi,MondoRescue,mondo
Packages: MondoRescue,mondo,mindi
Sources handled (VEprep): /users/bruno/pb/projects/mondorescue/delivery/MondoRescue-3.2.220151113115543.tar.gz /users/bruno/pb/projects/mondorescue/delivery/MondoRescue-3.2.220151113115543.pbconf.tar.gz /users/bruno/pb/projects/mondorescue/delivery/mondo-3.2.220151113115543.tar.gz /users/bruno/pb/projects/mondorescue/delivery/mondo-3.2.220151113115543.pbconf.tar.gz /users/bruno/pb/projects/mondorescue/delivery/mindi-3.0.220151113115543.tar.gz /users/bruno/pb/projects/mondorescue/delivery/mindi-3.0.220151113115543.pbconf.tar.gz /users/bruno/pb/projects/mondorescue/pbconf/branches/3.2/mondorescue.pb /users/bruno/pb/projects/mondorescue/delivery/3.2.2-0.pb /users/bruno/.pbrc /users/bruno/pb/projects/mondorescue/delivery/pbrc /users/bruno/pb/projects/mondorescue/delivery/pbprep-debian-8-x86_64
Executing pbscript on ///home/pb/pb/projects/mondorescue/delivery if needed... OK
Sending build context to Docker daemon 15.16 MBld context to Docker daemon 557.1 kB
[debian-8-x86_64] Sending build context to Docker daemon 
[debian-8-x86_64] Step 0 : FROM localhost:5000/pb:debian-8-x86_64-pb
[debian-8-x86_64]  ---> f6d81fc68abb
[...]
[debian-8-x86_64] Step 18 : RUN cd ///home/pb/pb/projects/mondorescue/delivery ; perl ./pbprep-debian-8-x86_64 ; if [ '0' = '0' ]; then rm -f pbprep-debian-8-x86_64; fi
[debian-8-x86_64]  ---> Running in fb75b5a75ae5
[debian-8-x86_64] ... Execution needed
[debian-8-x86_64] ==== Start of script for ve debian-8-x86_64 =====
[debian-8-x86_64] setting up date with /bin/true
[debian-8-x86_64] preping packages on ve...
[debian-8-x86_64] pb (aka project-builder.org) Version devel20151125121142-2013M
[debian-8-x86_64] 
[debian-8-x86_64] Usage:
[debian-8-x86_64]     pb [-vhSq][-r pbroot][-p project][[-s script -a account -P port][-T
[debian-8-x86_64]     VEtype][-t [os-ver-arch]][-m os-ver-arch[,...]]][-g][-i image] 
[debian-8-x86_64]     [ ...]
[debian-8-x86_64] 
[debian-8-x86_64]     pb [--verbose][--help][--man][--quiet][--snapshot][--revision
[debian-8-x86_64]     pbroot][--project project][[--script script --account account --port
[debian-8-x86_64]     port][-T VEtype][--target [os-ver-arch]][--machine
[debian-8-x86_64]     os-ver-arch[,...]]][--nographic][--image image][--rebuild] 
[debian-8-x86_64]     [ ...]
[debian-8-x86_64] 
[debian-8-x86_64] Project: mondorescue
[debian-8-x86_64] Action: build2prep
[debian-8-x86_64] INFO: ------ Starting to prepare build environement ------
[debian-8-x86_64] Packages: mindi,MondoRescue,mondo
[debian-8-x86_64] Extracting spec files from /home/pb/pb/projects/mondorescue/delivery/mindi-3.0.220151113115543.pbconf.tar.gz... OK
[debian-8-x86_64] Looking for debhelper... OK
[debian-8-x86_64] Extracting spec files from /home/pb/pb/projects/mondorescue/delivery/MondoRescue-3.2.220151113115543.pbconf.tar.gz... OK
[debian-8-x86_64] Looking for debhelper... OK
[debian-8-x86_64] Looking for perl... OK
[debian-8-x86_64] Extracting spec files from /home/pb/pb/projects/mondorescue/delivery/mondo-3.2.220151113115543.pbconf.tar.gz... OK
[debian-8-x86_64] Looking for debhelper... OK
[debian-8-x86_64] Looking for libnewt-dev... NOT OK but non blocking
[debian-8-x86_64] dpkg-query: no packages found matching libnewt-dev
[debian-8-x86_64] Looking for libncurses5-dev... NOT OK but non blocking
[debian-8-x86_64] dpkg-query: no packages found matching libncurses5-dev
[debian-8-x86_64] Looking for g++... OK
[debian-8-x86_64] Looking for fakeroot... OK
[debian-8-x86_64] Installing dependencies (sudo /usr/bin/apt-get update ; sudo /usr/bin/env DEBIAN_FRONTEND=noninteractive /usr/bin/apt-get -y --allow-unauthenticated install  libnewt-dev libncurses5-dev)... Get:1 http://security.debian.org jessie/updates InRelease [63.1 kB]
[debian-8-x86_64] Get:2 http://security.debian.org jessie/updates/main amd64 Packages [190 kB]
[debian-8-x86_64] Ign http://httpredir.debian.org jessie InRelease
[debian-8-x86_64] Hit http://httpredir.debian.org jessie-updates InRelease
[debian-8-x86_64] Hit http://httpredir.debian.org jessie Release.gpg
[debian-8-x86_64] Hit http://httpredir.debian.org jessie Release
[debian-8-x86_64] Get:3 http://httpredir.debian.org jessie-updates/main amd64 Packages [3619 B]
[debian-8-x86_64] Get:4 http://httpredir.debian.org jessie/main amd64 Packages [9035 kB]
[debian-8-x86_64] Fetched 9292 kB in 11s (842 kB/s)
[debian-8-x86_64] Reading package lists...
[debian-8-x86_64] OK
[debian-8-x86_64] Looking for debhelper... OK
[debian-8-x86_64] Looking for libnewt-dev... OK
[debian-8-x86_64] Looking for libncurses5-dev... OK
[debian-8-x86_64] Looking for g++... OK
[debian-8-x86_64] Looking for fakeroot... OK
[debian-8-x86_64] INFO: ------ Finished preparing build environment ------
[debian-8-x86_64] ==== End of script 20403 for ve debian-8-x86_64 =====
[debian-8-x86_64]  ---> 173ca60f61ac
[debian-8-x86_64] Removing intermediate container fb75b5a75ae5
[debian-8-x86_64] Step 19 : RUN rm -rf ///home/pb/pb/projects/mondorescue/delivery/*
[debian-8-x86_64]  ---> Running in 6ee271f45507
[debian-8-x86_64]  ---> ae4c543c6601
[debian-8-x86_64] Removing intermediate container 6ee271f45507
[debian-8-x86_64] Successfully built ae4c543c6601


So now I have an additional docker image for this environment, based on the previous one:

$ docker images | grep debian
localhost:5000/pb                  debian-8-x86_64-pb-mondorescue       ae4c543c6601        3 minutes ago       607.9 MB
localhost:5000/pb                  debian-8-x86_64-pb-pb                fea975dea564        About an hour ago   578.7 MB
localhost:5000/pb                  debian-8-x86_64-pb                   f6d81fc68abb        2 hours ago         575.9 MB
localhost:5000/pb                  debian-8-x86_64                      06675d245362        3 hours ago         214.4 MB
debian                             8                                    ea6bab360f56        5 days ago          125.1 MB


I can easily look at the steps performed to obtain it:

$ docker history localhost:5000/pb:debian-8-x86_64-pb-mondorescue
IMAGE               CREATED             CREATED BY                                      SIZE
ae4c543c6601        3 minutes ago       /bin/sh -c rm -rf ///home/pb/pb/projects/mond   0 B
173ca60f61ac        3 minutes ago       /bin/sh -c cd ///home/pb/pb/projects/mondores   16.81 MB
5cb69815c7c0        4 minutes ago       /bin/sh -c #(nop) COPY file:1645234a6c1c0549d   605 B
f71963fa79f0        4 minutes ago       /bin/sh -c cd ///home/pb/pb/projects/mondores   102 B
59605cdecfe8        4 minutes ago       /bin/sh -c #(nop) COPY file:1645234a6c1c0549d   605 B
9a1c450c6efb        4 minutes ago       /bin/sh -c #(nop) COPY file:ec130644fb5426dfe   2.261 kB
d5fa3e42dcfb        4 minutes ago       /bin/sh -c #(nop) COPY file:762eece45998a7c4b   4.598 kB
3260da7a162a        4 minutes ago       /bin/sh -c #(nop) COPY file:9b38daa878f932c94   72 B
ff1e71413281        4 minutes ago       /bin/sh -c #(nop) COPY file:4f6f713aebb6a7c59   2.031 kB
2a6168166522        4 minutes ago       /bin/sh -c #(nop) COPY file:94c8b882bd8f3f045   6 MB
26e055133d17        4 minutes ago       /bin/sh -c #(nop) COPY file:58e6181ca4dad6cd1   177.7 kB
4fc25cc9fe13        4 minutes ago       /bin/sh -c #(nop) COPY file:222b93ca4f39c6e86   6.444 MB
e6892eefdb4c        4 minutes ago       /bin/sh -c #(nop) COPY file:60a842161682948f2   2.441 MB
88e40b54cd29        4 minutes ago       /bin/sh -c #(nop) COPY file:57b4640dc4780737b   50.01 kB
190fe741f7af        4 minutes ago       /bin/sh -c #(nop) COPY file:a7c9455e6175e2fa8   26.84 kB
f30bdf8004e9        4 minutes ago       /bin/sh -c cd ///home/pb/pb/projects/mondores   0 B
3edf06a804bd        4 minutes ago       /bin/sh -c mkdir -p ///home/pb/pb/projects/mo   0 B
ec0b4b60b0c1        2 hours ago         /bin/sh -c #(nop) USER [pb]                     0 B
3570c292b36f        2 hours ago         /bin/sh -c #(nop) MAINTAINER project-builder.   0 B
f6d81fc68abb        2 hours ago         /bin/sh -c chown -R root ////test/src           0 B
85bfa83cba2c        2 hours ago         /bin/sh -c rm -rf ////test/src/*                0 B
f6f3bfdf3e17        2 hours ago         /bin/sh -c cd ////test/src ; perl ./setupv-de   361.1 MB
76626066f4a0        3 hours ago         /bin/sh -c #(nop) COPY file:f9c507f3f360cec09   142.5 kB
0bc7d8bc8e80        3 hours ago         /bin/sh -c sed -i '/requiretty/d' /etc/sudoer   669 B
f49dd35e70c7        3 hours ago         /bin/sh -c #(nop) COPY file:f9c507f3f360cec09   142.5 kB
56305ce8c480        3 hours ago         /bin/sh -c #(nop) COPY file:4e2c5e696bcc9a43f   76.31 kB
da08cc2bb660        3 hours ago         /bin/sh -c #(nop) COPY file:c2adcd862b5219d52   91.86 kB
176bc43ee778        3 hours ago         /bin/sh -c cd ////test/src ; for i in  setupv   0 B
90acf09df463        3 hours ago         /bin/sh -c mkdir -p ////test/src                0 B
a942beae2e8f        3 hours ago         /bin/sh -c #(nop) USER [root]                   0 B
04f861205437        3 hours ago         /bin/sh -c #(nop) MAINTAINER project-builder.   0 B
06675d245362        3 hours ago         /bin/sh -c /usr/bin/apt-get update ; /usr/bin   89.25 MB
e0543ede3032        3 hours ago         /bin/sh -c #(nop) MAINTAINER project-builder.   0 B
ea6bab360f56        5 days ago          /bin/sh -c #(nop) CMD ["/bin/bash"]             0 B
5679b9b90e09        5 days ago          /bin/sh -c #(nop) ADD file:5afd8eec1dc1e7666d   125.1 MB


So we see very well that we work with layers, adding some content and configuration to our previous debian-8-x86_64-pb docker image (id: f6d81fc68abb) and capitalize on it. Of course, if we need to rebuild everything due to updates (which is not so frequent when building packages in fact) it’s easy and just consists of relaunching our 4 magic commands.

Ok, not time to build MondoRescue for Debian 8:

$ pb -p mondorescue -T docker -m debian-8-x86_64 sbx2ve
Project: mondorescue
Action: sbx2ve
Packages: MondoRescue,mindi,mondo

[...]
Management of mondo 3.2.2-0 (rev 3484M)
Exporting /users/bruno/mondo/svn/branches/3.2/mondo from svn+ssh to /users/bruno/pb/projects/mondorescue/delivery/mondo-3.2.220151125153222 ... OK
Preparing delivery ...
Delivered and compressed patches N/A
Delivered additional sources N/A
Build files have been generated for ... asianux-2-i386,asianux-2-x86_64,asianux-3-i386,asianux-3-x86_64,centos-4-i386,centos-4-x86_64,centos-5-i386,centos-5-x86_64,centos-7-x86_64,debian-3-i386,debian-4-i386,debian-4-x86_64,debian-5-i386,debian-5-x86_64,debian-6-i386,debian-6-x86_64,debian-7-i386,debian-7-x86_64,debian-8-i386,debian-8-x86_64,fedora-10-i386,fedora-10-x86_64,fedora-11-i386,fedora-11-x86_64,fedora-12-i386,fedora-12-x86_64,fedora-13-i386,fedora-13-x86_64,fedora-14-i386,fedora-14-x86_64,fedora-15-i386,fedora-15-x86_64,fedora-16-i386,fedora-16-x86_64,fedora-17-i386,fedora-17-x86_64,fedora-18-i386,fedora-18-x86_64,fedora-19-i386,fedora-19-x86_64,fedora-20-i386,fedora-20-x86_64,fedora-21-i386,fedora-21-x86_64,fedora-4-i386,fedora-5-i386,fedora-6-i386,fedora-6-x86_64,fedora-7-i386,fedora-7-x86_64,fedora-8-i386,fedora-8-x86_64,fedora-9-i386,fedora-9-x86_64,gentoo-nover-i386,gentoo-nover-x86_64,lsb-3.2.0-i386,lsb-3.2.0-x86_64,lsb-4.0.1-i386,lsb-4.0.1-x86_64,mageia-1-i386,mageia-1-x86_64,mageia-2-i386,mageia-2-x86_64,mageia-3-i386,mageia-3-x86_64,mageia-4-i386,mageia-4-x86_64,mageia-5-i386,mageia-5-x86_64,mandrake-10.1-i386,mandrake-10.2-i386,mandriva-2006.0-i386,mandriva-2007.0-i386,mandriva-2007.0-x86_64,mandriva-2007.1-i386,mandriva-2007.1-x86_64,mandriva-2008.0-i386,mandriva-2008.0-x86_64,mandriva-2008.1-i386,mandriva-2008.1-x86_64,mandriva-2009.0-i386,mandriva-2009.0-x86_64,mandriva-2009.1-i386,mandriva-2009.1-x86_64,mandriva-2010.0-i386,mandriva-2010.0-x86_64,mandriva-2010.1-i386,mandriva-2010.1-x86_64,opensuse-10.2-i386,opensuse-10.2-x86_64,opensuse-10.3-i386,opensuse-10.3-x86_64,opensuse-11.0-i386,opensuse-11.0-x86_64,opensuse-11.1-i386,opensuse-11.1-x86_64,opensuse-11.2-i386,opensuse-11.2-x86_64,opensuse-11.3-i386,opensuse-11.3-x86_64,opensuse-11.4-i386,opensuse-11.4-x86_64,opensuse-12.1-i386,opensuse-12.1-x86_64,opensuse-12.2-i386,opensuse-12.2-x86_64,opensuse-12.3-i386,opensuse-12.3-x86_64,opensuse-13.1-i386,opensuse-13.1-x86_64,opensuse-13.2-i386,opensuse-13.2-x86_64,redhat-6.2-i386,redhat-7.3-i386,redhat-9-i386,rhel-2-i386,rhel-3-i386,rhel-3-x86_64,rhel-4-i386,rhel-4-x86_64,rhel-5-i386,rhel-5-x86_64,rhel-6-i386,rhel-6-x86_64,rhel-7-x86_64,sles-10-i386,sles-10-x86_64,sles-11-i386,sles-11-x86_64,sles-12-x86_64,sles-9-i386,suse-10.0-i386,suse-10.1-i386,ubuntu-10.04-i386,ubuntu-10.04-x86_64,ubuntu-10.10-i386,ubuntu-10.10-x86_64,ubuntu-11.04-i386,ubuntu-11.04-x86_64,ubuntu-11.10-i386,ubuntu-11.10-x86_64,ubuntu-12.04-i386,ubuntu-12.04-x86_64,ubuntu-12.10-i386,ubuntu-12.10-x86_64,ubuntu-13.04-i386,ubuntu-13.04-x86_64,ubuntu-13.10-i386,ubuntu-13.10-x86_64,ubuntu-14.04-i386,ubuntu-14.04-x86_64,ubuntu-14.10-i386,ubuntu-14.10-x86_64,ubuntu-15.04-i386,ubuntu-15.04-x86_64,ubuntu-6.06-i386,ubuntu-7.04-i386,ubuntu-7.04-x86_64,ubuntu-7.10-i386,ubuntu-7.10-x86_64,ubuntu-8.04-i386,ubuntu-8.04-x86_64,ubuntu-8.10-i386,ubuntu-8.10-x86_64,ubuntu-9.04-i386,ubuntu-9.04-x86_64,ubuntu-9.10-i386,ubuntu-9.10-x86_64
No Build files found for solaris-10-i386
Executing init script from /users/bruno/pb/projects/mondorescue/pbconf/branches/3.2/mondo/pbinit under /users/bruno/pb/projects/mondorescue/delivery/mondo-3.2.220151125153222... OK
Bootstraping MondoRescue... OK
configure.ac:18: installing './config.guess'
configure.ac:18: installing './config.sub'
configure.ac:22: installing './missing'
Exporting /users/bruno/mondo/svn/branches/3.2/mondo-doc/mondoarchive.8 from svn+ssh to docs/man/mondoarchive.8 ... OK
Exporting /users/bruno/mondo/svn/branches/3.2/mondo-doc/mondorestore.8 from svn+ssh to docs/man/mondorestore.8 ... OK
Exporting /users/bruno/mondo/svn/branches/3.2/mondo-doc/images from svn+ssh to docs/en/images ... OK
Exporting /users/bruno/mondo/svn/branches/3.2/mondo-doc/fdl.sgml from svn+ssh to docs/en/fdl.sgml ... OK
Exporting /users/bruno/mondo/svn/branches/3.2/mondo-doc/mondorescue-howto.sgml from svn+ssh to docs/en/mondorescue-howto.sgml ... OK
Exporting /users/bruno/mondo/svn/branches/3.2/mondo-doc/mondorescue-howto.dsl from svn+ssh to docs/en/mondorescue-howto.dsl ... OK
Exporting /users/bruno/mondo/svn/branches/3.2/mondo-doc/Makefile.howto from svn+ssh to docs/en/Makefile.howto ... OK
Converting images/10cd-mini.png to images/10cd-mini.eps
Converting images/10cd.png to images/10cd.eps
[...]

Generating doc in PDF format
----------------------------
Using catalogs: /etc/sgml/sgml-docbook-4.1.cat
Using stylesheet: /users/bruno/pb/projects/mondorescue/delivery/mondo-3.2.220151125153222/docs/en/mondorescue-howto.dsl#pdf
Working on: /users/bruno/pb/projects/mondorescue/delivery/mondo-3.2.220151125153222/docs/en/mondorescue-howto.sgml
Done.

Generating doc in HTML format
-----------------------------
Using catalogs: /etc/sgml/sgml-docbook-4.1.cat
Using stylesheet: /users/bruno/pb/projects/mondorescue/delivery/mondo-3.2.220151125153222/docs/en/mondorescue-howto.dsl#txt
Working on: /users/bruno/pb/projects/mondorescue/delivery/mondo-3.2.220151125153222/docs/en/mondorescue-howto.sgml
Done.
Creating mondo tar files compressed... OK
Under /users/bruno/pb/projects/mondorescue/delivery/mondo-3.2.220151125153222.tar.gz
Creating pbconf tar files compressed... OK
Under /users/bruno/pb/projects/mondorescue/delivery/mondo-3.2.220151125153222.pbconf.tar.gz
Packages: mondo,mindi,MondoRescue
Packages: mondo,MondoRescue,mindi
Sources handled (VEbuild): /users/bruno/pb/projects/mondorescue/delivery/mondo-3.2.220151125153222.tar.gz /users/bruno/pb/projects/mondorescue/delivery/mondo-3.2.220151125153222.pbconf.tar.gz /users/bruno/pb/projects/mondorescue/delivery/MondoRescue-3.2.220151125153222.tar.gz /users/bruno/pb/projects/mondorescue/delivery/MondoRescue-3.2.220151125153222.pbconf.tar.gz /users/bruno/pb/projects/mondorescue/delivery/mindi-3.0.220151125153222.tar.gz /users/bruno/pb/projects/mondorescue/delivery/mindi-3.0.220151125153222.pbconf.tar.gz /users/bruno/pb/projects/mondorescue/pbconf/branches/3.2/mondorescue.pb /users/bruno/pb/projects/mondorescue/delivery/3.2.2-0.pb /users/bruno/.pbrc /users/bruno/pb/projects/mondorescue/delivery/pbrc /users/bruno/pb/projects/mondorescue/delivery/pbbuild-debian-8-x86_64
Executing pbscript on ///home/pb/pb/projects/mondorescue/delivery if needed... ERROR: child (/usr/bin/docker run --cidfile="/tmp/pb._vhL7olOi2/ctn.cid" --user pb --name debian-8-x86_64-VEbuild -v /users/bruno/pb/projects/mondorescue/build:/home/pb/pb/projects/mondorescue/build-2 -v /tmp/pb._vhL7olOi2/vebuild:/home/pb/pb/projects/mondorescue/delivery-2 -w /home/pb/pb/projects/mondorescue/delivery-2 localhost:5000/pb:debian-8-x86_64-pb-mondorescue /bin/bash /home/pb/pb/projects/mondorescue/delivery-2/pbbuild-debian-8-x86_64) cwd=/users-ssd/bruno/pb/projects/mondorescue/build exited with value 123
[debian-8-x86_64] [debian-8-x86_64] total 14828
[debian-8-x86_64] drwxr-xr-x  2 600 501    4096 Nov 25 14:32 .
[debian-8-x86_64] drwxr-xr-x 25 pb  pb     4096 Nov 25 14:32 ..
[debian-8-x86_64] -rw-r--r--  1 600 501    4598 Nov 25 14:32 .pbrc
[debian-8-x86_64] -rw-r--r--  1 600 501      72 Nov 25 14:32 3.2.2-0.pb
[debian-8-x86_64] -rw-r--r--  1 600 501   49893 Nov 25 14:32 MondoRescue-3.2.220151125153222.pbconf.tar.gz
[debian-8-x86_64] -rw-r--r--  1 600 501   26844 Nov 25 14:32 MondoRescue-3.2.220151125153222.tar.gz
[debian-8-x86_64] -rw-r--r--  1 600 501 5999683 Nov 25 14:32 mindi-3.0.220151125153222.pbconf.tar.gz
[debian-8-x86_64] -rw-r--r--  1 600 501  177805 Nov 25 14:32 mindi-3.0.220151125153222.tar.gz
[debian-8-x86_64] -rw-r--r--  1 600 501 6443666 Nov 25 14:32 mondo-3.2.220151125153222.pbconf.tar.gz
[debian-8-x86_64] -rw-r--r--  1 600 501 2440563 Nov 25 14:32 mondo-3.2.220151125153222.tar.gz
[debian-8-x86_64] -rw-r--r--  1 600 501    2031 Nov 25 14:32 mondorescue.pb
[debian-8-x86_64] -rw-r--r--  1 600 501    1694 Nov 25 14:32 pbbuild-debian-8-x86_64
[debian-8-x86_64] -rw-r--r--  1 600 501    2261 Nov 25 14:32 pbrc
[debian-8-x86_64] ... Execution needed
[debian-8-x86_64] ==== Start of script for ve debian-8-x86_64 =====
[debian-8-x86_64] setting up date with /bin/true
[debian-8-x86_64] building packages on ve...
[debian-8-x86_64] pb (aka project-builder.org) Version devel20151125121142-2013M
[debian-8-x86_64] 
[debian-8-x86_64] Usage:
[debian-8-x86_64]     pb [-vhSq][-r pbroot][-p project][[-s script -a account -P port][-T
[debian-8-x86_64]     VEtype][-t [os-ver-arch]][-m os-ver-arch[,...]]][-g][-i image] 
[debian-8-x86_64]     [ ...]
[debian-8-x86_64] 
[debian-8-x86_64]     pb [--verbose][--help][--man][--quiet][--snapshot][--revision
[debian-8-x86_64]     pbroot][--project project][[--script script --account account --port
[debian-8-x86_64]     port][-T VEtype][--target [os-ver-arch]][--machine
[debian-8-x86_64]     os-ver-arch[,...]]][--nographic][--image image][--rebuild] 
[debian-8-x86_64]     [ ...]
[debian-8-x86_64] 
[debian-8-x86_64] Project: mondorescue
[debian-8-x86_64] Action: build2pkg
[debian-8-x86_64] INFO: ------ Starting to build package ------
[debian-8-x86_64] Packages: mondo,MondoRescue,mindi
[debian-8-x86_64] Extracting sources... OK
[debian-8-x86_64] Extracting pbconf... OK
[debian-8-x86_64] Extracting patch files from /home/pb/pb/projects/mondorescue/delivery/mondo-3.2.220151125153222.pbconf.tar.gz... NOT OK but non blocking
[debian-8-x86_64] Building package... OK
[debian-8-x86_64] dpkg-buildpackage: source package mondo
[debian-8-x86_64] dpkg-buildpackage: source version 3.2.220151125153222-0
[debian-8-x86_64] dpkg-buildpackage: source distribution unstable
[debian-8-x86_64] dpkg-buildpackage: source changed by Bruno Cornec 
[debian-8-x86_64]  dpkg-source --before-build mondo-3.2.220151125153222
[debian-8-x86_64] dpkg-buildpackage: host architecture amd64
[debian-8-x86_64]  fakeroot debian/rules clean
[debian-8-x86_64] dh_testdir
[debian-8-x86_64] dh_testroot
[debian-8-x86_64] rm -f build-arch-stamp build-indep-stamp #CONFIGURE-STAMP#
[debian-8-x86_64] # Clean temporary document directory
[debian-8-x86_64] rm -rf debian/doc-temp
[debian-8-x86_64] # Clean up.
[debian-8-x86_64] /usr/bin/make distclean
[debian-8-x86_64] make[1]: Entering directory '/home/pb/pb/projects/mondorescue/build/mondo-3.2.220151125153222'
[debian-8-x86_64] make[1]: *** No rule to make target 'distclean'.  Stop.
[debian-8-x86_64] make[1]: Leaving directory '/home/pb/pb/projects/mondorescue/build/mondo-3.2.220151125153222'
[debian-8-x86_64] debian/rules:60: recipe for target 'clean' failed
[debian-8-x86_64] make: [clean] Error 2 (ignored)
[debian-8-x86_64] rm -f config.log
[debian-8-x86_64] dh_clean 
[debian-8-x86_64]  dpkg-source -b mondo-3.2.220151125153222
[debian-8-x86_64] dpkg-source: warning: no source format specified in debian/source/format, see dpkg-source(1)
[debian-8-x86_64] dpkg-source: info: using source format `1.0'
[debian-8-x86_64] dpkg-source: info: building mondo in mondo_3.2.220151125153222-0.tar.gz
[debian-8-x86_64] dpkg-source: info: building mondo in mondo_3.2.220151125153222-0.dsc
[debian-8-x86_64]  debian/rules build
[debian-8-x86_64] dh_testdir
[debian-8-x86_64] # Configure the package.
[debian-8-x86_64] CFLAGS="-Wall -g -O2" ./configure --host=x86_64-linux-gnu --build=x86_64-linux-gnu --prefix=/usr --mandir=\${prefix}/share/man
[debian-8-x86_64] checking build system type... x86_64-pc-linux-gnu
[debian-8-x86_64] checking host system type... x86_64-pc-linux-gnu
[debian-8-x86_64] checking target system type... x86_64-pc-linux-gnu
[debian-8-x86_64] checking for a BSD-compatible install... /usr/bin/install -c
[debian-8-x86_64] checking whether build environment is sane... yes
[debian-8-x86_64] checking for a thread-safe mkdir -p... /bin/mkdir -p
[debian-8-x86_64] checking for gawk... no
[...]
[debian-8-x86_64] checking that generated files are newer than configure... done
[debian-8-x86_64] configure: creating ./config.status
[debian-8-x86_64] config.status: creating Makefile
[debian-8-x86_64] config.status: creating src/Makefile
[debian-8-x86_64] config.status: creating src/lib/Makefile
[debian-8-x86_64] config.status: creating src/common/Makefile
[debian-8-x86_64] config.status: creating src/mondoarchive/Makefile
[debian-8-x86_64] config.status: creating src/mondorestore/Makefile
[debian-8-x86_64] config.status: creating src/restore-scripts/Makefile
[debian-8-x86_64] config.status: creating src/restore-scripts/mondo/Makefile
[debian-8-x86_64] config.status: creating src/post-nuke.sample/Makefile
[debian-8-x86_64] config.status: creating src/post-nuke.sample/usr/Makefile
[debian-8-x86_64] config.status: creating src/post-nuke.sample/usr/bin/Makefile
[debian-8-x86_64] config.status: creating test/Makefile
[debian-8-x86_64] config.status: creating config.h
[debian-8-x86_64] config.status: executing depfiles commands
[debian-8-x86_64] config.status: executing libtool commands
[debian-8-x86_64] dh_testdir
[debian-8-x86_64] # Compile the package.
[debian-8-x86_64] /usr/bin/make
[debian-8-x86_64] make[1]: Entering directory '/home/pb/pb/projects/mondorescue/build/mondo-3.2.220151125153222'
[debian-8-x86_64] /usr/bin/make  all-recursive
[debian-8-x86_64] make[2]: Entering directory '/home/pb/pb/projects/mondorescue/build/mondo-3.2.220151125153222'
[debian-8-x86_64] Making all in src
[debian-8-x86_64] make[3]: Entering directory '/home/pb/pb/projects/mondorescue/build/mondo-3.2.220151125153222/src'
[debian-8-x86_64] Making all in lib
[debian-8-x86_64] make[4]: Entering directory '/home/pb/pb/projects/mondorescue/build/mondo-3.2.220151125153222/src/lib'
[debian-8-x86_64] x86_64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../..  -DMONDO_SHARE=\"/usr/share/mondo\" -DMONDO_CONF_DIR=\"/usr/etc\" -I../../src/include -D__IA32__ -D__X86_64__  -Wall -g -O2 -Wall -Wno-return-type -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -Werror=format-security -MT mr_conf.o -MD -MP -MF .deps/mr_conf.Tpo -c -o mr_conf.o mr_conf.c
[debian-8-x86_64] mv -f .deps/mr_conf.Tpo .deps/mr_conf.Po
[debian-8-x86_64] x86_64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../..  -DMONDO_SHARE=\"/usr/share/mondo\" -DMONDO_CONF_DIR=\"/usr/etc\" -I../../src/include -D__IA32__ -D__X86_64__  -Wall -g -O2 -Wall -Wno-return-type -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -Werror=format-security -MT mr_str.o -MD -MP -MF .deps/mr_str.Tpo -c -o mr_str.o mr_str.c
[debian-8-x86_64] mv -f .deps/mr_str.Tpo .deps/mr_str.Po
[debian-8-x86_64] x86_64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../..  -DMONDO_SHARE=\"/usr/share/mondo\" -DMONDO_CONF_DIR=\"/usr/etc\" -I../../src/include -D__IA32__ -D__X86_64__  -Wall -g -O2 -Wall -Wno-return-type -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -Werror=format-security -MT mr_mem.o -MD -MP -MF .deps/mr_mem.Tpo -c -o mr_mem.o mr_mem.c
[debian-8-x86_64] mv -f .deps/mr_mem.Tpo .deps/mr_mem.Po
[...]
[debian-8-x86_64] make[4]: Entering directory '/home/pb/pb/projects/mondorescue/build/mondo-3.2.220151125153222/src/mondorestore'
[debian-8-x86_64] /bin/bash ../../libtool  --tag=CC   --mode=link x86_64-linux-gnu-gcc  -Wall -g -O2 -Wall -Wno-return-type -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -Werror=format-security   -o mondorestore mondo-prep.o mondorestore.o mondo-rstr-newt.o mondo-rstr-compare.o mondo-rstr-tools.o ../common/newt-specific.o ../../src/common/libmondo.a ../../src/lib/libmr.a  -lnewt  -lpthread
[debian-8-x86_64] libtool: link: x86_64-linux-gnu-gcc -Wall -g -O2 -Wall -Wno-return-type -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -Werror=format-security -o mondorestore mondo-prep.o mondorestore.o mondo-rstr-newt.o mondo-rstr-compare.o mondo-rstr-tools.o ../common/newt-specific.o  ../../src/common/libmondo.a ../../src/lib/libmr.a -lnewt -lpthread
[...]
[debian-8-x86_64] # - copy html manual to temporary location for renaming
[debian-8-x86_64] mkdir -p debian/doc-temp
[debian-8-x86_64] mkdir -p /home/pb/pb/projects/mondorescue/build/mondo-3.2.220151125153222/debian/mondo/var/cache/mondo
[debian-8-x86_64] #cp -a docs/en/mondorescue-howto debian/doc-temp/html
[debian-8-x86_64] dh_install -s
[debian-8-x86_64] /usr/bin/make -f debian/rules DH_OPTIONS=-a binary-common
[debian-8-x86_64] make[1]: Entering directory '/home/pb/pb/projects/mondorescue/build/mondo-3.2.220151125153222'
[debian-8-x86_64] dh_testdir
[debian-8-x86_64] dh_testroot
[debian-8-x86_64] dh_installchangelogs ChangeLog
[debian-8-x86_64] dh_installdocs
[debian-8-x86_64] dh_installman
[debian-8-x86_64] dh_link
[debian-8-x86_64] dh_strip
[debian-8-x86_64] dh_compress
[debian-8-x86_64] dh_fixperms
[debian-8-x86_64] dh_installdeb
[debian-8-x86_64] dh_shlibdeps
[debian-8-x86_64] dh_gencontrol
[debian-8-x86_64] dh_md5sums
[debian-8-x86_64] dh_builddeb
[debian-8-x86_64] dpkg-deb: building package `mondo' in `../mondo_3.2.220151125153222-0_amd64.deb'.
[debian-8-x86_64] make[1]: Leaving directory '/home/pb/pb/projects/mondorescue/build/mondo-3.2.220151125153222'
[debian-8-x86_64] dh_testdir
[debian-8-x86_64] dh_testroot
[debian-8-x86_64] dh_clean -k -i
[debian-8-x86_64] dh_clean: You asked that all arch in(dep) packages be built, but there are none of that type.
[debian-8-x86_64] dh_installdirs -i
[debian-8-x86_64] dh_installdirs: You asked that all arch in(dep) packages be built, but there are none of that type.
[debian-8-x86_64] dh_install -i
[debian-8-x86_64] dh_install: You asked that all arch in(dep) packages be built, but there are none of that type.
[debian-8-x86_64] /usr/bin/make -f debian/rules DH_OPTIONS=-i binary-common
[...]
[debian-8-x86_64]  dpkg-genchanges  >../mondo_3.2.220151125153222-0_amd64.changes
[debian-8-x86_64] dpkg-genchanges: including full source code in upload
[debian-8-x86_64]  dpkg-source --after-build mondo-3.2.220151125153222
[debian-8-x86_64] dpkg-buildpackage: full upload; Debian-native package (full source is included)
[...]
[debian-8-x86_64] INFO: ------ Finished building package ------
[debian-8-x86_64] Checking validity of debs with /usr/bin/lintian... NOT OK but non blocking
[debian-8-x86_64] ERROR: when checking packages validity
[debian-8-x86_64] deb packages generated: mondo_3.2.220151125153222-0_amd64.deb libmondorescue-perl_3.2.220151125153222-0_all.deb mindi_3.0.220151125153222-0_amd64.deb 
[debian-8-x86_64] ==== End of script 9456 for ve debian-8-x86_64 =====
ERROR running command (/usr/bin/docker run --cidfile="/tmp/pb._vhL7olOi2/ctn.cid" --user pb --name debian-8-x86_64-VEbuild -v /users/bruno/pb/projects/mondorescue/build:/home/pb/pb/projects/mondorescue/build-2 -v /tmp/pb._vhL7olOi2/vebuild:/home/pb/pb/projects/mondorescue/delivery-2 -w /home/pb/pb/projects/mondorescue/delivery-2 localhost:5000/pb:debian-8-x86_64-pb-mondorescue /bin/bash /home/pb/pb/projects/mondorescue/delivery-2/pbbuild-debian-8-x86_64) with cwd=/users-ssd/bruno/pb/projects/mondorescue/build, pid=9457
Get package names in /users/bruno/pb/projects/mondorescue/build/3.2.2-0-debian-8-x86_64... OK
Recovery of package mondo_3.2.220151125153222-0_amd64.deb in /users/bruno/pb/projects/mondorescue/build/debian/8/x86_64... OK
Recovery of package mondo_*.dsc in /users/bruno/pb/projects/mondorescue/build/debian/8/x86_64... OK
Recovery of package mondo_*.tar.gz in /users/bruno/pb/projects/mondorescue/build/debian/8/x86_64... OK
Recovery of package mondo_*.changes in /users/bruno/pb/projects/mondorescue/build/debian/8/x86_64... OK
Recovery of package libmondorescue-perl_3.2.220151125153222-0_all.deb in /users/bruno/pb/projects/mondorescue/build/debian/8/x86_64... OK
Recovery of package libmondorescue-perl_*.dsc in /users/bruno/pb/projects/mondorescue/build/debian/8/x86_64... OK
Recovery of package libmondorescue-perl_*.tar.gz in /users/bruno/pb/projects/mondorescue/build/debian/8/x86_64... OK
Recovery of package libmondorescue-perl_*.changes in /users/bruno/pb/projects/mondorescue/build/debian/8/x86_64... OK
Recovery of package mindi_3.0.220151125153222-0_amd64.deb in /users/bruno/pb/projects/mondorescue/build/debian/8/x86_64... OK
Recovery of package mindi_*.dsc in /users/bruno/pb/projects/mondorescue/build/debian/8/x86_64... OK
Recovery of package mindi_*.tar.gz in /users/bruno/pb/projects/mondorescue/build/debian/8/x86_64... OK
Recovery of package mindi_*.changes in /users/bruno/pb/projects/mondorescue/build/debian/8/x86_64... OK
Packages: mindi,MondoRescue,mondo
Exporting public key for Bruno Cornec 
Preparing /prj/ftp/test/debian/8 on xxx@www.mondorescue.org:/prj/ftp/test/debian/8... OK
Sources handled (Packages): debian/8/x86_64/mondo_3.2.220151125153222-0_amd64.deb debian/8/x86_64/mondo_*.dsc debian/8/x86_64/mondo_*.tar.gz debian/8/x86_64/mondo_*.changes debian/8/x86_64/libmondorescue-perl_3.2.220151125153222-0_all.deb debian/8/x86_64/libmondorescue-perl_*.dsc debian/8/x86_64/libmondorescue-perl_*.tar.gz debian/8/x86_64/libmondorescue-perl_*.changes debian/8/x86_64/mindi_3.0.220151125153222-0_amd64.deb debian/8/x86_64/mindi_*.dsc debian/8/x86_64/mindi_*.tar.gz debian/8/x86_64/mindi_*.changes /users/bruno/pb/projects/mondorescue/delivery/mondorescue.pubkey /users/bruno/pb/projects/mondorescue/build/pbscript.9457
Packages delivery in xxx@www.mondorescue.org:/prj/ftp/test/debian/8...  OK
[debian-8-x86_64] [debian-8-x86_64] Creating Packages metadata
[debian-8-x86_64] Packages for amd64:
[debian-8-x86_64] dpkg-scanpackages: warning: Package mondo (filename 8/mondo_3.2.220151125153222-0_amd64.deb) is repeat but newer version;
[debian-8-x86_64] dpkg-scanpackages: warning: used that one and ignored data from 8/mondo_3.2.220151113115543-0_amd64.deb!
[...]
[debian-8-x86_64] dpkg-scanpackages: info: Wrote 7 entries to output Packages file.
[debian-8-x86_64] Creating Contents metadata
[debian-8-x86_64] 
[...]
[debian-8-x86_64] Creating Source metadata
[...]
[debian-8-x86_64] Creating Release metadata

And I now have my MondoRescue available for me to test on Debian 8:-)

All that is possible with the version 0.13.1 of project-builder.org which will be published ASAP after having written this article ! This will be the base of my presentation for the DevOps Meetup later today.

Speaking at LinuxCon EMEA 2014

2014/08/30

I received confirmation and support for my travel at LinuxCon EMEA 2014 which will be in D√ľsseldorf, Germany from the 13th to the 15th of October. I’m pretty proud to have up to now presented in all the european LinuxCon events since 2011.

I’ll again animate a round table on FLOSS Governance. I’m now contacting potential panelists for this one and should announce them soon.

But I’ll also have a technical session in parallel on a subject I’m working on at the moment, and should get interest as it is docker related: Multi-OS Continuous Packaging with Docker and Project-Builder.org.

Ok, so now I need to go back to my source code to make it work and publish it before the conf don’t you think so ?:-)

Random thoughts after 3 days down under and 1 around Linux.conf.au

2014/01/07

Australia !
Back to Australia !
Shark Bay
Just after my arrival in Perth last Friday, I had a bit of time to walk in the city in order to have a view on it and feel the atmosphere.
View from the hotel
It’s an interesting mix of modern buildings and a bit less modern buildings !
Mix of buildings
Of course, Australia is a young country, with (from my point of view) mostly young people around (that’s where I see I’m getting old !). People are very nice, friendly and always ready to help with a smile. It’s my third time here, and it’s always been like that, that’s probably why I like coming back here.
Australian Steak
I had a dinner in what I found a strange place, the shed, where I had to show my ID before entering, which was pretty empty despite the size. Maybe because it was a bit early. The dinner was good, but I really felt alone !
That's where Perth performs savant music

It was then time to go back to the hotel for some mail, and the preparation of my Monday presentation.

Being in Australia during europe winter time is just great. As great that you can receive too much sun on your headūüėČ Especially when you go to such a nice place as Fremantle !
Main Fremantle Street
I did that on Saturday (for once I had time around an event) in that city which is similar to a french mediteranean city like Cagnes sur mer e.g. (more from a climate perspective than an architectural one)
Hall Town
and so I passed the full day around, enjoying the view on the Indian Ocean (my first time),
Site seeing from Round House
and beach (nearly empty as very windy)
Fremantle beach
and the nice food you can eat on the harbour
View on the harbour
(remember that as french we put a lot of emphasis on this, and even more because it’s me ;-))
Lunch

One of the main building of Fremantle is their prison, which has been added to the World Heritage List of Unesco as a testimony of the role of convicts/prisoners sent to Australia to work there. One of the oldest building of the region, even if it’s just less than 200 years (old european reaction ;-))
Fremantle prison

It’ was also interesting to see that Fremantle uses Wikipedia to document their sites. They are adding QRCodes pointing to Wikipedia pages in order to make your visit more rich. That’s the first time I see that usage BTW.
Wikipedia QR code

Sunday was passed doing more preparation around project-builder.org release 0.12.3 and the presentation. I just took some time in the afternoon to go back in the city
Skyline view some strange trees in parks
Tree
and bells tower
Bells tower
before recognizing the itinerary to go to Linux.conf.au
LCA2014 Banner
hosted at the University of Western Australia
UWA
where we could register.
UWA main building
Despite not being at LCA for the first time, I attended Rusty Nelsson session on first timer LCA attendees, which was a nice way to start the event.First time session
After some more discussion at a nearby bar, it was time to finalize my presentation, and work on the demo. Took me up to 3AM, but was still not finished as I wanted !

On monday, LCA was starting.
Start of LCA
The first keynote was about Whistle-blowing (les lanceurs d’alerte for my french audience who like me would not happen to know what it is) and how their perception is changing in our post-Snowden era.
Dr Suelette Dreyfus
That was an interesting presentation of her finding through a survey they organized to gather data. Especially after having seen the keynote at LinuxCon EMEA around Living in a Surveillance State by Mikko Hypponen, which I highly recommend to watch,as it’s a very enlightning one.
Dr Suelette Dreyfus
However, during the Q&A session, I found a bit strange that the audience didn’t want to listen to the question from a doctor around how to determine what is good and what is bad, which was much more interesting that what they felt it could be. And I think he was right, as this is a real concern that should rather be dealt with, instead of just asking the person to shut up. The limit of what can be disclosed or not whether you are in a government or a private company wrt ethic aspects is really a difficult topic to solve and more debate should be left so more interesting input could be heard and answers brought to improve the quality of the debate.

And also it’s interesting that the spot is now only on the NSA, whereas we tend to forget that some months ago, we had the same questions around Facebook. Of course, people give willingly their info to Facebook while theydon’t to the NSA, and that’s a bad thing. However, it doesn’t rmove the other threat from companies like Facebook which should continue to be explained to all IT users and consumers.

There was a remark on the fact that US own 5 millions records of autralian citizens who have travelled to the US. Again, it’s easy to avoid that: do not travel to the US. If you want to go there, it seems normal to me they can ask for info beofre to protect themselves. Of course, the level of what is asked should be reasonable wrt the effect researched, and people have modification right son it and insurance it won’t be provided to other entities. But here I think they are in their own right to gather them. Of course, again nothing to do with what we’re learning regularly thanks to E. Snowden revelations with what the NSA is doing.

I passed the rest of the day mostly in the Continuous Integration miniconf which was also hosting my talk with the exception of a presentation around ansible and vagrant I wanted to follow in the sysadmin mini-conf. It turned out that this presentation wasn’t so interesting due to the lack of demo (no network). Too bad as I’m also testing ansible as time permits on my side and would have like to get insights.

So after that I took some time to finish my slidset for the pres of the afternoon and the demo I wanted to make. I think I’ll never been able to finish a presentation days in advance completely. Don’t get me wrong, I have plenty of material availblle and I can make any 3 days workshop on the fly just using what I already have. However, I like to tailor the presentation to the audience, the context, polish one or two stuff, remove slides and some new ones… And same with the demo. So even if I started early before coming, I just finished to publish project-builder.org 0.12.3 the morning (time for all packages to build), realized that some feature that I hadn’t tested enough were not working, so making just a last patch (c) to have my demo shiny !

So I missed some sessions in between and went back to the CI miniconf and really heard Anita Kuno’s talk on 3rd party testing with OpenStack (a good one on latest aspects of the project I wasn’t aware of – this one is moving soooo fast !).
Geology Building at UWA

And finally all went well (at least from my point of view of course, ask one of the around 40 people of the the audience for objective feedback !). Demo worked as expected (thanks for preparation ;-)) and as usual I din’t had enough time to cover all what I wanted to address. Will see now if my Continuous Packaging approach is supported more in Australia, and if project-builder.org gets adopted there to create more upstream packages for some projects. Those interested can find my presentation on SlideShare. The video is also available.
Perth Lighted building
End of day was dedicated to the CI BoF and a dinner with a lot of HP peers working on OpenStack on various aspects (always amazed to meet so many people involved in it as time passes that I wasn’t knowing before).

But that’s not the end ! More “awesome” presentations to see the days coming. And more pictures are available at https://plus.google.com/photos/112434061686721373729/albums/5966194867275136465

Interview for Mageia’s Blog

2013/11/03

In case you’re interested, you can read my interview made by Ennael for The Mageia Blog.

And I’m right now trying to debug an issue with squidGuard for Mageia 3 while upgrading my internal proxy server ! Cf: https://bugs.mageia.org/show_bug.cgi?id=11575

Distro Recipes 2013: Nice first !

2013/04/09

Distro Recipes 2013
As indicated, I had the opportunity to talk during the first Distro Recipes event organized in Paris last week, at the invitation of Hupstream. As Yoann Sculo posted, this was a very interesting day for me, and I really regret I was busy to also attend the first day and the opening.

After a nice welcome breakfast, Aurélien Bompard started by presenting the Fedora distribution.
Aurélien Bompard presenting the Fedora distribution
He did a great job especially expalining how easy it was to become a Fedora maintainer, even if a comparison to Debian revealed that it’s much less different that what people may think (it also takes time to become a packager able to modify most distro packages) and I know by experience that the Fedora packagers are really picky (sometimes for not so good reasons) with new contributions.

After that I talked about HP and Linux distributions. I used in fact the standard HP marketing presentation of the company as a starter (modified of course to suit my needs and include more penguins !) in order to explain the span of our activities, our relationship with communities including distributions, announced that HP will even soon provide firmware for ProLiant servers under a package format (rpm and deb), the fact that HP doesn’t see Linux demand for desktop/laptop on the consumer market (no, it’s not just a price issue that would make Linux more appealing in that case as I justified) but that we do support Linux on some enterprise desktops/laptops. Hopefully this was useful and/or new to some of the audience.

Then Dodji Seketeli made the type of talk making you believe that you could contribute to gcc ! Of course, when he details how much time it took him to add some of the features of the next stable version, you know you can’t ! Well I at leastūüėČ Anyway lots of good news and features that make that future version 4.8 expected soon.
Dodji Seketeli on gcc

That conclude our morning sessions, and it was then time to eat !! Especially as we had a great buffet waiting for us as you can see:
Repas midi

In order to avoid a sleepy afternoon, we started right after by a round table with 7 people (!), that I had the pleasure to chair. With a representative of each distribution (Mageia, openSUSE, Fedora, Debian, Arch, Embedded) and a Microsoft representative, you could expect blood and swords fight ! Not at all, I was surprisingly happy that the elements were clearly exposed, each representative defending their own work rather than criticizing, and finding ways to propose more future joint work. Of course, some subjects such as LSB/FHS lead to more debate, but very constructive and I really enjoyed this time slot as a way to show that differences are an added value ! It was also the opportunity for me to meet with Colin Guthrie and Frédérc Crozat, which I had never met before. These distros should be happy to have such representatives defending them (and the others too of course ;-)) Finally if you have ideas to share to improve cross-distribution work , consider joining the mailing listdedicated to his topic and start sharing your ideas.

Then it was time again for the remaining presentations. The first was Lucas Nussbaum. Long time Debian Developer, (he is even running for the Debian Project Leader now, vote for him !) he made a convincing picture of the Debian ecosystem, the numerous Web sites that contributors can create to enhance the distribution with stats, infos, Ubuntu correlations, … As usual, Debian appears as a very mature distribution, with a strong Governance, being perl friendly… If I had to change I may well become a debianers. But isn’t it because of the pres, as the morning I was a fedorianūüėČ
Lucas Nussbaum pour Debian

The next speaker was a long time Linux enthousiast Pierre Ficheux. In fact back when it was Minitel time (not 2.0) I used his xtel program !! Pierre made a presentation (in english but with the accent ;-)) around embedded Linux distributions, presenting various way to tailor one for your device (he was using a Raspberry Pi) depending whether you use an Ubuntu, a Yocto generated one or a pure OpenEmbedded linux one. Definitely a good idea to explore for my Pi !
Pierre Ficheux sur Yocto (Open Wide)

And then we had the lightnings talks. Aur√©lien Bompard was there again for HyperKitty. Too bad it’s devoted to mailan, as I think Sympa would also benefit from such a work, as their archive management (at least on the latest versions I used) could be improved.
Aurélien Bompard pour HyperKitty

I came then again on stage for a project-builder.org presentation (building cross-distro packages for upstream projects) and made a short demo which I think is explaining much more than my slides, so I plan on using it more in the future !

After me, Eric Leblond explained how his upstream project (ulogd2) wasn’t picked up correclty by most distributions and asked for help to improce that.

And final speaker was Nicolas Vérité who made a panel on all mobile Linux distributions, recommending to follow closely Tizen for the future as the main force in this area.
Nicolas Vérité sur Distros Mobile

Too bad it was already over. Anne closed the session and I’d like to thank her for the invitation and the perfect organization of this first cross-distributions vent as a real success. Well done and see you next year hopefully !
Anne Nicolas (Hupstream)

Finally time to publish pb 0.12.2

2013/03/01

As you can see with the few messages I had time to post on this blog, the end of 2012 start of 2013 has been pretty busy, and I’m late in delivering the 2 projects I’m leading. So this week, I decided it was time to make a 0.12.2 version of pb, and make it available. Was asked by my colleagues of FOSSology, specially to add Fedora 18 support, so I also build my VMs to make packages on this distro.

BTW, a bit of ranting for Fedora once more: no perl by defaultūüė¶, and no ifconfig nor route command either which is breaking MondoRescue of course, and I guess tons of other software around. These guys don’t care about past, but don’t provide compatibility tools either !! So I’ll have to make new patches, just to do the same as what was done, but with another command again. Not to speak of systemd which I still have issues to deal withūüė¶ That doesn’t make stuff go faster !

Anyway, the version is now out, no official bugs fixed, but a lot of small stuff here and there which were desrving a release. No time to test Fedora 17/18 VE yet, so you’ll have to do that yourself if you want. I also had a look at virsh usage in combination with pb, and it’s again not as easy as it could seem to be. Especially port redirection I’m easily using by launching qemu-kvm manually with the -redir or hostfwd option doesn’t seem to be possible with the user mode network through virsh (neither manager nor CLI). Will have to post on their ML to see how they do that, if they can !

And MondoRescue has been very late. I really need to publish a verion, but I still have some blocking bugs I really would like to get rid of: CTRL+ALT+DEL not working anymore during restore, some LVM issues on RHEL, some grub issues on SLES… Hopefully at the end of next week I’ll have made progresses.

Of course patches are much easy to integrate, but I receive more bug reports than themūüėČ

And also back to preparing the HP internal TES event, Solutions Linux confs, submitting to LinuxCon, working on an FLOSS ITIL stack, learning more OpenStack, looking at Intel’s TXT…. so many things I’d like to do or learn and will never have time to ! Maybe at least I’ll talk about that another time.

Meeting at Linux.conf.au in Canberra

2013/01/15

I’ll soon be lucky to be able to be in a plane for some 20 hours in order to reach down under and be in Linux.conf.au in Canberra ! It will be my second time in Australia after my previous presentation on MondoRescue in Sydney in 2007. This time I’ll organize the cross-distributions MiniConf on Tuesday the 29th of January 2013.

And I’m so happy to have fantastic speakers such as Bdale Garbee or Monty Taylor among others ! I anticipate it will be a great Miniconf. So fell free to come and participate, you’ll have the best people to give you answers:-)

And as usual, if you want to talk about packaging, disaster recovery, open source or early music, feel free to come by and talk with me. I look forward discovering another part of thies great country in two weeks.

Project-Builder.org 0.12.1 is now available

2012/05/30

As promised (or threatened (c) Bryan !) I have now published a new main version of project-builder.org, the 0.12.1 !

Since my previous post, I worked a lot on it to make it available in fact, and it took finally just a bit more than a year ! But it was hopefully worth the waitūüėČ

In order to ease the publication, I started to write a script to make project-builder.org tests in an automatic fashion. It helped me to find lots of small or less small remain issues before the release, so I’m more confident than before that this version is a good one indeed ! This was especially needed due to the fact I received this time other contributions.

Indeed, I received great contributions from Eric Anderson but I had to revert some of them, as the project wasn’t completely ready to deal with it. the major one being to error out immediately. That broke in fact a certain number of use case, where errors should be tolerated, and even after trying to catch them, I was unsuccessful in some case, so made a new parameter in the configuration file for that. So you can benefit from Eric’s work by activating pbstoponerr (and also pbshowsudo if you want to see what pb does behind the scene with sudo commands) in the /etc/pb/pb.conf configuration file. default is to have both of them off for now. It may change in the future, when the code handles more efficiently all error cases.

Also what I missed to detail last time is the new version number. This version is not compatible with the previous one, so you’ll have to update your VEs/VMs/RMs in order to benefit from it. Especially for test versions, now we use the full version name for producing the tar files, and the old version won’t build packages in the build environment when called from a 0.12.x external pb.

In order to do that, just use pb -p myproject setupvm (or setupve, setuprm) to update all your VMs in a row.

Project is still available at ftp://ftp.project-builder.org/ and you’ll find there all the versions made for all the distributions tuples supported (120+ as of today). Use trac to report problems or enhancement requests for next version, that I promised will not be next year but earlier !!

Enjoy and feel free to join our mailing-list to discuss more about it.


Follow

Get every new post delivered to your Inbox.

Join 130 other followers