[Pkg-postgresql-public] Bug#820743: Bug#820743: [hurd-i386] postgresql-common / postgresql-9.5 fails to install during pspp build

Christoph Berg myon at debian.org
Tue Apr 12 15:39:06 UTC 2016


Re: Friedrich Beckmann 2016-04-12 <3AD966AC-2984-4449-94BA-ADDFE00D98C1 at gmx.de>
> Package: postgresql-9.5
> Version: 9.5.2-1
> 
> During test installation on buildd for pspp, the pspp build fails on hurd-i386 during the setup
> of the postgresql. When I disable postgresql, then pspp builds and works. 
> 
> This is specific to the hurd-i386 architecture. The pspp package builds on other architectures.
> 
> Friedrich
> 
> The full log: https://buildd.debian.org/status/fetch.php?pkg=pspp&arch=hurd-i386&ver=0.10.1-2&stamp=1460387447

Hi Friedrich,

the problem is in the hurd kernel that doesn't implement semaphores.
The interesting initdb error is this:

creating template1 database in /«PKGBUILDDIR»/build/src/test/regress/./tmp_check/data/base/1 ... FATAL:  could not create semaphores: Function not implemented
DETAIL:  Failed system call was semget(1, 17, 03600).

We have the weird situation where the server compiles successfully
including semget(), but isn't able to get executed because the
the kernel doesn't implement the feature.

I've talked to the hurd people, and Richard Braun was confirming that
inter-process semaphores are not implemented yet.

What we can do from the PostgreSQL side is to replace the current sysv
semaphores (semget) by POSIX semaphores (sem_init) which don't work
either, but have a much greater chance of getting implemented in the
future. So some day, it will just work, but until then, PostgreSQL
will unfortunately not really be available on that platform.

Christoph



More information about the Pkg-postgresql-public mailing list