Gabor Szabo wrote:
Hi,

I am writing a set of articles about Automated Testing in Open Source Software
http://www.szabgab.com/blog/2007/07/1183825266.html

As I would like to write about PostgreSQL as well I tried to setup the
BuildFarm client.

Here is the output:

$ ./run_build.pl --test
[16:44:34] checking out source ...
[16:45:20] checking if build run needed ...
[16:45:20] copying source to pgsql.24847 ...
[16:45:20] running configure ...
Branch: HEAD
Stage Configure failed with status 77

What does this mean?

Digging a bit in HEAD/lastrun-logs/config.log
revealed that I was missing ccache but it was not really clean from
that error message.
Well, never mind, this must be testing my capabilities as well :-)

The second run was slightly better:

$ ./run_build.pl --test
[16:49:44] checking out source ...
[16:50:11] checking if build run needed ...
[16:50:11] copying source to pgsql.25565 ...
[16:50:12] running configure ...
[16:50:42] running make ...
Branch: HEAD
Stage Make failed with status 2

This time I found HEAD/lastrun-logs/make.log much faster
In that file I got tons of error messages mostly related to plpython.c
e.g.
plpython.c:2984: error: 'PLy_exc_error' undeclared (first use in this function)

I installed python-dev and it seems my guess was correct regarding what was
missing as on the third attempt the build made further progress and
in the end I got

All stages succeeded

Nice.
These two attempts to stop me from running the build client were not
really serious. I spent only 15 minutes trying to locate the problem
and you
even get this mail as a result. :-)

try run_build.pl --help and look at the options :-)

In effect something like ./run_build.pl --test --verbose=2 would be much more useful for testing


Stefan

---------------------------(end of broadcast)---------------------------
TIP 5: don't forget to increase your free space map settings

Reply via email to