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

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.

Tags: , , , , , ,

One Response to “Project-Builder.org 0.12.7 is out and 0.13.1 will be there soon”

  1. Project-Builder 0.14.1 is now out for LinuxConNA ! | Bruno Cornec's Blog Says:

    […] an environment from absolutely nothing except project-builder.org to working packages. I already described it when I released 0.13.1 last year through a short tutorial, but it’s really working […]

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


%d bloggers like this: