Child pages
  • Adapting PBA to new Debian Release

Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: PBAO arch|unix|7


The following notes shall provide a step-by-step-plan for adapting the PBA Package Builder + Archiver to a new Debian release and shall make it more efficient for the next Debian or maybe Ubuntu release.

Adaption plan

WARNING: Incomplete Work in Progress



Adapting pba to new Debian Release


Code Block

cd ~/sources/pba/trunk/pba
svn up ..

Adaptions for phase 1, towards GA

In phase 1 we make the new distribution known in the sense of adding a template for distributions.d/.

Code Block
cat src/etc/pba/distributions.d/${OLDREL} |sed -e "s/${OLDREL}/${NEWREL}/g" >src/etc/pba/distributions.d/${NEWREL}
svn add src/etc/pba/distributions.d/${NEWREL}

# evtl. drop ancient ones
svn rm src/etc/pba/distributions.d/

${EDITOR:-vi} debian/changelog debian/rules debian/pba-common.install src/etc/pba/distributions.d/${NEWREL} debian/control
# src/etc/pba/builder.conf.template src/lib/

# commit
svn commit -m "Adding support for new Debian distro ${NEWREL}"

# release it

Adapt HelloWorld Projects

No Format
cd ~/sources/pba/trunk/pba-helloworld
svn up ..

# or
# or in phase 2

pba-builddeps -i -o ${PBAO}

#pba-instdeps -i -o ${PBAO}

pba-build -u -i -o ${PBAO}

# solve eventual problems

PBADD=$(ls -1d debian* |grep -v mingw |head -1)
${EDITOR:-vi} ${PBADD}/changelog ${PBADD}/control


pba-release -u -b pba-spool/ -o ${PBAO} && \
sudo pba-builder -B pba-spool -b pba-results -o ${PBAO} 2>&1 |tee pba-builder.log

# wait for success

sudo rm -rf pba-spool/ pba-results pba-builder.log

svn commit -m "Adding support for new Debian distro ${NEWREL}"

pba-release -o ${PBAO}

Repeat for pba-hellolib-portable (with -o unix).

Repeat for pba-hellobigworld-portable (with -o unix).

... with -o unix or later -o "unix|7".


See Adapting FancyLibs & MinGW-Pkg from Debian 9 Stretch to 10 Buster, Mingw-7 to Mingw-8,

Adapt pba-helloworld-portable

See above, use -o unix.

Create PBA-Builder tarballs

See eventual separate notes (my ITEG's PBA-Tarball Notes are not public, sorry).

Adapt MinGW

See mingw 6 rebuild order.

Adapt pba-hello*-portable

See above, with -o "unix|7" instead of "-o unix".

Adaptions for phase 2, once new release is settled

Once the new Debian release is settled and all VIP libraries and current projects can be built for it, we can declare it the new default value for DefaultDistribution in pba-builder.conf.

Code Block
${EDITOR:-vi} debian/changelog src/etc/pba/builder.conf.template src/lib/

# commit
svn commit -m "Making new Debian distro ${NEWREL} default for DefaultDistribution in pba-builder.conf"

# release it