[Pkg-postgresql-private] builing with pbuilder

Oliver Elphick olly@lfix.co.uk
Wed, 15 Oct 2003 22:33:38 +0100


On Wed, 2003-10-15 at 21:12, Andreas Schuldei wrote:
> i try to build a test package in pbuilder, and it fails in the
> regression test, when initializing the database.
> 
> is this a known problem? how can i work around it?

In debian/rules, tell make to ignore the error (put a "-" in front of
the command pipeline).  The tests will still run, but the error (is it
in geometry?) will not stop the build.

test-stamp:  build-arch-stamp
        -cd $(BUILD_TREE)/src/test/regress && \
                $(MAKE) runcheck
        -cat $(BUILD-TREE)/src/test/regress/regression.diffs
        touch test-stamp

(I have uploaded this change to CVS.)

The change will also display the errors, so that we can see whether it
is a big problem or not.  I expect that it will usually be a metter of
the 8th decimal place in geometry, but we need to catch unexpected
errors.

I already changed this in 7.3.4-x because I found that all the
autobuilds failed, almost all on geometry.

-- 
Oliver Elphick                                Oliver.Elphick@lfix.co.uk
Isle of Wight, UK                             http://www.lfix.co.uk/oliver
GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839  932A 614D 4C34 3E1D 0C1C
                 ========================================
     "If ye love me, keep my commandments."       John 14:15