PostgreSQL Bugs

Collected from the PG bugs email list.

Bug ID15964
PG Version12beta3
OSkern.version=OpenBSD 6.6-beta (GENERIC.MP) #221: F
Opened2019-08-17 19:06:33+00
Reported bysean
StatusNew

Body of first available message related to this bug follows.

The following bug has been logged on the website:

Bug reference:      15964
Logged by:          sean
Email address:      (redacted)
PostgreSQL version: 12beta3
Operating system:   kern.version=OpenBSD 6.6-beta (GENERIC.MP) #221: F
Description:        

Hi All,

I'm trying to compile Postgresql from master on my OpenBSD machine, but I'm
getting a build failure here:
vacuumdb.c:184:26: error: use of undeclared identifier 'FD_SETSIZE'
                                if (concurrentCons > FD_SETSIZE - 1)
                                                     ^
vacuumdb.c:187:10: error: use of undeclared identifier 'FD_SETSIZE'
                                                                 FD_SETSIZE
- 1);
                                                                 ^
2 errors generated.
gmake[3]: *** [<builtin>: vacuumdb.o] Error 1
gmake[3]: Leaving directory '/home/sean/bin/postgresql/src/bin/scripts'
gmake[2]: *** [Makefile:41: all-scripts-recurse] Error 2
gmake[2]: Leaving directory '/home/sean/bin/postgresql/src/bin'
gmake[1]: *** [Makefile:42: all-bin-recurse] Error 2
gmake[1]: Leaving directory '/home/sean/bin/postgresql/src'
gmake: *** [GNUmakefile:11: all-src-recurse] Error 2
sean@beginning:postgresql$ sysctk kern.version

OS information:
$ sysctl kern.version
kern.version=OpenBSD 6.6-beta (GENERIC.MP) #221: Fri Aug 16 16:00:01 MDT
2019
    deraadt@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP

gmake information:
$ gmake -v
GNU Make 4.2.1
Built for x86_64-unknown-openbsd6.6
Copyright (C) 1988-2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

clang information:
$ cc -v 
OpenBSD clang version 8.0.0 (tags/RELEASE_800/final) (based on LLVM 8.0.0)
Target: amd64-unknown-openbsd6.6
Thread model: posix
InstalledDir: /usr/bin

Posgresql commit: d78d452bc5ac46a970e4fca2b31f3d533815c39a

config options:
./configure --enable-cassert --enable-debug  --with-perl \
        --with-python --with-tcl --with-tclconfig=/usr/local/lib/tcl/tcl8.6/
\
        --with-includes=/usr/local/include

What am I doing wrong? What more information would you like?

https://www.postgresql.org/docs/current/bug-reporting.html
5.1 states:
PostgreSQL fails to compile, build, or install according to the instructions
on supported platforms.


Thanks!

P.S. The submit bug page does not list master/current/trunk as a version,
and I needed to make a selection, which doesn't match the commit I
referenced above. Fear not, I am using the git repo here:
https://git.postgresql.org/gitweb/?p=postgresql.git;a=summary and cloned it
locally.

Messages

DateAuthorSubject
2019-08-17 19:06:33+00PG Bug reporting formBUG #15964: vacuumdb.c:187:10: error: use of undeclared identifier 'FD_SETSIZE'
2019-08-17 20:31:01+00Tom LaneRe: BUG #15964: vacuumdb.c:187:10: error: use of undeclared identifier 'FD_SETSIZE'
2019-08-17 20:33:34+00Andres FreundRe: BUG #15964: vacuumdb.c:187:10: error: use of undeclared identifier 'FD_SETSIZE'
2019-08-17 21:00:25+00Andres FreundRe: BUG #15964: vacuumdb.c:187:10: error: use of undeclared identifier 'FD_SETSIZE'
2019-08-17 21:59:05+00Tom LaneRe: BUG #15964: vacuumdb.c:187:10: error: use of undeclared identifier 'FD_SETSIZE'
2019-08-17 22:41:42+00Andres FreundRe: BUG #15964: vacuumdb.c:187:10: error: use of undeclared identifier 'FD_SETSIZE'
2019-08-17 23:29:53+00"jungle boogie"Re: BUG #15964: vacuumdb.c:187:10: error: use of undeclared identifier 'FD_SETSIZE'
2019-08-18 00:18:58+00Andres FreundRe: BUG #15964: vacuumdb.c:187:10: error: use of undeclared identifier 'FD_SETSIZE'
2019-08-18 00:59:56+00Tom LaneRe: BUG #15964: vacuumdb.c:187:10: error: use of undeclared identifier 'FD_SETSIZE'
2019-08-18 01:03:17+00Andres FreundRe: BUG #15964: vacuumdb.c:187:10: error: use of undeclared identifier 'FD_SETSIZE'
2019-08-18 01:11:14+00Tom LaneRe: BUG #15964: vacuumdb.c:187:10: error: use of undeclared identifier 'FD_SETSIZE'
2019-08-19 02:59:54+00Alvaro HerreraRe: BUG #15964: vacuumdb.c:187:10: error: use of undeclared identifier 'FD_SETSIZE'
2019-08-19 04:28:32+00Michael PaquierRe: BUG #15964: vacuumdb.c:187:10: error: use of undeclared identifier 'FD_SETSIZE'
2019-08-19 04:32:51+00Tom LaneRe: BUG #15964: vacuumdb.c:187:10: error: use of undeclared identifier 'FD_SETSIZE'
2019-08-19 04:46:25+00Michael PaquierRe: BUG #15964: vacuumdb.c:187:10: error: use of undeclared identifier 'FD_SETSIZE'
2019-08-19 05:12:51+00Michael PaquierRe: BUG #15964: vacuumdb.c:187:10: error: use of undeclared identifier 'FD_SETSIZE'
2019-08-19 05:14:03+00Tom LaneRe: BUG #15964: vacuumdb.c:187:10: error: use of undeclared identifier 'FD_SETSIZE'
2019-08-19 05:32:21+00=?UTF-8?Q?Mikael_Kjellstr=c3=b6m?=Re: BUG #15964: vacuumdb.c:187:10: error: use of undeclared identifier 'FD_SETSIZE'
2019-08-19 05:52:07+00Michael PaquierRe: BUG #15964: vacuumdb.c:187:10: error: use of undeclared identifier 'FD_SETSIZE'
2019-08-20 07:18:41+00Michael PaquierRe: BUG #15964: vacuumdb.c:187:10: error: use of undeclared identifier 'FD_SETSIZE'
2019-08-20 16:05:53+00Andres FreundRe: BUG #15964: vacuumdb.c:187:10: error: use of undeclared identifier 'FD_SETSIZE'
2019-08-21 01:58:54+00Michael PaquierRe: BUG #15964: vacuumdb.c:187:10: error: use of undeclared identifier 'FD_SETSIZE'
2019-08-21 02:07:49+00Andres FreundRe: BUG #15964: vacuumdb.c:187:10: error: use of undeclared identifier 'FD_SETSIZE'
2019-08-21 02:40:05+00Alvaro HerreraRe: BUG #15964: vacuumdb.c:187:10: error: use of undeclared identifier 'FD_SETSIZE'
2019-08-21 07:27:24+00Michael PaquierRe: BUG #15964: vacuumdb.c:187:10: error: use of undeclared identifier 'FD_SETSIZE'
2019-08-21 07:36:19+00Michael PaquierRe: BUG #15964: vacuumdb.c:187:10: error: use of undeclared identifier 'FD_SETSIZE'
2019-08-21 13:49:54+00Alvaro HerreraRe: BUG #15964: vacuumdb.c:187:10: error: use of undeclared identifier 'FD_SETSIZE'
2019-08-21 14:02:46+00Michael PaquierRe: BUG #15964: vacuumdb.c:187:10: error: use of undeclared identifier 'FD_SETSIZE'
2019-08-21 14:16:36+00Alvaro HerreraRe: BUG #15964: vacuumdb.c:187:10: error: use of undeclared identifier 'FD_SETSIZE'
2019-08-21 14:28:31+00Tom LaneRe: BUG #15964: vacuumdb.c:187:10: error: use of undeclared identifier 'FD_SETSIZE'
2019-08-21 14:34:49+00Alvaro HerreraRe: BUG #15964: vacuumdb.c:187:10: error: use of undeclared identifier 'FD_SETSIZE'
2019-08-22 01:47:39+00Michael PaquierRe: BUG #15964: vacuumdb.c:187:10: error: use of undeclared identifier 'FD_SETSIZE'
2019-08-22 15:09:45+00Andres FreundRe: BUG #15964: vacuumdb.c:187:10: error: use of undeclared identifier 'FD_SETSIZE'
2019-08-23 01:59:21+00Michael PaquierRe: BUG #15964: vacuumdb.c:187:10: error: use of undeclared identifier 'FD_SETSIZE'
2019-08-23 14:58:14+00Tom LaneRe: BUG #15964: vacuumdb.c:187:10: error: use of undeclared identifier 'FD_SETSIZE'
2019-08-24 02:23:19+00Michael PaquierRe: BUG #15964: vacuumdb.c:187:10: error: use of undeclared identifier 'FD_SETSIZE'
2019-08-26 02:17:23+00Michael PaquierRe: BUG #15964: vacuumdb.c:187:10: error: use of undeclared identifier 'FD_SETSIZE'
2019-08-26 06:46:05+00jungle boogieRe: BUG #15964: vacuumdb.c:187:10: error: use of undeclared identifier 'FD_SETSIZE'
2019-08-27 04:08:03+00Michael PaquierRe: BUG #15964: vacuumdb.c:187:10: error: use of undeclared identifier 'FD_SETSIZE'
2019-08-27 12:19:44+00Alvaro HerreraRe: BUG #15964: vacuumdb.c:187:10: error: use of undeclared identifier 'FD_SETSIZE'
2019-08-27 12:29:39+00Alvaro HerreraRe: BUG #15964: vacuumdb.c:187:10: error: use of undeclared identifier 'FD_SETSIZE'
2019-08-28 01:36:23+00Michael PaquierRe: BUG #15964: vacuumdb.c:187:10: error: use of undeclared identifier 'FD_SETSIZE'
2019-08-28 20:06:57+00"Jungle Boogie"Re: BUG #15964: vacuumdb.c:187:10: error: use of undeclared identifier 'FD_SETSIZE'
2019-08-28 20:27:34+00Tom LaneRe: BUG #15964: vacuumdb.c:187:10: error: use of undeclared identifier 'FD_SETSIZE'
2019-08-28 20:48:42+00=?UTF-8?Q?Mikael_Kjellstr=c3=b6m?=Re: BUG #15964: vacuumdb.c:187:10: error: use of undeclared identifier 'FD_SETSIZE'
2019-08-29 00:00:20+00Michael PaquierRe: BUG #15964: vacuumdb.c:187:10: error: use of undeclared identifier 'FD_SETSIZE'
2019-08-29 07:09:14+00=?UTF-8?Q?Mikael_Kjellstr=c3=b6m?=Re: BUG #15964: vacuumdb.c:187:10: error: use of undeclared identifier 'FD_SETSIZE'