RE: PLJAVA build failure on postgres docker image - Mailing list pgsql-sql

From Rick Vincent
Subject RE: PLJAVA build failure on postgres docker image
Date
Msg-id MN2PR04MB5806DBD4702FA26F742A9890C1AB0@MN2PR04MB5806.namprd04.prod.outlook.com
Whole thread Raw
In response to PLJAVA build failure on postgres docker image  (Rick Vincent <rvincent@temenos.com>)
List pgsql-sql

Hi,

 

I found the answer for this here:

http://lists.pgfoundry.org/pipermail/pljava-dev/2017/002614.html

 

openssl-dev was missing.

 

For reference, the following docker file should work:

 

FROM postgres:10.9-alpine

ENV POSTGRES_PASSWORD ${DB_PASSWORD}

ENV POSTGRES_USER ${DB_USER}

ENV POSTGRES_DB ${DB_NAME}

ENV JAVA_HOME /usr/lib/jvm/java-1.8-openjdk

RUN apk update && apk upgrade

RUN apk --update add openjdk8

RUN apk add g++ gcc git maven openssl-dev

RUN cd /usr/local/lib/postgresql \

&& git clone https://github.com/tada/pljava.git \

&& cd pljava \

&& mvn clean install -Pwnosign

 

Thanks,

Rick

 

From: Rick Vincent <rvincent@temenos.com>
Sent: Monday, August 19, 2019 5:05 PM
To: pgsql-sql@lists.postgresql.org
Subject: PLJAVA build failure on postgres docker image

 

Hi,

 

Not sure if this is the right list, but I will try here first.  If it isn’t the right list, please point me in the right direction.  I am trying to build pljava with the 10.9 postgresql docker image and getting build errors.  I thought this could because I was using open jdk 8, but I tried with the Oracle JDK 8 and it failed as well with the same errors.  Below is the docker file for the open jdk and the errors I get on the maven build.  Any help on what needs to be done would be appreciated.

 

Thanks,

Rick

 

Docker file:

 

FROM postgres:10.9

ENV POSTGRES_PASSWORD ${DB_PASSWORD}

ENV POSTGRES_USER ${DB_USER}

ENV POSTGRES_DB ${DB_NAME}

ENV JAVA_HOME /usr/lib/jvm/java-8-openjdk-amd64

RUN apt-get update -y

RUN apt-get install -y apt-utils

RUN apt-get install -y default-jdk

RUN apt-get install -y gcc

RUN apt-get install -y g++

RUN apt-get install -y python-psycopg2

RUN apt-get install -y postgresql postgresql-contrib

RUN apt-get install -y postgresql-server-dev-10

RUN apt-get install -y libkrb5-dev

RUN apt-get install -y libecpg-dev

RUN apt-get install -y maven

RUN apt-get install -y git

RUN cd /usr/lib/postgresql \

&& git clone https://github.com/tada/pljava.git \

&& cd pljava \

&& mvn clean install

 

Error:

[INFO] Running /usr/lib/jvm/java-8-openjdk-amd64/bin/javah compiler on 29 classes...

[INFO] + /usr/lib/jvm/java-8-openjdk-amd64/bin/javah -classpath /usr/lib/postgresql/pljava/pljava-so/../pljava/target/classes/:/usr/lib/postgresql/pljava/pljava-so/../pljava-api/target/classes/ -d /usr/lib/postgresql/pljava/pljava-so/target/nar/javah-include org.postgresql.pljava.internal.Session org.postgresql.pljava.internal.SubXactListener org.postgresql.pljava.jdbc.TypeOid org.postgresql.pljava.internal.Backend org.postgresql.pljava.jdbc.SingleRowReader org.postgresql.pljava.internal.TupleDesc org.postgresql.pljava.internal.Oid org.postgresql.pljava.internal.VarlenaWrapper$Input$State org.postgresql.pljava.internal.Tuple org.postgresql.pljava.internal.AclId org.postgresql.pljava.internal.TriggerData org.postgresql.pljava.internal.DualState$SingleMemContextDelete org.postgresql.pljava.internal.DualState$SingleSPIcursorClose org.postgresql.pljava.internal.PgSavepoint org.postgresql.pljava.jdbc.SQLOutputToChunk org.postgresql.pljava.internal.ErrorData org.postgresql.pljava.internal.DualState$SingleSPIfreeplan org.postgresql.pljava.jdbc.SQLXMLImpl org.postgresql.pljava.internal.DualState$SingleFreeErrorData org.postgresql.pljava.internal.DualState$SinglePfree org.postgresql.pljava.internal.VarlenaWrapper$Output$State org.postgresql.pljava.internal.XactListener org.postgresql.pljava.internal.SPI org.postgresql.pljava.internal.DualState$SingleHeapFreeTuple org.postgresql.pljava.internal.Relation org.postgresql.pljava.internal.ExecutionPlan org.postgresql.pljava.internal.Portal org.postgresql.pljava.internal.DualState$SingleFreeTupleDesc org.postgresql.pljava.jdbc.Invocation java.sql.Types

[INFO]

[INFO] --- nar-maven-plugin:3.2.3:nar-gnu-make (default-nar-gnu-make) @ pljava-so ---

[INFO]

[INFO] --- nar-maven-plugin:3.2.3:nar-compile (default-nar-compile) @ pljava-so ---

[INFO] Compiling 53 native files

[INFO] 53 total files to be compiled.

[INFO] 53 total files to be compiled.

[INFO] Found 4 processors available

[INFO] Found 4 processors available

[INFO]

Starting Core 0 with 14 source files...

[INFO]

Starting Core 0 with 14 source files...

[INFO]

Starting Core 1 with 13 source files...

[INFO]

Starting Core 1 with 13 source files...

[INFO]

Starting Core 2 with 13 source files...

[INFO]

Starting Core 2 with 13 source files...

[INFO]

Starting Core 3 with 13 source files...

[INFO]

Starting Core 3 with 13 source files...

[ERROR] In file included from /usr/include/postgresql/10/server/port/atomics.h:124:0,

[ERROR]                  from /usr/include/postgresql/10/server/utils/dsa.h:17,

[ERROR]                  from /usr/include/postgresql/10/server/nodes/tidbitmap.h:26,

[ERROR]                  from /usr/include/postgresql/10/server/access/genam.h:19,

[ERROR]                  from /usr/include/postgresql/10/server/nodes/execnodes.h:17,

[ERROR]                  from /usr/include/postgresql/10/server/commands/trigger.h:17,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/Invocation.h:20,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/Boolean.c:13:

[ERROR] /usr/include/postgresql/10/server/port/atomics/generic.h: In function ‘pg_atomic_add_fetch_u32_impl’:

[WARNING] /usr/include/postgresql/10/server/port/atomics/generic.h:245:49: warning: conversion to ‘uint32 {aka unsigned int}’ from ‘int32 {aka int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]   return pg_atomic_fetch_add_u32_impl(ptr, add_) + add_;

[ERROR]                                                  ^

[ERROR] In file included from /usr/include/postgresql/10/server/port/atomics.h:124:0,

[ERROR]                  from /usr/include/postgresql/10/server/utils/dsa.h:17,

[ERROR]                  from /usr/include/postgresql/10/server/nodes/tidbitmap.h:26,

[ERROR]                  from /usr/include/postgresql/10/server/access/genam.h:19,

[ERROR]                  from /usr/include/postgresql/10/server/nodes/execnodes.h:17,

[ERROR]                  from /usr/include/postgresql/10/server/commands/trigger.h:17,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/Invocation.h:20,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/Array.c:11:

[ERROR] /usr/include/postgresql/10/server/port/atomics/generic.h: In function ‘pg_atomic_add_fetch_u32_impl’:

[WARNING] /usr/include/postgresql/10/server/port/atomics/generic.h:245:49: warning: conversion to ‘uint32 {aka unsigned int}’ from ‘int32 {aka int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]   return pg_atomic_fetch_add_u32_impl(ptr, add_) + add_;

[ERROR]                                                  ^

[ERROR] /usr/include/postgresql/10/server/port/atomics/generic.h: In function ‘pg_atomic_sub_fetch_u32_impl’:

[WARNING] /usr/include/postgresql/10/server/port/atomics/generic.h:254:49: warning: conversion to ‘uint32 {aka unsigned int}’ from ‘int32 {aka int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]   return pg_atomic_fetch_sub_u32_impl(ptr, sub_) - sub_;

[ERROR]                                                  ^

[ERROR] /usr/include/postgresql/10/server/port/atomics/generic.h: In function ‘pg_atomic_add_fetch_u64_impl’:

[WARNING] /usr/include/postgresql/10/server/port/atomics/generic.h:416:49: warning: conversion to ‘long unsigned int’ from ‘int64 {aka long int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]   return pg_atomic_fetch_add_u64_impl(ptr, add_) + add_;

[ERROR]                                                  ^

[ERROR] /usr/include/postgresql/10/server/port/atomics/generic.h: In function ‘pg_atomic_sub_fetch_u64_impl’:

[WARNING] /usr/include/postgresql/10/server/port/atomics/generic.h:425:49: warning: conversion to ‘long unsigned int’ from ‘int64 {aka long int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]   return pg_atomic_fetch_sub_u64_impl(ptr, sub_) - sub_;

[ERROR]                                                  ^

[ERROR] /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/Array.c: In function ‘createArrayType’:

[WARNING] /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/Array.c:31:25: warning: conversion to ‘size_t {aka long unsigned int}’ from ‘jsize {aka int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]   Size nBytes = elemSize * nElems;

[ERROR]                          ^

[ERROR] In file included from /usr/include/postgresql/10/server/postgres.h:47:0,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/pljava.h:33,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/JNICalls.h:18,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/PgObject.h:12,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/PgObject_priv.h:12,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/type/Type_priv.h:16,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/Array.c:9:

[WARNING] /usr/include/postgresql/10/server/utils/array.h:297:58: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]

[ERROR]    MAXALIGN(sizeof(ArrayType) + 2 * sizeof(int) * (ndims) + \

[ERROR]                                                           ^

[ERROR] /usr/include/postgresql/10/server/c.h:653:17: note: in definition of macro ‘TYPEALIGN’

[ERROR]   (((uintptr_t) (LEN) + ((ALIGNVAL) - 1)) & ~((uintptr_t) ((ALIGNVAL) - 1)))

[ERROR]                  ^~~

[ERROR] /usr/include/postgresql/10/server/utils/array.h:297:3: note: in expansion of macro ‘MAXALIGN’

[ERROR]    MAXALIGN(sizeof(ArrayType) + 2 * sizeof(int) * (ndims) + \

[ERROR]    ^~~~~~~~

[ERROR] /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/Array.c:37:16: note: in expansion of macro ‘ARR_OVERHEAD_WITHNULLS’

[ERROR]    dataoffset = ARR_OVERHEAD_WITHNULLS(1, nElems);

[ERROR]                 ^~~~~~~~~~~~~~~~~~~~~~

[ERROR] In file included from /usr/include/postgresql/10/server/utils/guc.h:18:0,

[ERROR]                  from /usr/include/postgresql/10/server/tcop/tcopprot.h:26,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/pljava.h:39,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/JNICalls.h:18,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/PgObject.h:12,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/PgObject_priv.h:12,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/type/Type_priv.h:16,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/Array.c:9:

[WARNING] /usr/include/postgresql/10/server/utils/array.h:282:19: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]

[ERROR]        sizeof(int) * ARR_NDIM(a)))

[ERROR]                    ^

[ERROR] /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/Array.c:58:10: note: in expansion of macro ‘ARR_LBOUND’

[ERROR]   *((int*)ARR_LBOUND(v)) = 1;

[ERROR]           ^~~~~~~~~~

[ERROR] In file included from /usr/include/postgresql/10/server/postgres.h:47:0,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/pljava.h:33,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/JNICalls.h:18,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/PgObject.h:12,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/PgObject_priv.h:12,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/type/Type_priv.h:16,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/Array.c:9:

[ERROR] /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/Array.c: In function ‘_Array_coerceDatum’:

[WARNING] /usr/include/postgresql/10/server/utils/array.h:295:48: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]

[ERROR]    MAXALIGN(sizeof(ArrayType) + 2 * sizeof(int) * (ndims))

[ERROR]                                                 ^

[ERROR] /usr/include/postgresql/10/server/c.h:653:17: note: in definition of macro ‘TYPEALIGN’

[ERROR]   (((uintptr_t) (LEN) + ((ALIGNVAL) - 1)) & ~((uintptr_t) ((ALIGNVAL) - 1)))

[ERROR]                  ^~~

[ERROR] /usr/include/postgresql/10/server/utils/array.h:295:3: note: in expansion of macro ‘MAXALIGN’

[ERROR]    MAXALIGN(sizeof(ArrayType) + 2 * sizeof(int) * (ndims))

[ERROR]    ^~~~~~~~

[ERROR] /usr/include/postgresql/10/server/utils/array.h:301:39: note: in expansion of macro ‘ARR_OVERHEAD_NONULLS’

[ERROR]    (ARR_HASNULL(a) ? (a)->dataoffset : ARR_OVERHEAD_NONULLS(ARR_NDIM(a)))

[ERROR]                                        ^~~~~~~~~~~~~~~~~~~~

[ERROR] /usr/include/postgresql/10/server/utils/array.h:307:21: note: in expansion of macro ‘ARR_DATA_OFFSET’

[ERROR]    (((char *) (a)) + ARR_DATA_OFFSET(a))

[ERROR]                      ^~~~~~~~~~~~~~~

[ERROR] /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/Array.c:73:23: note: in expansion of macro ‘ARR_DATA_PTR’

[ERROR]   const char* values = ARR_DATA_PTR(v);

[ERROR]                        ^~~~~~~~~~~~

[ERROR] In file included from /usr/include/postgresql/10/server/utils/guc.h:18:0,

[ERROR]                  from /usr/include/postgresql/10/server/tcop/tcopprot.h:26,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/pljava.h:39,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/JNICalls.h:18,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/PgObject.h:12,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/PgObject_priv.h:12,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/type/Type_priv.h:16,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/Array.c:9:

[WARNING] /usr/include/postgresql/10/server/utils/array.h:301:37: warning: conversion to ‘long unsigned int’ from ‘int32 {aka int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]    (ARR_HASNULL(a) ? (a)->dataoffset : ARR_OVERHEAD_NONULLS(ARR_NDIM(a)))

[ERROR]                                      ^

[ERROR] /usr/include/postgresql/10/server/utils/array.h:307:21: note: in expansion of macro ‘ARR_DATA_OFFSET’

[ERROR]    (((char *) (a)) + ARR_DATA_OFFSET(a))

[ERROR]                      ^~~~~~~~~~~~~~~

[ERROR] /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/Array.c:73:23: note: in expansion of macro ‘ARR_DATA_PTR’

[ERROR]   const char* values = ARR_DATA_PTR(v);

[ERROR]                        ^~~~~~~~~~~~

[WARNING] /usr/include/postgresql/10/server/utils/array.h:287:22: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]

[ERROR]       2 * sizeof(int) * ARR_NDIM(a)) \

[ERROR]                       ^

[ERROR] /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/Array.c:74:22: note: in expansion of macro ‘ARR_NULLBITMAP’

[ERROR]   bits8* nullBitMap = ARR_NULLBITMAP(v);

[ERROR]                       ^~~~~~~~~~~~~~

[ERROR] /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/Array.c: In function ‘_Array_coerceObject’:

[WARNING] /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/Array.c:108:42: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]

[ERROR]   Datum* values   = (Datum*)palloc(nElems * sizeof(Datum) + nElems * sizeof(bool));

[ERROR]                                           ^

[WARNING] /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/Array.c:108:67: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]

[ERROR]   Datum* values   = (Datum*)palloc(nElems * sizeof(Datum) + nElems * sizeof(bool));

[ERROR]                                                                    ^

[ERROR] /usr/include/postgresql/10/server/port/atomics/generic.h: In function ‘pg_atomic_sub_fetch_u32_impl’:

[WARNING] /usr/include/postgresql/10/server/port/atomics/generic.h:254:49: warning: conversion to ‘uint32 {aka unsigned int}’ from ‘int32 {aka int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]   return pg_atomic_fetch_sub_u32_impl(ptr, sub_) - sub_;

[ERROR]                                                  ^

[ERROR] /usr/include/postgresql/10/server/port/atomics/generic.h: In function ‘pg_atomic_add_fetch_u64_impl’:

[WARNING] /usr/include/postgresql/10/server/port/atomics/generic.h:416:49: warning: conversion to ‘long unsigned int’ from ‘int64 {aka long int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]   return pg_atomic_fetch_add_u64_impl(ptr, add_) + add_;

[ERROR]                                                  ^

[ERROR] /usr/include/postgresql/10/server/port/atomics/generic.h: In function ‘pg_atomic_sub_fetch_u64_impl’:

[WARNING] /usr/include/postgresql/10/server/port/atomics/generic.h:425:49: warning: conversion to ‘long unsigned int’ from ‘int64 {aka long int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]   return pg_atomic_fetch_sub_u64_impl(ptr, sub_) - sub_;

[ERROR]                                                  ^

[ERROR] In file included from /usr/include/postgresql/10/server/port/atomics.h:124:0,

[ERROR]                  from /usr/include/postgresql/10/server/utils/dsa.h:17,

[ERROR]                  from /usr/include/postgresql/10/server/nodes/tidbitmap.h:26,

[ERROR]                  from /usr/include/postgresql/10/server/access/genam.h:19,

[ERROR]                  from /usr/include/postgresql/10/server/nodes/execnodes.h:17,

[ERROR]                  from /usr/include/postgresql/10/server/commands/trigger.h:17,

[ERROR]                  from /usr/include/postgresql/10/server/executor/spi.h:16,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/c/Backend.c:19:

[ERROR] /usr/include/postgresql/10/server/port/atomics/generic.h: In function ‘pg_atomic_add_fetch_u32_impl’:

[WARNING] /usr/include/postgresql/10/server/port/atomics/generic.h:245:49: warning: conversion to ‘uint32 {aka unsigned int}’ from ‘int32 {aka int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]   return pg_atomic_fetch_add_u32_impl(ptr, add_) + add_;

[ERROR]                                                  ^

[ERROR] /usr/include/postgresql/10/server/port/atomics/generic.h: In function ‘pg_atomic_sub_fetch_u32_impl’:

[WARNING] /usr/include/postgresql/10/server/port/atomics/generic.h:254:49: warning: conversion to ‘uint32 {aka unsigned int}’ from ‘int32 {aka int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]   return pg_atomic_fetch_sub_u32_impl(ptr, sub_) - sub_;

[ERROR]                                                  ^

[ERROR] /usr/include/postgresql/10/server/port/atomics/generic.h: In function ‘pg_atomic_add_fetch_u64_impl’:

[WARNING] /usr/include/postgresql/10/server/port/atomics/generic.h:416:49: warning: conversion to ‘long unsigned int’ from ‘int64 {aka long int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]   return pg_atomic_fetch_add_u64_impl(ptr, add_) + add_;

[ERROR]                                                  ^

[ERROR] /usr/include/postgresql/10/server/port/atomics/generic.h: In function ‘pg_atomic_sub_fetch_u64_impl’:

[WARNING] /usr/include/postgresql/10/server/port/atomics/generic.h:425:49: warning: conversion to ‘long unsigned int’ from ‘int64 {aka long int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]   return pg_atomic_fetch_sub_u64_impl(ptr, sub_) - sub_;

[ERROR]                                                  ^

[ERROR] /usr/lib/postgresql/pljava/pljava-so/src/main/c/Backend.c: In function ‘JVMOptList_add’:

[WARNING] /usr/lib/postgresql/pljava/pljava-so/src/main/c/Backend.c:1215:15: warning: conversion to ‘int’ from ‘unsigned int’ may change the sign of the result [-Wsign-conversion]

[ERROR]   int newPos = jol->size;

[ERROR]                ^~~

[WARNING] /usr/lib/postgresql/pljava/pljava-so/src/main/c/Backend.c:1218:16: warning: conversion to ‘int’ from ‘unsigned int’ may change the sign of the result [-Wsign-conversion]

[ERROR]    int newCap = jol->capacity * 2;

[ERROR]                 ^~~

[WARNING] /usr/lib/postgresql/pljava/pljava-so/src/main/c/Backend.c:1219:56: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]

[ERROR]    JavaVMOption* newOpts = (JavaVMOption*)palloc(newCap * sizeof(JavaVMOption));

[ERROR]                                                         ^

[WARNING] /usr/lib/postgresql/pljava/pljava-so/src/main/c/Backend.c:1220:40: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]

[ERROR]    memcpy(newOpts, jol->options, newPos * sizeof(JavaVMOption));

[ERROR]                                         ^

[WARNING] /usr/lib/postgresql/pljava/pljava-so/src/main/c/Backend.c:1223:19: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]

[ERROR]    jol->capacity = newCap;

[ERROR]                    ^~~~~~

[ERROR] /usr/lib/postgresql/pljava/pljava-so/src/main/c/Backend.c: In function ‘initializeJavaVM’:

[WARNING] /usr/lib/postgresql/pljava/pljava-so/src/main/c/Backend.c:1370:21: warning: conversion to ‘jint {aka int}’ from ‘unsigned int’ may change the sign of the result [-Wsign-conversion]

[ERROR]   vm_args.nOptions = optList->size;

[ERROR]                      ^~~~~~~

[ERROR] In file included from /usr/include/postgresql/10/server/port/atomics.h:124:0,

[ERROR]                  from /usr/include/postgresql/10/server/utils/dsa.h:17,

[ERROR] In file included from /usr/include/postgresql/10/server/utils/guc.h:18:0,

[ERROR]                  from /usr/include/postgresql/10/server/tcop/tcopprot.h:26,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/pljava.h:39,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/JNICalls.h:18,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/PgObject.h:12,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/PgObject_priv.h:12,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/type/Type_priv.h:16,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/Boolean.c:11:

[ERROR] /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/Boolean.c: In function ‘_booleanArray_coerceDatum’:

[WARNING] /usr/include/postgresql/10/server/utils/array.h:287:22: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]

[ERROR]       2 * sizeof(int) * ARR_NDIM(a)) \

[ERROR]                       ^

[ERROR] /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/Boolean.c:48:23: note: in expansion of macro ‘ARR_NULLBITMAP’

[ERROR]    bits8* nullBitMap = ARR_NULLBITMAP(v);

[ERROR]                        ^~~~~~~~~~~~~~

[ERROR] In file included from /usr/include/postgresql/10/server/postgres.h:47:0,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/pljava.h:33,

[ERROR]                  from /usr/include/postgresql/10/server/nodes/tidbitmap.h:26,

[ERROR]                  from /usr/include/postgresql/10/server/access/genam.h:19,

[ERROR]                  from /usr/include/postgresql/10/server/nodes/execnodes.h:17,

[ERROR]                  from /usr/include/postgresql/10/server/commands/trigger.h:17,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/Invocation.h:20,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/Byte.c:11:

[ERROR] /usr/include/postgresql/10/server/port/atomics/generic.h: In function ‘pg_atomic_add_fetch_u32_impl’:

[WARNING] /usr/include/postgresql/10/server/port/atomics/generic.h:245:49: warning: conversion to ‘uint32 {aka unsigned int}’ from ‘int32 {aka int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]   return pg_atomic_fetch_add_u32_impl(ptr, add_) + add_;

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/JNICalls.h:18,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/PgObject.h:12,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/PgObject_priv.h:12,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/type/Type_priv.h:16,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/Boolean.c:11:

[WARNING] /usr/include/postgresql/10/server/utils/array.h:295:48: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]

[ERROR]    MAXALIGN(sizeof(ArrayType) + 2 * sizeof(int) * (ndims))

[ERROR]                                                 ^

[ERROR] /usr/include/postgresql/10/server/c.h:653:17: note: in definition of macro ‘TYPEALIGN’

[ERROR]                                                  ^

[ERROR] /usr/include/postgresql/10/server/port/atomics/generic.h: In function ‘pg_atomic_sub_fetch_u32_impl’:

[WARNING] /usr/include/postgresql/10/server/port/atomics/generic.h:254:49: warning: conversion to ‘uint32 {aka unsigned int}’ from ‘int32 {aka int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]   return pg_atomic_fetch_sub_u32_impl(ptr, sub_) - sub_;

[ERROR]                                                  ^

[ERROR] /usr/include/postgresql/10/server/port/atomics/generic.h: In function ‘pg_atomic_add_fetch_u64_impl’:

[WARNING] /usr/include/postgresql/10/server/port/atomics/generic.h:416:49: warning: conversion to ‘long unsigned int’ from ‘int64 {aka long int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]   return pg_atomic_fetch_add_u64_impl(ptr, add_) + add_;

[ERROR]                                                  ^

[ERROR] /usr/include/postgresql/10/server/port/atomics/generic.h: In function ‘pg_atomic_sub_fetch_u64_impl’:

[WARNING] /usr/include/postgresql/10/server/port/atomics/generic.h:425:49: warning: conversion to ‘long unsigned int’ from ‘int64 {aka long int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]   return pg_atomic_fetch_sub_u64_impl(ptr, sub_) - sub_;

[ERROR]                                                  ^

[ERROR] In file included from /usr/include/postgresql/10/server/utils/guc.h:18:0,

[ERROR]                  from /usr/include/postgresql/10/server/tcop/tcopprot.h:26,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/pljava.h:39,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/JNICalls.h:18,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/PgObject.h:12,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/PgObject_priv.h:12,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/type/Type_priv.h:16,

[ERROR]   (((uintptr_t) (LEN) + ((ALIGNVAL) - 1)) & ~((uintptr_t) ((ALIGNVAL) - 1)))

[ERROR]                  ^~~

[ERROR] /usr/include/postgresql/10/server/utils/array.h:295:3: note: in expansion of macro ‘MAXALIGN’

[ERROR]    MAXALIGN(sizeof(ArrayType) + 2 * sizeof(int) * (ndims))

[ERROR]    ^~~~~~~~

[ERROR] /usr/include/postgresql/10/server/utils/array.h:301:39: note: in expansion of macro ‘ARR_OVERHEAD_NONULLS’

[ERROR]    (ARR_HASNULL(a) ? (a)->dataoffset : ARR_OVERHEAD_NONULLS(ARR_NDIM(a)))

[ERROR]                                        ^~~~~~~~~~~~~~~~~~~~

[ERROR] In file included from /usr/include/postgresql/10/server/port/atomics.h:124:0,

[ERROR]                  from /usr/include/postgresql/10/server/utils/dsa.h:17,

[ERROR]                  from /usr/include/postgresql/10/server/nodes/tidbitmap.h:26,

[ERROR]                  from /usr/include/postgresql/10/server/access/genam.h:19,

[ERROR]                  from /usr/include/postgresql/10/server/nodes/execnodes.h:17,

[ERROR]                  from /usr/include/postgresql/10/server/catalog/partition.h:18,

[ERROR]                  from /usr/include/postgresql/10/server/executor/executor.h:17,

[ERROR]                  from /usr/include/postgresql/10/server/funcapi.h:22,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/Composite.c:14:

[ERROR] /usr/include/postgresql/10/server/port/atomics/generic.h: In function ‘pg_atomic_add_fetch_u32_impl’:

[WARNING] /usr/include/postgresql/10/server/port/atomics/generic.h:245:49: warning: conversion to ‘uint32 {aka unsigned int}’ from ‘int32 {aka int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/Byte.c:9:

[ERROR] /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/Byte.c: In function ‘_byteArray_coerceDatum’:

[WARNING] /usr/include/postgresql/10/server/utils/array.h:287:22: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]

[ERROR]       2 * sizeof(int) * ARR_NDIM(a)) \

[ERROR]                       ^

[ERROR]   return pg_atomic_fetch_add_u32_impl(ptr, add_) + add_;

[ERROR]                                                  ^

[ERROR] /usr/include/postgresql/10/server/port/atomics/generic.h: In function ‘pg_atomic_sub_fetch_u32_impl’:

[WARNING] /usr/include/postgresql/10/server/port/atomics/generic.h:254:49: warning: conversion to ‘uint32 {aka unsigned int}’ from ‘int32 {aka int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]   return pg_atomic_fetch_sub_u32_impl(ptr, sub_) - sub_;

[ERROR]                                                  ^

[ERROR] /usr/include/postgresql/10/server/utils/array.h:307:21: note: in expansion of macro ‘ARR_DATA_OFFSET’

[ERROR] /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/Byte.c:50:23: note: in expansion of macro ‘ARR_NULLBITMAP’

[ERROR]    bits8* nullBitMap = ARR_NULLBITMAP(v);

[ERROR]                        ^~~~~~~~~~~~~~

[ERROR] In file included from /usr/include/postgresql/10/server/postgres.h:47:0,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/pljava.h:33,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/JNICalls.h:18,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/PgObject.h:12,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/PgObject_priv.h:12,

[ERROR] In file included from /usr/include/postgresql/10/server/port/atomics.h:124:0,

[ERROR]                  from /usr/include/postgresql/10/server/utils/dsa.h:17,

[ERROR]                  from /usr/include/postgresql/10/server/nodes/tidbitmap.h:26,

[ERROR]                  from /usr/include/postgresql/10/server/access/genam.h:19,

[ERROR]                  from /usr/include/postgresql/10/server/nodes/execnodes.h:17,

[ERROR]                  from /usr/include/postgresql/10/server/commands/trigger.h:17,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/Invocation.h:20,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/Coerce.c:12:

[ERROR] /usr/include/postgresql/10/server/port/atomics/generic.h: In function ‘pg_atomic_add_fetch_u32_impl’:

[WARNING] /usr/include/postgresql/10/server/port/atomics/generic.h:245:49: warning: conversion to ‘uint32 {aka unsigned int}’ from ‘int32 {aka int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]   return pg_atomic_fetch_add_u32_impl(ptr, add_) + add_;

[ERROR] /usr/include/postgresql/10/server/port/atomics/generic.h: In function ‘pg_atomic_add_fetch_u64_impl’:

[WARNING] /usr/include/postgresql/10/server/port/atomics/generic.h:416:49: warning: conversion to ‘long unsigned int’ from ‘int64 {aka long int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]   return pg_atomic_fetch_add_u64_impl(ptr, add_) + add_;

[ERROR]                                                  ^

[ERROR] /usr/include/postgresql/10/server/port/atomics/generic.h: In function ‘pg_atomic_sub_fetch_u64_impl’:

[WARNING] /usr/include/postgresql/10/server/port/atomics/generic.h:425:49: warning: conversion to ‘long unsigned int’ from ‘int64 {aka long int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]   return pg_atomic_fetch_sub_u64_impl(ptr, sub_) - sub_;

[ERROR]                                                  ^

[ERROR]    (((char *) (a)) + ARR_DATA_OFFSET(a))

[ERROR]                                                  ^

[ERROR] /usr/include/postgresql/10/server/port/atomics/generic.h: In function ‘pg_atomic_sub_fetch_u32_impl’:

[WARNING] /usr/include/postgresql/10/server/port/atomics/generic.h:254:49: warning: conversion to ‘uint32 {aka unsigned int}’ from ‘int32 {aka int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]   return pg_atomic_fetch_sub_u32_impl(ptr, sub_) - sub_;

[ERROR]                                                  ^

[ERROR] /usr/include/postgresql/10/server/port/atomics/generic.h: In function ‘pg_atomic_add_fetch_u64_impl’:

[WARNING] /usr/include/postgresql/10/server/port/atomics/generic.h:416:49: warning: conversion to ‘long unsigned int’ from ‘int64 {aka long int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]   return pg_atomic_fetch_add_u64_impl(ptr, add_) + add_;

[ERROR]                                                  ^

[ERROR] /usr/include/postgresql/10/server/port/atomics/generic.h: In function ‘pg_atomic_sub_fetch_u64_impl’:

[WARNING] /usr/include/postgresql/10/server/port/atomics/generic.h:425:49: warning: conversion to ‘long unsigned int’ from ‘int64 {aka long int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]   return pg_atomic_fetch_sub_u64_impl(ptr, sub_) - sub_;

[ERROR]                                                  ^

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/type/Type_priv.h:16,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/Byte.c:9:

[WARNING] /usr/include/postgresql/10/server/utils/array.h:295:48: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]

[ERROR]    MAXALIGN(sizeof(ArrayType) + 2 * sizeof(int) * (ndims))

[ERROR]                                                 ^

[ERROR] /usr/include/postgresql/10/server/c.h:653:17: note: in definition of macro ‘TYPEALIGN’

[ERROR]   (((uintptr_t) (LEN) + ((ALIGNVAL) - 1)) & ~((uintptr_t) ((ALIGNVAL) - 1)))

[ERROR]                  ^~~

[ERROR] /usr/include/postgresql/10/server/utils/array.h:295:3: note: in expansion of macro ‘MAXALIGN’

[ERROR]    MAXALIGN(sizeof(ArrayType) + 2 * sizeof(int) * (ndims))

[ERROR]    ^~~~~~~~

[ERROR] /usr/include/postgresql/10/server/utils/array.h:301:39: note: in expansion of macro ‘ARR_OVERHEAD_NONULLS’

[ERROR]    (ARR_HASNULL(a) ? (a)->dataoffset : ARR_OVERHEAD_NONULLS(ARR_NDIM(a)))

[ERROR]                                        ^~~~~~~~~~~~~~~~~~~~

[ERROR] /usr/include/postgresql/10/server/utils/array.h:307:21: note: in expansion of macro ‘ARR_DATA_OFFSET’

[ERROR]    (((char *) (a)) + ARR_DATA_OFFSET(a))

[ERROR]                      ^~~~~~~~~~~~~~~

[ERROR] /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/Byte.c:51:27: note: in expansion of macro ‘ARR_DATA_PTR’

[ERROR]    jbyte* values = (jbyte*)ARR_DATA_PTR(v);

[ERROR]                            ^~~~~~~~~~~~

[ERROR] In file included from /usr/include/postgresql/10/server/utils/guc.h:18:0,

[ERROR]                  from /usr/include/postgresql/10/server/tcop/tcopprot.h:26,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/pljava.h:39,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/JNICalls.h:18,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/PgObject.h:12,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/PgObject_priv.h:12,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/type/Type_priv.h:16,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/Byte.c:9:

[WARNING] /usr/include/postgresql/10/server/utils/array.h:301:37: warning: conversion to ‘long unsigned int’ from ‘int32 {aka int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]    (ARR_HASNULL(a) ? (a)->dataoffset : ARR_OVERHEAD_NONULLS(ARR_NDIM(a)))

[ERROR]                                      ^

[ERROR] /usr/include/postgresql/10/server/utils/array.h:307:21: note: in expansion of macro ‘ARR_DATA_OFFSET’

[ERROR]    (((char *) (a)) + ARR_DATA_OFFSET(a))

[ERROR]                      ^~~~~~~~~~~~~~~

[ERROR] /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/Byte.c:51:27: note: in expansion of macro ‘ARR_DATA_PTR’

[ERROR]    jbyte* values = (jbyte*)ARR_DATA_PTR(v);

[ERROR]                            ^~~~~~~~~~~~

[ERROR] In file included from /usr/include/postgresql/10/server/postgres.h:47:0,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/pljava.h:33,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/JNICalls.h:18,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/PgObject.h:12,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/PgObject_priv.h:12,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/type/Type_priv.h:16,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/Byte.c:9:

[WARNING] /usr/include/postgresql/10/server/utils/array.h:295:48: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]

[ERROR]    MAXALIGN(sizeof(ArrayType) + 2 * sizeof(int) * (ndims))

[ERROR]                                                 ^

[ERROR] /usr/include/postgresql/10/server/c.h:653:17: note: in definition of macro ‘TYPEALIGN’

[ERROR]                      ^~~~~~~~~~~~~~~

[ERROR] /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/Boolean.c:49:33: note: in expansion of macro ‘ARR_DATA_PTR’

[ERROR]    jboolean* values = (jboolean*)ARR_DATA_PTR(v);

[ERROR]                                  ^~~~~~~~~~~~

[ERROR] In file included from /usr/include/postgresql/10/server/utils/guc.h:18:0,

[ERROR]   (((uintptr_t) (LEN) + ((ALIGNVAL) - 1)) & ~((uintptr_t) ((ALIGNVAL) - 1)))

[ERROR]                  ^~~

[ERROR]                  from /usr/include/postgresql/10/server/tcop/tcopprot.h:26,

[ERROR] /usr/include/postgresql/10/server/utils/array.h:295:3: note: in expansion of macro ‘MAXALIGN’

[ERROR]    MAXALIGN(sizeof(ArrayType) + 2 * sizeof(int) * (ndims))

[ERROR]    ^~~~~~~~

[ERROR] /usr/include/postgresql/10/server/utils/array.h:301:39: note: in expansion of macro ‘ARR_OVERHEAD_NONULLS’

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/pljava.h:39,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/JNICalls.h:18,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/PgObject.h:12,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/PgObject_priv.h:12,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/type/Type_priv.h:16,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/Boolean.c:11:

[ERROR]    (ARR_HASNULL(a) ? (a)->dataoffset : ARR_OVERHEAD_NONULLS(ARR_NDIM(a)))

[ERROR]                                        ^~~~~~~~~~~~~~~~~~~~

[ERROR] /usr/include/postgresql/10/server/utils/array.h:307:21: note: in expansion of macro ‘ARR_DATA_OFFSET’

[ERROR]    (((char *) (a)) + ARR_DATA_OFFSET(a))

[ERROR]                      ^~~~~~~~~~~~~~~

[WARNING] /usr/include/postgresql/10/server/utils/array.h:301:37: warning: conversion to ‘long unsigned int’ from ‘int32 {aka int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]    (ARR_HASNULL(a) ? (a)->dataoffset : ARR_OVERHEAD_NONULLS(ARR_NDIM(a)))

[ERROR]                                      ^

[ERROR] /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/Byte.c:63:56: note: in expansion of macro ‘ARR_DATA_PTR’

[ERROR] /usr/include/postgresql/10/server/utils/array.h:307:21: note: in expansion of macro ‘ARR_DATA_OFFSET’

[ERROR]    JNI_setByteArrayRegion(byteArray, 0, nElems, (jbyte*)ARR_DATA_PTR(v));

[ERROR]                                                         ^~~~~~~~~~~~

[ERROR] In file included from /usr/include/postgresql/10/server/utils/guc.h:18:0,

[ERROR]                  from /usr/include/postgresql/10/server/tcop/tcopprot.h:26,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/pljava.h:39,

[ERROR]    (((char *) (a)) + ARR_DATA_OFFSET(a))

[ERROR]                      ^~~~~~~~~~~~~~~

[ERROR] /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/Boolean.c:49:33: note: in expansion of macro ‘ARR_DATA_PTR’

[ERROR]    jboolean* values = (jboolean*)ARR_DATA_PTR(v);

[ERROR]                                  ^~~~~~~~~~~~

[ERROR] In file included from /usr/include/postgresql/10/server/postgres.h:47:0,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/pljava.h:33,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/JNICalls.h:18,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/PgObject.h:12,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/PgObject_priv.h:12,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/type/Type_priv.h:16,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/Boolean.c:11:

[WARNING] /usr/include/postgresql/10/server/utils/array.h:295:48: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]

[ERROR]    MAXALIGN(sizeof(ArrayType) + 2 * sizeof(int) * (ndims))

[ERROR]                                                 ^

[ERROR] /usr/include/postgresql/10/server/c.h:653:17: note: in definition of macro ‘TYPEALIGN’

[ERROR]   (((uintptr_t) (LEN) + ((ALIGNVAL) - 1)) & ~((uintptr_t) ((ALIGNVAL) - 1)))

[ERROR]                  ^~~

[ERROR] /usr/include/postgresql/10/server/utils/array.h:295:3: note: in expansion of macro ‘MAXALIGN’

[ERROR]    MAXALIGN(sizeof(ArrayType) + 2 * sizeof(int) * (ndims))

[ERROR]    ^~~~~~~~

[ERROR] /usr/include/postgresql/10/server/utils/array.h:301:39: note: in expansion of macro ‘ARR_OVERHEAD_NONULLS’

[ERROR]    (ARR_HASNULL(a) ? (a)->dataoffset : ARR_OVERHEAD_NONULLS(ARR_NDIM(a)))

[ERROR]                                        ^~~~~~~~~~~~~~~~~~~~

[ERROR] /usr/include/postgresql/10/server/utils/array.h:307:21: note: in expansion of macro ‘ARR_DATA_OFFSET’

[ERROR]    (((char *) (a)) + ARR_DATA_OFFSET(a))

[ERROR]                      ^~~~~~~~~~~~~~~

[ERROR] /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/Boolean.c:61:65: note: in expansion of macro ‘ARR_DATA_PTR’

[ERROR]    JNI_setBooleanArrayRegion(booleanArray, 0, nElems, (jboolean*)ARR_DATA_PTR(v));

[ERROR]                                                                  ^~~~~~~~~~~~

[ERROR] In file included from /usr/include/postgresql/10/server/utils/guc.h:18:0,

[ERROR]                  from /usr/include/postgresql/10/server/tcop/tcopprot.h:26,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/pljava.h:39,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/JNICalls.h:18,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/PgObject.h:12,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/PgObject_priv.h:12,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/type/Type_priv.h:16,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/Boolean.c:11:

[WARNING] /usr/include/postgresql/10/server/utils/array.h:301:37: warning: conversion to ‘long unsigned int’ from ‘int32 {aka int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]    (ARR_HASNULL(a) ? (a)->dataoffset : ARR_OVERHEAD_NONULLS(ARR_NDIM(a)))

[ERROR]                                      ^

[ERROR] /usr/include/postgresql/10/server/utils/array.h:307:21: note: in expansion of macro ‘ARR_DATA_OFFSET’

[ERROR]    (((char *) (a)) + ARR_DATA_OFFSET(a))

[ERROR]                      ^~~~~~~~~~~~~~~

[ERROR] /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/Boolean.c:61:65: note: in expansion of macro ‘ARR_DATA_PTR’

[ERROR]    JNI_setBooleanArrayRegion(booleanArray, 0, nElems, (jboolean*)ARR_DATA_PTR(v));

[ERROR]                                                                  ^~~~~~~~~~~~

[ERROR] In file included from /usr/include/postgresql/10/server/postgres.h:47:0,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/pljava.h:33,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/JNICalls.h:18,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/PgObject.h:12,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/PgObject_priv.h:12,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/type/Type_priv.h:16,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/Boolean.c:11:

[ERROR] /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/Boolean.c: In function ‘_booleanArray_coerceObject’:

[WARNING] /usr/include/postgresql/10/server/utils/array.h:295:48: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]

[ERROR]    MAXALIGN(sizeof(ArrayType) + 2 * sizeof(int) * (ndims))

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/JNICalls.h:18,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/PgObject.h:12,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/PgObject_priv.h:12,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/type/Type_priv.h:16,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/Byte.c:9:

[WARNING] /usr/include/postgresql/10/server/utils/array.h:301:37: warning: conversion to ‘long unsigned int’ from ‘int32 {aka int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]    (ARR_HASNULL(a) ? (a)->dataoffset : ARR_OVERHEAD_NONULLS(ARR_NDIM(a)))

[ERROR]                                      ^

[ERROR] /usr/include/postgresql/10/server/utils/array.h:307:21: note: in expansion of macro ‘ARR_DATA_OFFSET’

[ERROR]    (((char *) (a)) + ARR_DATA_OFFSET(a))

[ERROR]                      ^~~~~~~~~~~~~~~

[ERROR] /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/Byte.c:63:56: note: in expansion of macro ‘ARR_DATA_PTR’

[ERROR]    JNI_setByteArrayRegion(byteArray, 0, nElems, (jbyte*)ARR_DATA_PTR(v));

[ERROR]                                                         ^~~~~~~~~~~~

[ERROR] In file included from /usr/include/postgresql/10/server/postgres.h:47:0,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/pljava.h:33,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/JNICalls.h:18,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/PgObject.h:12,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/PgObject_priv.h:12,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/type/Type_priv.h:16,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/Byte.c:9:

[ERROR] /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/Byte.c: In function ‘_byteArray_coerceObject’:

[WARNING] /usr/include/postgresql/10/server/utils/array.h:295:48: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]

[ERROR]    MAXALIGN(sizeof(ArrayType) + 2 * sizeof(int) * (ndims))

[ERROR]                                                 ^

[ERROR] /usr/include/postgresql/10/server/c.h:653:17: note: in definition of macro ‘TYPEALIGN’

[ERROR]   (((uintptr_t) (LEN) + ((ALIGNVAL) - 1)) & ~((uintptr_t) ((ALIGNVAL) - 1)))

[ERROR]                  ^~~

[ERROR] /usr/include/postgresql/10/server/utils/array.h:295:3: note: in expansion of macro ‘MAXALIGN’

[ERROR]    MAXALIGN(sizeof(ArrayType) + 2 * sizeof(int) * (ndims))

[ERROR]    ^~~~~~~~

[ERROR] /usr/include/postgresql/10/server/utils/array.h:301:39: note: in expansion of macro ‘ARR_OVERHEAD_NONULLS’

[ERROR]    (ARR_HASNULL(a) ? (a)->dataoffset : ARR_OVERHEAD_NONULLS(ARR_NDIM(a)))

[ERROR]                                        ^~~~~~~~~~~~~~~~~~~~

[ERROR] /usr/include/postgresql/10/server/utils/array.h:307:21: note: in expansion of macro ‘ARR_DATA_OFFSET’

[ERROR]    (((char *) (a)) + ARR_DATA_OFFSET(a))

[ERROR]                      ^~~~~~~~~~~~~~~

[ERROR] /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/Byte.c:78:67: note: in expansion of macro ‘ARR_DATA_PTR’

[ERROR]   JNI_getByteArrayRegion((jbyteArray)byteArray, 0, nElems, (jbyte*)ARR_DATA_PTR(v));

[ERROR]                                                                    ^~~~~~~~~~~~

[ERROR] In file included from /usr/include/postgresql/10/server/utils/guc.h:18:0,

[ERROR]                  from /usr/include/postgresql/10/server/tcop/tcopprot.h:26,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/pljava.h:39,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/JNICalls.h:18,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/PgObject.h:12,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/PgObject_priv.h:12,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/type/Type_priv.h:16,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/Byte.c:9:

[WARNING] /usr/include/postgresql/10/server/utils/array.h:301:37: warning: conversion to ‘long unsigned int’ from ‘int32 {aka int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]    (ARR_HASNULL(a) ? (a)->dataoffset : ARR_OVERHEAD_NONULLS(ARR_NDIM(a)))

[ERROR]                                      ^

[ERROR] /usr/include/postgresql/10/server/utils/array.h:307:21: note: in expansion of macro ‘ARR_DATA_OFFSET’

[ERROR]    (((char *) (a)) + ARR_DATA_OFFSET(a))

[ERROR]                      ^~~~~~~~~~~~~~~

[ERROR] /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/Byte.c:78:67: note: in expansion of macro ‘ARR_DATA_PTR’

[ERROR]   JNI_getByteArrayRegion((jbyteArray)byteArray, 0, nElems, (jbyte*)ARR_DATA_PTR(v));

[ERROR]                                                                    ^~~~~~~~~~~~

[ERROR] In file included from /usr/include/postgresql/10/server/port/atomics.h:124:0,

[ERROR]                  from /usr/include/postgresql/10/server/utils/dsa.h:17,

[ERROR]                  from /usr/include/postgresql/10/server/nodes/tidbitmap.h:26,

[ERROR]                  from /usr/include/postgresql/10/server/access/genam.h:19,

[ERROR]                  from /usr/include/postgresql/10/server/nodes/execnodes.h:17,

[ERROR]                  from /usr/include/postgresql/10/server/commands/trigger.h:17,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/Invocation.h:20,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/Double.c:13:

[ERROR] /usr/include/postgresql/10/server/port/atomics/generic.h: In function ‘pg_atomic_add_fetch_u32_impl’:

[WARNING] /usr/include/postgresql/10/server/port/atomics/generic.h:245:49: warning: conversion to ‘uint32 {aka unsigned int}’ from ‘int32 {aka int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]   return pg_atomic_fetch_add_u32_impl(ptr, add_) + add_;

[ERROR]                                                  ^

[ERROR] /usr/include/postgresql/10/server/port/atomics/generic.h: In function ‘pg_atomic_sub_fetch_u32_impl’:

[WARNING] /usr/include/postgresql/10/server/port/atomics/generic.h:254:49: warning: conversion to ‘uint32 {aka unsigned int}’ from ‘int32 {aka int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]   return pg_atomic_fetch_sub_u32_impl(ptr, sub_) - sub_;

[ERROR]                                                  ^

[ERROR] /usr/include/postgresql/10/server/port/atomics/generic.h: In function ‘pg_atomic_add_fetch_u64_impl’:

[WARNING] /usr/include/postgresql/10/server/port/atomics/generic.h:416:49: warning: conversion to ‘long unsigned int’ from ‘int64 {aka long int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]   return pg_atomic_fetch_add_u64_impl(ptr, add_) + add_;

[ERROR]                                                  ^

[ERROR] /usr/include/postgresql/10/server/port/atomics/generic.h: In function ‘pg_atomic_sub_fetch_u64_impl’:

[WARNING] /usr/include/postgresql/10/server/port/atomics/generic.h:425:49: warning: conversion to ‘long unsigned int’ from ‘int64 {aka long int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]   return pg_atomic_fetch_sub_u64_impl(ptr, sub_) - sub_;

[ERROR]                                                  ^

[ERROR] In file included from /usr/include/postgresql/10/server/utils/guc.h:18:0,

[ERROR]                  from /usr/include/postgresql/10/server/tcop/tcopprot.h:26,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/pljava.h:39,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/JNICalls.h:18,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/PgObject.h:12,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/PgObject_priv.h:12,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/type/Type_priv.h:16,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/Double.c:11:

[ERROR] /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/Double.c: In function ‘_doubleArray_coerceDatum’:

[WARNING] /usr/include/postgresql/10/server/utils/array.h:287:22: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]

[ERROR]       2 * sizeof(int) * ARR_NDIM(a)) \

[ERROR]                       ^

[ERROR] /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/Double.c:55:23: note: in expansion of macro ‘ARR_NULLBITMAP’

[ERROR]    bits8* nullBitMap = ARR_NULLBITMAP(v);

[ERROR]                        ^~~~~~~~~~~~~~

[ERROR] In file included from /usr/include/postgresql/10/server/postgres.h:47:0,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/pljava.h:33,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/JNICalls.h:18,

[ERROR]                                                 ^

[ERROR] /usr/include/postgresql/10/server/c.h:653:17: note: in definition of macro ‘TYPEALIGN’

[ERROR]   (((uintptr_t) (LEN) + ((ALIGNVAL) - 1)) & ~((uintptr_t) ((ALIGNVAL) - 1)))

[ERROR]                  ^~~

[ERROR] /usr/include/postgresql/10/server/utils/array.h:295:3: note: in expansion of macro ‘MAXALIGN’

[ERROR]    MAXALIGN(sizeof(ArrayType) + 2 * sizeof(int) * (ndims))

[ERROR]    ^~~~~~~~

[ERROR] /usr/include/postgresql/10/server/utils/array.h:301:39: note: in expansion of macro ‘ARR_OVERHEAD_NONULLS’

[ERROR]    (ARR_HASNULL(a) ? (a)->dataoffset : ARR_OVERHEAD_NONULLS(ARR_NDIM(a)))

[ERROR]                                        ^~~~~~~~~~~~~~~~~~~~

[ERROR] /usr/include/postgresql/10/server/utils/array.h:307:21: note: in expansion of macro ‘ARR_DATA_OFFSET’

[ERROR]    (((char *) (a)) + ARR_DATA_OFFSET(a))

[ERROR]                      ^~~~~~~~~~~~~~~

[ERROR] /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/Boolean.c:80:27: note: in expansion of macro ‘ARR_DATA_PTR’

[ERROR]         nElems, (jboolean*)ARR_DATA_PTR(v));

[ERROR]                            ^~~~~~~~~~~~

[ERROR] In file included from /usr/include/postgresql/10/server/utils/guc.h:18:0,

[ERROR]                  from /usr/include/postgresql/10/server/tcop/tcopprot.h:26,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/pljava.h:39,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/JNICalls.h:18,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/PgObject.h:12,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/PgObject_priv.h:12,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/type/Type_priv.h:16,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/Boolean.c:11:

[WARNING] /usr/include/postgresql/10/server/utils/array.h:301:37: warning: conversion to ‘long unsigned int’ from ‘int32 {aka int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]    (ARR_HASNULL(a) ? (a)->dataoffset : ARR_OVERHEAD_NONULLS(ARR_NDIM(a)))

[ERROR]                                      ^

[ERROR] /usr/include/postgresql/10/server/utils/array.h:307:21: note: in expansion of macro ‘ARR_DATA_OFFSET’

[ERROR]    (((char *) (a)) + ARR_DATA_OFFSET(a))

[ERROR]                      ^~~~~~~~~~~~~~~

[ERROR] /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/Boolean.c:80:27: note: in expansion of macro ‘ARR_DATA_PTR’

[ERROR]         nElems, (jboolean*)ARR_DATA_PTR(v));

[ERROR]                            ^~~~~~~~~~~~

[ERROR] In file included from /usr/include/postgresql/10/server/postgres.h:47:0,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/pljava.h:33,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/JNICalls.h:18,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/PgObject.h:12,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/PgObject_priv.h:12,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/type/Type_priv.h:16,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/Boolean.c:11:

[WARNING] /usr/include/postgresql/10/server/utils/array.h:295:48: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]

[ERROR]    MAXALIGN(sizeof(ArrayType) + 2 * sizeof(int) * (ndims))

[ERROR]                                                 ^

[ERROR] /usr/include/postgresql/10/server/c.h:653:17: note: in definition of macro ‘TYPEALIGN’

[ERROR]   (((uintptr_t) (LEN) + ((ALIGNVAL) - 1)) & ~((uintptr_t) ((ALIGNVAL) - 1)))

[ERROR]                  ^~~

[ERROR] /usr/include/postgresql/10/server/utils/array.h:295:3: note: in expansion of macro ‘MAXALIGN’

[ERROR]    MAXALIGN(sizeof(ArrayType) + 2 * sizeof(int) * (ndims))

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/PgObject.h:12,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/PgObject_priv.h:12,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/type/Type_priv.h:16,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/Double.c:11:

[WARNING] /usr/include/postgresql/10/server/utils/array.h:295:48: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]

[ERROR]    MAXALIGN(sizeof(ArrayType) + 2 * sizeof(int) * (ndims))

[ERROR]                                                 ^

[ERROR] /usr/include/postgresql/10/server/c.h:653:17: note: in definition of macro ‘TYPEALIGN’

[ERROR]   (((uintptr_t) (LEN) + ((ALIGNVAL) - 1)) & ~((uintptr_t) ((ALIGNVAL) - 1)))

[ERROR]                  ^~~

[ERROR] /usr/include/postgresql/10/server/utils/array.h:295:3: note: in expansion of macro ‘MAXALIGN’

[ERROR]    MAXALIGN(sizeof(ArrayType) + 2 * sizeof(int) * (ndims))

[ERROR]    ^~~~~~~~

[ERROR] /usr/include/postgresql/10/server/utils/array.h:301:39: note: in expansion of macro ‘ARR_OVERHEAD_NONULLS’

[ERROR]    ^~~~~~~~

[ERROR] /usr/include/postgresql/10/server/utils/array.h:301:39: note: in expansion of macro ‘ARR_OVERHEAD_NONULLS’

[ERROR]    (ARR_HASNULL(a) ? (a)->dataoffset : ARR_OVERHEAD_NONULLS(ARR_NDIM(a)))

[ERROR]                                        ^~~~~~~~~~~~~~~~~~~~

[ERROR] /usr/include/postgresql/10/server/utils/array.h:307:21: note: in expansion of macro ‘ARR_DATA_OFFSET’

[ERROR]    (((char *) (a)) + ARR_DATA_OFFSET(a))

[ERROR]                      ^~~~~~~~~~~~~~~

[ERROR] /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/Boolean.c:84:32: note: in expansion of macro ‘ARR_DATA_PTR’

[ERROR]    jboolean *array = (jboolean*)ARR_DATA_PTR(v);

[ERROR]                                 ^~~~~~~~~~~~

[ERROR] In file included from /usr/include/postgresql/10/server/utils/guc.h:18:0,

[ERROR]                  from /usr/include/postgresql/10/server/tcop/tcopprot.h:26,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/pljava.h:39,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/JNICalls.h:18,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/PgObject.h:12,

[ERROR]    (ARR_HASNULL(a) ? (a)->dataoffset : ARR_OVERHEAD_NONULLS(ARR_NDIM(a)))

[ERROR]                                        ^~~~~~~~~~~~~~~~~~~~

[ERROR] /usr/include/postgresql/10/server/utils/array.h:307:21: note: in expansion of macro ‘ARR_DATA_OFFSET’

[ERROR]    (((char *) (a)) + ARR_DATA_OFFSET(a))

[ERROR]                      ^~~~~~~~~~~~~~~

[ERROR] /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/Double.c:56:31: note: in expansion of macro ‘ARR_DATA_PTR’

[ERROR]    jdouble* values = (jdouble*)ARR_DATA_PTR(v);

[ERROR]                                ^~~~~~~~~~~~

[ERROR] In file included from /usr/include/postgresql/10/server/utils/guc.h:18:0,

[ERROR]                  from /usr/include/postgresql/10/server/tcop/tcopprot.h:26,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/PgObject_priv.h:12,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/type/Type_priv.h:16,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/Boolean.c:11:

[WARNING] /usr/include/postgresql/10/server/utils/array.h:301:37: warning: conversion to ‘long unsigned int’ from ‘int32 {aka int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]    (ARR_HASNULL(a) ? (a)->dataoffset : ARR_OVERHEAD_NONULLS(ARR_NDIM(a)))

[ERROR]                                      ^

[ERROR] /usr/include/postgresql/10/server/utils/array.h:307:21: note: in expansion of macro ‘ARR_DATA_OFFSET’

[ERROR]    (((char *) (a)) + ARR_DATA_OFFSET(a))

[ERROR]                      ^~~~~~~~~~~~~~~

[ERROR] /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/Boolean.c:84:32: note: in expansion of macro ‘ARR_DATA_PTR’

[ERROR]    jboolean *array = (jboolean*)ARR_DATA_PTR(v);

[ERROR]                                 ^~~~~~~~~~~~

[ERROR] In file included from /usr/include/postgresql/10/server/port/atomics.h:124:0,

[ERROR]                  from /usr/include/postgresql/10/server/utils/dsa.h:17,

[ERROR]                  from /usr/include/postgresql/10/server/nodes/tidbitmap.h:26,

[ERROR]                  from /usr/include/postgresql/10/server/access/genam.h:19,

[ERROR]                  from /usr/include/postgresql/10/server/nodes/execnodes.h:17,

[ERROR]                  from /usr/include/postgresql/10/server/commands/trigger.h:17,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/pljava.h:39,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/JNICalls.h:18,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/PgObject.h:12,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/PgObject_priv.h:12,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/type/Type_priv.h:16,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/Double.c:11:

[WARNING] /usr/include/postgresql/10/server/utils/array.h:301:37: warning: conversion to ‘long unsigned int’ from ‘int32 {aka int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]    (ARR_HASNULL(a) ? (a)->dataoffset : ARR_OVERHEAD_NONULLS(ARR_NDIM(a)))

[ERROR]                                      ^

[ERROR] /usr/include/postgresql/10/server/utils/array.h:307:21: note: in expansion of macro ‘ARR_DATA_OFFSET’

[ERROR]    (((char *) (a)) + ARR_DATA_OFFSET(a))

[ERROR]                      ^~~~~~~~~~~~~~~

[ERROR] /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/Double.c:56:31: note: in expansion of macro ‘ARR_DATA_PTR’

[ERROR]    jdouble* values = (jdouble*)ARR_DATA_PTR(v);

[ERROR]                  from /usr/include/postgresql/10/server/executor/spi.h:16,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/c/Exception.c:16:

[ERROR] /usr/include/postgresql/10/server/port/atomics/generic.h: In function ‘pg_atomic_add_fetch_u32_impl’:

[WARNING] /usr/include/postgresql/10/server/port/atomics/generic.h:245:49: warning: conversion to ‘uint32 {aka unsigned int}’ from ‘int32 {aka int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]   return pg_atomic_fetch_add_u32_impl(ptr, add_) + add_;

[ERROR]                                                  ^

[ERROR] /usr/include/postgresql/10/server/port/atomics/generic.h: In function ‘pg_atomic_sub_fetch_u32_impl’:

[WARNING] /usr/include/postgresql/10/server/port/atomics/generic.h:254:49: warning: conversion to ‘uint32 {aka unsigned int}’ from ‘int32 {aka int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]   return pg_atomic_fetch_sub_u32_impl(ptr, sub_) - sub_;

[ERROR]                                                  ^

[ERROR] /usr/include/postgresql/10/server/port/atomics/generic.h: In function ‘pg_atomic_add_fetch_u64_impl’:

[WARNING] /usr/include/postgresql/10/server/port/atomics/generic.h:416:49: warning: conversion to ‘long unsigned int’ from ‘int64 {aka long int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]   return pg_atomic_fetch_add_u64_impl(ptr, add_) + add_;

[ERROR]                                                  ^

[ERROR] /usr/include/postgresql/10/server/port/atomics/generic.h: In function ‘pg_atomic_sub_fetch_u64_impl’:

[WARNING] /usr/include/postgresql/10/server/port/atomics/generic.h:425:49: warning: conversion to ‘long unsigned int’ from ‘int64 {aka long int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]   return pg_atomic_fetch_sub_u64_impl(ptr, sub_) - sub_;

[ERROR]                                                  ^

[ERROR]                                ^~~~~~~~~~~~

[ERROR] In file included from /usr/include/postgresql/10/server/postgres.h:47:0,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/pljava.h:33,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/JNICalls.h:18,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/PgObject.h:12,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/PgObject_priv.h:12,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/type/Type_priv.h:16,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/Double.c:11:

[WARNING] /usr/include/postgresql/10/server/utils/array.h:295:48: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]

[ERROR]    MAXALIGN(sizeof(ArrayType) + 2 * sizeof(int) * (ndims))

[ERROR]                                                 ^

[ERROR] /usr/include/postgresql/10/server/c.h:653:17: note: in definition of macro ‘TYPEALIGN’

[ERROR]   (((uintptr_t) (LEN) + ((ALIGNVAL) - 1)) & ~((uintptr_t) ((ALIGNVAL) - 1)))

[ERROR]                  ^~~

[ERROR] /usr/include/postgresql/10/server/utils/array.h:295:3: note: in expansion of macro ‘MAXALIGN’

[ERROR]    MAXALIGN(sizeof(ArrayType) + 2 * sizeof(int) * (ndims))

[ERROR]    ^~~~~~~~

[ERROR] /usr/include/postgresql/10/server/utils/array.h:301:39: note: in expansion of macro ‘ARR_OVERHEAD_NONULLS’

[ERROR]    (ARR_HASNULL(a) ? (a)->dataoffset : ARR_OVERHEAD_NONULLS(ARR_NDIM(a)))

[ERROR]                                        ^~~~~~~~~~~~~~~~~~~~

[ERROR] /usr/include/postgresql/10/server/utils/array.h:307:21: note: in expansion of macro ‘ARR_DATA_OFFSET’

[ERROR]    (((char *) (a)) + ARR_DATA_OFFSET(a))

[ERROR]                      ^~~~~~~~~~~~~~~

[ERROR] /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/Double.c:68:62: note: in expansion of macro ‘ARR_DATA_PTR’

[ERROR]    JNI_setDoubleArrayRegion(doubleArray, 0, nElems, (jdouble*)ARR_DATA_PTR(v));

[ERROR]                                                               ^~~~~~~~~~~~

[ERROR] In file included from /usr/include/postgresql/10/server/utils/guc.h:18:0,

[ERROR]                  from /usr/include/postgresql/10/server/tcop/tcopprot.h:26,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/pljava.h:39,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/JNICalls.h:18,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/PgObject.h:12,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/PgObject_priv.h:12,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/type/Type_priv.h:16,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/Double.c:11:

[WARNING] /usr/include/postgresql/10/server/utils/array.h:301:37: warning: conversion to ‘long unsigned int’ from ‘int32 {aka int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]    (ARR_HASNULL(a) ? (a)->dataoffset : ARR_OVERHEAD_NONULLS(ARR_NDIM(a)))

[ERROR]                                      ^

[ERROR] /usr/include/postgresql/10/server/utils/array.h:307:21: note: in expansion of macro ‘ARR_DATA_OFFSET’

[ERROR]    (((char *) (a)) + ARR_DATA_OFFSET(a))

[ERROR]                      ^~~~~~~~~~~~~~~

[ERROR] /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/Double.c:68:62: note: in expansion of macro ‘ARR_DATA_PTR’

[ERROR]    JNI_setDoubleArrayRegion(doubleArray, 0, nElems, (jdouble*)ARR_DATA_PTR(v));

[ERROR]                                                               ^~~~~~~~~~~~

[ERROR] In file included from /usr/include/postgresql/10/server/postgres.h:47:0,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/pljava.h:33,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/JNICalls.h:18,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/PgObject.h:12,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/PgObject_priv.h:12,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/type/Type_priv.h:16,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/Double.c:11:

[ERROR] /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/Double.c: In function ‘_doubleArray_coerceObject’:

[WARNING] /usr/include/postgresql/10/server/utils/array.h:295:48: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]

[ERROR]    MAXALIGN(sizeof(ArrayType) + 2 * sizeof(int) * (ndims))

[ERROR]                                                 ^

[ERROR] /usr/include/postgresql/10/server/c.h:653:17: note: in definition of macro ‘TYPEALIGN’

[ERROR]   (((uintptr_t) (LEN) + ((ALIGNVAL) - 1)) & ~((uintptr_t) ((ALIGNVAL) - 1)))

[ERROR]                  ^~~

[ERROR] /usr/include/postgresql/10/server/utils/array.h:295:3: note: in expansion of macro ‘MAXALIGN’

[ERROR]    MAXALIGN(sizeof(ArrayType) + 2 * sizeof(int) * (ndims))

[ERROR]    ^~~~~~~~

[ERROR] /usr/include/postgresql/10/server/utils/array.h:301:39: note: in expansion of macro ‘ARR_OVERHEAD_NONULLS’

[ERROR]    (ARR_HASNULL(a) ? (a)->dataoffset : ARR_OVERHEAD_NONULLS(ARR_NDIM(a)))

[ERROR]                                        ^~~~~~~~~~~~~~~~~~~~

[ERROR] /usr/include/postgresql/10/server/utils/array.h:307:21: note: in expansion of macro ‘ARR_DATA_OFFSET’

[ERROR]    (((char *) (a)) + ARR_DATA_OFFSET(a))

[ERROR]                      ^~~~~~~~~~~~~~~

[ERROR] /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/Double.c:85:25: note: in expansion of macro ‘ARR_DATA_PTR’

[ERROR]        nElems, (jdouble*)ARR_DATA_PTR(v));

[ERROR]                          ^~~~~~~~~~~~

[ERROR] In file included from /usr/include/postgresql/10/server/utils/guc.h:18:0,

[ERROR]                  from /usr/include/postgresql/10/server/tcop/tcopprot.h:26,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/pljava.h:39,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/JNICalls.h:18,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/PgObject.h:12,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/PgObject_priv.h:12,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/type/Type_priv.h:16,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/Double.c:11:

[WARNING] /usr/include/postgresql/10/server/utils/array.h:301:37: warning: conversion to ‘long unsigned int’ from ‘int32 {aka int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]    (ARR_HASNULL(a) ? (a)->dataoffset : ARR_OVERHEAD_NONULLS(ARR_NDIM(a)))

[ERROR]                                      ^

[ERROR] /usr/include/postgresql/10/server/utils/array.h:307:21: note: in expansion of macro ‘ARR_DATA_OFFSET’

[ERROR]    (((char *) (a)) + ARR_DATA_OFFSET(a))

[ERROR]                      ^~~~~~~~~~~~~~~

[ERROR] /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/Double.c:85:25: note: in expansion of macro ‘ARR_DATA_PTR’

[ERROR]        nElems, (jdouble*)ARR_DATA_PTR(v));

[ERROR]                          ^~~~~~~~~~~~

[ERROR] In file included from /usr/include/postgresql/10/server/postgres.h:47:0,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/pljava.h:33,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/JNICalls.h:18,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/PgObject.h:12,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/PgObject_priv.h:12,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/type/Type_priv.h:16,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/Double.c:11:

[WARNING] /usr/include/postgresql/10/server/utils/array.h:295:48: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]

[ERROR]    MAXALIGN(sizeof(ArrayType) + 2 * sizeof(int) * (ndims))

[ERROR]                                                 ^

[ERROR] /usr/include/postgresql/10/server/c.h:653:17: note: in definition of macro ‘TYPEALIGN’

[ERROR]   (((uintptr_t) (LEN) + ((ALIGNVAL) - 1)) & ~((uintptr_t) ((ALIGNVAL) - 1)))

[ERROR]                  ^~~

[ERROR] /usr/include/postgresql/10/server/utils/array.h:295:3: note: in expansion of macro ‘MAXALIGN’

[ERROR]    MAXALIGN(sizeof(ArrayType) + 2 * sizeof(int) * (ndims))

[ERROR]    ^~~~~~~~

[ERROR] /usr/include/postgresql/10/server/utils/array.h:301:39: note: in expansion of macro ‘ARR_OVERHEAD_NONULLS’

[ERROR]    (ARR_HASNULL(a) ? (a)->dataoffset : ARR_OVERHEAD_NONULLS(ARR_NDIM(a)))

[ERROR]                                        ^~~~~~~~~~~~~~~~~~~~

[ERROR] /usr/include/postgresql/10/server/utils/array.h:307:21: note: in expansion of macro ‘ARR_DATA_OFFSET’

[ERROR]    (((char *) (a)) + ARR_DATA_OFFSET(a))

[ERROR]                      ^~~~~~~~~~~~~~~

[ERROR] /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/Double.c:89:30: note: in expansion of macro ‘ARR_DATA_PTR’

[ERROR]    jdouble *array = (jdouble*)ARR_DATA_PTR(v);

[ERROR]                               ^~~~~~~~~~~~

[ERROR] In file included from /usr/include/postgresql/10/server/utils/guc.h:18:0,

[ERROR]                  from /usr/include/postgresql/10/server/tcop/tcopprot.h:26,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/pljava.h:39,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/JNICalls.h:18,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/PgObject.h:12,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/PgObject_priv.h:12,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/type/Type_priv.h:16,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/Double.c:11:

[WARNING] /usr/include/postgresql/10/server/utils/array.h:301:37: warning: conversion to ‘long unsigned int’ from ‘int32 {aka int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]    (ARR_HASNULL(a) ? (a)->dataoffset : ARR_OVERHEAD_NONULLS(ARR_NDIM(a)))

[ERROR]                                      ^

[ERROR] /usr/include/postgresql/10/server/utils/array.h:307:21: note: in expansion of macro ‘ARR_DATA_OFFSET’

[ERROR]    (((char *) (a)) + ARR_DATA_OFFSET(a))

[ERROR]                      ^~~~~~~~~~~~~~~

[ERROR] /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/Double.c:89:30: note: in expansion of macro ‘ARR_DATA_PTR’

[ERROR]    jdouble *array = (jdouble*)ARR_DATA_PTR(v);

[ERROR]                               ^~~~~~~~~~~~

[ERROR] In file included from /usr/include/postgresql/10/server/port/atomics.h:124:0,

[ERROR]                  from /usr/include/postgresql/10/server/utils/dsa.h:17,

[ERROR]                  from /usr/include/postgresql/10/server/nodes/tidbitmap.h:26,

[ERROR]                  from /usr/include/postgresql/10/server/access/genam.h:19,

[ERROR]                  from /usr/include/postgresql/10/server/nodes/execnodes.h:17,

[ERROR]                  from /usr/include/postgresql/10/server/commands/trigger.h:17,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/Invocation.h:20,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/c/DualState.c:24:

[ERROR] /usr/include/postgresql/10/server/port/atomics/generic.h: In function ‘pg_atomic_add_fetch_u32_impl’:

[WARNING] /usr/include/postgresql/10/server/port/atomics/generic.h:245:49: warning: conversion to ‘uint32 {aka unsigned int}’ from ‘int32 {aka int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]   return pg_atomic_fetch_add_u32_impl(ptr, add_) + add_;

[ERROR]                                                  ^

[ERROR] /usr/include/postgresql/10/server/port/atomics/generic.h: In function ‘pg_atomic_sub_fetch_u32_impl’:

[WARNING] /usr/include/postgresql/10/server/port/atomics/generic.h:254:49: warning: conversion to ‘uint32 {aka unsigned int}’ from ‘int32 {aka int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]   return pg_atomic_fetch_sub_u32_impl(ptr, sub_) - sub_;

[ERROR]                                                  ^

[ERROR] /usr/include/postgresql/10/server/port/atomics/generic.h: In function ‘pg_atomic_add_fetch_u64_impl’:

[WARNING] /usr/include/postgresql/10/server/port/atomics/generic.h:416:49: warning: conversion to ‘long unsigned int’ from ‘int64 {aka long int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]   return pg_atomic_fetch_add_u64_impl(ptr, add_) + add_;

[ERROR]                                                  ^

[ERROR] /usr/include/postgresql/10/server/port/atomics/generic.h: In function ‘pg_atomic_sub_fetch_u64_impl’:

[WARNING] /usr/include/postgresql/10/server/port/atomics/generic.h:425:49: warning: conversion to ‘long unsigned int’ from ‘int64 {aka long int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]   return pg_atomic_fetch_sub_u64_impl(ptr, sub_) - sub_;

[ERROR]                                                  ^

[ERROR] /usr/lib/postgresql/pljava/pljava-so/src/main/c/HashMap.c: In function ‘_StringKey_hashCode’:

[WARNING] /usr/lib/postgresql/pljava/pljava-so/src/main/c/HashMap.c:113:14: warning: conversion to ‘uint32 {aka unsigned int}’ from ‘char’ may change the sign of the result [-Wsign-conversion]

[ERROR]    while((c = *val++) != 0)

[ERROR]               ^

[ERROR] In file included from /usr/include/postgresql/10/server/port/atomics.h:124:0,

[ERROR]                  from /usr/include/postgresql/10/server/utils/dsa.h:17,

[ERROR]                  from /usr/include/postgresql/10/server/nodes/tidbitmap.h:26,

[ERROR]                  from /usr/include/postgresql/10/server/access/genam.h:19,

[ERROR]                  from /usr/include/postgresql/10/server/nodes/execnodes.h:17,

[ERROR]                  from /usr/include/postgresql/10/server/commands/trigger.h:17,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/Invocation.h:20,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/c/ExecutionPlan.c:21:

[ERROR] /usr/include/postgresql/10/server/port/atomics/generic.h: In function ‘pg_atomic_add_fetch_u32_impl’:

[WARNING] /usr/include/postgresql/10/server/port/atomics/generic.h:245:49: warning: conversion to ‘uint32 {aka unsigned int}’ from ‘int32 {aka int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]   return pg_atomic_fetch_add_u32_impl(ptr, add_) + add_;

[ERROR]                                                  ^

[ERROR] /usr/include/postgresql/10/server/port/atomics/generic.h: In function ‘pg_atomic_sub_fetch_u32_impl’:

[WARNING] /usr/include/postgresql/10/server/port/atomics/generic.h:254:49: warning: conversion to ‘uint32 {aka unsigned int}’ from ‘int32 {aka int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]   return pg_atomic_fetch_sub_u32_impl(ptr, sub_) - sub_;

[ERROR]                                                  ^

[ERROR] /usr/include/postgresql/10/server/port/atomics/generic.h: In function ‘pg_atomic_add_fetch_u64_impl’:

[WARNING] /usr/include/postgresql/10/server/port/atomics/generic.h:416:49: warning: conversion to ‘long unsigned int’ from ‘int64 {aka long int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]   return pg_atomic_fetch_add_u64_impl(ptr, add_) + add_;

[ERROR]                                                  ^

[ERROR] /usr/include/postgresql/10/server/port/atomics/generic.h: In function ‘pg_atomic_sub_fetch_u64_impl’:

[WARNING] /usr/include/postgresql/10/server/port/atomics/generic.h:425:49: warning: conversion to ‘long unsigned int’ from ‘int64 {aka long int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]   return pg_atomic_fetch_sub_u64_impl(ptr, sub_) - sub_;

[ERROR]                                                  ^

[ERROR] /usr/lib/postgresql/pljava/pljava-so/src/main/c/ExecutionPlan.c: In function ‘coerceObjects’:

[WARNING] /usr/lib/postgresql/pljava/pljava-so/src/main/c/ExecutionPlan.c:103:33: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]

[ERROR]    values = (Datum*)palloc(count * sizeof(Datum));

[ERROR]                                  ^

[WARNING] /usr/lib/postgresql/pljava/pljava-so/src/main/c/ExecutionPlan.c:119:28: warning: conversion to ‘Size {aka long unsigned int}’ from ‘int’ may change the sign of the result [-Wsign-conversion]

[ERROR]       nulls = (char*)palloc(count+1);

[ERROR]                             ^~~~~

[WARNING] /usr/lib/postgresql/pljava/pljava-so/src/main/c/ExecutionPlan.c:120:25: warning: conversion to ‘size_t {aka long unsigned int}’ from ‘int’ may change the sign of the result [-Wsign-conversion]

[ERROR]       memset(nulls, ' ', count); /* all values non-null initially */

[ERROR]                          ^~~~~

[ERROR] /usr/lib/postgresql/pljava/pljava-so/src/main/c/ExecutionPlan.c: In function ‘Java_org_postgresql_pljava_internal_ExecutionPlan__1prepare’:

[WARNING] /usr/lib/postgresql/pljava/pljava-so/src/main/c/ExecutionPlan.c:300:41: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]

[ERROR]      paramOids = (Oid*)palloc(paramCount * sizeof(Oid));

[ERROR]                                          ^

[ERROR] In file included from /usr/include/postgresql/10/server/port/atomics.h:124:0,

[ERROR]                  from /usr/include/postgresql/10/server/utils/dsa.h:17,

[ERROR]                  from /usr/include/postgresql/10/server/nodes/tidbitmap.h:26,

[ERROR]                  from /usr/include/postgresql/10/server/access/genam.h:19,

[ERROR]                  from /usr/include/postgresql/10/server/nodes/execnodes.h:17,

[ERROR]                  from /usr/include/postgresql/10/server/commands/trigger.h:17,

[ERROR]                  from /usr/include/postgresql/10/server/executor/spi.h:16,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/c/PgObject.c:10:

[ERROR] /usr/include/postgresql/10/server/port/atomics/generic.h: In function ‘pg_atomic_add_fetch_u32_impl’:

[WARNING] /usr/include/postgresql/10/server/port/atomics/generic.h:245:49: warning: conversion to ‘uint32 {aka unsigned int}’ from ‘int32 {aka int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]   return pg_atomic_fetch_add_u32_impl(ptr, add_) + add_;

[ERROR]                                                  ^

[ERROR] /usr/include/postgresql/10/server/port/atomics/generic.h: In function ‘pg_atomic_sub_fetch_u32_impl’:

[WARNING] /usr/include/postgresql/10/server/port/atomics/generic.h:254:49: warning: conversion to ‘uint32 {aka unsigned int}’ from ‘int32 {aka int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]   return pg_atomic_fetch_sub_u32_impl(ptr, sub_) - sub_;

[ERROR]                                                  ^

[ERROR] /usr/include/postgresql/10/server/port/atomics/generic.h: In function ‘pg_atomic_add_fetch_u64_impl’:

[WARNING] /usr/include/postgresql/10/server/port/atomics/generic.h:416:49: warning: conversion to ‘long unsigned int’ from ‘int64 {aka long int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]   return pg_atomic_fetch_add_u64_impl(ptr, add_) + add_;

[ERROR]                                                  ^

[ERROR] /usr/include/postgresql/10/server/port/atomics/generic.h: In function ‘pg_atomic_sub_fetch_u64_impl’:

[WARNING] /usr/include/postgresql/10/server/port/atomics/generic.h:425:49: warning: conversion to ‘long unsigned int’ from ‘int64 {aka long int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]   return pg_atomic_fetch_sub_u64_impl(ptr, sub_) - sub_;

[ERROR]                                                  ^

[ERROR] In file included from /usr/include/postgresql/10/server/port/atomics.h:124:0,

[ERROR]                  from /usr/include/postgresql/10/server/utils/dsa.h:17,

[ERROR]                  from /usr/include/postgresql/10/server/nodes/tidbitmap.h:26,

[ERROR]                  from /usr/include/postgresql/10/server/access/genam.h:19,

[ERROR]                  from /usr/include/postgresql/10/server/nodes/execnodes.h:17,

[ERROR]                  from /usr/include/postgresql/10/server/executor/execdesc.h:18,

[ERROR]                  from /usr/include/postgresql/10/server/utils/portal.h:50,

[ERROR]                  from /usr/include/postgresql/10/server/commands/portalcmds.h:18,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/c/InstallHelper.c:24:

[ERROR] /usr/include/postgresql/10/server/port/atomics/generic.h: In function ‘pg_atomic_add_fetch_u32_impl’:

[WARNING] /usr/include/postgresql/10/server/port/atomics/generic.h:245:49: warning: conversion to ‘uint32 {aka unsigned int}’ from ‘int32 {aka int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]   return pg_atomic_fetch_add_u32_impl(ptr, add_) + add_;

[ERROR]                                                  ^

[ERROR] /usr/include/postgresql/10/server/port/atomics/generic.h: In function ‘pg_atomic_sub_fetch_u32_impl’:

[WARNING] /usr/include/postgresql/10/server/port/atomics/generic.h:254:49: warning: conversion to ‘uint32 {aka unsigned int}’ from ‘int32 {aka int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]   return pg_atomic_fetch_sub_u32_impl(ptr, sub_) - sub_;

[ERROR]                                                  ^

[ERROR] /usr/include/postgresql/10/server/port/atomics/generic.h: In function ‘pg_atomic_add_fetch_u64_impl’:

[WARNING] /usr/include/postgresql/10/server/port/atomics/generic.h:416:49: warning: conversion to ‘long unsigned int’ from ‘int64 {aka long int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]   return pg_atomic_fetch_add_u64_impl(ptr, add_) + add_;

[ERROR]                                                  ^

[ERROR] /usr/include/postgresql/10/server/port/atomics/generic.h: In function ‘pg_atomic_sub_fetch_u64_impl’:

[WARNING] /usr/include/postgresql/10/server/port/atomics/generic.h:425:49: warning: conversion to ‘long unsigned int’ from ‘int64 {aka long int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]   return pg_atomic_fetch_sub_u64_impl(ptr, sub_) - sub_;

[ERROR]                                                  ^

[ERROR] In file included from /usr/lib/postgresql/pljava/pljava-so/src/main/c/InstallHelper.c:27:0:

[ERROR] /usr/include/postgresql/10/server/libpq/libpq-be.h: At top level:

[ERROR] /usr/include/postgresql/10/server/libpq/libpq-be.h:23:25: fatal error: openssl/ssl.h: No such file or directory

[ERROR]  #include <openssl/ssl.h>

[ERROR]                          ^

[ERROR] compilation terminated.

[ERROR] In file included from /usr/include/postgresql/10/server/port/atomics.h:124:0,

[ERROR]                  from /usr/include/postgresql/10/server/utils/dsa.h:17,

[ERROR]                  from /usr/include/postgresql/10/server/nodes/tidbitmap.h:26,

[ERROR]                  from /usr/include/postgresql/10/server/access/genam.h:19,

[ERROR]                  from /usr/include/postgresql/10/server/nodes/execnodes.h:17,

[ERROR]                  from /usr/include/postgresql/10/server/commands/trigger.h:17,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/Function.h:18,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/Backend.h:12,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/c/JNICalls.c:19:

[ERROR] /usr/include/postgresql/10/server/port/atomics/generic.h: In function ‘pg_atomic_add_fetch_u32_impl’:

[WARNING] /usr/include/postgresql/10/server/port/atomics/generic.h:245:49: warning: conversion to ‘uint32 {aka unsigned int}’ from ‘int32 {aka int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]   return pg_atomic_fetch_add_u32_impl(ptr, add_) + add_;

[ERROR]                                                  ^

[ERROR] /usr/include/postgresql/10/server/port/atomics/generic.h: In function ‘pg_atomic_sub_fetch_u32_impl’:

[WARNING] /usr/include/postgresql/10/server/port/atomics/generic.h:254:49: warning: conversion to ‘uint32 {aka unsigned int}’ from ‘int32 {aka int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]   return pg_atomic_fetch_sub_u32_impl(ptr, sub_) - sub_;

[ERROR]                                                  ^

[ERROR] /usr/include/postgresql/10/server/port/atomics/generic.h: In function ‘pg_atomic_add_fetch_u64_impl’:

[WARNING] /usr/include/postgresql/10/server/port/atomics/generic.h:416:49: warning: conversion to ‘long unsigned int’ from ‘int64 {aka long int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]   return pg_atomic_fetch_add_u64_impl(ptr, add_) + add_;

[ERROR]                                                  ^

[ERROR] /usr/include/postgresql/10/server/port/atomics/generic.h: In function ‘pg_atomic_sub_fetch_u64_impl’:

[WARNING] /usr/include/postgresql/10/server/port/atomics/generic.h:425:49: warning: conversion to ‘long unsigned int’ from ‘int64 {aka long int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]   return pg_atomic_fetch_sub_u64_impl(ptr, sub_) - sub_;

[ERROR]                                                  ^

[ERROR] In file included from /usr/include/postgresql/10/server/port/atomics.h:124:0,

[ERROR]                  from /usr/include/postgresql/10/server/utils/dsa.h:17,

[ERROR]                  from /usr/include/postgresql/10/server/nodes/tidbitmap.h:26,

[ERROR]                  from /usr/include/postgresql/10/server/access/genam.h:19,

[ERROR]                  from /usr/include/postgresql/10/server/nodes/execnodes.h:17,

[ERROR]                  from /usr/include/postgresql/10/server/commands/trigger.h:17,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/Invocation.h:20,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/c/Function.c:12:

[ERROR] /usr/include/postgresql/10/server/port/atomics/generic.h: In function ‘pg_atomic_add_fetch_u32_impl’:

[WARNING] /usr/include/postgresql/10/server/port/atomics/generic.h:245:49: warning: conversion to ‘uint32 {aka unsigned int}’ from ‘int32 {aka int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]   return pg_atomic_fetch_add_u32_impl(ptr, add_) + add_;

[ERROR]                                                  ^

[ERROR] /usr/include/postgresql/10/server/port/atomics/generic.h: In function ‘pg_atomic_sub_fetch_u32_impl’:

[WARNING] /usr/include/postgresql/10/server/port/atomics/generic.h:254:49: warning: conversion to ‘uint32 {aka unsigned int}’ from ‘int32 {aka int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]   return pg_atomic_fetch_sub_u32_impl(ptr, sub_) - sub_;

[ERROR]                                                  ^

[ERROR] /usr/include/postgresql/10/server/port/atomics/generic.h: In function ‘pg_atomic_add_fetch_u64_impl’:

[WARNING] /usr/include/postgresql/10/server/port/atomics/generic.h:416:49: warning: conversion to ‘long unsigned int’ from ‘int64 {aka long int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]   return pg_atomic_fetch_add_u64_impl(ptr, add_) + add_;

[ERROR]                                                  ^

[ERROR] /usr/include/postgresql/10/server/port/atomics/generic.h: In function ‘pg_atomic_sub_fetch_u64_impl’:

[WARNING] /usr/include/postgresql/10/server/port/atomics/generic.h:425:49: warning: conversion to ‘long unsigned int’ from ‘int64 {aka long int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]   return pg_atomic_fetch_sub_u64_impl(ptr, sub_) - sub_;

[ERROR]                                                  ^

[ERROR] /usr/lib/postgresql/pljava/pljava-so/src/main/c/Function.c: In function ‘getSchemaName’:

[WARNING] /usr/lib/postgresql/pljava/pljava-so/src/main/c/Function.c:446:58: warning: conversion to ‘Oid {aka unsigned int}’ from ‘int’ may change the sign of the result [-Wsign-conversion]

[ERROR]   HeapTuple nspTup = PgObject_getValidTuple(NAMESPACEOID, namespaceOid, "namespace");

[ERROR]                                                           ^~~~~~~~~~~~

[ERROR] /usr/lib/postgresql/pljava/pljava-so/src/main/c/Function.c: In function ‘Function_checkTypeUDT’:

[WARNING] /usr/lib/postgresql/pljava/pljava-so/src/main/c/Function.c:533:29: warning: conversion to ‘int’ from ‘Oid {aka unsigned int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]   schemaName = getSchemaName(procStruct->pronamespace);

[ERROR]                              ^~~~~~~~~~

[ERROR] /usr/lib/postgresql/pljava/pljava-so/src/main/c/Function.c: In function ‘setupFunctionParams’:

[WARNING] /usr/lib/postgresql/pljava/pljava-so/src/main/c/Function.c:558:69: warning: conversion to ‘long unsigned int’ from ‘int32 {aka int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]    self->func.nonudt.paramTypes = (Type*)MemoryContextAlloc(ctx, top * sizeof(Type));

[ERROR]                                                                      ^

[ERROR] /usr/lib/postgresql/pljava/pljava-so/src/main/c/Function.c: In function ‘Function_init’:

[WARNING] /usr/lib/postgresql/pljava/pljava-so/src/main/c/Function.c:591:37: warning: conversion to ‘int’ from ‘Oid {aka unsigned int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]   jstring schemaName = getSchemaName(procStruct->pronamespace);

[ERROR]                                      ^~~~~~~~~~

[ERROR] /usr/lib/postgresql/pljava/pljava-so/src/main/c/Function.c: In function ‘Function_invoke’:

[WARNING] /usr/lib/postgresql/pljava/pljava-so/src/main/c/Function.c:814:36: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]

[ERROR]   args  = (jvalue*)palloc((top + 1) * sizeof(jvalue));

[ERROR]                                     ^

[ERROR] In file included from /usr/include/postgresql/10/server/port/atomics.h:124:0,

[ERROR]                  from /usr/include/postgresql/10/server/utils/dsa.h:17,

[ERROR]                  from /usr/include/postgresql/10/server/nodes/tidbitmap.h:26,

[ERROR]                  from /usr/include/postgresql/10/server/access/genam.h:19,

[ERROR]                  from /usr/include/postgresql/10/server/nodes/execnodes.h:17,

[ERROR]                  from /usr/include/postgresql/10/server/commands/trigger.h:17,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/Invocation.h:20,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/Float.c:13:

[ERROR] /usr/include/postgresql/10/server/port/atomics/generic.h: In function ‘pg_atomic_add_fetch_u32_impl’:

[WARNING] /usr/include/postgresql/10/server/port/atomics/generic.h:245:49: warning: conversion to ‘uint32 {aka unsigned int}’ from ‘int32 {aka int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]   return pg_atomic_fetch_add_u32_impl(ptr, add_) + add_;

[ERROR]                                                  ^

[ERROR] /usr/include/postgresql/10/server/port/atomics/generic.h: In function ‘pg_atomic_sub_fetch_u32_impl’:

[WARNING] /usr/include/postgresql/10/server/port/atomics/generic.h:254:49: warning: conversion to ‘uint32 {aka unsigned int}’ from ‘int32 {aka int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]   return pg_atomic_fetch_sub_u32_impl(ptr, sub_) - sub_;

[ERROR]                                                  ^

[ERROR] /usr/include/postgresql/10/server/port/atomics/generic.h: In function ‘pg_atomic_add_fetch_u64_impl’:

[WARNING] /usr/include/postgresql/10/server/port/atomics/generic.h:416:49: warning: conversion to ‘long unsigned int’ from ‘int64 {aka long int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]   return pg_atomic_fetch_add_u64_impl(ptr, add_) + add_;

[ERROR]                                                  ^

[ERROR] /usr/include/postgresql/10/server/port/atomics/generic.h: In function ‘pg_atomic_sub_fetch_u64_impl’:

[WARNING] /usr/include/postgresql/10/server/port/atomics/generic.h:425:49: warning: conversion to ‘long unsigned int’ from ‘int64 {aka long int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]   return pg_atomic_fetch_sub_u64_impl(ptr, sub_) - sub_;

[ERROR]                                                  ^

[ERROR] In file included from /usr/include/postgresql/10/server/utils/guc.h:18:0,

[ERROR]                  from /usr/include/postgresql/10/server/tcop/tcopprot.h:26,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/pljava.h:39,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/JNICalls.h:18,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/PgObject.h:12,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/PgObject_priv.h:12,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/type/Type_priv.h:16,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/Float.c:11:

[ERROR] /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/Float.c: In function ‘_floatArray_coerceDatum’:

[WARNING] /usr/include/postgresql/10/server/utils/array.h:287:22: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]

[ERROR]       2 * sizeof(int) * ARR_NDIM(a)) \

[ERROR]                       ^

[ERROR] /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/Float.c:55:23: note: in expansion of macro ‘ARR_NULLBITMAP’

[ERROR]    bits8* nullBitMap = ARR_NULLBITMAP(v);

[ERROR]                        ^~~~~~~~~~~~~~

[ERROR] In file included from /usr/include/postgresql/10/server/postgres.h:47:0,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/pljava.h:33,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/JNICalls.h:18,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/PgObject.h:12,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/PgObject_priv.h:12,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/type/Type_priv.h:16,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/Float.c:11:

[WARNING] /usr/include/postgresql/10/server/utils/array.h:295:48: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]

[ERROR]    MAXALIGN(sizeof(ArrayType) + 2 * sizeof(int) * (ndims))

[ERROR]                                                 ^

[ERROR] /usr/include/postgresql/10/server/c.h:653:17: note: in definition of macro ‘TYPEALIGN’

[ERROR]   (((uintptr_t) (LEN) + ((ALIGNVAL) - 1)) & ~((uintptr_t) ((ALIGNVAL) - 1)))

[ERROR]                  ^~~

[ERROR] /usr/include/postgresql/10/server/utils/array.h:295:3: note: in expansion of macro ‘MAXALIGN’

[ERROR]    MAXALIGN(sizeof(ArrayType) + 2 * sizeof(int) * (ndims))

[ERROR]    ^~~~~~~~

[ERROR] /usr/include/postgresql/10/server/utils/array.h:301:39: note: in expansion of macro ‘ARR_OVERHEAD_NONULLS’

[ERROR]    (ARR_HASNULL(a) ? (a)->dataoffset : ARR_OVERHEAD_NONULLS(ARR_NDIM(a)))

[ERROR]                                        ^~~~~~~~~~~~~~~~~~~~

[ERROR] /usr/include/postgresql/10/server/utils/array.h:307:21: note: in expansion of macro ‘ARR_DATA_OFFSET’

[ERROR]    (((char *) (a)) + ARR_DATA_OFFSET(a))

[ERROR]                      ^~~~~~~~~~~~~~~

[ERROR] /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/Float.c:56:29: note: in expansion of macro ‘ARR_DATA_PTR’

[ERROR]    jfloat* values = (jfloat*)ARR_DATA_PTR(v);

[ERROR]                              ^~~~~~~~~~~~

[ERROR] In file included from /usr/include/postgresql/10/server/utils/guc.h:18:0,

[ERROR]                  from /usr/include/postgresql/10/server/tcop/tcopprot.h:26,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/pljava.h:39,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/JNICalls.h:18,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/PgObject.h:12,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/PgObject_priv.h:12,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/type/Type_priv.h:16,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/Float.c:11:

[WARNING] /usr/include/postgresql/10/server/utils/array.h:301:37: warning: conversion to ‘long unsigned int’ from ‘int32 {aka int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]    (ARR_HASNULL(a) ? (a)->dataoffset : ARR_OVERHEAD_NONULLS(ARR_NDIM(a)))

[ERROR]                                      ^

[ERROR] /usr/include/postgresql/10/server/utils/array.h:307:21: note: in expansion of macro ‘ARR_DATA_OFFSET’

[ERROR]    (((char *) (a)) + ARR_DATA_OFFSET(a))

[ERROR]                      ^~~~~~~~~~~~~~~

[ERROR] /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/Float.c:56:29: note: in expansion of macro ‘ARR_DATA_PTR’

[ERROR]    jfloat* values = (jfloat*)ARR_DATA_PTR(v);

[ERROR]                              ^~~~~~~~~~~~

[ERROR] In file included from /usr/include/postgresql/10/server/postgres.h:47:0,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/pljava.h:33,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/JNICalls.h:18,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/PgObject.h:12,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/PgObject_priv.h:12,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/type/Type_priv.h:16,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/Float.c:11:

[WARNING] /usr/include/postgresql/10/server/utils/array.h:295:48: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]

[ERROR]    MAXALIGN(sizeof(ArrayType) + 2 * sizeof(int) * (ndims))

[ERROR]                                                 ^

[ERROR] /usr/include/postgresql/10/server/c.h:653:17: note: in definition of macro ‘TYPEALIGN’

[ERROR]   (((uintptr_t) (LEN) + ((ALIGNVAL) - 1)) & ~((uintptr_t) ((ALIGNVAL) - 1)))

[ERROR]                  ^~~

[ERROR] /usr/include/postgresql/10/server/utils/array.h:295:3: note: in expansion of macro ‘MAXALIGN’

[ERROR]    MAXALIGN(sizeof(ArrayType) + 2 * sizeof(int) * (ndims))

[ERROR]    ^~~~~~~~

[ERROR] /usr/include/postgresql/10/server/utils/array.h:301:39: note: in expansion of macro ‘ARR_OVERHEAD_NONULLS’

[ERROR]    (ARR_HASNULL(a) ? (a)->dataoffset : ARR_OVERHEAD_NONULLS(ARR_NDIM(a)))

[ERROR]                                        ^~~~~~~~~~~~~~~~~~~~

[ERROR] /usr/include/postgresql/10/server/utils/array.h:307:21: note: in expansion of macro ‘ARR_DATA_OFFSET’

[ERROR]    (((char *) (a)) + ARR_DATA_OFFSET(a))

[ERROR]                      ^~~~~~~~~~~~~~~

[ERROR] /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/Float.c:68:59: note: in expansion of macro ‘ARR_DATA_PTR’

[ERROR]    JNI_setFloatArrayRegion(floatArray, 0, nElems, (jfloat*)ARR_DATA_PTR(v));

[ERROR]                                                            ^~~~~~~~~~~~

[ERROR] In file included from /usr/include/postgresql/10/server/utils/guc.h:18:0,

[ERROR]                  from /usr/include/postgresql/10/server/tcop/tcopprot.h:26,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/pljava.h:39,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/JNICalls.h:18,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/PgObject.h:12,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/PgObject_priv.h:12,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/type/Type_priv.h:16,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/Float.c:11:

[WARNING] /usr/include/postgresql/10/server/utils/array.h:301:37: warning: conversion to ‘long unsigned int’ from ‘int32 {aka int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]    (ARR_HASNULL(a) ? (a)->dataoffset : ARR_OVERHEAD_NONULLS(ARR_NDIM(a)))

[ERROR]                                      ^

[ERROR] /usr/include/postgresql/10/server/utils/array.h:307:21: note: in expansion of macro ‘ARR_DATA_OFFSET’

[ERROR]    (((char *) (a)) + ARR_DATA_OFFSET(a))

[ERROR]                      ^~~~~~~~~~~~~~~

[ERROR] /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/Float.c:68:59: note: in expansion of macro ‘ARR_DATA_PTR’

[ERROR]    JNI_setFloatArrayRegion(floatArray, 0, nElems, (jfloat*)ARR_DATA_PTR(v));

[ERROR]                                                            ^~~~~~~~~~~~

[ERROR] In file included from /usr/include/postgresql/10/server/postgres.h:47:0,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/pljava.h:33,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/JNICalls.h:18,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/PgObject.h:12,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/PgObject_priv.h:12,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/type/Type_priv.h:16,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/Float.c:11:

[ERROR] /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/Float.c: In function ‘_floatArray_coerceObject’:

[WARNING] /usr/include/postgresql/10/server/utils/array.h:295:48: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]

[ERROR]    MAXALIGN(sizeof(ArrayType) + 2 * sizeof(int) * (ndims))

[ERROR]                                                 ^

[ERROR] /usr/include/postgresql/10/server/c.h:653:17: note: in definition of macro ‘TYPEALIGN’

[ERROR]   (((uintptr_t) (LEN) + ((ALIGNVAL) - 1)) & ~((uintptr_t) ((ALIGNVAL) - 1)))

[ERROR]                  ^~~

[ERROR] /usr/include/postgresql/10/server/utils/array.h:295:3: note: in expansion of macro ‘MAXALIGN’

[ERROR]    MAXALIGN(sizeof(ArrayType) + 2 * sizeof(int) * (ndims))

[ERROR]    ^~~~~~~~

[ERROR] /usr/include/postgresql/10/server/utils/array.h:301:39: note: in expansion of macro ‘ARR_OVERHEAD_NONULLS’

[ERROR]    (ARR_HASNULL(a) ? (a)->dataoffset : ARR_OVERHEAD_NONULLS(ARR_NDIM(a)))

[ERROR]                                        ^~~~~~~~~~~~~~~~~~~~

[ERROR] /usr/include/postgresql/10/server/utils/array.h:307:21: note: in expansion of macro ‘ARR_DATA_OFFSET’

[ERROR]    (((char *) (a)) + ARR_DATA_OFFSET(a))

[ERROR]                      ^~~~~~~~~~~~~~~

[ERROR] /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/Float.c:87:25: note: in expansion of macro ‘ARR_DATA_PTR’

[ERROR]         nElems, (jfloat*)ARR_DATA_PTR(v));

[ERROR]                          ^~~~~~~~~~~~

[ERROR] In file included from /usr/include/postgresql/10/server/utils/guc.h:18:0,

[ERROR]                  from /usr/include/postgresql/10/server/tcop/tcopprot.h:26,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/pljava.h:39,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/JNICalls.h:18,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/PgObject.h:12,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/PgObject_priv.h:12,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/type/Type_priv.h:16,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/Float.c:11:

[WARNING] /usr/include/postgresql/10/server/utils/array.h:301:37: warning: conversion to ‘long unsigned int’ from ‘int32 {aka int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]    (ARR_HASNULL(a) ? (a)->dataoffset : ARR_OVERHEAD_NONULLS(ARR_NDIM(a)))

[ERROR]                                      ^

[ERROR] /usr/include/postgresql/10/server/utils/array.h:307:21: note: in expansion of macro ‘ARR_DATA_OFFSET’

[ERROR]    (((char *) (a)) + ARR_DATA_OFFSET(a))

[ERROR]                      ^~~~~~~~~~~~~~~

[ERROR] /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/Float.c:87:25: note: in expansion of macro ‘ARR_DATA_PTR’

[ERROR]         nElems, (jfloat*)ARR_DATA_PTR(v));

[ERROR]                          ^~~~~~~~~~~~

[ERROR] In file included from /usr/include/postgresql/10/server/postgres.h:47:0,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/pljava.h:33,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/JNICalls.h:18,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/PgObject.h:12,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/PgObject_priv.h:12,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/type/Type_priv.h:16,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/Float.c:11:

[WARNING] /usr/include/postgresql/10/server/utils/array.h:295:48: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]

[ERROR]    MAXALIGN(sizeof(ArrayType) + 2 * sizeof(int) * (ndims))

[ERROR]                                                 ^

[ERROR] /usr/include/postgresql/10/server/c.h:653:17: note: in definition of macro ‘TYPEALIGN’

[ERROR]   (((uintptr_t) (LEN) + ((ALIGNVAL) - 1)) & ~((uintptr_t) ((ALIGNVAL) - 1)))

[ERROR]                  ^~~

[ERROR] /usr/include/postgresql/10/server/utils/array.h:295:3: note: in expansion of macro ‘MAXALIGN’

[ERROR]    MAXALIGN(sizeof(ArrayType) + 2 * sizeof(int) * (ndims))

[ERROR]    ^~~~~~~~

[ERROR] /usr/include/postgresql/10/server/utils/array.h:301:39: note: in expansion of macro ‘ARR_OVERHEAD_NONULLS’

[ERROR]    (ARR_HASNULL(a) ? (a)->dataoffset : ARR_OVERHEAD_NONULLS(ARR_NDIM(a)))

[ERROR]                                        ^~~~~~~~~~~~~~~~~~~~

[ERROR] /usr/include/postgresql/10/server/utils/array.h:307:21: note: in expansion of macro ‘ARR_DATA_OFFSET’

[ERROR]    (((char *) (a)) + ARR_DATA_OFFSET(a))

[ERROR]                      ^~~~~~~~~~~~~~~

[ERROR] /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/Float.c:91:28: note: in expansion of macro ‘ARR_DATA_PTR’

[ERROR]    jfloat *array = (jfloat*)ARR_DATA_PTR(v);

[ERROR]                             ^~~~~~~~~~~~

[ERROR] In file included from /usr/include/postgresql/10/server/utils/guc.h:18:0,

[ERROR]                  from /usr/include/postgresql/10/server/tcop/tcopprot.h:26,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/pljava.h:39,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/JNICalls.h:18,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/PgObject.h:12,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/PgObject_priv.h:12,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/type/Type_priv.h:16,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/Float.c:11:

[WARNING] /usr/include/postgresql/10/server/utils/array.h:301:37: warning: conversion to ‘long unsigned int’ from ‘int32 {aka int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]    (ARR_HASNULL(a) ? (a)->dataoffset : ARR_OVERHEAD_NONULLS(ARR_NDIM(a)))

[ERROR]                                      ^

[ERROR] /usr/include/postgresql/10/server/utils/array.h:307:21: note: in expansion of macro ‘ARR_DATA_OFFSET’

[ERROR]    (((char *) (a)) + ARR_DATA_OFFSET(a))

[ERROR]                      ^~~~~~~~~~~~~~~

[ERROR] /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/Float.c:91:28: note: in expansion of macro ‘ARR_DATA_PTR’

[ERROR]    jfloat *array = (jfloat*)ARR_DATA_PTR(v);

[ERROR]                             ^~~~~~~~~~~~

[ERROR] In file included from /usr/include/postgresql/10/server/port/atomics.h:124:0,

[ERROR]                  from /usr/include/postgresql/10/server/utils/dsa.h:17,

[ERROR]                  from /usr/include/postgresql/10/server/nodes/tidbitmap.h:26,

[ERROR]                  from /usr/include/postgresql/10/server/access/genam.h:19,

[ERROR]                  from /usr/include/postgresql/10/server/nodes/execnodes.h:17,

[ERROR]                  from /usr/include/postgresql/10/server/commands/trigger.h:17,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/Invocation.h:20,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/Integer.c:13:

[ERROR] /usr/include/postgresql/10/server/port/atomics/generic.h: In function ‘pg_atomic_add_fetch_u32_impl’:

[WARNING] /usr/include/postgresql/10/server/port/atomics/generic.h:245:49: warning: conversion to ‘uint32 {aka unsigned int}’ from ‘int32 {aka int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]   return pg_atomic_fetch_add_u32_impl(ptr, add_) + add_;

[ERROR]                                                  ^

[ERROR] /usr/include/postgresql/10/server/port/atomics/generic.h: In function ‘pg_atomic_sub_fetch_u32_impl’:

[WARNING] /usr/include/postgresql/10/server/port/atomics/generic.h:254:49: warning: conversion to ‘uint32 {aka unsigned int}’ from ‘int32 {aka int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]   return pg_atomic_fetch_sub_u32_impl(ptr, sub_) - sub_;

[ERROR]                                                  ^

[ERROR] /usr/include/postgresql/10/server/port/atomics/generic.h: In function ‘pg_atomic_add_fetch_u64_impl’:

[WARNING] /usr/include/postgresql/10/server/port/atomics/generic.h:416:49: warning: conversion to ‘long unsigned int’ from ‘int64 {aka long int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]   return pg_atomic_fetch_add_u64_impl(ptr, add_) + add_;

[ERROR]                                                  ^

[ERROR] /usr/include/postgresql/10/server/port/atomics/generic.h: In function ‘pg_atomic_sub_fetch_u64_impl’:

[WARNING] /usr/include/postgresql/10/server/port/atomics/generic.h:425:49: warning: conversion to ‘long unsigned int’ from ‘int64 {aka long int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]   return pg_atomic_fetch_sub_u64_impl(ptr, sub_) - sub_;

[ERROR]                                                  ^

[ERROR] In file included from /usr/include/postgresql/10/server/port/atomics.h:124:0,

[ERROR]                  from /usr/include/postgresql/10/server/utils/dsa.h:17,

[ERROR]                  from /usr/include/postgresql/10/server/nodes/tidbitmap.h:26,

[ERROR]                  from /usr/include/postgresql/10/server/access/genam.h:19,

[ERROR]                  from /usr/include/postgresql/10/server/nodes/execnodes.h:17,

[ERROR]                  from /usr/include/postgresql/10/server/commands/trigger.h:17,

[ERROR]                  from /usr/include/postgresql/10/server/executor/spi.h:16,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/SPI.h:18,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/c/SPI.c:14:

[ERROR] /usr/include/postgresql/10/server/port/atomics/generic.h: In function ‘pg_atomic_add_fetch_u32_impl’:

[WARNING] /usr/include/postgresql/10/server/port/atomics/generic.h:245:49: warning: conversion to ‘uint32 {aka unsigned int}’ from ‘int32 {aka int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]   return pg_atomic_fetch_add_u32_impl(ptr, add_) + add_;

[ERROR]                                                  ^

[ERROR] /usr/include/postgresql/10/server/port/atomics/generic.h: In function ‘pg_atomic_sub_fetch_u32_impl’:

[WARNING] /usr/include/postgresql/10/server/port/atomics/generic.h:254:49: warning: conversion to ‘uint32 {aka unsigned int}’ from ‘int32 {aka int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]   return pg_atomic_fetch_sub_u32_impl(ptr, sub_) - sub_;

[ERROR]                                                  ^

[ERROR] /usr/include/postgresql/10/server/port/atomics/generic.h: In function ‘pg_atomic_add_fetch_u64_impl’:

[WARNING] /usr/include/postgresql/10/server/port/atomics/generic.h:416:49: warning: conversion to ‘long unsigned int’ from ‘int64 {aka long int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]   return pg_atomic_fetch_add_u64_impl(ptr, add_) + add_;

[ERROR]                                                  ^

[ERROR] /usr/include/postgresql/10/server/port/atomics/generic.h: In function ‘pg_atomic_sub_fetch_u64_impl’:

[WARNING] /usr/include/postgresql/10/server/port/atomics/generic.h:425:49: warning: conversion to ‘long unsigned int’ from ‘int64 {aka long int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]   return pg_atomic_fetch_sub_u64_impl(ptr, sub_) - sub_;

[ERROR]                                                  ^

[ERROR] In file included from /usr/include/postgresql/10/server/port/atomics.h:124:0,

[ERROR]                  from /usr/include/postgresql/10/server/utils/dsa.h:17,

[ERROR]                  from /usr/include/postgresql/10/server/nodes/tidbitmap.h:26,

[ERROR]                  from /usr/include/postgresql/10/server/access/genam.h:19,

[ERROR]                  from /usr/include/postgresql/10/server/nodes/execnodes.h:17,

[ERROR]                  from /usr/include/postgresql/10/server/commands/trigger.h:17,

[ERROR]                  from /usr/include/postgresql/10/server/executor/spi.h:16,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/c/Invocation.c:14:

[ERROR] /usr/include/postgresql/10/server/port/atomics/generic.h: In function ‘pg_atomic_add_fetch_u32_impl’:

[WARNING] /usr/include/postgresql/10/server/port/atomics/generic.h:245:49: warning: conversion to ‘uint32 {aka unsigned int}’ from ‘int32 {aka int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]   return pg_atomic_fetch_add_u32_impl(ptr, add_) + add_;

[ERROR]                                                  ^

[ERROR] /usr/include/postgresql/10/server/port/atomics/generic.h: In function ‘pg_atomic_sub_fetch_u32_impl’:

[WARNING] /usr/include/postgresql/10/server/port/atomics/generic.h:254:49: warning: conversion to ‘uint32 {aka unsigned int}’ from ‘int32 {aka int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]   return pg_atomic_fetch_sub_u32_impl(ptr, sub_) - sub_;

[ERROR]                                                  ^

[ERROR] /usr/include/postgresql/10/server/port/atomics/generic.h: In function ‘pg_atomic_add_fetch_u64_impl’:

[WARNING] /usr/include/postgresql/10/server/port/atomics/generic.h:416:49: warning: conversion to ‘long unsigned int’ from ‘int64 {aka long int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]   return pg_atomic_fetch_add_u64_impl(ptr, add_) + add_;

[ERROR]                                                  ^

[ERROR] /usr/include/postgresql/10/server/port/atomics/generic.h: In function ‘pg_atomic_sub_fetch_u64_impl’:

[WARNING] /usr/include/postgresql/10/server/port/atomics/generic.h:425:49: warning: conversion to ‘long unsigned int’ from ‘int64 {aka long int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]   return pg_atomic_fetch_sub_u64_impl(ptr, sub_) - sub_;

[ERROR]                                                  ^

[ERROR] /usr/lib/postgresql/pljava/pljava-so/src/main/c/Invocation.c: In function ‘Java_org_postgresql_pljava_jdbc_Invocation__1getNestingLevel’:

[WARNING] /usr/lib/postgresql/pljava/pljava-so/src/main/c/Invocation.c:207:9: warning: conversion to ‘jint {aka int}’ from ‘unsigned int’ may change the sign of the result [-Wsign-conversion]

[ERROR]   return s_callLevel;

[ERROR]          ^~~~~~~~~~~

[ERROR] In file included from /usr/include/postgresql/10/server/utils/guc.h:18:0,

[ERROR]                  from /usr/include/postgresql/10/server/tcop/tcopprot.h:26,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/pljava.h:39,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/JNICalls.h:18,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/PgObject.h:12,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/PgObject_priv.h:12,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/type/Type_priv.h:16,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/Integer.c:11:

[ERROR] /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/Integer.c: In function ‘_intArray_coerceDatum’:

[WARNING] /usr/include/postgresql/10/server/utils/array.h:287:22: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]

[ERROR]       2 * sizeof(int) * ARR_NDIM(a)) \

[ERROR]                       ^

[ERROR] /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/Integer.c:48:23: note: in expansion of macro ‘ARR_NULLBITMAP’

[ERROR]    bits8* nullBitMap = ARR_NULLBITMAP(v);

[ERROR]                        ^~~~~~~~~~~~~~

[ERROR] In file included from /usr/include/postgresql/10/server/postgres.h:47:0,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/pljava.h:33,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/JNICalls.h:18,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/PgObject.h:12,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/PgObject_priv.h:12,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/type/Type_priv.h:16,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/Integer.c:11:

[WARNING] /usr/include/postgresql/10/server/utils/array.h:295:48: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]

[ERROR]    MAXALIGN(sizeof(ArrayType) + 2 * sizeof(int) * (ndims))

[ERROR]                                                 ^

[ERROR] /usr/include/postgresql/10/server/c.h:653:17: note: in definition of macro ‘TYPEALIGN’

[ERROR]   (((uintptr_t) (LEN) + ((ALIGNVAL) - 1)) & ~((uintptr_t) ((ALIGNVAL) - 1)))

[ERROR]                  ^~~

[ERROR] /usr/include/postgresql/10/server/utils/array.h:295:3: note: in expansion of macro ‘MAXALIGN’

[ERROR]    MAXALIGN(sizeof(ArrayType) + 2 * sizeof(int) * (ndims))

[ERROR]    ^~~~~~~~

[ERROR] /usr/include/postgresql/10/server/utils/array.h:301:39: note: in expansion of macro ‘ARR_OVERHEAD_NONULLS’

[ERROR]    (ARR_HASNULL(a) ? (a)->dataoffset : ARR_OVERHEAD_NONULLS(ARR_NDIM(a)))

[ERROR]                                        ^~~~~~~~~~~~~~~~~~~~

[ERROR] /usr/include/postgresql/10/server/utils/array.h:307:21: note: in expansion of macro ‘ARR_DATA_OFFSET’

[ERROR]    (((char *) (a)) + ARR_DATA_OFFSET(a))

[ERROR]                      ^~~~~~~~~~~~~~~

[ERROR] /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/Integer.c:49:25: note: in expansion of macro ‘ARR_DATA_PTR’

[ERROR]    jint* values = (jint*)ARR_DATA_PTR(v);

[ERROR]                          ^~~~~~~~~~~~

[ERROR] In file included from /usr/include/postgresql/10/server/utils/guc.h:18:0,

[ERROR]                  from /usr/include/postgresql/10/server/tcop/tcopprot.h:26,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/pljava.h:39,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/JNICalls.h:18,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/PgObject.h:12,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/PgObject_priv.h:12,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/type/Type_priv.h:16,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/Integer.c:11:

[WARNING] /usr/include/postgresql/10/server/utils/array.h:301:37: warning: conversion to ‘long unsigned int’ from ‘int32 {aka int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]    (ARR_HASNULL(a) ? (a)->dataoffset : ARR_OVERHEAD_NONULLS(ARR_NDIM(a)))

[ERROR]                                      ^

[ERROR] /usr/include/postgresql/10/server/utils/array.h:307:21: note: in expansion of macro ‘ARR_DATA_OFFSET’

[ERROR]    (((char *) (a)) + ARR_DATA_OFFSET(a))

[ERROR]                      ^~~~~~~~~~~~~~~

[ERROR] /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/Integer.c:49:25: note: in expansion of macro ‘ARR_DATA_PTR’

[ERROR]    jint* values = (jint*)ARR_DATA_PTR(v);

[ERROR]                          ^~~~~~~~~~~~

[ERROR] In file included from /usr/include/postgresql/10/server/postgres.h:47:0,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/pljava.h:33,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/JNICalls.h:18,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/PgObject.h:12,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/PgObject_priv.h:12,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/type/Type_priv.h:16,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/Integer.c:11:

[WARNING] /usr/include/postgresql/10/server/utils/array.h:295:48: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]

[ERROR]    MAXALIGN(sizeof(ArrayType) + 2 * sizeof(int) * (ndims))

[ERROR]                                                 ^

[ERROR] /usr/include/postgresql/10/server/c.h:653:17: note: in definition of macro ‘TYPEALIGN’

[ERROR]   (((uintptr_t) (LEN) + ((ALIGNVAL) - 1)) & ~((uintptr_t) ((ALIGNVAL) - 1)))

[ERROR]                  ^~~

[ERROR] /usr/include/postgresql/10/server/utils/array.h:295:3: note: in expansion of macro ‘MAXALIGN’

[ERROR]    MAXALIGN(sizeof(ArrayType) + 2 * sizeof(int) * (ndims))

[ERROR]    ^~~~~~~~

[ERROR] /usr/include/postgresql/10/server/utils/array.h:301:39: note: in expansion of macro ‘ARR_OVERHEAD_NONULLS’

[ERROR]    (ARR_HASNULL(a) ? (a)->dataoffset : ARR_OVERHEAD_NONULLS(ARR_NDIM(a)))

[ERROR]                                        ^~~~~~~~~~~~~~~~~~~~

[ERROR] /usr/include/postgresql/10/server/utils/array.h:307:21: note: in expansion of macro ‘ARR_DATA_OFFSET’

[ERROR]    (((char *) (a)) + ARR_DATA_OFFSET(a))

[ERROR]                      ^~~~~~~~~~~~~~~

[ERROR] /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/Integer.c:61:53: note: in expansion of macro ‘ARR_DATA_PTR’

[ERROR]    JNI_setIntArrayRegion(intArray, 0, nElems, (jint*)ARR_DATA_PTR(v));

[ERROR]                                                      ^~~~~~~~~~~~

[ERROR] In file included from /usr/include/postgresql/10/server/utils/guc.h:18:0,

[ERROR]                  from /usr/include/postgresql/10/server/tcop/tcopprot.h:26,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/pljava.h:39,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/JNICalls.h:18,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/PgObject.h:12,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/PgObject_priv.h:12,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/type/Type_priv.h:16,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/Integer.c:11:

[WARNING] /usr/include/postgresql/10/server/utils/array.h:301:37: warning: conversion to ‘long unsigned int’ from ‘int32 {aka int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]    (ARR_HASNULL(a) ? (a)->dataoffset : ARR_OVERHEAD_NONULLS(ARR_NDIM(a)))

[ERROR]                                      ^

[ERROR] /usr/include/postgresql/10/server/utils/array.h:307:21: note: in expansion of macro ‘ARR_DATA_OFFSET’

[ERROR]    (((char *) (a)) + ARR_DATA_OFFSET(a))

[ERROR]                      ^~~~~~~~~~~~~~~

[ERROR] /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/Integer.c:61:53: note: in expansion of macro ‘ARR_DATA_PTR’

[ERROR]    JNI_setIntArrayRegion(intArray, 0, nElems, (jint*)ARR_DATA_PTR(v));

[ERROR]                                                      ^~~~~~~~~~~~

[ERROR] In file included from /usr/include/postgresql/10/server/postgres.h:47:0,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/pljava.h:33,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/JNICalls.h:18,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/PgObject.h:12,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/PgObject_priv.h:12,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/type/Type_priv.h:16,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/Integer.c:11:

[ERROR] /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/Integer.c: In function ‘_intArray_coerceObject’:

[WARNING] /usr/include/postgresql/10/server/utils/array.h:295:48: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]

[ERROR]    MAXALIGN(sizeof(ArrayType) + 2 * sizeof(int) * (ndims))

[ERROR]                                                 ^

[ERROR] /usr/include/postgresql/10/server/c.h:653:17: note: in definition of macro ‘TYPEALIGN’

[ERROR]   (((uintptr_t) (LEN) + ((ALIGNVAL) - 1)) & ~((uintptr_t) ((ALIGNVAL) - 1)))

[ERROR]                  ^~~

[ERROR] /usr/include/postgresql/10/server/utils/array.h:295:3: note: in expansion of macro ‘MAXALIGN’

[ERROR]    MAXALIGN(sizeof(ArrayType) + 2 * sizeof(int) * (ndims))

[ERROR]    ^~~~~~~~

[ERROR] /usr/include/postgresql/10/server/utils/array.h:301:39: note: in expansion of macro ‘ARR_OVERHEAD_NONULLS’

[ERROR]    (ARR_HASNULL(a) ? (a)->dataoffset : ARR_OVERHEAD_NONULLS(ARR_NDIM(a)))

[ERROR]                                        ^~~~~~~~~~~~~~~~~~~~

[ERROR] /usr/include/postgresql/10/server/utils/array.h:307:21: note: in expansion of macro ‘ARR_DATA_OFFSET’

[ERROR]    (((char *) (a)) + ARR_DATA_OFFSET(a))

[ERROR]                      ^~~~~~~~~~~~~~~

[ERROR] /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/Integer.c:79:65: note: in expansion of macro ‘ARR_DATA_PTR’

[ERROR]     JNI_getIntArrayRegion((jintArray)intArray, 0, nElems, (jint*)ARR_DATA_PTR(v));

[ERROR]                                                                  ^~~~~~~~~~~~

[ERROR] In file included from /usr/include/postgresql/10/server/utils/guc.h:18:0,

[ERROR]                  from /usr/include/postgresql/10/server/tcop/tcopprot.h:26,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/pljava.h:39,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/JNICalls.h:18,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/PgObject.h:12,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/PgObject_priv.h:12,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/type/Type_priv.h:16,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/Integer.c:11:

[WARNING] /usr/include/postgresql/10/server/utils/array.h:301:37: warning: conversion to ‘long unsigned int’ from ‘int32 {aka int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]    (ARR_HASNULL(a) ? (a)->dataoffset : ARR_OVERHEAD_NONULLS(ARR_NDIM(a)))

[ERROR]                                      ^

[ERROR] /usr/include/postgresql/10/server/utils/array.h:307:21: note: in expansion of macro ‘ARR_DATA_OFFSET’

[ERROR]    (((char *) (a)) + ARR_DATA_OFFSET(a))

[ERROR]                      ^~~~~~~~~~~~~~~

[ERROR] /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/Integer.c:79:65: note: in expansion of macro ‘ARR_DATA_PTR’

[ERROR]     JNI_getIntArrayRegion((jintArray)intArray, 0, nElems, (jint*)ARR_DATA_PTR(v));

[ERROR]                                                                  ^~~~~~~~~~~~

[ERROR] In file included from /usr/include/postgresql/10/server/postgres.h:47:0,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/pljava.h:33,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/JNICalls.h:18,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/PgObject.h:12,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/PgObject_priv.h:12,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/type/Type_priv.h:16,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/Integer.c:11:

[WARNING] /usr/include/postgresql/10/server/utils/array.h:295:48: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]

[ERROR]    MAXALIGN(sizeof(ArrayType) + 2 * sizeof(int) * (ndims))

[ERROR]                                                 ^

[ERROR] /usr/include/postgresql/10/server/c.h:653:17: note: in definition of macro ‘TYPEALIGN’

[ERROR]   (((uintptr_t) (LEN) + ((ALIGNVAL) - 1)) & ~((uintptr_t) ((ALIGNVAL) - 1)))

[ERROR]                  ^~~

[ERROR] /usr/include/postgresql/10/server/utils/array.h:295:3: note: in expansion of macro ‘MAXALIGN’

[ERROR]    MAXALIGN(sizeof(ArrayType) + 2 * sizeof(int) * (ndims))

[ERROR]    ^~~~~~~~

[ERROR] /usr/include/postgresql/10/server/utils/array.h:301:39: note: in expansion of macro ‘ARR_OVERHEAD_NONULLS’

[ERROR]    (ARR_HASNULL(a) ? (a)->dataoffset : ARR_OVERHEAD_NONULLS(ARR_NDIM(a)))

[ERROR]                                        ^~~~~~~~~~~~~~~~~~~~

[ERROR] /usr/include/postgresql/10/server/utils/array.h:307:21: note: in expansion of macro ‘ARR_DATA_OFFSET’

[ERROR]    (((char *) (a)) + ARR_DATA_OFFSET(a))

[ERROR]                      ^~~~~~~~~~~~~~~

[ERROR] /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/Integer.c:83:27: note: in expansion of macro ‘ARR_DATA_PTR’

[ERROR]       jint *array = (jint*)ARR_DATA_PTR(v);

[ERROR]                            ^~~~~~~~~~~~

[ERROR] In file included from /usr/include/postgresql/10/server/utils/guc.h:18:0,

[ERROR]                  from /usr/include/postgresql/10/server/tcop/tcopprot.h:26,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/pljava.h:39,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/JNICalls.h:18,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/PgObject.h:12,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/PgObject_priv.h:12,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/type/Type_priv.h:16,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/Integer.c:11:

[WARNING] /usr/include/postgresql/10/server/utils/array.h:301:37: warning: conversion to ‘long unsigned int’ from ‘int32 {aka int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]    (ARR_HASNULL(a) ? (a)->dataoffset : ARR_OVERHEAD_NONULLS(ARR_NDIM(a)))

[ERROR]                                      ^

[ERROR] /usr/include/postgresql/10/server/utils/array.h:307:21: note: in expansion of macro ‘ARR_DATA_OFFSET’

[ERROR]    (((char *) (a)) + ARR_DATA_OFFSET(a))

[ERROR]                      ^~~~~~~~~~~~~~~

[ERROR] /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/Integer.c:83:27: note: in expansion of macro ‘ARR_DATA_PTR’

[ERROR]       jint *array = (jint*)ARR_DATA_PTR(v);

[ERROR]                            ^~~~~~~~~~~~

[ERROR] In file included from /usr/include/postgresql/10/server/port/atomics.h:124:0,

[ERROR]                  from /usr/include/postgresql/10/server/utils/dsa.h:17,

[ERROR]                  from /usr/include/postgresql/10/server/nodes/tidbitmap.h:26,

[ERROR]                  from /usr/include/postgresql/10/server/access/genam.h:19,

[ERROR]                  from /usr/include/postgresql/10/server/nodes/execnodes.h:17,

[ERROR]                  from /usr/include/postgresql/10/server/commands/trigger.h:17,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/Invocation.h:20,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/Long.c:13:

[ERROR] /usr/include/postgresql/10/server/port/atomics/generic.h: In function ‘pg_atomic_add_fetch_u32_impl’:

[WARNING] /usr/include/postgresql/10/server/port/atomics/generic.h:245:49: warning: conversion to ‘uint32 {aka unsigned int}’ from ‘int32 {aka int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]   return pg_atomic_fetch_add_u32_impl(ptr, add_) + add_;

[ERROR]                                                  ^

[ERROR] /usr/include/postgresql/10/server/port/atomics/generic.h: In function ‘pg_atomic_sub_fetch_u32_impl’:

[WARNING] /usr/include/postgresql/10/server/port/atomics/generic.h:254:49: warning: conversion to ‘uint32 {aka unsigned int}’ from ‘int32 {aka int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]   return pg_atomic_fetch_sub_u32_impl(ptr, sub_) - sub_;

[ERROR]                                                  ^

[ERROR] /usr/include/postgresql/10/server/port/atomics/generic.h: In function ‘pg_atomic_add_fetch_u64_impl’:

[WARNING] /usr/include/postgresql/10/server/port/atomics/generic.h:416:49: warning: conversion to ‘long unsigned int’ from ‘int64 {aka long int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]   return pg_atomic_fetch_add_u64_impl(ptr, add_) + add_;

[ERROR]                                                  ^

[ERROR] /usr/include/postgresql/10/server/port/atomics/generic.h: In function ‘pg_atomic_sub_fetch_u64_impl’:

[WARNING] /usr/include/postgresql/10/server/port/atomics/generic.h:425:49: warning: conversion to ‘long unsigned int’ from ‘int64 {aka long int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]   return pg_atomic_fetch_sub_u64_impl(ptr, sub_) - sub_;

[ERROR]                                                  ^

[ERROR] In file included from /usr/include/postgresql/10/server/utils/guc.h:18:0,

[ERROR]                  from /usr/include/postgresql/10/server/tcop/tcopprot.h:26,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/pljava.h:39,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/JNICalls.h:18,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/PgObject.h:12,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/PgObject_priv.h:12,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/type/Type_priv.h:16,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/Long.c:11:

[ERROR] /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/Long.c: In function ‘_longArray_coerceDatum’:

[WARNING] /usr/include/postgresql/10/server/utils/array.h:287:22: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]

[ERROR]       2 * sizeof(int) * ARR_NDIM(a)) \

[ERROR]                       ^

[ERROR] /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/Long.c:55:23: note: in expansion of macro ‘ARR_NULLBITMAP’

[ERROR]    bits8* nullBitMap = ARR_NULLBITMAP(v);

[ERROR]                        ^~~~~~~~~~~~~~

[ERROR] In file included from /usr/include/postgresql/10/server/postgres.h:47:0,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/pljava.h:33,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/JNICalls.h:18,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/PgObject.h:12,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/PgObject_priv.h:12,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/type/Type_priv.h:16,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/Long.c:11:

[WARNING] /usr/include/postgresql/10/server/utils/array.h:295:48: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]

[ERROR]    MAXALIGN(sizeof(ArrayType) + 2 * sizeof(int) * (ndims))

[ERROR]                                                 ^

[ERROR] /usr/include/postgresql/10/server/c.h:653:17: note: in definition of macro ‘TYPEALIGN’

[ERROR]   (((uintptr_t) (LEN) + ((ALIGNVAL) - 1)) & ~((uintptr_t) ((ALIGNVAL) - 1)))

[ERROR]                  ^~~

[ERROR] /usr/include/postgresql/10/server/utils/array.h:295:3: note: in expansion of macro ‘MAXALIGN’

[ERROR]    MAXALIGN(sizeof(ArrayType) + 2 * sizeof(int) * (ndims))

[ERROR]    ^~~~~~~~

[ERROR] /usr/include/postgresql/10/server/utils/array.h:301:39: note: in expansion of macro ‘ARR_OVERHEAD_NONULLS’

[ERROR]    (ARR_HASNULL(a) ? (a)->dataoffset : ARR_OVERHEAD_NONULLS(ARR_NDIM(a)))

[ERROR]                                        ^~~~~~~~~~~~~~~~~~~~

[ERROR] /usr/include/postgresql/10/server/utils/array.h:307:21: note: in expansion of macro ‘ARR_DATA_OFFSET’

[ERROR]    (((char *) (a)) + ARR_DATA_OFFSET(a))

[ERROR]                      ^~~~~~~~~~~~~~~

[ERROR] /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/Long.c:56:27: note: in expansion of macro ‘ARR_DATA_PTR’

[ERROR]    jlong* values = (jlong*)ARR_DATA_PTR(v);

[ERROR]                            ^~~~~~~~~~~~

[ERROR] In file included from /usr/include/postgresql/10/server/utils/guc.h:18:0,

[ERROR]                  from /usr/include/postgresql/10/server/tcop/tcopprot.h:26,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/pljava.h:39,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/JNICalls.h:18,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/PgObject.h:12,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/PgObject_priv.h:12,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/type/Type_priv.h:16,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/Long.c:11:

[WARNING] /usr/include/postgresql/10/server/utils/array.h:301:37: warning: conversion to ‘long unsigned int’ from ‘int32 {aka int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]    (ARR_HASNULL(a) ? (a)->dataoffset : ARR_OVERHEAD_NONULLS(ARR_NDIM(a)))

[ERROR]                                      ^

[ERROR] /usr/include/postgresql/10/server/utils/array.h:307:21: note: in expansion of macro ‘ARR_DATA_OFFSET’

[ERROR]    (((char *) (a)) + ARR_DATA_OFFSET(a))

[ERROR]                      ^~~~~~~~~~~~~~~

[ERROR] /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/Long.c:56:27: note: in expansion of macro ‘ARR_DATA_PTR’

[ERROR]    jlong* values = (jlong*)ARR_DATA_PTR(v);

[ERROR]                            ^~~~~~~~~~~~

[ERROR] In file included from /usr/include/postgresql/10/server/postgres.h:47:0,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/pljava.h:33,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/JNICalls.h:18,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/PgObject.h:12,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/PgObject_priv.h:12,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/type/Type_priv.h:16,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/Long.c:11:

[WARNING] /usr/include/postgresql/10/server/utils/array.h:295:48: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]

[ERROR]    MAXALIGN(sizeof(ArrayType) + 2 * sizeof(int) * (ndims))

[ERROR]                                                 ^

[ERROR] /usr/include/postgresql/10/server/c.h:653:17: note: in definition of macro ‘TYPEALIGN’

[ERROR]   (((uintptr_t) (LEN) + ((ALIGNVAL) - 1)) & ~((uintptr_t) ((ALIGNVAL) - 1)))

[ERROR]                  ^~~

[ERROR] /usr/include/postgresql/10/server/utils/array.h:295:3: note: in expansion of macro ‘MAXALIGN’

[ERROR]    MAXALIGN(sizeof(ArrayType) + 2 * sizeof(int) * (ndims))

[ERROR]    ^~~~~~~~

[ERROR] /usr/include/postgresql/10/server/utils/array.h:301:39: note: in expansion of macro ‘ARR_OVERHEAD_NONULLS’

[ERROR]    (ARR_HASNULL(a) ? (a)->dataoffset : ARR_OVERHEAD_NONULLS(ARR_NDIM(a)))

[ERROR]                                        ^~~~~~~~~~~~~~~~~~~~

[ERROR] /usr/include/postgresql/10/server/utils/array.h:307:21: note: in expansion of macro ‘ARR_DATA_OFFSET’

[ERROR]    (((char *) (a)) + ARR_DATA_OFFSET(a))

[ERROR]                      ^~~~~~~~~~~~~~~

[ERROR] /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/Long.c:68:56: note: in expansion of macro ‘ARR_DATA_PTR’

[ERROR]    JNI_setLongArrayRegion(longArray, 0, nElems, (jlong*)ARR_DATA_PTR(v));

[ERROR]                                                         ^~~~~~~~~~~~

[ERROR] In file included from /usr/include/postgresql/10/server/utils/guc.h:18:0,

[ERROR]                  from /usr/include/postgresql/10/server/tcop/tcopprot.h:26,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/pljava.h:39,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/JNICalls.h:18,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/PgObject.h:12,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/PgObject_priv.h:12,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/type/Type_priv.h:16,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/Long.c:11:

[WARNING] /usr/include/postgresql/10/server/utils/array.h:301:37: warning: conversion to ‘long unsigned int’ from ‘int32 {aka int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]    (ARR_HASNULL(a) ? (a)->dataoffset : ARR_OVERHEAD_NONULLS(ARR_NDIM(a)))

[ERROR]                                      ^

[ERROR] /usr/include/postgresql/10/server/utils/array.h:307:21: note: in expansion of macro ‘ARR_DATA_OFFSET’

[ERROR]    (((char *) (a)) + ARR_DATA_OFFSET(a))

[ERROR]                      ^~~~~~~~~~~~~~~

[ERROR] /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/Long.c:68:56: note: in expansion of macro ‘ARR_DATA_PTR’

[ERROR]    JNI_setLongArrayRegion(longArray, 0, nElems, (jlong*)ARR_DATA_PTR(v));

[ERROR]                                                         ^~~~~~~~~~~~

[ERROR] In file included from /usr/include/postgresql/10/server/postgres.h:47:0,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/pljava.h:33,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/JNICalls.h:18,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/PgObject.h:12,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/PgObject_priv.h:12,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/type/Type_priv.h:16,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/Long.c:11:

[ERROR] /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/Long.c: In function ‘_longArray_coerceObject’:

[WARNING] /usr/include/postgresql/10/server/utils/array.h:295:48: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]

[ERROR]    MAXALIGN(sizeof(ArrayType) + 2 * sizeof(int) * (ndims))

[ERROR]                                                 ^

[ERROR] /usr/include/postgresql/10/server/c.h:653:17: note: in definition of macro ‘TYPEALIGN’

[ERROR]   (((uintptr_t) (LEN) + ((ALIGNVAL) - 1)) & ~((uintptr_t) ((ALIGNVAL) - 1)))

[ERROR]                  ^~~

[ERROR] /usr/include/postgresql/10/server/utils/array.h:295:3: note: in expansion of macro ‘MAXALIGN’

[ERROR]    MAXALIGN(sizeof(ArrayType) + 2 * sizeof(int) * (ndims))

[ERROR]    ^~~~~~~~

[ERROR] /usr/include/postgresql/10/server/utils/array.h:301:39: note: in expansion of macro ‘ARR_OVERHEAD_NONULLS’

[ERROR]    (ARR_HASNULL(a) ? (a)->dataoffset : ARR_OVERHEAD_NONULLS(ARR_NDIM(a)))

[ERROR]                                        ^~~~~~~~~~~~~~~~~~~~

[ERROR] /usr/include/postgresql/10/server/utils/array.h:307:21: note: in expansion of macro ‘ARR_DATA_OFFSET’

[ERROR]    (((char *) (a)) + ARR_DATA_OFFSET(a))

[ERROR]                      ^~~~~~~~~~~~~~~

[ERROR] /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/Long.c:86:68: note: in expansion of macro ‘ARR_DATA_PTR’

[ERROR]    JNI_getLongArrayRegion((jlongArray)longArray, 0, nElems, (jlong*)ARR_DATA_PTR(v));

[ERROR]                                                                     ^~~~~~~~~~~~

[ERROR] In file included from /usr/include/postgresql/10/server/utils/guc.h:18:0,

[ERROR]                  from /usr/include/postgresql/10/server/tcop/tcopprot.h:26,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/pljava.h:39,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/JNICalls.h:18,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/PgObject.h:12,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/PgObject_priv.h:12,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/type/Type_priv.h:16,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/Long.c:11:

[WARNING] /usr/include/postgresql/10/server/utils/array.h:301:37: warning: conversion to ‘long unsigned int’ from ‘int32 {aka int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]    (ARR_HASNULL(a) ? (a)->dataoffset : ARR_OVERHEAD_NONULLS(ARR_NDIM(a)))

[ERROR]                                      ^

[ERROR] /usr/include/postgresql/10/server/utils/array.h:307:21: note: in expansion of macro ‘ARR_DATA_OFFSET’

[ERROR]    (((char *) (a)) + ARR_DATA_OFFSET(a))

[ERROR]                      ^~~~~~~~~~~~~~~

[ERROR] /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/Long.c:86:68: note: in expansion of macro ‘ARR_DATA_PTR’

[ERROR]    JNI_getLongArrayRegion((jlongArray)longArray, 0, nElems, (jlong*)ARR_DATA_PTR(v));

[ERROR]                                                                     ^~~~~~~~~~~~

[ERROR] In file included from /usr/include/postgresql/10/server/postgres.h:47:0,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/pljava.h:33,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/JNICalls.h:18,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/PgObject.h:12,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/PgObject_priv.h:12,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/type/Type_priv.h:16,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/Long.c:11:

[WARNING] /usr/include/postgresql/10/server/utils/array.h:295:48: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]

[ERROR]    MAXALIGN(sizeof(ArrayType) + 2 * sizeof(int) * (ndims))

[ERROR]                                                 ^

[ERROR] /usr/include/postgresql/10/server/c.h:653:17: note: in definition of macro ‘TYPEALIGN’

[ERROR]   (((uintptr_t) (LEN) + ((ALIGNVAL) - 1)) & ~((uintptr_t) ((ALIGNVAL) - 1)))

[ERROR]                  ^~~

[ERROR] /usr/include/postgresql/10/server/utils/array.h:295:3: note: in expansion of macro ‘MAXALIGN’

[ERROR]    MAXALIGN(sizeof(ArrayType) + 2 * sizeof(int) * (ndims))

[ERROR]    ^~~~~~~~

[ERROR] /usr/include/postgresql/10/server/utils/array.h:301:39: note: in expansion of macro ‘ARR_OVERHEAD_NONULLS’

[ERROR]    (ARR_HASNULL(a) ? (a)->dataoffset : ARR_OVERHEAD_NONULLS(ARR_NDIM(a)))

[ERROR]                                        ^~~~~~~~~~~~~~~~~~~~

[ERROR] /usr/include/postgresql/10/server/utils/array.h:307:21: note: in expansion of macro ‘ARR_DATA_OFFSET’

[ERROR]    (((char *) (a)) + ARR_DATA_OFFSET(a))

[ERROR]                      ^~~~~~~~~~~~~~~

[ERROR] /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/Long.c:90:26: note: in expansion of macro ‘ARR_DATA_PTR’

[ERROR]    jlong *array = (jlong*)ARR_DATA_PTR(v);

[ERROR]                           ^~~~~~~~~~~~

[ERROR] In file included from /usr/include/postgresql/10/server/utils/guc.h:18:0,

[ERROR]                  from /usr/include/postgresql/10/server/tcop/tcopprot.h:26,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/pljava.h:39,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/JNICalls.h:18,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/PgObject.h:12,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/PgObject_priv.h:12,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/type/Type_priv.h:16,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/Long.c:11:

[WARNING] /usr/include/postgresql/10/server/utils/array.h:301:37: warning: conversion to ‘long unsigned int’ from ‘int32 {aka int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]    (ARR_HASNULL(a) ? (a)->dataoffset : ARR_OVERHEAD_NONULLS(ARR_NDIM(a)))

[ERROR]                                      ^

[ERROR] /usr/include/postgresql/10/server/utils/array.h:307:21: note: in expansion of macro ‘ARR_DATA_OFFSET’

[ERROR]    (((char *) (a)) + ARR_DATA_OFFSET(a))

[ERROR]                      ^~~~~~~~~~~~~~~

[ERROR] /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/Long.c:90:26: note: in expansion of macro ‘ARR_DATA_PTR’

[ERROR]    jlong *array = (jlong*)ARR_DATA_PTR(v);

[ERROR]                           ^~~~~~~~~~~~

[ERROR] In file included from /usr/include/postgresql/10/server/port/atomics.h:124:0,

[ERROR]                  from /usr/include/postgresql/10/server/utils/dsa.h:17,

[ERROR]                  from /usr/include/postgresql/10/server/nodes/tidbitmap.h:26,

[ERROR]                  from /usr/include/postgresql/10/server/access/genam.h:19,

[ERROR]                  from /usr/include/postgresql/10/server/nodes/execnodes.h:17,

[ERROR]                  from /usr/include/postgresql/10/server/catalog/partition.h:18,

[ERROR]                  from /usr/include/postgresql/10/server/executor/executor.h:17,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/SingleRowReader.c:19:

[ERROR] /usr/include/postgresql/10/server/port/atomics/generic.h: In function ‘pg_atomic_add_fetch_u32_impl’:

[WARNING] /usr/include/postgresql/10/server/port/atomics/generic.h:245:49: warning: conversion to ‘uint32 {aka unsigned int}’ from ‘int32 {aka int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]   return pg_atomic_fetch_add_u32_impl(ptr, add_) + add_;

[ERROR]                                                  ^

[ERROR] /usr/include/postgresql/10/server/port/atomics/generic.h: In function ‘pg_atomic_sub_fetch_u32_impl’:

[WARNING] /usr/include/postgresql/10/server/port/atomics/generic.h:254:49: warning: conversion to ‘uint32 {aka unsigned int}’ from ‘int32 {aka int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]   return pg_atomic_fetch_sub_u32_impl(ptr, sub_) - sub_;

[ERROR]                                                  ^

[ERROR] /usr/include/postgresql/10/server/port/atomics/generic.h: In function ‘pg_atomic_add_fetch_u64_impl’:

[WARNING] /usr/include/postgresql/10/server/port/atomics/generic.h:416:49: warning: conversion to ‘long unsigned int’ from ‘int64 {aka long int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]   return pg_atomic_fetch_add_u64_impl(ptr, add_) + add_;

[ERROR]                                                  ^

[ERROR] /usr/include/postgresql/10/server/port/atomics/generic.h: In function ‘pg_atomic_sub_fetch_u64_impl’:

[WARNING] /usr/include/postgresql/10/server/port/atomics/generic.h:425:49: warning: conversion to ‘long unsigned int’ from ‘int64 {aka long int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]   return pg_atomic_fetch_sub_u64_impl(ptr, sub_) - sub_;

[ERROR]                                                  ^

[ERROR] In file included from /usr/include/postgresql/10/server/port/atomics.h:124:0,

[ERROR]                  from /usr/include/postgresql/10/server/utils/dsa.h:17,

[ERROR]                  from /usr/include/postgresql/10/server/nodes/tidbitmap.h:26,

[ERROR]                  from /usr/include/postgresql/10/server/access/genam.h:19,

[ERROR]                  from /usr/include/postgresql/10/server/nodes/execnodes.h:17,

[ERROR]                  from /usr/include/postgresql/10/server/commands/trigger.h:17,

[ERROR]                  from /usr/include/postgresql/10/server/executor/spi.h:16,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/c/PgSavepoint.c:15:

[ERROR] /usr/include/postgresql/10/server/port/atomics/generic.h: In function ‘pg_atomic_add_fetch_u32_impl’:

[WARNING] /usr/include/postgresql/10/server/port/atomics/generic.h:245:49: warning: conversion to ‘uint32 {aka unsigned int}’ from ‘int32 {aka int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]   return pg_atomic_fetch_add_u32_impl(ptr, add_) + add_;

[ERROR]                                                  ^

[ERROR] /usr/include/postgresql/10/server/port/atomics/generic.h: In function ‘pg_atomic_sub_fetch_u32_impl’:

[WARNING] /usr/include/postgresql/10/server/port/atomics/generic.h:254:49: warning: conversion to ‘uint32 {aka unsigned int}’ from ‘int32 {aka int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]   return pg_atomic_fetch_sub_u32_impl(ptr, sub_) - sub_;

[ERROR]                                                  ^

[ERROR] /usr/include/postgresql/10/server/port/atomics/generic.h: In function ‘pg_atomic_add_fetch_u64_impl’:

[WARNING] /usr/include/postgresql/10/server/port/atomics/generic.h:416:49: warning: conversion to ‘long unsigned int’ from ‘int64 {aka long int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]   return pg_atomic_fetch_add_u64_impl(ptr, add_) + add_;

[ERROR]                                                  ^

[ERROR] /usr/include/postgresql/10/server/port/atomics/generic.h: In function ‘pg_atomic_sub_fetch_u64_impl’:

[WARNING] /usr/include/postgresql/10/server/port/atomics/generic.h:425:49: warning: conversion to ‘long unsigned int’ from ‘int64 {aka long int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]   return pg_atomic_fetch_sub_u64_impl(ptr, sub_) - sub_;

[ERROR]                                                  ^

[ERROR] /usr/lib/postgresql/pljava/pljava-so/src/main/c/PgSavepoint.c: In function ‘Java_org_postgresql_pljava_internal_PgSavepoint__1set’:

[WARNING] /usr/lib/postgresql/pljava/pljava-so/src/main/c/PgSavepoint.c:119:9: warning: conversion to ‘jint {aka int}’ from ‘SubTransactionId {aka unsigned int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]    xid = GetCurrentSubTransactionId();

[ERROR]          ^~~~~~~~~~~~~~~~~~~~~~~~~~

[ERROR] /usr/lib/postgresql/pljava/pljava-so/src/main/c/SQLInputFromChunk.c: In function ‘SQLInputFromChunk_create’:

[WARNING] /usr/lib/postgresql/pljava/pljava-so/src/main/c/SQLInputFromChunk.c:23:38: warning: conversion to ‘jlong {aka long int}’ from ‘size_t {aka long unsigned int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]   dbb = JNI_newDirectByteBuffer(data, sz);

[ERROR]                                       ^~

[ERROR] In file included from /usr/include/postgresql/10/server/port/atomics.h:124:0,

[ERROR]                  from /usr/include/postgresql/10/server/utils/dsa.h:17,

[ERROR]                  from /usr/include/postgresql/10/server/nodes/tidbitmap.h:26,

[ERROR]                  from /usr/include/postgresql/10/server/access/genam.h:19,

[ERROR]                  from /usr/include/postgresql/10/server/nodes/execnodes.h:17,

[ERROR]                  from /usr/include/postgresql/10/server/commands/trigger.h:17,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/Function.h:18,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/Oid.c:21:

[ERROR] /usr/include/postgresql/10/server/port/atomics/generic.h: In function ‘pg_atomic_add_fetch_u32_impl’:

[WARNING] /usr/include/postgresql/10/server/port/atomics/generic.h:245:49: warning: conversion to ‘uint32 {aka unsigned int}’ from ‘int32 {aka int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]   return pg_atomic_fetch_add_u32_impl(ptr, add_) + add_;

[ERROR]                                                  ^

[ERROR] /usr/include/postgresql/10/server/port/atomics/generic.h: In function ‘pg_atomic_sub_fetch_u32_impl’:

[WARNING] /usr/include/postgresql/10/server/port/atomics/generic.h:254:49: warning: conversion to ‘uint32 {aka unsigned int}’ from ‘int32 {aka int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]   return pg_atomic_fetch_sub_u32_impl(ptr, sub_) - sub_;

[ERROR]                                                  ^

[ERROR] /usr/include/postgresql/10/server/port/atomics/generic.h: In function ‘pg_atomic_add_fetch_u64_impl’:

[WARNING] /usr/include/postgresql/10/server/port/atomics/generic.h:416:49: warning: conversion to ‘long unsigned int’ from ‘int64 {aka long int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]   return pg_atomic_fetch_add_u64_impl(ptr, add_) + add_;

[ERROR]                                                  ^

[ERROR] /usr/include/postgresql/10/server/port/atomics/generic.h: In function ‘pg_atomic_sub_fetch_u64_impl’:

[WARNING] /usr/include/postgresql/10/server/port/atomics/generic.h:425:49: warning: conversion to ‘long unsigned int’ from ‘int64 {aka long int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]   return pg_atomic_fetch_sub_u64_impl(ptr, sub_) - sub_;

[ERROR]                                                  ^

[ERROR] /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/Oid.c: In function ‘Java_org_postgresql_pljava_internal_Oid__1forSqlType’:

[WARNING] /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/Oid.c:243:9: warning: conversion to ‘jint {aka int}’ from ‘Oid {aka unsigned int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]   return typeId;

[ERROR]          ^~~~~~

[ERROR] /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/Oid.c: In function ‘Java_org_postgresql_pljava_internal_Oid__1forTypeName’:

[WARNING] /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/Oid.c:276:9: warning: conversion to ‘jint {aka int}’ from ‘Oid {aka unsigned int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]   return typeId;

[ERROR]          ^~~~~~

[ERROR] In file included from /usr/include/postgresql/10/server/port/atomics.h:124:0,

[ERROR]                  from /usr/include/postgresql/10/server/utils/dsa.h:17,

[ERROR]                  from /usr/include/postgresql/10/server/nodes/tidbitmap.h:26,

[ERROR]                  from /usr/include/postgresql/10/server/access/genam.h:19,

[ERROR]                  from /usr/include/postgresql/10/server/nodes/execnodes.h:17,

[ERROR]                  from /usr/include/postgresql/10/server/executor/execdesc.h:18,

[ERROR]                  from /usr/include/postgresql/10/server/utils/portal.h:50,

[ERROR]                  from /usr/include/postgresql/10/server/commands/portalcmds.h:18,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/Portal.c:15:

[ERROR] /usr/include/postgresql/10/server/port/atomics/generic.h: In function ‘pg_atomic_add_fetch_u32_impl’:

[WARNING] /usr/include/postgresql/10/server/port/atomics/generic.h:245:49: warning: conversion to ‘uint32 {aka unsigned int}’ from ‘int32 {aka int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]   return pg_atomic_fetch_add_u32_impl(ptr, add_) + add_;

[ERROR]                                                  ^

[ERROR] /usr/include/postgresql/10/server/port/atomics/generic.h: In function ‘pg_atomic_sub_fetch_u32_impl’:

[WARNING] /usr/include/postgresql/10/server/port/atomics/generic.h:254:49: warning: conversion to ‘uint32 {aka unsigned int}’ from ‘int32 {aka int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]   return pg_atomic_fetch_sub_u32_impl(ptr, sub_) - sub_;

[ERROR]                                                  ^

[ERROR] /usr/include/postgresql/10/server/port/atomics/generic.h: In function ‘pg_atomic_add_fetch_u64_impl’:

[WARNING] /usr/include/postgresql/10/server/port/atomics/generic.h:416:49: warning: conversion to ‘long unsigned int’ from ‘int64 {aka long int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]   return pg_atomic_fetch_add_u64_impl(ptr, add_) + add_;

[ERROR]                                                  ^

[ERROR] /usr/include/postgresql/10/server/port/atomics/generic.h: In function ‘pg_atomic_sub_fetch_u64_impl’:

[WARNING] /usr/include/postgresql/10/server/port/atomics/generic.h:425:49: warning: conversion to ‘long unsigned int’ from ‘int64 {aka long int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]   return pg_atomic_fetch_sub_u64_impl(ptr, sub_) - sub_;

[ERROR]                                                  ^

[ERROR] In file included from /usr/include/postgresql/10/server/port/atomics.h:124:0,

[ERROR]                  from /usr/include/postgresql/10/server/utils/dsa.h:17,

[ERROR]                  from /usr/include/postgresql/10/server/nodes/tidbitmap.h:26,

[ERROR]                  from /usr/include/postgresql/10/server/access/genam.h:19,

[ERROR]                  from /usr/include/postgresql/10/server/nodes/execnodes.h:17,

[ERROR]                  from /usr/include/postgresql/10/server/commands/trigger.h:17,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/Function.h:18,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/Backend.h:12,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/Timestamp.c:20:

[ERROR] /usr/include/postgresql/10/server/port/atomics/generic.h: In function ‘pg_atomic_add_fetch_u32_impl’:

[WARNING] /usr/include/postgresql/10/server/port/atomics/generic.h:245:49: warning: conversion to ‘uint32 {aka unsigned int}’ from ‘int32 {aka int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]   return pg_atomic_fetch_add_u32_impl(ptr, add_) + add_;

[ERROR]                                                  ^

[ERROR] /usr/include/postgresql/10/server/port/atomics/generic.h: In function ‘pg_atomic_sub_fetch_u32_impl’:

[WARNING] /usr/include/postgresql/10/server/port/atomics/generic.h:254:49: warning: conversion to ‘uint32 {aka unsigned int}’ from ‘int32 {aka int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]   return pg_atomic_fetch_sub_u32_impl(ptr, sub_) - sub_;

[ERROR]                                                  ^

[ERROR] /usr/include/postgresql/10/server/port/atomics/generic.h: In function ‘pg_atomic_add_fetch_u64_impl’:

[WARNING] /usr/include/postgresql/10/server/port/atomics/generic.h:416:49: warning: conversion to ‘long unsigned int’ from ‘int64 {aka long int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]   return pg_atomic_fetch_add_u64_impl(ptr, add_) + add_;

[ERROR]                                                  ^

[ERROR] /usr/include/postgresql/10/server/port/atomics/generic.h: In function ‘pg_atomic_sub_fetch_u64_impl’:

[WARNING] /usr/include/postgresql/10/server/port/atomics/generic.h:425:49: warning: conversion to ‘long unsigned int’ from ‘int64 {aka long int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]   return pg_atomic_fetch_sub_u64_impl(ptr, sub_) - sub_;

[ERROR]                                                  ^

[ERROR] In file included from /usr/include/postgresql/10/server/port/atomics.h:124:0,

[ERROR]                  from /usr/include/postgresql/10/server/utils/dsa.h:17,

[ERROR]                  from /usr/include/postgresql/10/server/nodes/tidbitmap.h:26,

[ERROR]                  from /usr/include/postgresql/10/server/access/genam.h:19,

[ERROR]                  from /usr/include/postgresql/10/server/nodes/execnodes.h:17,

[ERROR]                  from /usr/include/postgresql/10/server/commands/trigger.h:17,

[ERROR]                  from /usr/include/postgresql/10/server/executor/spi.h:16,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/TupleTable.c:14:

[ERROR] /usr/include/postgresql/10/server/port/atomics/generic.h: In function ‘pg_atomic_add_fetch_u32_impl’:

[WARNING] /usr/include/postgresql/10/server/port/atomics/generic.h:245:49: warning: conversion to ‘uint32 {aka unsigned int}’ from ‘int32 {aka int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]   return pg_atomic_fetch_add_u32_impl(ptr, add_) + add_;

[ERROR]                                                  ^

[ERROR] /usr/include/postgresql/10/server/port/atomics/generic.h: In function ‘pg_atomic_sub_fetch_u32_impl’:

[WARNING] /usr/include/postgresql/10/server/port/atomics/generic.h:254:49: warning: conversion to ‘uint32 {aka unsigned int}’ from ‘int32 {aka int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]   return pg_atomic_fetch_sub_u32_impl(ptr, sub_) - sub_;

[ERROR]                                                  ^

[ERROR] /usr/include/postgresql/10/server/port/atomics/generic.h: In function ‘pg_atomic_add_fetch_u64_impl’:

[WARNING] /usr/include/postgresql/10/server/port/atomics/generic.h:416:49: warning: conversion to ‘long unsigned int’ from ‘int64 {aka long int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]   return pg_atomic_fetch_add_u64_impl(ptr, add_) + add_;

[ERROR]                                                  ^

[ERROR] /usr/include/postgresql/10/server/port/atomics/generic.h: In function ‘pg_atomic_sub_fetch_u64_impl’:

[WARNING] /usr/include/postgresql/10/server/port/atomics/generic.h:425:49: warning: conversion to ‘long unsigned int’ from ‘int64 {aka long int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]   return pg_atomic_fetch_sub_u64_impl(ptr, sub_) - sub_;

[ERROR]                                                  ^

[ERROR] /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/String.c: In function ‘String_createJavaString’:

[WARNING] /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/String.c:132:43: warning: conversion to ‘jlong {aka long int}’ from ‘Size {aka long unsigned int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]    bytebuf = JNI_newDirectByteBuffer(utf8, srcLen);

[ERROR]                                            ^~~~~~

[ERROR] /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/String.c: In function ‘String_createJavaStringFromNTS’:

[WARNING] /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/String.c:164:51: warning: conversion to ‘jlong {aka long int}’ from ‘Size {aka long unsigned int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]    bytebuf = JNI_newDirectByteBuffer((void *)utf8, sz);

[ERROR]                                                    ^~

[ERROR] /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/String.c: In function ‘String_createText’:

[WARNING] /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/String.c:198:13: warning: conversion to ‘Size {aka long unsigned int}’ from ‘int’ may change the sign of the result [-Wsign-conversion]

[ERROR]    dencLen = sid.len;

[ERROR]              ^~~

[ERROR] /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/String.c: In function ‘appendCharBuffer’:

[ERROR] In file included from /usr/include/postgresql/10/server/port/atomics.h:124:0,

[ERROR]                  from /usr/include/postgresql/10/server/utils/dsa.h:17,

[ERROR]                  from /usr/include/postgresql/10/server/nodes/tidbitmap.h:26,

[ERROR]                  from /usr/include/postgresql/10/server/access/genam.h:19,

[ERROR]                  from /usr/include/postgresql/10/server/nodes/execnodes.h:17,

[ERROR]                  from /usr/include/postgresql/10/server/commands/trigger.h:17,

[ERROR]                  from /usr/include/postgresql/10/server/executor/spi.h:16,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/Relation.c:16:

[ERROR] /usr/include/postgresql/10/server/port/atomics/generic.h: In function ‘pg_atomic_add_fetch_u32_impl’:

[WARNING] /usr/include/postgresql/10/server/port/atomics/generic.h:245:49: warning: conversion to ‘uint32 {aka unsigned int}’ from ‘int32 {aka int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]   return pg_atomic_fetch_add_u32_impl(ptr, add_) + add_;

[ERROR]                                                  ^

[ERROR] /usr/include/postgresql/10/server/port/atomics/generic.h: In function ‘pg_atomic_sub_fetch_u32_impl’:

[WARNING] /usr/include/postgresql/10/server/port/atomics/generic.h:254:49: warning: conversion to ‘uint32 {aka unsigned int}’ from ‘int32 {aka int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]   return pg_atomic_fetch_sub_u32_impl(ptr, sub_) - sub_;

[ERROR]                                                  ^

[ERROR] /usr/include/postgresql/10/server/port/atomics/generic.h: In function ‘pg_atomic_add_fetch_u64_impl’:

[WARNING] /usr/include/postgresql/10/server/port/atomics/generic.h:416:49: warning: conversion to ‘long unsigned int’ from ‘int64 {aka long int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]   return pg_atomic_fetch_add_u64_impl(ptr, add_) + add_;

[ERROR]                                                  ^

[ERROR] /usr/include/postgresql/10/server/port/atomics/generic.h: In function ‘pg_atomic_sub_fetch_u64_impl’:

[WARNING] /usr/include/postgresql/10/server/port/atomics/generic.h:425:49: warning: conversion to ‘long unsigned int’ from ‘int64 {aka long int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]   return pg_atomic_fetch_sub_u64_impl(ptr, sub_) - sub_;

[ERROR]                                                  ^

[ERROR] /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/Relation.c: In function ‘Java_org_postgresql_pljava_internal_Relation__1modifyTuple’:

[WARNING] /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/Relation.c:216:41: warning: conversion to ‘long unsigned int’ from ‘jint {aka int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]     Datum* values = (Datum*)palloc(count * sizeof(Datum));

[ERROR]                                          ^

[WARNING] /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/Relation.c:225:34: warning: conversion to ‘long unsigned int’ from ‘jint {aka int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]      indexes = (int*)palloc(count * sizeof(int));

[ERROR]                                   ^

[WARNING] /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/Relation.c:258:29: warning: conversion to ‘Size {aka long unsigned int}’ from ‘int’ may change the sign of the result [-Wsign-conversion]

[ERROR]        nulls = (char*)palloc(count+1);

[ERROR]                              ^~~~~

[WARNING] /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/Relation.c:259:26: warning: conversion to ‘size_t {aka long unsigned int}’ from ‘jint {aka int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]        memset(nulls, ' ', count); /* all values non-null initially */

[ERROR]                           ^~~~~

[WARNING] /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/String.c:304:12: warning: conversion to ‘Size {aka long unsigned int}’ from ‘jint {aka int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]    nchars = JNI_callIntMethodLocked(charbuf, s_Buffer_remaining);

[ERROR]             ^~~~~~~~~~~~~~~~~~~~~~~

[WARNING] /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/String.c:315:9: warning: conversion to ‘Size {aka long unsigned int}’ from ‘int’ may change the sign of the result [-Wsign-conversion]

[ERROR]    cap = buf->maxlen - buf->len;

[ERROR]          ^~~

[WARNING] /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/String.c:316:41: warning: conversion to ‘jlong {aka long int}’ from ‘Size {aka long unsigned int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]    bytebuf = JNI_newDirectByteBuffer(bp, cap);

[ERROR]                                          ^~~

[ERROR] In file included from /usr/include/postgresql/10/server/port/atomics.h:124:0,

[ERROR]                  from /usr/include/postgresql/10/server/utils/dsa.h:17,

[ERROR]                  from /usr/include/postgresql/10/server/nodes/tidbitmap.h:26,

[ERROR]                  from /usr/include/postgresql/10/server/access/genam.h:19,

[ERROR]                  from /usr/include/postgresql/10/server/nodes/execnodes.h:17,

[ERROR]                  from /usr/include/postgresql/10/server/commands/trigger.h:17,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/Invocation.h:20,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/c/SQLInputFromTuple.c:19:

[ERROR] /usr/include/postgresql/10/server/port/atomics/generic.h: In function ‘pg_atomic_add_fetch_u32_impl’:

[WARNING] /usr/include/postgresql/10/server/port/atomics/generic.h:245:49: warning: conversion to ‘uint32 {aka unsigned int}’ from ‘int32 {aka int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]   return pg_atomic_fetch_add_u32_impl(ptr, add_) + add_;

[ERROR]                                                  ^

[ERROR] /usr/include/postgresql/10/server/port/atomics/generic.h: In function ‘pg_atomic_sub_fetch_u32_impl’:

[WARNING] /usr/include/postgresql/10/server/port/atomics/generic.h:254:49: warning: conversion to ‘uint32 {aka unsigned int}’ from ‘int32 {aka int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]   return pg_atomic_fetch_sub_u32_impl(ptr, sub_) - sub_;

[ERROR]                                                  ^

[ERROR] /usr/include/postgresql/10/server/port/atomics/generic.h: In function ‘pg_atomic_add_fetch_u64_impl’:

[WARNING] /usr/include/postgresql/10/server/port/atomics/generic.h:416:49: warning: conversion to ‘long unsigned int’ from ‘int64 {aka long int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]   return pg_atomic_fetch_add_u64_impl(ptr, add_) + add_;

[ERROR]                                                  ^

[ERROR] /usr/include/postgresql/10/server/port/atomics/generic.h: In function ‘pg_atomic_sub_fetch_u64_impl’:

[WARNING] /usr/include/postgresql/10/server/port/atomics/generic.h:425:49: warning: conversion to ‘long unsigned int’ from ‘int64 {aka long int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]   return pg_atomic_fetch_sub_u64_impl(ptr, sub_) - sub_;

[ERROR]                                                  ^

[ERROR] /usr/lib/postgresql/pljava/pljava-so/src/main/c/VarlenaWrapper.c: In function ‘pljava_VarlenaWrapper_Input’:

[WARNING] /usr/lib/postgresql/pljava/pljava-so/src/main/c/VarlenaWrapper.c:215:13: warning: conversion to ‘Size {aka long unsigned int}’ from ‘int’ may change the sign of the result [-Wsign-conversion]

[ERROR]     parked = toast_pointer.va_extsize + VARHDRSZ;

[ERROR]              ^~~~~~~~~~~~~

[WARNING] /usr/lib/postgresql/pljava/pljava-so/src/main/c/VarlenaWrapper.c:234:45: warning: conversion to ‘jlong {aka long int}’ from ‘Size {aka long unsigned int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]   dbb = JNI_newDirectByteBuffer(VARDATA(vl), actual);

[ERROR]                                              ^~~~~~

[ERROR] In file included from /usr/lib/postgresql/pljava/pljava-so/src/main/c/VarlenaWrapper.c:14:0:

[ERROR] /usr/lib/postgresql/pljava/pljava-so/src/main/c/VarlenaWrapper.c: In function ‘Java_org_postgresql_pljava_internal_VarlenaWrapper_00024Input_00024State__1detoast’:

[WARNING] /usr/include/postgresql/10/server/postgres.h:341:2: warning: conversion to ‘jlong {aka long int}’ from ‘long unsigned int’ may change the sign of the result [-Wsign-conversion]

[ERROR]   (VARATT_IS_1B_E(PTR) ? VARSIZE_EXTERNAL(PTR)-VARHDRSZ_EXTERNAL : \

[ERROR]   ^

[ERROR] /usr/lib/postgresql/pljava/pljava-so/src/main/c/VarlenaWrapper.c:545:23: note: in expansion of macro ‘VARSIZE_ANY_EXHDR’

[ERROR]    VARDATA(detoasted), VARSIZE_ANY_EXHDR(detoasted));

[ERROR]                        ^~~~~~~~~~~~~~~~~

[ERROR] /usr/lib/postgresql/pljava/pljava-so/src/main/c/VarlenaWrapper.c: In function ‘Java_org_postgresql_pljava_internal_VarlenaWrapper_00024Output_00024State__1nextBuffer’:

[WARNING] /usr/lib/postgresql/pljava/pljava-so/src/main/c/VarlenaWrapper.c:608:23: warning: conversion to ‘Size {aka long unsigned int}’ from ‘jint {aka int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]   evosh->tail->size  = currentBufPosition;

[ERROR]                        ^~~~~~~~~~~~~~~~~~

[WARNING] /usr/lib/postgresql/pljava/pljava-so/src/main/c/VarlenaWrapper.c:609:20: warning: conversion to ‘Size {aka long unsigned int}’ from ‘jint {aka int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]   evosh->total_size += currentBufPosition;

[ERROR]                     ^~

[WARNING] /usr/lib/postgresql/pljava/pljava-so/src/main/c/VarlenaWrapper.c:623:47: warning: conversion to ‘Size {aka long unsigned int}’ from ‘jint {aka int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]     MemoryContextAlloc(evosh->hdr.eoh_context, desiredCapacity);

[ERROR]                                                ^~~~~~~~~~~~~~~

[WARNING] /usr/lib/postgresql/pljava/pljava-so/src/main/c/VarlenaWrapper.c:628:58: warning: conversion to ‘long unsigned int’ from ‘jint {aka int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]   dbb = JNI_newDirectByteBuffer(node + 1, desiredCapacity - sizeof *node);

[ERROR]                                                           ^

[WARNING] /usr/lib/postgresql/pljava/pljava-so/src/main/c/VarlenaWrapper.c:628:42: warning: conversion to ‘jlong {aka long int}’ from ‘long unsigned int’ may change the sign of the result [-Wsign-conversion]

[ERROR]   dbb = JNI_newDirectByteBuffer(node + 1, desiredCapacity - sizeof *node);

[ERROR]                                           ^~~~~~~~~~~~~~~

[ERROR] In file included from /usr/include/postgresql/10/server/port/atomics.h:124:0,

[ERROR] In file included from /usr/include/postgresql/10/server/port/atomics.h:124:0,

[ERROR]                  from /usr/include/postgresql/10/server/utils/dsa.h:17,

[ERROR]                  from /usr/include/postgresql/10/server/utils/dsa.h:17,

[ERROR]                  from /usr/include/postgresql/10/server/nodes/tidbitmap.h:26,

[ERROR]                  from /usr/include/postgresql/10/server/access/genam.h:19,

[ERROR]                  from /usr/include/postgresql/10/server/nodes/execnodes.h:17,

[ERROR]                  from /usr/include/postgresql/10/server/nodes/tidbitmap.h:26,

[ERROR]                  from /usr/include/postgresql/10/server/access/genam.h:19,

[ERROR]                  from /usr/include/postgresql/10/server/nodes/execnodes.h:17,

[ERROR]                  from /usr/include/postgresql/10/server/commands/trigger.h:17,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/Invocation.h:20,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/TriggerData.c:18:

[ERROR] /usr/include/postgresql/10/server/port/atomics/generic.h: In function ‘pg_atomic_add_fetch_u32_impl’:

[WARNING] /usr/include/postgresql/10/server/port/atomics/generic.h:245:49: warning: conversion to ‘uint32 {aka unsigned int}’ from ‘int32 {aka int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]   return pg_atomic_fetch_add_u32_impl(ptr, add_) + add_;

[ERROR]                                                  ^

[ERROR] /usr/include/postgresql/10/server/port/atomics/generic.h: In function ‘pg_atomic_sub_fetch_u32_impl’:

[WARNING] /usr/include/postgresql/10/server/port/atomics/generic.h:254:49: warning: conversion to ‘uint32 {aka unsigned int}’ from ‘int32 {aka int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]   return pg_atomic_fetch_sub_u32_impl(ptr, sub_) - sub_;

[ERROR]                                                  ^

[ERROR] /usr/include/postgresql/10/server/port/atomics/generic.h: In function ‘pg_atomic_add_fetch_u64_impl’:

[WARNING] /usr/include/postgresql/10/server/port/atomics/generic.h:416:49: warning: conversion to ‘long unsigned int’ from ‘int64 {aka long int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]   return pg_atomic_fetch_add_u64_impl(ptr, add_) + add_;

[ERROR]                                                  ^

[ERROR]                  from /usr/include/postgresql/10/server/commands/trigger.h:17,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/Invocation.h:20,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/Short.c:13:

[ERROR] /usr/include/postgresql/10/server/port/atomics/generic.h: In function ‘pg_atomic_add_fetch_u32_impl’:

[WARNING] /usr/include/postgresql/10/server/port/atomics/generic.h:245:49: warning: conversion to ‘uint32 {aka unsigned int}’ from ‘int32 {aka int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]   return pg_atomic_fetch_add_u32_impl(ptr, add_) + add_;

[ERROR]                                                  ^

[ERROR] /usr/include/postgresql/10/server/port/atomics/generic.h: In function ‘pg_atomic_sub_fetch_u32_impl’:

[WARNING] /usr/include/postgresql/10/server/port/atomics/generic.h:254:49: warning: conversion to ‘uint32 {aka unsigned int}’ from ‘int32 {aka int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]   return pg_atomic_fetch_sub_u32_impl(ptr, sub_) - sub_;

[ERROR]                                                  ^

[ERROR] /usr/include/postgresql/10/server/port/atomics/generic.h: In function ‘pg_atomic_add_fetch_u64_impl’:

[WARNING] /usr/include/postgresql/10/server/port/atomics/generic.h:416:49: warning: conversion to ‘long unsigned int’ from ‘int64 {aka long int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]   return pg_atomic_fetch_add_u64_impl(ptr, add_) + add_;

[ERROR]                                                  ^

[ERROR] /usr/include/postgresql/10/server/port/atomics/generic.h: In function ‘pg_atomic_sub_fetch_u64_impl’:

[WARNING] /usr/include/postgresql/10/server/port/atomics/generic.h:425:49: warning: conversion to ‘long unsigned int’ from ‘int64 {aka long int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]   return pg_atomic_fetch_sub_u64_impl(ptr, sub_) - sub_;

[ERROR]                                                  ^

[ERROR] In file included from /usr/include/postgresql/10/server/utils/guc.h:18:0,

[ERROR]                  from /usr/include/postgresql/10/server/tcop/tcopprot.h:26,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/pljava.h:39,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/JNICalls.h:18,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/PgObject.h:12,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/PgObject_priv.h:12,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/type/Type_priv.h:16,

[ERROR] /usr/include/postgresql/10/server/port/atomics/generic.h: In function ‘pg_atomic_sub_fetch_u64_impl’:

[WARNING] /usr/include/postgresql/10/server/port/atomics/generic.h:425:49: warning: conversion to ‘long unsigned int’ from ‘int64 {aka long int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]   return pg_atomic_fetch_sub_u64_impl(ptr, sub_) - sub_;

[ERROR]                                                  ^

[ERROR] In file included from /usr/include/postgresql/10/server/port/atomics.h:124:0,

[ERROR]                  from /usr/include/postgresql/10/server/utils/dsa.h:17,

[ERROR]                  from /usr/include/postgresql/10/server/nodes/tidbitmap.h:26,

[ERROR]                  from /usr/include/postgresql/10/server/access/genam.h:19,

[ERROR]                  from /usr/include/postgresql/10/server/nodes/execnodes.h:17,

[ERROR]                  from /usr/include/postgresql/10/server/catalog/partition.h:18,

[ERROR]                  from /usr/include/postgresql/10/server/executor/executor.h:17,

[ERROR]                  from /usr/include/postgresql/10/server/funcapi.h:22,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/Type.c:15:

[ERROR] /usr/include/postgresql/10/server/port/atomics/generic.h: In function ‘pg_atomic_add_fetch_u32_impl’:

[WARNING] /usr/include/postgresql/10/server/port/atomics/generic.h:245:49: warning: conversion to ‘uint32 {aka unsigned int}’ from ‘int32 {aka int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]   return pg_atomic_fetch_add_u32_impl(ptr, add_) + add_;

[ERROR]                                                  ^

[ERROR] /usr/include/postgresql/10/server/port/atomics/generic.h: In function ‘pg_atomic_sub_fetch_u32_impl’:

[WARNING] /usr/include/postgresql/10/server/port/atomics/generic.h:254:49: warning: conversion to ‘uint32 {aka unsigned int}’ from ‘int32 {aka int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]   return pg_atomic_fetch_sub_u32_impl(ptr, sub_) - sub_;

[ERROR]                                                  ^

[ERROR] /usr/include/postgresql/10/server/port/atomics/generic.h: In function ‘pg_atomic_add_fetch_u64_impl’:

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/Short.c:11:

[WARNING] /usr/include/postgresql/10/server/port/atomics/generic.h:416:49: warning: conversion to ‘long unsigned int’ from ‘int64 {aka long int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]   return pg_atomic_fetch_add_u64_impl(ptr, add_) + add_;

[ERROR]                                                  ^

[ERROR] /usr/include/postgresql/10/server/port/atomics/generic.h: In function ‘pg_atomic_sub_fetch_u64_impl’:

[WARNING] /usr/include/postgresql/10/server/port/atomics/generic.h:425:49: warning: conversion to ‘long unsigned int’ from ‘int64 {aka long int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]   return pg_atomic_fetch_sub_u64_impl(ptr, sub_) - sub_;

[ERROR]                                                  ^

[ERROR] /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/Short.c: In function ‘_shortArray_coerceDatum’:

[WARNING] /usr/include/postgresql/10/server/utils/array.h:287:22: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]

[ERROR]       2 * sizeof(int) * ARR_NDIM(a)) \

[ERROR]                       ^

[ERROR] /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/Short.c:48:23: note: in expansion of macro ‘ARR_NULLBITMAP’

[ERROR]    bits8* nullBitMap = ARR_NULLBITMAP(v);

[ERROR]                        ^~~~~~~~~~~~~~

[ERROR] In file included from /usr/include/postgresql/10/server/postgres.h:47:0,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/pljava.h:33,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/JNICalls.h:18,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/PgObject.h:12,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/PgObject_priv.h:12,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/type/Type_priv.h:16,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/Short.c:11:

[WARNING] /usr/include/postgresql/10/server/utils/array.h:295:48: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]

[ERROR]    MAXALIGN(sizeof(ArrayType) + 2 * sizeof(int) * (ndims))

[ERROR]                                                 ^

[ERROR] /usr/include/postgresql/10/server/c.h:653:17: note: in definition of macro ‘TYPEALIGN’

[ERROR]   (((uintptr_t) (LEN) + ((ALIGNVAL) - 1)) & ~((uintptr_t) ((ALIGNVAL) - 1)))

[ERROR]                  ^~~

[ERROR] /usr/include/postgresql/10/server/utils/array.h:295:3: note: in expansion of macro ‘MAXALIGN’

[ERROR]    MAXALIGN(sizeof(ArrayType) + 2 * sizeof(int) * (ndims))

[ERROR]    ^~~~~~~~

[ERROR] /usr/include/postgresql/10/server/utils/array.h:301:39: note: in expansion of macro ‘ARR_OVERHEAD_NONULLS’

[ERROR]    (ARR_HASNULL(a) ? (a)->dataoffset : ARR_OVERHEAD_NONULLS(ARR_NDIM(a)))

[ERROR]                                        ^~~~~~~~~~~~~~~~~~~~

[ERROR] /usr/include/postgresql/10/server/utils/array.h:307:21: note: in expansion of macro ‘ARR_DATA_OFFSET’

[ERROR]    (((char *) (a)) + ARR_DATA_OFFSET(a))

[ERROR]                      ^~~~~~~~~~~~~~~

[ERROR] /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/Short.c:49:29: note: in expansion of macro ‘ARR_DATA_PTR’

[ERROR]    jshort* values = (jshort*)ARR_DATA_PTR(v);

[ERROR]                              ^~~~~~~~~~~~

[ERROR] In file included from /usr/include/postgresql/10/server/utils/guc.h:18:0,

[ERROR]                  from /usr/include/postgresql/10/server/tcop/tcopprot.h:26,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/pljava.h:39,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/JNICalls.h:18,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/PgObject.h:12,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/PgObject_priv.h:12,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/type/Type_priv.h:16,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/Short.c:11:

[WARNING] /usr/include/postgresql/10/server/utils/array.h:301:37: warning: conversion to ‘long unsigned int’ from ‘int32 {aka int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]    (ARR_HASNULL(a) ? (a)->dataoffset : ARR_OVERHEAD_NONULLS(ARR_NDIM(a)))

[ERROR]                                      ^

[ERROR] /usr/include/postgresql/10/server/utils/array.h:307:21: note: in expansion of macro ‘ARR_DATA_OFFSET’

[ERROR]    (((char *) (a)) + ARR_DATA_OFFSET(a))

[ERROR]                      ^~~~~~~~~~~~~~~

[ERROR] /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/Short.c:49:29: note: in expansion of macro ‘ARR_DATA_PTR’

[ERROR]    jshort* values = (jshort*)ARR_DATA_PTR(v);

[ERROR]                              ^~~~~~~~~~~~

[ERROR] In file included from /usr/include/postgresql/10/server/postgres.h:47:0,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/pljava.h:33,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/JNICalls.h:18,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/PgObject.h:12,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/PgObject_priv.h:12,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/type/Type_priv.h:16,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/Short.c:11:

[WARNING] /usr/include/postgresql/10/server/utils/array.h:295:48: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]

[ERROR]    MAXALIGN(sizeof(ArrayType) + 2 * sizeof(int) * (ndims))

[ERROR]                                                 ^

[ERROR] /usr/include/postgresql/10/server/c.h:653:17: note: in definition of macro ‘TYPEALIGN’

[ERROR]   (((uintptr_t) (LEN) + ((ALIGNVAL) - 1)) & ~((uintptr_t) ((ALIGNVAL) - 1)))

[ERROR]                  ^~~

[ERROR] /usr/include/postgresql/10/server/utils/array.h:295:3: note: in expansion of macro ‘MAXALIGN’

[ERROR]    MAXALIGN(sizeof(ArrayType) + 2 * sizeof(int) * (ndims))

[ERROR]    ^~~~~~~~

[ERROR] /usr/include/postgresql/10/server/utils/array.h:301:39: note: in expansion of macro ‘ARR_OVERHEAD_NONULLS’

[ERROR]    (ARR_HASNULL(a) ? (a)->dataoffset : ARR_OVERHEAD_NONULLS(ARR_NDIM(a)))

[ERROR]                                        ^~~~~~~~~~~~~~~~~~~~

[ERROR] /usr/include/postgresql/10/server/utils/array.h:307:21: note: in expansion of macro ‘ARR_DATA_OFFSET’

[ERROR]    (((char *) (a)) + ARR_DATA_OFFSET(a))

[ERROR]                      ^~~~~~~~~~~~~~~

[ERROR] /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/Short.c:61:59: note: in expansion of macro ‘ARR_DATA_PTR’

[ERROR]    JNI_setShortArrayRegion(shortArray, 0, nElems, (jshort*)ARR_DATA_PTR(v));

[ERROR]                                                            ^~~~~~~~~~~~

[ERROR] In file included from /usr/include/postgresql/10/server/utils/guc.h:18:0,

[ERROR]                  from /usr/include/postgresql/10/server/tcop/tcopprot.h:26,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/pljava.h:39,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/JNICalls.h:18,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/PgObject.h:12,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/PgObject_priv.h:12,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/type/Type_priv.h:16,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/Short.c:11:

[WARNING] /usr/include/postgresql/10/server/utils/array.h:301:37: warning: conversion to ‘long unsigned int’ from ‘int32 {aka int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]    (ARR_HASNULL(a) ? (a)->dataoffset : ARR_OVERHEAD_NONULLS(ARR_NDIM(a)))

[ERROR]                                      ^

[ERROR] /usr/include/postgresql/10/server/utils/array.h:307:21: note: in expansion of macro ‘ARR_DATA_OFFSET’

[ERROR]    (((char *) (a)) + ARR_DATA_OFFSET(a))

[ERROR]                      ^~~~~~~~~~~~~~~

[ERROR] /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/Short.c:61:59: note: in expansion of macro ‘ARR_DATA_PTR’

[ERROR]    JNI_setShortArrayRegion(shortArray, 0, nElems, (jshort*)ARR_DATA_PTR(v));

[ERROR]                                                            ^~~~~~~~~~~~

[ERROR] In file included from /usr/include/postgresql/10/server/postgres.h:47:0,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/pljava.h:33,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/JNICalls.h:18,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/PgObject.h:12,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/PgObject_priv.h:12,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/type/Type_priv.h:16,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/Short.c:11:

[ERROR] /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/Short.c: In function ‘_shortArray_coerceObject’:

[WARNING] /usr/include/postgresql/10/server/utils/array.h:295:48: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]

[ERROR]    MAXALIGN(sizeof(ArrayType) + 2 * sizeof(int) * (ndims))

[ERROR]                                                 ^

[ERROR] /usr/include/postgresql/10/server/c.h:653:17: note: in definition of macro ‘TYPEALIGN’

[ERROR]   (((uintptr_t) (LEN) + ((ALIGNVAL) - 1)) & ~((uintptr_t) ((ALIGNVAL) - 1)))

[ERROR]                  ^~~

[ERROR] /usr/include/postgresql/10/server/utils/array.h:295:3: note: in expansion of macro ‘MAXALIGN’

[ERROR]    MAXALIGN(sizeof(ArrayType) + 2 * sizeof(int) * (ndims))

[ERROR]    ^~~~~~~~

[ERROR] /usr/include/postgresql/10/server/utils/array.h:301:39: note: in expansion of macro ‘ARR_OVERHEAD_NONULLS’

[ERROR]    (ARR_HASNULL(a) ? (a)->dataoffset : ARR_OVERHEAD_NONULLS(ARR_NDIM(a)))

[ERROR]                                        ^~~~~~~~~~~~~~~~~~~~

[ERROR] /usr/include/postgresql/10/server/utils/array.h:307:21: note: in expansion of macro ‘ARR_DATA_OFFSET’

[ERROR]    (((char *) (a)) + ARR_DATA_OFFSET(a))

[ERROR]                      ^~~~~~~~~~~~~~~

[ERROR] /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/Short.c:78:73: note: in expansion of macro ‘ARR_DATA_PTR’

[ERROR]     JNI_getShortArrayRegion((jshortArray)shortArray, 0, nElems, (jshort*)ARR_DATA_PTR(v));

[ERROR]                                                                          ^~~~~~~~~~~~

[ERROR] In file included from /usr/include/postgresql/10/server/utils/guc.h:18:0,

[ERROR]                  from /usr/include/postgresql/10/server/tcop/tcopprot.h:26,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/pljava.h:39,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/JNICalls.h:18,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/PgObject.h:12,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/PgObject_priv.h:12,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/type/Type_priv.h:16,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/Short.c:11:

[WARNING] /usr/include/postgresql/10/server/utils/array.h:301:37: warning: conversion to ‘long unsigned int’ from ‘int32 {aka int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]    (ARR_HASNULL(a) ? (a)->dataoffset : ARR_OVERHEAD_NONULLS(ARR_NDIM(a)))

[ERROR]                                      ^

[ERROR] /usr/include/postgresql/10/server/utils/array.h:307:21: note: in expansion of macro ‘ARR_DATA_OFFSET’

[ERROR]    (((char *) (a)) + ARR_DATA_OFFSET(a))

[ERROR]                      ^~~~~~~~~~~~~~~

[ERROR] /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/Short.c:78:73: note: in expansion of macro ‘ARR_DATA_PTR’

[ERROR]     JNI_getShortArrayRegion((jshortArray)shortArray, 0, nElems, (jshort*)ARR_DATA_PTR(v));

[ERROR]                                                                          ^~~~~~~~~~~~

[ERROR] In file included from /usr/include/postgresql/10/server/postgres.h:47:0,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/pljava.h:33,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/JNICalls.h:18,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/PgObject.h:12,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/PgObject_priv.h:12,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/type/Type_priv.h:16,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/Short.c:11:

[WARNING] /usr/include/postgresql/10/server/utils/array.h:295:48: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]

[ERROR]    MAXALIGN(sizeof(ArrayType) + 2 * sizeof(int) * (ndims))

[ERROR]                                                 ^

[ERROR] /usr/include/postgresql/10/server/c.h:653:17: note: in definition of macro ‘TYPEALIGN’

[ERROR]   (((uintptr_t) (LEN) + ((ALIGNVAL) - 1)) & ~((uintptr_t) ((ALIGNVAL) - 1)))

[ERROR]                  ^~~

[ERROR] /usr/include/postgresql/10/server/utils/array.h:295:3: note: in expansion of macro ‘MAXALIGN’

[ERROR]    MAXALIGN(sizeof(ArrayType) + 2 * sizeof(int) * (ndims))

[ERROR]    ^~~~~~~~

[ERROR] /usr/include/postgresql/10/server/utils/array.h:301:39: note: in expansion of macro ‘ARR_OVERHEAD_NONULLS’

[ERROR]    (ARR_HASNULL(a) ? (a)->dataoffset : ARR_OVERHEAD_NONULLS(ARR_NDIM(a)))

[ERROR]                                        ^~~~~~~~~~~~~~~~~~~~

[ERROR] /usr/include/postgresql/10/server/utils/array.h:307:21: note: in expansion of macro ‘ARR_DATA_OFFSET’

[ERROR]    (((char *) (a)) + ARR_DATA_OFFSET(a))

[ERROR]                      ^~~~~~~~~~~~~~~

[ERROR] /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/Short.c:82:31: note: in expansion of macro ‘ARR_DATA_PTR’

[ERROR]       jshort *array = (jshort*)ARR_DATA_PTR(v);

[ERROR]                                ^~~~~~~~~~~~

[ERROR] In file included from /usr/include/postgresql/10/server/utils/guc.h:18:0,

[ERROR]                  from /usr/include/postgresql/10/server/tcop/tcopprot.h:26,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/pljava.h:39,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/JNICalls.h:18,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/PgObject.h:12,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/PgObject_priv.h:12,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/type/Type_priv.h:16,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/Short.c:11:

[WARNING] /usr/include/postgresql/10/server/utils/array.h:301:37: warning: conversion to ‘long unsigned int’ from ‘int32 {aka int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]    (ARR_HASNULL(a) ? (a)->dataoffset : ARR_OVERHEAD_NONULLS(ARR_NDIM(a)))

[ERROR]                                      ^

[ERROR] /usr/include/postgresql/10/server/utils/array.h:307:21: note: in expansion of macro ‘ARR_DATA_OFFSET’

[ERROR]    (((char *) (a)) + ARR_DATA_OFFSET(a))

[ERROR]                      ^~~~~~~~~~~~~~~

[ERROR] /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/Short.c:82:31: note: in expansion of macro ‘ARR_DATA_PTR’

[ERROR]       jshort *array = (jshort*)ARR_DATA_PTR(v);

[ERROR]                                ^~~~~~~~~~~~

[ERROR] In file included from /usr/include/postgresql/10/server/port/atomics.h:124:0,

[ERROR]                  from /usr/include/postgresql/10/server/utils/dsa.h:17,

[ERROR]                  from /usr/include/postgresql/10/server/nodes/tidbitmap.h:26,

[ERROR]                  from /usr/include/postgresql/10/server/access/genam.h:19,

[ERROR]                  from /usr/include/postgresql/10/server/nodes/execnodes.h:17,

[ERROR]                  from /usr/include/postgresql/10/server/commands/trigger.h:17,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/Function.h:18,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/Backend.h:12,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/c/SubXactListener.c:13:

[ERROR] /usr/include/postgresql/10/server/port/atomics/generic.h: In function ‘pg_atomic_add_fetch_u32_impl’:

[WARNING] /usr/include/postgresql/10/server/port/atomics/generic.h:245:49: warning: conversion to ‘uint32 {aka unsigned int}’ from ‘int32 {aka int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]   return pg_atomic_fetch_add_u32_impl(ptr, add_) + add_;

[ERROR]                                                  ^

[ERROR] /usr/include/postgresql/10/server/port/atomics/generic.h: In function ‘pg_atomic_sub_fetch_u32_impl’:

[WARNING] /usr/include/postgresql/10/server/port/atomics/generic.h:254:49: warning: conversion to ‘uint32 {aka unsigned int}’ from ‘int32 {aka int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]   return pg_atomic_fetch_sub_u32_impl(ptr, sub_) - sub_;

[ERROR]                                                  ^

[ERROR] /usr/include/postgresql/10/server/port/atomics/generic.h: In function ‘pg_atomic_add_fetch_u64_impl’:

[WARNING] /usr/include/postgresql/10/server/port/atomics/generic.h:416:49: warning: conversion to ‘long unsigned int’ from ‘int64 {aka long int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]   return pg_atomic_fetch_add_u64_impl(ptr, add_) + add_;

[ERROR]                                                  ^

[ERROR] /usr/include/postgresql/10/server/port/atomics/generic.h: In function ‘pg_atomic_sub_fetch_u64_impl’:

[WARNING] /usr/include/postgresql/10/server/port/atomics/generic.h:425:49: warning: conversion to ‘long unsigned int’ from ‘int64 {aka long int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]   return pg_atomic_fetch_sub_u64_impl(ptr, sub_) - sub_;

[ERROR]                                                  ^

[ERROR] /usr/lib/postgresql/pljava/pljava-so/src/main/c/SubXactListener.c: In function ‘subXactCB’:

[WARNING] /usr/lib/postgresql/pljava/pljava-so/src/main/c/SubXactListener.c:42:2: warning: enumeration value ‘SUBXACT_EVENT_PRE_COMMIT_SUB’ not handled in switch [-Wswitch]

[ERROR]   switch(event)

[ERROR]   ^~~~~~

[ERROR] In file included from /usr/include/postgresql/10/server/port/atomics.h:124:0,

[ERROR]                  from /usr/include/postgresql/10/server/utils/dsa.h:17,

[ERROR]                  from /usr/include/postgresql/10/server/nodes/tidbitmap.h:26,

[ERROR]                  from /usr/include/postgresql/10/server/access/genam.h:19,

[ERROR]                  from /usr/include/postgresql/10/server/nodes/execnodes.h:17,

[ERROR]                  from /usr/include/postgresql/10/server/commands/trigger.h:17,

[ERROR]                  from /usr/include/postgresql/10/server/executor/spi.h:16,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/Tuple.c:16:

[ERROR] /usr/include/postgresql/10/server/port/atomics/generic.h: In function ‘pg_atomic_add_fetch_u32_impl’:

[WARNING] /usr/include/postgresql/10/server/port/atomics/generic.h:245:49: warning: conversion to ‘uint32 {aka unsigned int}’ from ‘int32 {aka int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]   return pg_atomic_fetch_add_u32_impl(ptr, add_) + add_;

[ERROR]                                                  ^

[ERROR] /usr/include/postgresql/10/server/port/atomics/generic.h: In function ‘pg_atomic_sub_fetch_u32_impl’:

[WARNING] /usr/include/postgresql/10/server/port/atomics/generic.h:254:49: warning: conversion to ‘uint32 {aka unsigned int}’ from ‘int32 {aka int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]   return pg_atomic_fetch_sub_u32_impl(ptr, sub_) - sub_;

[ERROR]                                                  ^

[ERROR] /usr/include/postgresql/10/server/port/atomics/generic.h: In function ‘pg_atomic_add_fetch_u64_impl’:

[WARNING] /usr/include/postgresql/10/server/port/atomics/generic.h:416:49: warning: conversion to ‘long unsigned int’ from ‘int64 {aka long int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]   return pg_atomic_fetch_add_u64_impl(ptr, add_) + add_;

[ERROR]                                                  ^

[ERROR] /usr/include/postgresql/10/server/port/atomics/generic.h: In function ‘pg_atomic_sub_fetch_u64_impl’:

[WARNING] /usr/include/postgresql/10/server/port/atomics/generic.h:425:49: warning: conversion to ‘long unsigned int’ from ‘int64 {aka long int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]   return pg_atomic_fetch_sub_u64_impl(ptr, sub_) - sub_;

[ERROR]                                                  ^

[ERROR] In file included from /usr/include/postgresql/10/server/port/atomics.h:124:0,

[ERROR]                  from /usr/include/postgresql/10/server/utils/dsa.h:17,

[ERROR]                  from /usr/include/postgresql/10/server/nodes/tidbitmap.h:26,

[ERROR]                  from /usr/include/postgresql/10/server/access/genam.h:19,

[ERROR]                  from /usr/include/postgresql/10/server/nodes/execnodes.h:17,

[ERROR]                  from /usr/include/postgresql/10/server/commands/trigger.h:17,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/Function.h:18,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/Backend.h:12,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/Time.c:21:

[ERROR] /usr/include/postgresql/10/server/port/atomics/generic.h: In function ‘pg_atomic_add_fetch_u32_impl’:

[WARNING] /usr/include/postgresql/10/server/port/atomics/generic.h:245:49: warning: conversion to ‘uint32 {aka unsigned int}’ from ‘int32 {aka int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]   return pg_atomic_fetch_add_u32_impl(ptr, add_) + add_;

[ERROR]                                                  ^

[ERROR] /usr/include/postgresql/10/server/port/atomics/generic.h: In function ‘pg_atomic_sub_fetch_u32_impl’:

[WARNING] /usr/include/postgresql/10/server/port/atomics/generic.h:254:49: warning: conversion to ‘uint32 {aka unsigned int}’ from ‘int32 {aka int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]   return pg_atomic_fetch_sub_u32_impl(ptr, sub_) - sub_;

[ERROR]                                                  ^

[ERROR] /usr/include/postgresql/10/server/port/atomics/generic.h: In function ‘pg_atomic_add_fetch_u64_impl’:

[WARNING] /usr/include/postgresql/10/server/port/atomics/generic.h:416:49: warning: conversion to ‘long unsigned int’ from ‘int64 {aka long int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]   return pg_atomic_fetch_add_u64_impl(ptr, add_) + add_;

[ERROR]                                                  ^

[ERROR] /usr/include/postgresql/10/server/port/atomics/generic.h: In function ‘pg_atomic_sub_fetch_u64_impl’:

[WARNING] /usr/include/postgresql/10/server/port/atomics/generic.h:425:49: warning: conversion to ‘long unsigned int’ from ‘int64 {aka long int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]   return pg_atomic_fetch_sub_u64_impl(ptr, sub_) - sub_;

[ERROR]                                                  ^

[ERROR] In file included from /usr/include/postgresql/10/server/port/atomics.h:124:0,

[ERROR]                  from /usr/include/postgresql/10/server/utils/dsa.h:17,

[ERROR]                  from /usr/include/postgresql/10/server/nodes/tidbitmap.h:26,

[ERROR]                  from /usr/include/postgresql/10/server/access/genam.h:19,

[ERROR]                  from /usr/include/postgresql/10/server/nodes/execnodes.h:17,

[ERROR]                  from /usr/include/postgresql/10/server/commands/trigger.h:17,

[ERROR]                  from /usr/include/postgresql/10/server/executor/spi.h:16,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/TupleDesc.c:14:

[ERROR] /usr/include/postgresql/10/server/port/atomics/generic.h: In function ‘pg_atomic_add_fetch_u32_impl’:

[WARNING] /usr/include/postgresql/10/server/port/atomics/generic.h:245:49: warning: conversion to ‘uint32 {aka unsigned int}’ from ‘int32 {aka int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]   return pg_atomic_fetch_add_u32_impl(ptr, add_) + add_;

[ERROR]                                                  ^

[ERROR] /usr/include/postgresql/10/server/port/atomics/generic.h: In function ‘pg_atomic_sub_fetch_u32_impl’:

[WARNING] /usr/include/postgresql/10/server/port/atomics/generic.h:254:49: warning: conversion to ‘uint32 {aka unsigned int}’ from ‘int32 {aka int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]   return pg_atomic_fetch_sub_u32_impl(ptr, sub_) - sub_;

[ERROR]                                                  ^

[ERROR] /usr/include/postgresql/10/server/port/atomics/generic.h: In function ‘pg_atomic_add_fetch_u64_impl’:

[WARNING] /usr/include/postgresql/10/server/port/atomics/generic.h:416:49: warning: conversion to ‘long unsigned int’ from ‘int64 {aka long int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]   return pg_atomic_fetch_add_u64_impl(ptr, add_) + add_;

[ERROR]                                                  ^

[ERROR] /usr/include/postgresql/10/server/port/atomics/generic.h: In function ‘pg_atomic_sub_fetch_u64_impl’:

[WARNING] /usr/include/postgresql/10/server/port/atomics/generic.h:425:49: warning: conversion to ‘long unsigned int’ from ‘int64 {aka long int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]   return pg_atomic_fetch_sub_u64_impl(ptr, sub_) - sub_;

[ERROR]                                                  ^

[ERROR] /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/TupleDesc.c: In function ‘Java_org_postgresql_pljava_internal_TupleDesc__1formTuple’:

[WARNING] /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/TupleDesc.c:234:41: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]

[ERROR]    Datum* values  = (Datum*)palloc(count * sizeof(Datum));

[ERROR]                                          ^

[WARNING] /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/TupleDesc.c:235:33: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]

[ERROR]    bool*  nulls   = palloc(count * sizeof(bool));

[ERROR]                                  ^

[WARNING] /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/TupleDesc.c:238:28: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]

[ERROR]    memset(values, 0,  count * sizeof(Datum));

[ERROR]                             ^

[WARNING] /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/TupleDesc.c:239:29: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]

[ERROR]    memset(nulls, true, count * sizeof(bool));/*all values null initially*/

[ERROR]                              ^

[ERROR] In file included from /usr/include/postgresql/10/server/port/atomics.h:124:0,

[ERROR]                  from /usr/include/postgresql/10/server/utils/dsa.h:17,

[ERROR]                  from /usr/include/postgresql/10/server/nodes/tidbitmap.h:26,

[ERROR]                  from /usr/include/postgresql/10/server/access/genam.h:19,

[ERROR]                  from /usr/include/postgresql/10/server/nodes/execnodes.h:17,

[ERROR]                  from /usr/include/postgresql/10/server/commands/trigger.h:17,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/Function.h:18,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/Backend.h:12,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/c/XactListener.c:13:

[ERROR] /usr/include/postgresql/10/server/port/atomics/generic.h: In function ‘pg_atomic_add_fetch_u32_impl’:

[WARNING] /usr/include/postgresql/10/server/port/atomics/generic.h:245:49: warning: conversion to ‘uint32 {aka unsigned int}’ from ‘int32 {aka int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]   return pg_atomic_fetch_add_u32_impl(ptr, add_) + add_;

[ERROR]                                                  ^

[ERROR] /usr/include/postgresql/10/server/port/atomics/generic.h: In function ‘pg_atomic_sub_fetch_u32_impl’:

[WARNING] /usr/include/postgresql/10/server/port/atomics/generic.h:254:49: warning: conversion to ‘uint32 {aka unsigned int}’ from ‘int32 {aka int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]   return pg_atomic_fetch_sub_u32_impl(ptr, sub_) - sub_;

[ERROR]                                                  ^

[ERROR] /usr/include/postgresql/10/server/port/atomics/generic.h: In function ‘pg_atomic_add_fetch_u64_impl’:

[WARNING] /usr/include/postgresql/10/server/port/atomics/generic.h:416:49: warning: conversion to ‘long unsigned int’ from ‘int64 {aka long int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]   return pg_atomic_fetch_add_u64_impl(ptr, add_) + add_;

[ERROR]                                                  ^

[ERROR] /usr/include/postgresql/10/server/port/atomics/generic.h: In function ‘pg_atomic_sub_fetch_u64_impl’:

[WARNING] /usr/include/postgresql/10/server/port/atomics/generic.h:425:49: warning: conversion to ‘long unsigned int’ from ‘int64 {aka long int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]   return pg_atomic_fetch_sub_u64_impl(ptr, sub_) - sub_;

[ERROR]                                                  ^

[ERROR] /usr/lib/postgresql/pljava/pljava-so/src/main/c/XactListener.c: In function ‘xactCB’:

[WARNING] /usr/lib/postgresql/pljava/pljava-so/src/main/c/XactListener.c:26:2: warning: enumeration value ‘XACT_EVENT_PARALLEL_COMMIT’ not handled in switch [-Wswitch]

[ERROR]   switch(event)

[ERROR]   ^~~~~~

[WARNING] /usr/lib/postgresql/pljava/pljava-so/src/main/c/XactListener.c:26:2: warning: enumeration value ‘XACT_EVENT_PARALLEL_ABORT’ not handled in switch [-Wswitch]

[WARNING] /usr/lib/postgresql/pljava/pljava-so/src/main/c/XactListener.c:26:2: warning: enumeration value ‘XACT_EVENT_PRE_COMMIT’ not handled in switch [-Wswitch]

[WARNING] /usr/lib/postgresql/pljava/pljava-so/src/main/c/XactListener.c:26:2: warning: enumeration value ‘XACT_EVENT_PARALLEL_PRE_COMMIT’ not handled in switch [-Wswitch]

[WARNING] /usr/lib/postgresql/pljava/pljava-so/src/main/c/XactListener.c:26:2: warning: enumeration value ‘XACT_EVENT_PRE_PREPARE’ not handled in switch [-Wswitch]

[ERROR] In file included from /usr/include/postgresql/10/server/port/atomics.h:124:0,

[ERROR]                  from /usr/include/postgresql/10/server/utils/dsa.h:17,

[ERROR]                  from /usr/include/postgresql/10/server/nodes/tidbitmap.h:26,

[ERROR]                  from /usr/include/postgresql/10/server/access/genam.h:19,

[ERROR]                  from /usr/include/postgresql/10/server/nodes/execnodes.h:17,

[ERROR]                  from /usr/include/postgresql/10/server/catalog/partition.h:18,

[ERROR]                  from /usr/include/postgresql/10/server/executor/executor.h:17,

[ERROR]                  from /usr/include/postgresql/10/server/funcapi.h:22,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/UDT.c:20:

[ERROR] /usr/include/postgresql/10/server/port/atomics/generic.h: In function ‘pg_atomic_add_fetch_u32_impl’:

[WARNING] /usr/include/postgresql/10/server/port/atomics/generic.h:245:49: warning: conversion to ‘uint32 {aka unsigned int}’ from ‘int32 {aka int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]   return pg_atomic_fetch_add_u32_impl(ptr, add_) + add_;

[ERROR]                                                  ^

[ERROR] /usr/include/postgresql/10/server/port/atomics/generic.h: In function ‘pg_atomic_sub_fetch_u32_impl’:

[WARNING] /usr/include/postgresql/10/server/port/atomics/generic.h:254:49: warning: conversion to ‘uint32 {aka unsigned int}’ from ‘int32 {aka int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]   return pg_atomic_fetch_sub_u32_impl(ptr, sub_) - sub_;

[ERROR]                                                  ^

[ERROR] /usr/include/postgresql/10/server/port/atomics/generic.h: In function ‘pg_atomic_add_fetch_u64_impl’:

[WARNING] /usr/include/postgresql/10/server/port/atomics/generic.h:416:49: warning: conversion to ‘long unsigned int’ from ‘int64 {aka long int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]   return pg_atomic_fetch_add_u64_impl(ptr, add_) + add_;

[ERROR]                                                  ^

[ERROR] /usr/include/postgresql/10/server/port/atomics/generic.h: In function ‘pg_atomic_sub_fetch_u64_impl’:

[WARNING] /usr/include/postgresql/10/server/port/atomics/generic.h:425:49: warning: conversion to ‘long unsigned int’ from ‘int64 {aka long int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]   return pg_atomic_fetch_sub_u64_impl(ptr, sub_) - sub_;

[ERROR]                                                  ^

[ERROR] In file included from /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/UDT.c:15:0:

[ERROR] /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/UDT.c: In function ‘coerceScalarDatum’:

[WARNING] /usr/include/postgresql/10/server/postgres.h:252:2: warning: conversion to ‘int32 {aka int}’ from ‘uint32 {aka unsigned int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]   ((((varattrib_4b *) (PTR))->va_4byte.va_header >> 2) & 0x3FFFFFFF)

[ERROR]   ^

[ERROR] /usr/include/postgresql/10/server/postgres.h:304:27: note: in expansion of macro ‘VARSIZE_4B’

[ERROR]  #define VARSIZE(PTR)      VARSIZE_4B(PTR)

[ERROR]                            ^~~~~~~~~~

[ERROR] /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/UDT.c:59:14: note: in expansion of macro ‘VARSIZE’

[ERROR]     dataLen = VARSIZE(bytes) - VARHDRSZ;

[ERROR]               ^~~~~~~

[WARNING] /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/UDT.c:84:48: warning: conversion to ‘size_t {aka long unsigned int}’ from ‘int32 {aka int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]    inputStream = SQLInputFromChunk_create(data, dataLen,

[ERROR]                                                 ^~~~~~~

[ERROR] /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/UDT.c: In function ‘coerceScalarObject’:

[WARNING] /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/UDT.c:161:33: warning: conversion to ‘size_t {aka long unsigned int}’ from ‘int32 {aka int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]     memcpy(&result, buffer.data, dataLen);

[ERROR]                                  ^~~~~~~

[ERROR] /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/UDT.c: In function ‘UDT_receive’:

[WARNING] /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/UDT.c:321:15: warning: conversion to ‘Size {aka long unsigned int}’ from ‘int32 {aka int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]   tmp = palloc(dataLen);

[ERROR]                ^~~~~~~

[ERROR] In file included from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/pljava.h:33:0,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/JNICalls.h:18,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/PgObject.h:12,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/include/pljava/Exception.h:12,

[ERROR]                  from /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/byte_array.c:9:

[ERROR] /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/byte_array.c: In function ‘_byte_array_coerceDatum’:

[WARNING] /usr/include/postgresql/10/server/postgres.h:252:2: warning: conversion to ‘jsize {aka int}’ from ‘uint32 {aka unsigned int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]   ((((varattrib_4b *) (PTR))->va_4byte.va_header >> 2) & 0x3FFFFFFF)

[ERROR]   ^

[ERROR] /usr/include/postgresql/10/server/postgres.h:304:27: note: in expansion of macro ‘VARSIZE_4B’

[ERROR]  #define VARSIZE(PTR)      VARSIZE_4B(PTR)

[ERROR]                            ^~~~~~~~~~

[ERROR] /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/byte_array.c:24:18: note: in expansion of macro ‘VARSIZE’

[ERROR]   jsize  length = VARSIZE(bytes) - VARHDRSZ;

[ERROR]                   ^~~~~~~

[ERROR] /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/byte_array.c: In function ‘_byte_array_coerceObject’:

[WARNING] /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/byte_array.c:42:26: warning: conversion to ‘Size {aka long unsigned int}’ from ‘int32 {aka int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]    bytes = (bytea*)palloc(byteaSize);

[ERROR]                           ^~~~~~~~~

[WARNING] /usr/lib/postgresql/pljava/pljava-so/src/main/c/type/byte_array.c:57:26: warning: conversion to ‘Size {aka long unsigned int}’ from ‘int32 {aka int}’ may change the sign of the result [-Wsign-conversion]

[ERROR]    bytes = (bytea*)palloc(byteaSize);

[ERROR]                           ^~~~~~~~~

[INFO] Core 3 interrupted

[INFO] Core 3 interrupted

[INFO] 53 files were compiled.

[INFO] 53 files were compiled.

[INFO] ------------------------------------------------------------------------

[INFO] Reactor Summary:

[INFO]

[INFO] PostgreSQL PL/Java ................................. SUCCESS [ 28.578 s]

[INFO] PL/Java API ........................................ SUCCESS [ 10.946 s]

[INFO] PL/Java backend Java code .......................... SUCCESS [  4.347 s]

[INFO] PL/Java backend native code ........................ FAILURE [ 13.425 s]

[INFO] PL/Java Ant tasks .................................. SKIPPED

[INFO] PL/Java examples ................................... SKIPPED

[INFO] PL/Java packaging .................................. SKIPPED

[INFO] ------------------------------------------------------------------------

[INFO] BUILD FAILURE

[INFO] ------------------------------------------------------------------------

[INFO] Total time: 01:15 min

[INFO] Finished at: 2019-08-19T13:17:53+00:00

[INFO] Final Memory: 45M/501M

[INFO] ------------------------------------------------------------------------

[ERROR] Failed to execute goal com.github.maven-nar:nar-maven-plugin:3.2.3:nar-compile (default-nar-compile) on project pljava-so: NAR: Compile failed: gcc failed with return code 1 -> [Help 1]

[ERROR]

[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.

[ERROR] Re-run Maven using the -X switch to enable full debug logging.

[ERROR]

[ERROR] For more information about the errors and possible solutions, please read the following articles:

[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException

[ERROR]

[ERROR] After correcting the problems, you can resume the build with the command

[ERROR]   mvn <goals> -rf :pljava-so

ERROR: Service 't24-db' failed to build: The command '/bin/sh -c cd /usr/lib/postgresql && git clone https://github.com/tada/pljava.git && cd pljava && mvn clean install' returned a non-zero code: 1

 

C:\data\srcT24\rtc\DEV\TAFJDocker>


The information in this e-mail and any attachments is confidential and may be legally privileged. It is intended solely for the addressee or addressees. Any use or disclosure of the contents of this e-mail/attachments by a not intended recipient is unauthorized and may be unlawful. If you have received this e-mail in error please notify the sender. Please note that any views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of TEMENOS. We recommend that you check this e-mail and any attachments against viruses. TEMENOS accepts no liability for any damage caused by any malicious code or virus transmitted by this e-mail.


The information in this e-mail and any attachments is confidential and may be legally privileged. It is intended solely for the addressee or addressees. Any use or disclosure of the contents of this e-mail/attachments by a not intended recipient is unauthorized and may be unlawful. If you have received this e-mail in error please notify the sender. Please note that any views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of TEMENOS. We recommend that you check this e-mail and any attachments against viruses. TEMENOS accepts no liability for any damage caused by any malicious code or virus transmitted by this e-mail.

pgsql-sql by date:

Previous
From: Rick Vincent
Date:
Subject: PLJAVA build failure on postgres docker image
Next
From: Mike Martin
Date:
Subject: Ordering of arrays