Buildd's and pbuilder provide differing results

Loïc Minier loic.minier at ubuntu.com
Mon Oct 12 23:48:03 BST 2009


On Mon, Oct 12, 2009, Charlie Smotherman wrote:
> The package however FTBFS on the official ubuntu buildd's.
> https://launchpad.net/ubuntu/+source/rlpr/2.05-4/+build/1288660/+files/buildlog_ubuntu-karmic-i386.rlpr_2.05-4_FAILEDTOBUILD.txt.gz

 It fails with:
dh_md5sums
dh_builddeb
pkgstriptranslations: processing control file: ./debian/rlpr/DEBIAN/control, package rlpr, directory ./debian/rlpr
pkgstriptranslations: rlpr does not contain translations, skipping
pkgstriptranslations: The following PO/POT files are empty. This is known to
cause trouble in the translation importer and generally indicates a package
bug:

./po/rlpr.pot
dh_builddeb: dpkg-deb returned exit code 1

> How is one to know if a package will build successfully if the ubuntu
> buildd's, ppa builders, and pbuilder provide differing results?

 The pkgstriptranslations system is only needed on Ubuntu buildds; you
 can install the package in your development environment if you want to
 reproduce the failure.  You might have to enable stripping in an /etc
 config file.  Look at the files of the pkgbinarymangler package to
 get started.

> How is one to setup a local build system that mimics the ubuntu
> buildd's?  And yes I used --debootstrapopts --variant=buildd when
> setting up my pbuilder.

 --extrapackages pkgbinarymangler

 You might also want to check the pkg-create-dbgsym package which is
 also only on the Ubuntu buildds.

-- 
Loïc Minier



More information about the Ubuntu-motu mailing list