[Pkg-postgresql-public] Bug#704802: Bug#704802: plperl crashes immediately on kfreebsd

Peter Eisentraut petere at debian.org
Tue Apr 9 03:11:39 UTC 2013


On Mon, 2013-04-08 at 10:15 +0200, Christoph Berg wrote:
> Re: Peter Eisentraut 2013-04-06 <20130406030939.14051.80312.reportbug at vanquo.pezone.net>
> > Package: postgresql-plperl-9.1
> > Version: 9.1.9-1
> > Severity: important
> > 
> > Creating a plperl function on kfreebsd (amd64) immediately crashes the
> > PostgreSQL server in the plperl.so module.  You can see this either by
> > running the built-in regression tests (should probably be done during
> > the build anyway) or by running the tests from
> > t/020_create_sql_remove.t in the postgresql-common package.
> 
> Unfortunately the postgresql-common tests need root, so we can't run
> these at build time.

I meant the regression tests that ship with upstream.

(Getting the postgresql-common tests running on kfreebsd is a whole
another matter -- we'll get to that next. ;-) )

> I'd favor activating as many regression tests as possible at build
> time. I was looking into that some time ago but somehow got lost
> between the isolation tests and similar more "academic" tests.

Should be pretty simple: Just run make check-world.  I think the current
stuff in debian/rules was written before check-world was invented.
Something like the attached patch (not fully tested) should do the job.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: check-world.patch
Type: text/x-patch
Size: 2507 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-postgresql-public/attachments/20130408/5d7f48fc/attachment.bin>


More information about the Pkg-postgresql-public mailing list