Posts Tagged ‘project-builder.org’

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.

Back to RMLL 5 years after !

2015/07/07

I like that event which is organized by different teams each year and gather thousands of enthusiasts during one week in one city to celebrate Open Source and Free Software.

This year, for the first time since 2010, I have no conflict attending it and also attending the Academy of sacred Music in Etampes, the week after, as I do since the first one.

So this year I’ll give a status of where we are with the MondoRescue project for my tenth anniversary of project leadership and after the last presentation I did 5 years ago.

And as you can’t be in the mood without docker, I’ll deliver a session on docker and project-builder to demonstrate its particular value IMHO in this domain of continuous packaging and also I’ll animate a Lab session on docker to help discover this tool and understand the challenge of containerizing an application such as owncloud. Come prepared with at least a Linux VM or better a Linux laptop to enjoy the tour :-) And start by downloading the Lab document based on Ubuntu 14.04 !

And don’t hesitate to come and talk of whatever topic I’d be able to cover such as AFUL, Mageia, OpenStack, Redfish and Ironic or the beauty of Jean Mouton’s music during the reign of François the first (not our current pope ;-))

Speaking at Open World Forum 2014

2014/09/29

So I’ve again been retained as a speaker for the upcoming Open World Forum 2014, which is back in Paris. I was expecting it, as Martin Michlmayr confirmed my proposal on “Open Source Governance: what’s hot?” in the Legal and licensing aspects of open source track. This will be Friday the 31st of October between 1:30 and 3:30PM.

But I’ll also be a panelist in the “Control Your Cloud” track lead by Jean-Pierre Laisné, in a round table dedicated to OpenStack and the coopetition ecosystem around it. I’m right now building the panel with Jean-Pierre, so will announce the list soon. This will be Friday the 31st of October between 4:10PM and 6:10PM.

And finally I was really surprised looking at my info to see that I also had another talk accepted in the DevOps / ALM track lead by Jonathan Clarke ! I’ll talk about “Continuous Packaging with docker and Project-Builder.org”. Well, my demo, which is due for LinuxCon EMEA, should then be ready and fully working as well as my slideset and content which I still need to develop ! This will be Friday the 31st of October between 9:00 and 12:20AM.

So a busy Friday as it seems. But I’ll also be there on Thursday, and hopefully as well for the OpenStack Summit the week after, but I don’t have a seat for now, so let’s see…

As usual, you can catch me at the end of the talks (even if this time, I won’t have as much time as in other events) and discuss about what you’re interested in that is also of interest to me !

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 ? :-)

First day at LinuxCon NA 2014

2014/08/22

Porec

Interesting to pass from vacation with family in Croatia to France after 10 hours of drive and then the day after being in a plane, flying to Chicago to attend my 3rd LinuxCon, held this time in the mythic Chicago city.

Chicago

While I arrived Monday evening, I had time to catch up some mail, make some conf calls on Tuesday before attending the first part of the event, which was the VIP dinner. An opportunity to talk to HP colleagues I met for the first time physically, even if we already interacted electronically previously.

VIP dinner

A view on the VIP Dinner

Wednesday the 20th was the first day of the event which started as usual with Jim Zemlin’s Keynote. This time he chose to talk about what the Linux Foundation rules disallow: The Linux Foundation itself ! And more largely about the roles of foundations to support open source development, their key cleaning facility role.

Jim Zemlin

Jim had a quite funny slide exaplining how everybody is seeing him, while what he is really doing is cleaning stuff so Linus, Greg and thouands of others could code and manage Linux.

He also announced the new LF certification program (Certified sysadmin and Engineers). While I understand the need of having more recognized Open Source ad Linux Professionals, unlinked to a company (such as the RHCE one) I wonder whether we were needing a new certification wile we do have LPI. I hope the 2 will cooperate to avoid again proliferation. Not that proliferation is bad per se. But why dedicate multiple times efforts to create training supports, manage registrations, … when someone already works on that, maybe in a different way, but maybe patchable to be adopted by the LF. Hopefully this will be solved somehow.

LF certifications

After that we had the also traditional Linux Kernel panel moderated by Greg Kroah-Hartmann with Andy, S, Andrew Morton and Linus Torvalds of course. Nothing really new came out. Anyway, it’s always refreshing to see our heros on stage full of confidence and hope for what they do.

Kernel Round Table

Linus insisted once more on the fact he wants Linux to be more dominant on the desktop market. As a 21 years linux desktop user myself, I can only be in agreement with that. Where is however the docker of the desktop, that will make everybody want to change and move to it ? When people see my Mageia distro they’re always surprised how many stuff you can do out of the box with a Linux Desktop. Phones have helped people go away from the monopoly interface but Macs do not help bringing back people to Linux. If at least all people attending LinuxCon and developing FLOSS would run Linux, that would be great !

Linus Torvalds

Then it was time for elective sessions. I chose first to know more about devstack.
Sean Dague from HP presented OpenStack in 10 Minutes with devstack
devstack pulls everything from git. As it heavily modifies your system so do rather that in a VM/Container. devstack launches tempest (the OpenStack test suite) at the end for the install. Sean insisted on the flow of requests generated inside OpenStack and demonstrated how you can easily modify the devstack environment and re-run it to test easily your modification.

devstack provides an easy way to support modifications through a conf file. Example given if you add
API_RATE_LIMIT=False
you’ll avoid waiting for an answers from the server in case of devstack exceeding the standard rate of queries.
You can also use localrc.conf to pass specific variables up to the right component.

In order to use it, you’d need 4GB RAM (recommended). It can run in a VM (cirros will work nested). Sean warned that it does not reclone git trees by default and clean.sh should put everything back in order (but cleans stuff !)

Sean Dague

Good presentation, easy to follow and having a quick demo part which confirms that devstack is easy to use :-)

Then I attended Joe Brockmeier’s (Red Hat) presentation around Solving the package issue

Joe explained the notion of SW collections (living under /opt). It’s Available for RHEL, CentOS and Fedora. It brings a new scl command. If you type for example
scl enable php54 “app –option”
that app uses now php 5.4 while the rest of the system ignores it.
For that you’ll need new packages: scl-utils and scl-utils-build
There is a tool spec2scl to convert spec files to generate scl compatible packages.
For more info you can look at http://softwarecollections.org

A remark I made to myself and which was later explicitely said during the presentation is that scl is useful for RHEL to provide newer versions of SW onto the enterprise distributions, while it can also help provide older versions of SW into Fedora (which is moving so fast that not all SW can adapt !).
It’s a sort of Debian backports for RHEL.
Joe also presented rpm-ostree (derived from ostree, git-like for system binaries providing an immutable tree). Under development for now, so not completely usable and probably the least interesting solution.
He moved on with docker, but was pretty generic (on purpose) and seeing it as complementary to package management, whether I think docker is another way of deploying software, which is not caring of packages by providing a layered deployment approach. While I have packaged docker for Mageia, I’m not yet familiar eough with it to be sure of that, and I’m currently working on combining it with project-builder.org. So will comment later on on that.

Joe Brockmeier

Then it was time to animate the FLOSS Governance roundtable for which I was attending LinuxCon. I had what I think is probably the best panel to cover the vast topic with Eileen Evans from HP, Tom Callaway from Red Hat, Gary O’Neall from Source Auditor Inc., Bradley Kuhn from Software Freedom Conservancy (and of course 45 minutes wasn’t sufficient to talk about all the subjects part of this), but I think the interactions were very interesting and lively and hope the audience enjoyed them and learned new aspects of this capital topic for our ecosystem. Of course we talked about licenses, SPDX and its future new 2.0 version, but also of foundations (echoing Jim Zemlin’s keynote), contribution agreements or tax usage (Thanks Bradley !).

FLOSS Governance Roundtable

And this is just the first of a series of such round tables I’ll lead in future events, but more on that later on.

After that, I discussed with Bradley Kuhn and Jilayne Lovejoy about licenses, AGPL, and various related topics, and their feedback were as usual very rich.

Was then time to go back to the latest keynote sessions. The first one I followed was from a new company (for me) CEO, Jay Rogers from Local Motors who tries to make open hardware in the automotive sector.Worth looking at and following whether they will be successful.

Jay Rogers

Then, our own Eileen Evans was on stage to explain her view on the new FLOSS Professional. And I think at her place I’d have been even more impressed as she had a full room so probably some pressure to talk to all these devs and devops. And I think her voice showed that at the begining. But when she entered in the details of the presentation, she did as usual a great job and was particularly convincing. She showed how the FLOSS professional was more than others issued from diverse backgrounds, as she illustrated with her own one. She also showed the variety of activities that each of these people have to cope with everyday, again with an illustration of one of her day of work passing from a contract management or OSRB meeting to an OpenStack foundation board conf call.

Eileen Evans keynote

And that approach of the new FLOSS professional was a convincing echo to Jim Zemlin’s call for more professionals and the focus on people that many speakers have underlined. The FLOSS ecosystem indeed needs so many various competencies in addition to developers and FLOSS is so ubiquituous that the lack of resources is delaying some projects. And Eileen explained why this notion of FLOSS Professional is arising now. Which is in short because FLOSS usage has moved from hobbist developing for themselves to professional developing during work hours. And she also covered the impact on companies where the work in network/communities, between peers is the rule compared to the siloed classical approach. And so companies need people understanding this way of working to evolve.

Eileen Evans

It was then time to catch a bus and enjoy discussing with peers at the Museum of Science and Industry during the evening event where we could also explore the museum.

Museum of Science and Industry of Chicago

Still working on MondoRescue 3.2 to make it available ASAP

2014/03/14

Even if stuff do not progrees at the speed I’d like them to progress (lots of travels on HP side since early 2014 and 4 concerts to perform on the private side) I’ve tried to improve the 3.2 version I published unofficially as beta. Interestingly enough, even when I do not announce that packages are delivered, there are people who do use them !!! Which gave me some feedback (you can guess it wasn’t that positive), so in fact it’s already my second delivery :-) and it contains some interesting new features:

  • mindi now uses the new mr-kernel-get-modules perl script which allows now in mindi to just mention end modules names andd not dependencies anymore, which are now computed by the script !! This will help a lot to maintain the list of modules, which was always impacted by low-level dependencies changes at kernel level.
  • Support of symlinks for newest distributions based on systemd such as Fedora, Mageia, … is now finally working !! Again this was done exporting the existing wrong code into a separate perl script which now operates correclty. This is part of the global willingness to recode most of mindi and some of mondo in perl. This took quite a long time, as of course, we need to stay compatible (a word systemd team doesn’t care about of course) with other tools, and older distributions. Side note, this is probably one of the reason MondoRescue is still appreciated by its community :-)
  • The introduction of a dependency on a perl function was incorrect and people trying to install from packages gave feedback that they had errors dof course ue to that. This is now fixed, as project-builder.org indeed had an issue because a low level function was depending on a higher level function not part of the perl modules provided for MondoRescue. With 0.12.5 of project-builder.org this is completely solved.
  • Now I still have regressions with the isolinux menus, NFS on Mageia 4 and systemd not working anymore (change of network NIC name is the root cause). However the ldlinux.c32 issue for syslinux > 5.x is now solved.

Next week is the TES, so won’t have much time to work on it. Expect news the week after.

project-builder.org 0.12.5 is now available

2014/02/07

Finally, after having published the version 0.12.3 on time for Linux.conf.au, I found some remaining bugs in it (problem of time based realease and not enough time to test), then I made a 0.12.4 version soon after as promised to solve these, but still missed some aspects, and those are now solved with this 0.12.5 version.

So this version fixes an issue with messages printed which were done in double, and also the way we manage naming of Debian versions, following the recent change for Debian 7 (using now only the major version, and not mentioning the minor version which is now useless).

I also fixed a dependency issue, seen when trying to install the beta of MondoRescue, where a function wasn’t provided in the perl-ProjectBuilder module, while used in the code :-( This is now solved, and I’ll now start working on the next MondoRescue beta which should now be installable with yum/apt-get/urpmi.

This project-builder.org version should now be stable to use for some weeks, as I do not plan to make big changes in it, as this is perfectly fitting my needs now. Of course, more could always been done, but I can’t advance on all sides at the same time, so now it’s MondoRescue‘s turn !

Enjoy !

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

It starts as a happy new year indeed

2014/01/04

Well, would you really be surprised if i say that the begining of 2014 looks as promising (and as busy of course) as the end of 2013 was ?

While travelling to Linux.conf.au in Perth (28 hours door to door but could it be a better start for 2014 !) I had some time to look at Project-Builder.org, subject of my conference on Monday and also to MondoRescue.

For Project-Builder.org, I’ll publish a new version for LCA (0.12.3) which will fix rpmbootstrap for lastest Fedora (18-20), Mageia 3 and also other recent distros. Also as SVK is now broken on Mageia 3, I’m using git-svn to work on my laptop when remote, and thus pb supports it now. Some various fixes since last year release will also be done (better printing with VM/VE name for logs, improved ntp support, pbdistrogetparam command to easy shell interface…), but globally the software is pretty stable for my usage, so now it’s your turn to tell me what would be useful for you in it. I also need to make a newer presentation for Monday with a short demo.

For MondoRescue I’m not ready yet to publish a final version, so I have made for now a first beta for the 3.2.0 version. First this will be a new 3;x version as there are lots of changes in the code that may make it less reliable due to the adoption of dynamic memory allocation instead of static in a lot of functions. If I compare 3.0 and 3.2:

  • 3.0
    • total mr_asprintf usage : 646
    • total sprintf usage : 674
    • total strcpy usage : 560
    • total fgets usage : 79
    • total malloc_string usage : 367
    • total MAX_STR_LEN usage : 370
  • 3.2
    • total mr_asprintf usage : 1223
    • total sprintf usage : 166
    • total strcpy usage : 388
    • total fgets usage : 28
    • total malloc_string usage : 129
    • total MAX_STR_LEN usage : 221

Which means that a lot has been done in code changes between 3.0 and 3.2. But also a lot remains to do if we want to have no malloc_string nor MAX_STR_LEN at all. And also if I made mistakes in the mr_malloc/mr_asprintf/mr_free usage, the commands will crash. THat’s why I need your tests here ! I’ve made a full bakup restore cycle (which has revealed some issues that I fixed), but I’m far from being confident in the result.

Another consequence is that this version will probably have less fixes than previous ones as most of the time has been passed on code modernization.

And it will require new mindi and mindi-busybox versions. And these versions should finally work for systemd crazyness of removing /bin and /sbin (which broke MondoRescue for a too long time now). And you’ll need new perl modules in order to have it work correctly as I finally rewrote some bash mindi functions into perl to have what I consider better code.
Which means Fedora 18-20, Mageia 3 should work out of the box (at least my Mageia 3 now works correctly).

And expect again more pacthes to MondoRescue durnig the 28+ hours back home at the end of next week ;-)

So I wish to all readers a happy new year 2014 and hope it will start for you as it has for me !

Meeting at Linux.conf.au in Perth

2013/12/21

I’m again lucky to be able to fly in a plane for 20+ hours the first week of January to attend Linux.conf.au ! (And of course the 20+ hours of fly back ;-))

I’ll talk on Monday 06 January 2014 during the miniconf dedicated to Developer, Testing, Release and Continuous integration Automation of project-builder.org and the idea of Continuous packaging.

This has been possible only thanks to HP‘s support, its Open Source investment council, and the kindness of our VP & Deputy General Counsel, Cloud Computing and Open Source Eileen Evans who continues to support my travels at many Open Source conferences, and should be greatly thanked for that.

I’ll make a new version of the tool available to celebrate this, not that a lot has changed, but some fixes should be made available as packages, and it’s a long time since I published the last one. In fact, for me the tool is pretty stable and usable. I recently added git-svn support, as svk is broken with latest perl versions such as on my Mageia 3 :-( So learning slowly git, and still not liking it that much, but I have not a lot of other choices.

I still need to improve rpmbootstrap for the latest Fedora which changed their mirroring structure. Hopefully this will be done on time.

And as I’m on it, Merry Christmas and Happy New Year to you all readers !


Follow

Get every new post delivered to your Inbox.

Join 129 other followers