3.6.4 Release

Greg Troxel gdt at lexort.com
Sat Jun 6 10:58:34 PDT 2026


I'm trying to build from git stable-3.6 to test pre-release.  I'm pretty
sure I've done this, but I don't have a clear memory.

I ran ./autogen.sh, and then ./configure --prefix=/usr/pkg.

versions of installed things that might matter

  -rw-r--r--  1 root  wheel    48608 Oct 27  2025 geos-3.14.1
  -rw-r--r--  1 root  wheel   118831 May 15 15:10 postgresql16-client-16.14
  -rw-r--r--  1 root  wheel   111907 May 15 15:28 postgresql16-server-16.14
  -rw-r--r--  1 root  wheel    31687 May 15 15:33 postgresql16-contrib-16.14
  -rw-r--r--  1 root  wheel    28821 May 31 08:05 protobuf-35.0
  -rw-r--r--  1 root  wheel    22330 May 31 08:07 py313-protobuf-7.35.0
  -rw-r--r--  1 root  wheel     1225 May 31 20:28 protobuf-c-1.5.2nb3
  -rw-r--r--  1 root  wheel    97900 Jun  1 20:30 postgresql16-postgis-3.6.3nb1
  -rw-r--r--  1 root  wheel     2001 Jun  4 15:04 uthash-2.3.0


I ran gmake -j8, and reran what failed.  It looks like a clash over who
gets to define HASH_ stuff.   Any clues?

I was going to 'make dist', but that didn't work and the HOWTO_RELEASE
says to invoke a remote opaque oracle :-) that I lack permission to
access.   So I'm unclear on what would be in a 3.6.4 if there was one -
I would try that in pkgsrc.  Maybe it's just git and autogen?







/usr/pkg/bin/perl ./utils/repo_revision.pl
Not updating existing rev file at 3.6.3-11-gbc9704020
for s in liblwgeom deps libpgcommon postgis regress topology  doc raster loader utils extensions; do \
	echo "---- Making all in ${s}"; \
	gmake -C ${s} all || exit 1; \
done;
---- Making all in liblwgeom
gmake[1]: Entering directory '/n0/gdt/SOFTWARE/GEO/POSTGIS/postgis/liblwgeom'
gmake[1]: Nothing to be done for 'all'.
gmake[1]: Leaving directory '/n0/gdt/SOFTWARE/GEO/POSTGIS/postgis/liblwgeom'
---- Making all in deps
gmake[1]: Entering directory '/n0/gdt/SOFTWARE/GEO/POSTGIS/postgis/deps'
gmake -C wagyu libwagyu.la
gmake[2]: Entering directory '/n0/gdt/SOFTWARE/GEO/POSTGIS/postgis/deps/wagyu'
gmake[2]: 'libwagyu.la' is up to date.
gmake[2]: Leaving directory '/n0/gdt/SOFTWARE/GEO/POSTGIS/postgis/deps/wagyu'
gmake -C ryu libryu.la
gmake[2]: Entering directory '/n0/gdt/SOFTWARE/GEO/POSTGIS/postgis/deps/ryu'
gmake[2]: 'libryu.la' is up to date.
gmake[2]: Leaving directory '/n0/gdt/SOFTWARE/GEO/POSTGIS/postgis/deps/ryu'
gmake -C flatgeobuf libflatgeobuf.la
gmake[2]: Entering directory '/n0/gdt/SOFTWARE/GEO/POSTGIS/postgis/deps/flatgeobuf'
gmake[2]: 'libflatgeobuf.la' is up to date.
gmake[2]: Leaving directory '/n0/gdt/SOFTWARE/GEO/POSTGIS/postgis/deps/flatgeobuf'
gmake[1]: Leaving directory '/n0/gdt/SOFTWARE/GEO/POSTGIS/postgis/deps'
---- Making all in libpgcommon
gmake[1]: Entering directory '/n0/gdt/SOFTWARE/GEO/POSTGIS/postgis/libpgcommon'
gmake[1]: Nothing to be done for 'all'.
gmake[1]: Leaving directory '/n0/gdt/SOFTWARE/GEO/POSTGIS/postgis/libpgcommon'
---- Making all in postgis
gmake[1]: Entering directory '/n0/gdt/SOFTWARE/GEO/POSTGIS/postgis/postgis'
gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wcast-function-type -Wshadow=compatible-local -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -O2 -Dz_off_t=long -I/usr/include -I/usr/pkg/include/libxml2 -I/usr/include/readline -I/usr/pkg/include -fPIC -DPIC -fvisibility=hidden -I../liblwgeom -I../liblwgeom -std=gnu11 -g -O2 -fno-math-errno -fno-signed-zeros -Wall -O2 -I../libpgcommon -I../deps/flatgeobuf -I../deps/wagyu -I../deps/uthash/include  -I/usr/pkg/include -I/usr/pkg/include -I/usr/pkg/include -I/usr/pkg/include/libxml2  -I/usr/pkg/include -I/usr/pkg/include/json-c -I/usr/pkg/include -DNDEBUG   -fPIC -DPIC -I. -I./ -I/usr/pkg/include/postgresql/server -I/usr/pkg/include/postgresql/internal -Dz_off_t=long -I/usr/include -I/usr/pkg/include/libxml2 -I/usr/include/readline -I/usr/pkg/include  -I/usr/pkg/include/libxml2 -I/usr/pkg/include -I/usr/pkg/include  -c -o mvt.o mvt.c
In file included from /usr/pkg/include/postgresql/server/storage/shmem.h:24,
                 from /usr/pkg/include/postgresql/server/storage/lock.h:25,
                 from /usr/pkg/include/postgresql/server/catalog/namespace.h:18,
                 from mvt.h:35,
                 from mvt.c:30:
mvt.c: In function ‘get_key_index_with_size’:
/usr/pkg/include/postgresql/server/utils/hsearch.h:98:23: error: called object is not a function or function pointer
   98 | #define HASH_FUNCTION 0x0040 /* Set user defined hash function */
      |                       ^~~~~~
/usr/pkg/include/uthash.h:151:3: note: in expansion of macro ‘HASH_FUNCTION’
  151 |   HASH_FUNCTION(keyptr, keylen, hashv);                                          \
      |   ^~~~~~~~~~~~~
/usr/pkg/include/uthash.h:171:5: note: in expansion of macro ‘HASH_VALUE’
  171 |     HASH_VALUE(keyptr, keylen, _hf_hashv);                                       \
      |     ^~~~~~~~~~
mvt.c:319:2: note: in expansion of macro ‘HASH_FIND’
  319 |  HASH_FIND(hh, ctx->keys_hash, name, size, kv);
      |  ^~~~~~~~~
mvt.c: In function ‘add_key’:
/usr/pkg/include/postgresql/server/utils/hsearch.h:98:23: error: called object is not a function or function pointer
   98 | #define HASH_FUNCTION 0x0040 /* Set user defined hash function */
      |                       ^~~~~~
/usr/pkg/include/uthash.h:151:3: note: in expansion of macro ‘HASH_FUNCTION’
  151 |   HASH_FUNCTION(keyptr, keylen, hashv);                                          \
      |   ^~~~~~~~~~~~~
/usr/pkg/include/uthash.h:421:3: note: in expansion of macro ‘HASH_VALUE’
  421 |   HASH_VALUE(keyptr, keylen_in, _ha_hashv);                                      \
      |   ^~~~~~~~~~
mvt.c:332:2: note: in expansion of macro ‘HASH_ADD_KEYPTR’
  332 |  HASH_ADD_KEYPTR(hh, ctx->keys_hash, name, size, kv);
      |  ^~~~~~~~~~~~~~~
mvt.c: In function ‘add_value_as_string_with_size’:
/usr/pkg/include/postgresql/server/utils/hsearch.h:98:23: error: called object is not a function or function pointer
   98 | #define HASH_FUNCTION 0x0040 /* Set user defined hash function */
      |                       ^~~~~~
/usr/pkg/include/uthash.h:151:3: note: in expansion of macro ‘HASH_FUNCTION’
  151 |   HASH_FUNCTION(keyptr, keylen, hashv);                                          \
      |   ^~~~~~~~~~~~~
mvt.c:512:2: note: in expansion of macro ‘HASH_VALUE’
  512 |  HASH_VALUE(value, size, hashv);
      |  ^~~~~~~~~~
mvt.c: In function ‘parse_jsonb’:
/usr/pkg/include/postgresql/server/utils/hsearch.h:98:23: error: called object is not a function or function pointer
   98 | #define HASH_FUNCTION 0x0040 /* Set user defined hash function */
      |                       ^~~~~~
/usr/pkg/include/uthash.h:151:3: note: in expansion of macro ‘HASH_FUNCTION’
  151 |   HASH_FUNCTION(keyptr, keylen, hashv);                                          \
      |   ^~~~~~~~~~~~~
mvt.c:455:4: note: in expansion of macro ‘HASH_VALUE’
  455 |    HASH_VALUE(&newvalue, size, hashv); \
      |    ^~~~~~~~~~
mvt.c:596:5: note: in expansion of macro ‘MVT_PARSE_VALUE’
  596 |     MVT_PARSE_VALUE(bool_values_hash,
      |     ^~~~~~~~~~~~~~~
/usr/pkg/include/postgresql/server/utils/hsearch.h:98:23: error: called object is not a function or function pointer
   98 | #define HASH_FUNCTION 0x0040 /* Set user defined hash function */
      |                       ^~~~~~
/usr/pkg/include/uthash.h:151:3: note: in expansion of macro ‘HASH_FUNCTION’
  151 |   HASH_FUNCTION(keyptr, keylen, hashv);                                          \
      |   ^~~~~~~~~~~~~
mvt.c:455:4: note: in expansion of macro ‘HASH_VALUE’
  455 |    HASH_VALUE(&newvalue, size, hashv); \
      |    ^~~~~~~~~~
mvt.c:614:6: note: in expansion of macro ‘MVT_PARSE_VALUE’
  614 |      MVT_PARSE_VALUE(double_values_hash,
      |      ^~~~~~~~~~~~~~~
/usr/pkg/include/postgresql/server/utils/hsearch.h:98:23: error: called object is not a function or function pointer
   98 | #define HASH_FUNCTION 0x0040 /* Set user defined hash function */
      |                       ^~~~~~
/usr/pkg/include/uthash.h:151:3: note: in expansion of macro ‘HASH_FUNCTION’
  151 |   HASH_FUNCTION(keyptr, keylen, hashv);                                          \
      |   ^~~~~~~~~~~~~
mvt.c:455:4: note: in expansion of macro ‘HASH_VALUE’
  455 |    HASH_VALUE(&newvalue, size, hashv); \
      |    ^~~~~~~~~~
mvt.c:477:4: note: in expansion of macro ‘MVT_PARSE_VALUE’
  477 |    MVT_PARSE_VALUE(uint_values_hash, \
      |    ^~~~~~~~~~~~~~~
mvt.c:622:6: note: in expansion of macro ‘MVT_PARSE_INT_VALUE’
  622 |      MVT_PARSE_INT_VALUE(l);
      |      ^~~~~~~~~~~~~~~~~~~
/usr/pkg/include/postgresql/server/utils/hsearch.h:98:23: error: called object is not a function or function pointer
   98 | #define HASH_FUNCTION 0x0040 /* Set user defined hash function */
      |                       ^~~~~~
/usr/pkg/include/uthash.h:151:3: note: in expansion of macro ‘HASH_FUNCTION’
  151 |   HASH_FUNCTION(keyptr, keylen, hashv);                                          \
      |   ^~~~~~~~~~~~~
mvt.c:455:4: note: in expansion of macro ‘HASH_VALUE’
  455 |    HASH_VALUE(&newvalue, size, hashv); \
      |    ^~~~~~~~~~
mvt.c:486:4: note: in expansion of macro ‘MVT_PARSE_VALUE’
  486 |    MVT_PARSE_VALUE(sint_values_hash, \
      |    ^~~~~~~~~~~~~~~
mvt.c:622:6: note: in expansion of macro ‘MVT_PARSE_INT_VALUE’
  622 |      MVT_PARSE_INT_VALUE(l);
      |      ^~~~~~~~~~~~~~~~~~~
mvt.c: In function ‘parse_values’:
/usr/pkg/include/postgresql/server/utils/hsearch.h:98:23: error: called object is not a function or function pointer
   98 | #define HASH_FUNCTION 0x0040 /* Set user defined hash function */
      |                       ^~~~~~
/usr/pkg/include/uthash.h:151:3: note: in expansion of macro ‘HASH_FUNCTION’
  151 |   HASH_FUNCTION(keyptr, keylen, hashv);                                          \
      |   ^~~~~~~~~~~~~
mvt.c:455:4: note: in expansion of macro ‘HASH_VALUE’
  455 |    HASH_VALUE(&newvalue, size, hashv); \
      |    ^~~~~~~~~~
mvt.c:497:3: note: in expansion of macro ‘MVT_PARSE_VALUE’
  497 |   MVT_PARSE_VALUE(hash, value, size, pfvaluefield, pftype); \
      |   ^~~~~~~~~~~~~~~
mvt.c:726:4: note: in expansion of macro ‘MVT_PARSE_DATUM’
  726 |    MVT_PARSE_DATUM(protobuf_c_boolean,
      |    ^~~~~~~~~~~~~~~
/usr/pkg/include/postgresql/server/utils/hsearch.h:98:23: error: called object is not a function or function pointer
   98 | #define HASH_FUNCTION 0x0040 /* Set user defined hash function */
      |                       ^~~~~~
/usr/pkg/include/uthash.h:151:3: note: in expansion of macro ‘HASH_FUNCTION’
  151 |   HASH_FUNCTION(keyptr, keylen, hashv);                                          \
      |   ^~~~~~~~~~~~~
mvt.c:455:4: note: in expansion of macro ‘HASH_VALUE’
  455 |    HASH_VALUE(&newvalue, size, hashv); \
      |    ^~~~~~~~~~
mvt.c:477:4: note: in expansion of macro ‘MVT_PARSE_VALUE’
  477 |    MVT_PARSE_VALUE(uint_values_hash, \
      |    ^~~~~~~~~~~~~~~
mvt.c:503:2: note: in expansion of macro ‘MVT_PARSE_INT_VALUE’
  503 |  MVT_PARSE_INT_VALUE(value); \
      |  ^~~~~~~~~~~~~~~~~~~
mvt.c:734:4: note: in expansion of macro ‘MVT_PARSE_INT_DATUM’
  734 |    MVT_PARSE_INT_DATUM(int16_t, DatumGetInt16);
      |    ^~~~~~~~~~~~~~~~~~~
/usr/pkg/include/postgresql/server/utils/hsearch.h:98:23: error: called object is not a function or function pointer
   98 | #define HASH_FUNCTION 0x0040 /* Set user defined hash function */
      |                       ^~~~~~
/usr/pkg/include/uthash.h:151:3: note: in expansion of macro ‘HASH_FUNCTION’
  151 |   HASH_FUNCTION(keyptr, keylen, hashv);                                          \
      |   ^~~~~~~~~~~~~
mvt.c:455:4: note: in expansion of macro ‘HASH_VALUE’
  455 |    HASH_VALUE(&newvalue, size, hashv); \
      |    ^~~~~~~~~~
mvt.c:486:4: note: in expansion of macro ‘MVT_PARSE_VALUE’
  486 |    MVT_PARSE_VALUE(sint_values_hash, \
      |    ^~~~~~~~~~~~~~~
mvt.c:503:2: note: in expansion of macro ‘MVT_PARSE_INT_VALUE’
  503 |  MVT_PARSE_INT_VALUE(value); \
      |  ^~~~~~~~~~~~~~~~~~~
mvt.c:734:4: note: in expansion of macro ‘MVT_PARSE_INT_DATUM’
  734 |    MVT_PARSE_INT_DATUM(int16_t, DatumGetInt16);
      |    ^~~~~~~~~~~~~~~~~~~
/usr/pkg/include/postgresql/server/utils/hsearch.h:98:23: error: called object is not a function or function pointer
   98 | #define HASH_FUNCTION 0x0040 /* Set user defined hash function */
      |                       ^~~~~~
/usr/pkg/include/uthash.h:151:3: note: in expansion of macro ‘HASH_FUNCTION’
  151 |   HASH_FUNCTION(keyptr, keylen, hashv);                                          \
      |   ^~~~~~~~~~~~~
mvt.c:455:4: note: in expansion of macro ‘HASH_VALUE’
  455 |    HASH_VALUE(&newvalue, size, hashv); \
      |    ^~~~~~~~~~
mvt.c:477:4: note: in expansion of macro ‘MVT_PARSE_VALUE’
  477 |    MVT_PARSE_VALUE(uint_values_hash, \
      |    ^~~~~~~~~~~~~~~
mvt.c:503:2: note: in expansion of macro ‘MVT_PARSE_INT_VALUE’
  503 |  MVT_PARSE_INT_VALUE(value); \
      |  ^~~~~~~~~~~~~~~~~~~
mvt.c:737:4: note: in expansion of macro ‘MVT_PARSE_INT_DATUM’
  737 |    MVT_PARSE_INT_DATUM(int32_t, DatumGetInt32);
      |    ^~~~~~~~~~~~~~~~~~~
/usr/pkg/include/postgresql/server/utils/hsearch.h:98:23: error: called object is not a function or function pointer
   98 | #define HASH_FUNCTION 0x0040 /* Set user defined hash function */
      |                       ^~~~~~
/usr/pkg/include/uthash.h:151:3: note: in expansion of macro ‘HASH_FUNCTION’
  151 |   HASH_FUNCTION(keyptr, keylen, hashv);                                          \
      |   ^~~~~~~~~~~~~
mvt.c:455:4: note: in expansion of macro ‘HASH_VALUE’
  455 |    HASH_VALUE(&newvalue, size, hashv); \
      |    ^~~~~~~~~~
mvt.c:486:4: note: in expansion of macro ‘MVT_PARSE_VALUE’
  486 |    MVT_PARSE_VALUE(sint_values_hash, \
      |    ^~~~~~~~~~~~~~~
mvt.c:503:2: note: in expansion of macro ‘MVT_PARSE_INT_VALUE’
  503 |  MVT_PARSE_INT_VALUE(value); \
      |  ^~~~~~~~~~~~~~~~~~~
mvt.c:737:4: note: in expansion of macro ‘MVT_PARSE_INT_DATUM’
  737 |    MVT_PARSE_INT_DATUM(int32_t, DatumGetInt32);
      |    ^~~~~~~~~~~~~~~~~~~
/usr/pkg/include/postgresql/server/utils/hsearch.h:98:23: error: called object is not a function or function pointer
   98 | #define HASH_FUNCTION 0x0040 /* Set user defined hash function */
      |                       ^~~~~~
/usr/pkg/include/uthash.h:151:3: note: in expansion of macro ‘HASH_FUNCTION’
  151 |   HASH_FUNCTION(keyptr, keylen, hashv);                                          \
      |   ^~~~~~~~~~~~~
mvt.c:455:4: note: in expansion of macro ‘HASH_VALUE’
  455 |    HASH_VALUE(&newvalue, size, hashv); \
      |    ^~~~~~~~~~
mvt.c:477:4: note: in expansion of macro ‘MVT_PARSE_VALUE’
  477 |    MVT_PARSE_VALUE(uint_values_hash, \
      |    ^~~~~~~~~~~~~~~
mvt.c:503:2: note: in expansion of macro ‘MVT_PARSE_INT_VALUE’
  503 |  MVT_PARSE_INT_VALUE(value); \
      |  ^~~~~~~~~~~~~~~~~~~
mvt.c:740:4: note: in expansion of macro ‘MVT_PARSE_INT_DATUM’
  740 |    MVT_PARSE_INT_DATUM(int64_t, DatumGetInt64);
      |    ^~~~~~~~~~~~~~~~~~~
/usr/pkg/include/postgresql/server/utils/hsearch.h:98:23: error: called object is not a function or function pointer
   98 | #define HASH_FUNCTION 0x0040 /* Set user defined hash function */
      |                       ^~~~~~
/usr/pkg/include/uthash.h:151:3: note: in expansion of macro ‘HASH_FUNCTION’
  151 |   HASH_FUNCTION(keyptr, keylen, hashv);                                          \
      |   ^~~~~~~~~~~~~
mvt.c:455:4: note: in expansion of macro ‘HASH_VALUE’
  455 |    HASH_VALUE(&newvalue, size, hashv); \
      |    ^~~~~~~~~~
mvt.c:486:4: note: in expansion of macro ‘MVT_PARSE_VALUE’
  486 |    MVT_PARSE_VALUE(sint_values_hash, \
      |    ^~~~~~~~~~~~~~~
mvt.c:503:2: note: in expansion of macro ‘MVT_PARSE_INT_VALUE’
  503 |  MVT_PARSE_INT_VALUE(value); \
      |  ^~~~~~~~~~~~~~~~~~~
mvt.c:740:4: note: in expansion of macro ‘MVT_PARSE_INT_DATUM’
  740 |    MVT_PARSE_INT_DATUM(int64_t, DatumGetInt64);
      |    ^~~~~~~~~~~~~~~~~~~
/usr/pkg/include/postgresql/server/utils/hsearch.h:98:23: error: called object is not a function or function pointer
   98 | #define HASH_FUNCTION 0x0040 /* Set user defined hash function */
      |                       ^~~~~~
/usr/pkg/include/uthash.h:151:3: note: in expansion of macro ‘HASH_FUNCTION’
  151 |   HASH_FUNCTION(keyptr, keylen, hashv);                                          \
      |   ^~~~~~~~~~~~~
mvt.c:455:4: note: in expansion of macro ‘HASH_VALUE’
  455 |    HASH_VALUE(&newvalue, size, hashv); \
      |    ^~~~~~~~~~
mvt.c:497:3: note: in expansion of macro ‘MVT_PARSE_VALUE’
  497 |   MVT_PARSE_VALUE(hash, value, size, pfvaluefield, pftype); \
      |   ^~~~~~~~~~~~~~~
mvt.c:743:4: note: in expansion of macro ‘MVT_PARSE_DATUM’
  743 |    MVT_PARSE_DATUM(float,
      |    ^~~~~~~~~~~~~~~
/usr/pkg/include/postgresql/server/utils/hsearch.h:98:23: error: called object is not a function or function pointer
   98 | #define HASH_FUNCTION 0x0040 /* Set user defined hash function */
      |                       ^~~~~~
/usr/pkg/include/uthash.h:151:3: note: in expansion of macro ‘HASH_FUNCTION’
  151 |   HASH_FUNCTION(keyptr, keylen, hashv);                                          \
      |   ^~~~~~~~~~~~~
mvt.c:455:4: note: in expansion of macro ‘HASH_VALUE’
  455 |    HASH_VALUE(&newvalue, size, hashv); \
      |    ^~~~~~~~~~
mvt.c:497:3: note: in expansion of macro ‘MVT_PARSE_VALUE’
  497 |   MVT_PARSE_VALUE(hash, value, size, pfvaluefield, pftype); \
      |   ^~~~~~~~~~~~~~~
mvt.c:751:4: note: in expansion of macro ‘MVT_PARSE_DATUM’
  751 |    MVT_PARSE_DATUM(double,
      |    ^~~~~~~~~~~~~~~
gmake[1]: *** [<builtin>: mvt.o] Error 1
gmake[1]: Leaving directory '/n0/gdt/SOFTWARE/GEO/POSTGIS/postgis/postgis'
gmake: *** [GNUmakefile:36: all] Error 1



More information about the postgis-devel mailing list