Posts Tagged ‘Debian’

Network install of Debian 8 on a HPE ProLiant Gen9 server

2016/06/29

There are articles to do this in a pure Debian environment, such as the excellent one I used as a base from Rapha√ęl Hertzog.

But my deployment server in that case is a CentOS 6 one, so I needed some adaptations to make it work.

My target system is a HPE ProLiant BL 460 Gen9, equiped with bnx2x NICs (Broadcom BCM 57840 10/20 Gb/s cards). And during a network boot install, I have had messages indicating that the firmware was missing (failed to load bnx2x/bnx2x-…)

So in order for my system to network boot, I needed to adapt my initrd and add the missing firmware in it (Debian’s policy prevents the distribution of
non-free firmware, which these are). The Firmware in my case is available as a standalone package at http://ftp.fr.debian.org/debian/pool/non-free/f/firmware-nonfree/firmware-bnx2x_0.43_all.deb (hint from this article)

So on your non-debian deployment server, you can do the following:

mkdir /tmp/fw
cd /tmp/fw
# This is the network boot environment required for booting Jessie
wget http://ftp.debian.org/debian/dists/jessie/main/installer-amd64/current/images/netboot/netboot.tar.gz
[...]
tar xvfz netboot.tar.gz
[...]
# Keep the kernel in your deployment infra
mv debian-installer/amd64/linux /where/your/tftpboot/k/debian-8
# Extract the initrd to modify it
wget http://ftp.debian.org/debian/pool/non-free/f/firmware-nonfree/firmware-bnx2x_0.43_all.deb
[...]
mkdir initrd
cd initrd
gzip -cd ../debian-installer/amd64/initrd.gz | cpio -ivdum
[...]
# You need the dpkg commdand to make your life easier (part of CentOS, Fedora or Mageia)
dpkg -x ../firmware-bnx2x_0.43_all.deb  .
ls lib/firmware/
[...]
# Should show you the firmware in the right place
find . -print | cpio -o -H newc | gzip -c9 > /where/your/tftpboot/i/debian-8.img
[...]

Now you can add an entry to your boot loader (grub2 in my case) for the network boot part (more info on Network boot and Debian at https://wiki.debian.org/PXEBootInstall)

menuentry 'Debian 8' {
  insmod gzio
  insmod part_gpt
  insmod ext2
  insmod iso9660
  linux /k/debian-8 ip=dhcp --
  initrd /i/debian-8.img
}

If you have another firmware to deal with, refer to the dedicated Debian page at https://wiki.debian.org/fr/firmware

After that your system should be able to network boot and install your Debian Jessie distribution on it.

The next step is to automate the installation, which consists just in changing the linux line in the grug conf file:

linux /k/debian-8 ip=dhcp auto priority=critical url=http://deploy-server/ks/debian-8 --

where the debian-8 file under the ks directory is just the preseed file you’ll build for your automatic installation.

Time to test what should be the latest beta of MondoRescue 3.2.2

2016/03/25

Well, I thought it could still take more time, but I had the possibility to dedicate enough time to fix and test the UEFI support for RHEL7 so I think it’s worth sharing and hopefully get good feedback from you before tagging it as final.

So a new beta of MondoRescue 3.2. is on its way. Please test it, especially if you try to do a backup/restore of a UEFI based system as this should now work flawlessly, including putting back EPS UUIDs. Should also work for other grub 2.x type of distributions such as Debian 8 e.g.

And share your report on our mailing-list !

I may have time to work on some remaining pretty annoying issues (#757 and #780 which look similar, maybe #781) but can’t promise for sure they will be part of this one which has been delayed way too much.

Current state of the changelogs are at http://trac.project-builder.org/browser/projects/mondorescue/pbconf/branches/3.2/mindi/pbcl, http://trac.project-builder.org/browser/projects/mondorescue/pbconf/branches/3.2/mondo/pbcl and http://trac.project-builder.org/browser/projects/mondorescue/pbconf/branches/3.2/MondoRescue/pbcl

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

2015/11/25

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

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

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

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


$ docker images

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

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

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

$ docker images | grep mageia

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

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

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


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

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


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

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

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

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


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

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

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

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

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

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

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

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

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

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

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

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


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


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

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

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

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


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

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

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

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


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

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


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

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


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

Ok, not time to build MondoRescue for Debian 8:

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

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

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

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

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

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

First UEFI PlugFest for Linuxers

2013/10/31

After the 3 days dedicated to LinuxCon US 2013 in New Orleans, it was time to contribute to the UEFI Plugfest organized for the first time as a co-located event.

So what is a UEFI plugfest ? Well it’s a place where hardware manufacturers and software producers meet to check the compatibility of their implementations with regards to UEFI. So Every hardware manufacturer brings some systems, sometimes early units or prototypes, and try them with the latest operating systems available to find out potential issues, some other bring cards to see whether their UEFI driver works fine on computer manufacturer and operating system producers want to try their latest version on these often brand new systems.

UEFI PlugFest

I think it was a brilliant idea to mix the 2 populations for multiple reasons:

  • UEFI members were for sure impressed by the technical knowledge floating around, and employed in such an open fashion, which is not the standard way of working of this standard body.
  • Linux kernel members could exchange with manufacturer representatives of UEFI systems which definitely helped reducing all the FUD around this technology, in particular Secure Boot. They also had the opportunity to test some not yet available hardware platform to ensure their distributions/drivers/tools were working fine or fix them if that wasn’t the case

UEFI PlugFest - Samer El-Haj-Mahmoud, HP

So in the HP area, under the lead of Dong Wei who is UEFI Forum Vice President and HP Fellow, we tried with 2 colleagues various Linux distributions (and even Windows, but not me !) on the 4 systems that were around. And some findings were interesting !

UEFI PlugFest - Dong Wei, HP

  • Debian 7.1 had grub issue at boot and we were not able to install it
  • Mageia 3 has no UEFI support yet and we were not able to install it easily. However, support is planned for Mageia 4, and some info have been published recently to detail how to perform UEFI based installation.
  • Ubuntu 13.10 provides all what is needed to install in a UEFI compliant environment, thanks to their documentation. We were also able to test SecureBoot with success with their version of Matthew Garrett‘s shim bootloader, signed by Microsoft. They are also working on an interesting tool: FWTS aka Firmware Test Suite, which should be adopted by all distributions IMHO in order to have (for once !) a single tool able to perform firmware compliance tests for a Linux environment. Easy to use, pretty comprehensive, reports lots of useful info. Too bad that they are not providing their certification tools online anymoreūüė¶
  • OpenSUSE 12.3+ again has what is needed for UEFI support. Same mechanism with a shim bootloader, but this time signed multiple times by Microsoft and SUSE. However, this requires a more recent implementation of the UEFI specification, which wasn’t the case on all our system during this event. SUSE provides in particular an excellent documentation on UEFI support, including the possibility to sign its own kernel with pesign in order to use it with SecureBoot.
  • Fedora 19 provides mostly all what is needed. Install worked in UEFI mode without problem. We used the updated version of the shim and shim-unsigned packages from Fedora 20 in order to avoid some issues. However, the multisign issue met with OpenSUSE was also encountered here. More over, Fedora doesn’t provide a good documentation yet for signing your own kernel, which was reported upstream and could benefit from this article. Also the usage of mokutil is broken and should be fixed for Fedora 20.
  • UEFI PlugFest - Samer El-Haj-Mahmoud, HP

    We also got visited by two Kernel Maintainers Greg Kroah-Hartman and James Bottomley who even tried some of his tools on our systems.
    UEFI PlugFest - James Bottomley, Parallels - Neill Kapron, HP

    Note that Some USB keys even correctly formated didn’t boot correctly on some platforms so if you encounter this issue, try using another USB key.

    Finally I made some tries with MondoRescue on the Last Fedora distribution installed. I thought the work done to support EFI on Itanium would be sufficient, but there are some detection problems for the boot loader in mindi need to be solved and are now tracked upstream as well.

    And on top of all what I was able to learn working with my 3 colleagues, I was pointed to a very instructive article from Ken Thomson on Trusting Trust, I hadn’t read before (and I encourage you to read it), following discussions on Secure Boot. And we had a very nice dinner downtown, a walk through Bourbon Street
    Bourbon Street

    followed by a real air of New Orleans Jazz.
    DSC_8789

    That was the end of a very rich US week. More to come on other more recent travels later.

Some interesting stuff for MondoRescue 3.0.4

2013/06/25

Well at least I hope so !!

It took me much more time than I expected, and made me sleep at insane hours (yes really !), but I think that the beta that I built today under ftp://ftp.mondorescue.org/test/ should be of interest for MondoRescue users.

Some new distros are now added to the list of the one I’m building for (Ubuntu 13.04, Debian 7.1, Mageia 3, Fedora 18, …) Usual job for me, but hey, still of interest for people wanting the latest one.

Speaking of latest Debian, MondoRescue should now work better on it thanks to the fixes around #699 (NFS and SSHFS support), softlink in LocateDeps which have now their target scanned, and some deblint issues removed, including right test binaries placement, and man pages for perl scripts. I have someone working now with me on the re-integration of MondoRescue into Debian, so this version should help him reducing the diffs with his tree, and allow for the next steps (on the packaging itself) to go forward for our goal.

Of course, some annoying bugs reported have been fixed. At least we all hope soūüėČ

  • grub2 support in #686 by adding grub.conf, grub.cfg and modified device.map.lst to device.map (Thanks to Victor Gattegno),
  • Fix support for OBDR tapes connected to SCSI cards and addition of an obdr modsboot parameter if some additional drivers should be removed,
  • an particularly nasty bug (there since rev 1 !) on SLES 11 SP2 by removing a dd in mindi which was filling the target dir,
  • the full management of scratch and tmp dir has been rewritten, hopefully for a better implementation now and a full resolution of #640,
  • the removal of the notion of number of media (limited to 50 abusively). Cf: #706
  • the addition of a -F option which allows mondoarchive to fail at first interaction. Cf: #702
  • sparse file support by adding a CLI parameter -M to modify the biggie file size limit, by default 64 MB, and by using st_blocks instead of st_size. Cf: #700
  • Fix #679 again and #685 by reducing the list of possible kernels (Thanks to Victor Gattegno and Didier Diaz)
  • Fix #696 for VGs not having a ‘-‘ in their name such as multipath aliases
  • Fix #703 by removing the errctl field used in star and log all star msgs into mondorestore.log. star is now considered production level as afio

And some improvements in the doc such as:

  • Adds more info in mindi log file (df -i, df -a, grub/lilo conf files, fdisk -l)
  • Add an example to use a fixed IP configuration at boot time through mindi.conf
  • Be more precise in messages displayed at restore time when a non-rewinding device should be used
  • Document the new -F and -M options
  • Precise the usage conditions of the exclude option (differences between device vs directory exclusion)
  • Indicate the other new tools than mkinitrd to help rebuilding the boot env (Thanks to Philippe Lefevre)
  • Precising compression rates on GUI button to ease choice (0 is no compression)

Some ongoing efforts at this point would require your help, dear reader to give appropriate feedback to see if we are making progresses:

  • Fix #628 by avoiding to erase choices done for variable bkpinfo->isodir and g_isodir_device in iso_fiddly_bits later in the code
  • Fix #208 by adding cifs support with first modifications to add cifs support as an external FS

So please help us by downloading this beta, which is IMO near from being the next stable and report wheher it’s working fine for you, or whether it’s working really fine for youūüėČ

I have to say that most of these bugs wouldn’t have been fixed without the work I’ve done for HP’s customers recently, who are using extensively the tool, and were needing these fixes to have it fully working in their environment (RHEL and SLES in multiple versions on HP ProLiant servers). Pending their feedback on this version, I’ll declare it stable if they give me the green light, which should arrive soon now.

Bdale Garbee will soon need your help

2013/06/17

TES 2009 - Bdale Garbee
For all of you, Debian fans, or Freedombox fans, former HP colleague, or even just if you enjoyed one of his numerous talk everywhere around the world, here is an opportunity to bring back to Bdale what he brought to Open Source since so many years. Bdale and his family lost their house in the fire which has devastated the Black Forest of Colorado.

Of course, nothing will be able to replace souvenir and memories lost due to the fire. But I hope our community can unite and help one of its most talented members feel the friendship we all have for him and his great work and attitude in the past.

I hope he will open a paypal account or any other similar way for us to give even a minimal amount to help him and his family pass the sad moments, and recover at least from a material point of view rapidly from the disaster. I hope he will receive from all over the world where he left such nice impressions after his conferences and talks (as in Canberra this year, in Brussels for the Fosdem or in Prague), the kind words he deserves and proposals of support from everybody in a situation to do it.

Write to him at bdale_at_gag.com to show that lots of people think to him and associate themselves with his pain. I’m sure it will be one of the manifestation of support he will appreciate. This great Open Source Ambassador will soon need your help. Show again the power of a community.

Distro Recipes 2013: Nice first !

2013/04/09

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

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

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

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

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

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

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

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

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

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

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

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

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

Bdale Garbee has been HP’s best Open Source Ambassador

2012/09/01

As announced by Kirk Bresniker during its keynote at LinuxCon this week, Bdale Garbee has left HP yesterday.

When he warned me in July of his willingness to leave, in order to have more time for his family, his own FLOSS projects (FreedomBox, Debian, …), I really was shocked and had a very bad night. It’s difficult for me to imagine Open Source at HP without him to represent it.

Bdale was IMHO our best Ambassador in the FLOSS community. He has a large ring of relationships in a large set of projects, and knows personality lots of key FLOSS personalities, some of them being even friends. He was giving a lot of credibility to HP around our FLOSS activities, and was listen internaly from both our internal community members, as well as our management, allowing our community to pass supportive FLOSS messages to it.

I had my first interaction with Bdale at HP in 2001. At that time Bruce Perens was the HP FLOSS representative (even he also was a big FLOSS personality, I preferred when Bdale took over the role), and as he couldn’t make the NordU 2002 Keynote, he was proposing that either Bdale or me did it !! As Bdale wasn’t available, I was the one replacing both him and Bruce !! Believe me, speaking of Open Source, Linux and freedom in Finland during a keynote session after a couple of months at HP was a bit stressing ! I still remember it. But that was great. Side note, if any event is willing to host me as a keynote speaker, I think I could do a much better job todayūüėČ

In 2002, Bdale was elected Debian Project Leader. He was the first HP employee leading this project. I then had the pleasure to meet with him face to face (well with my size, I can not really look at Bdale easily !) and I really was looking forward each time for this type of non-virtual meeting, as it was for me an opportunity to learn more on Open Source at HP and at large. Which was the case during various Fosdem, LinuxCon or our own internal TES. As I’ve always been impressed by his profound knowledge of this ecosystem, and the deep thoughts he’s able to have on various areas making this IT sector.

That’s why I built his application form so he could become Lut√®ce d’Or (personality of the year) during the event Paris, Capitale du Libre. That was my contribution back to his incredible work for FLOSS. But not the only one, as he told me once that MondoRescue saved once a critical Debian server he was hosting. Hopefully, you’ll continue to use

Bdale is one of the people I admire in the IT industry with Linus Torvalds and Larry Wall (In the music, I also have my heroes such as Gustav Leonhardt, Jordi Savall and her wife Montserrat Figueras, Jean Belliard or Frans Br√ľggen). I’m sure our paths will cross again very soon, and I hope our frienship will be reinforced by regular chats, mails and face to face meetings during FLOSS events. And in the mean time, I wish to him all the best for his new activities, that will benefit to all of us, and for his new life 2.0 !

Hopefully HP will find other FLOSS representatives. Corporations always say that anybody is replaceable. I disagree. Everybody brings a unique touch. And here, for sure, it will never be the same. You’ll be missed.

All the best Bdale for your future, and hope rockets flied this week-endūüėČ

Proposition of Cross-Distro Mini-Conf for Linux.conf.au 2012

2011/07/02

Time has come again to think to our friends down under ! Since I was there in 2007 for a MondoRescue conference I think this is really a place to be in the FLOSS ecosystem when possible; Too bad it’s so far away from Franceūüė¶ Travel costs are not light either.

But I thought I should propose the follwoing mini-conf, as the one I attended in Fosdem 2010 on the same topic worked very interesting, and allowed to start some joint collaboration that I think is fruitful and avoid/reduce fragmentation.

I hope it will be accepted to give me an opportunity to fly there and meet with the great community which gathers there each year.

So here it is (Thanks to the great example provided by Martin Michlmayr last year)

The “Cross-Distribution” mini-conf at LCA 2012 (Ballarat, Australia; January 16-20 2012) is for people interested in cooperation between Open Source distributions. Topics include contributors agreements, licensing policies, packaging best practices and tools, sharing patches to upstream projects, communications, working with upstream Open Source developers, translations, governance, workflow in place, version control systems, bug reporting management and sharing, vcs-pkg.org, funding, marketing, lessons from your experience, and whatever related topics people would like to bring up. Whether you are a single contributor working on a single package, or leading a full distribution, managing a full distribution infrastructure, or representing it in the press, whether it’s famous as Debian or less as AbulEdu this mini-conf hopes to bring different people together to exchange thoughts and facilitate discussion about these topics.

Presentation submitters should feel free to suggest their own topics. Here is a list of potentially interesting subjects (in no particular order):

* Building software packages on a large scale
* Choosing valid licenses and copyright policies
* Patch management
* Working with upstream
* Forking a distribution
* Experiences in distributed development
* Managing bug report and enhancement request
* Tools to support making a distribution
* Translation of a distribution
* Reuse between distributions
* Collaborationbetween distributions
* Distribution structures
* FHS
* Distribution Development Management and Governance
* Distribution Corporate Governance
* Lessons learned in building up your distribution
* Marketing
* Communication
* Copyrights
* Applying your copyright and license choices

We hope to receive proposals for:

* 50 minute expert panel discussions
* 50 minute full presentations
* 25 minute half presentations
* 5-10 minute lightning talks (e.g. success stories, …)

To submit a proposal, please contact Bruno Cornec at bruno.cornec@hp.com and include the following information:

* Your name
* Brief bio noting any previous speaking experience
* Talk title
* Brief outline of your proposed talk
* Notes of any special equipment / facilities you may require


Follow

Get every new post delivered to your Inbox.

Join 135 other followers