Tracking down scons FTBFS issues.

Matt Zimmerman mdz at ubuntu.com
Wed May 16 12:55:43 BST 2007


On Wed, May 16, 2007 at 08:27:32AM +1000, Luke Yelavich wrote:
> Hi folks
> For the past couple of weeks, a package that I look after in universe, 
> ardour, has consistantly failed to build on the servers, yet I have 
> managed to successfully build the package in a pbuilder, as well as in 
> sbuild. I've been informed by others that packages that use scons for 
> building, regularly have FTBFS problems.
> 
> Here is the i386 build log: 
> http://librarian.launchpad.net/7651580/buildlog_ubuntu-gutsy-i386.ardour_1:2.0.2-1_FAILEDTOBUILD.txt.gz
> 
> As can be seen, pkg-config >= 0.8 can't be found, yet a greater version 
> is installed in the chroot.
> 
> Could someone possibly help me work out what is causing the failure on 
> the servers, yet works fine in a local sbuild? Off list is fine.

I'm not familiar with scons, but the output looks vaguely like that from an
autoconf-generated script.

If that's what it is, you'll probably need to look at config.log to find out
what's wrong; one way to debug this type of failure is to do something
analogous to:

./configure ... || (cat config.log; false)

in the build target, so that if configure fails, config.log is included in
the build log.

> Further to that, I am wondering whether anything can be done to more 
> perminantly address such failures, other than making a modification to 
> the package, which in turn, creates more work in the future?

Depends on what the bug is.

-- 
 - mdz



More information about the ubuntu-devel mailing list