Closed pmichalek closed 6 years ago
I confess I've been on other projects lately and have not yet built against 9.6. If you could report here any compilation or runtime errors or areas of incompatibility that you have noticed, that might be helpful as I get back into it.
Thanks, -Chap
Build result contains this type of warnings:
[ERROR] /usr/local/src/pljava/pljava-so/src/main/c/type/Array.c: In function ‘createArrayType’: [WARNING] /usr/local/src/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/local/pgsql/include/server/postgres.h:47:0, [ERROR] from /usr/local/src/pljava/pljava-so/src/main/include/pljava/pljava.h:29, [ERROR] from /usr/local/src/pljava/pljava-so/src/main/include/pljava/JNICalls.h:12, [ERROR] from /usr/local/src/pljava/pljava-so/src/main/include/pljava/PgObject.h:12, [ERROR] from /usr/local/src/pljava/pljava-so/src/main/include/pljava/PgObject_priv.h:12, [ERROR] from /usr/local/src/pljava/pljava-so/src/main/include/pljava/type/Type_priv.h:12, [ERROR] from /usr/local/src/pljava/pljava-so/src/main/c/type/Array.c:9:
Petr
Hi,
Many warnings of the type [-Wsign-conversion]
are known to be benign; the maven-nar-plugin
enables gcc
warnings that would be suppressed by default, and that is an especially fastidious and unhelpful one. If you add -Pwnosign
on the mvn
command line, those warnings will be suppressed, and you can see more easily whether any more serious issues exist.
Did your build ultimately complete?
-Chap
Hi, now compile results in following errors: Tkanks! Petr
[ERROR] /usr/local/src/pljava/pljava-so/src/main/c/type/Portal.c: In function ‘Java_org_postgresql_pljava_internal_Portal__1isPosOverflow’:
[ERROR] /usr/local/src/pljava/pljava-so/src/main/c/type/Portal.c:338:42: error: ‘struct PortalData’ has no member named ‘posOverflow’
[ERROR] result = (jboolean)((Portal)p2l.ptrVal)->posOverflow;
[ERROR] ^~
[ERROR] /usr/local/src/pljava/pljava-so/src/main/c/XactListener.c: In function ‘xactCB’:
[WARNING] /usr/local/src/pljava/pljava-so/src/main/c/XactListener.c:25:2: warning: enumeration value ‘XACT_EVENT_PARALLEL_COMMIT’ not handled in switch [-Wswitch]
[ERROR] switch(event)
[ERROR] ^~
[WARNING] /usr/local/src/pljava/pljava-so/src/main/c/XactListener.c:25:2: warning: enumeration value ‘XACT_EVENT_PARALLEL_ABORT’ not handled in switch [-Wswitch]
[WARNING] /usr/local/src/pljava/pljava-so/src/main/c/XactListener.c:25:2: warning: enumeration value ‘XACT_EVENT_PRE_COMMIT’ not handled in switch [-Wswitch]
[WARNING] /usr/local/src/pljava/pljava-so/src/main/c/XactListener.c:25:2: warning: enumeration value ‘XACT_EVENT_PARALLEL_PRE_COMMIT’ not handled in switch [-Wswitch]
[WARNING] /usr/local/src/pljava/pljava-so/src/main/c/XactListener.c:25:2: warning: enumeration value ‘XACT_EVENT_PRE_PREPARE’ not handled in switch [-Wswitch]
[ERROR] /usr/local/src/pljava/pljava-so/src/main/c/SubXactListener.c: In function ‘subXactCB’:
[WARNING] /usr/local/src/pljava/pljava-so/src/main/c/SubXactListener.c:26:2: warning: enumeration value ‘SUBXACT_EVENT_PRE_COMMIT_SUB’ not handled in switch [-Wswitch]
[ERROR] switch(event)
[ERROR] ^~
[ERROR] /usr/local/src/pljava/pljava-so/src/main/c/type/TupleDesc.c: In function ‘Java_org_postgresql_pljava_internal_TupleDesc__1formTuple’:
[WARNING] /usr/local/src/pljava/pljava-so/src/main/c/type/TupleDesc.c:239:11: warning: implicit declaration of function ‘heap_formtuple’ [-Wimplicit-function-declaration]
[ERROR] tuple = heap_formtuple(self, values, nulls);
[ERROR] ^~~~~~
[WARNING] /usr/local/src/pljava/pljava-so/src/main/c/type/TupleDesc.c:239:9: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
[ERROR] tuple = heap_formtuple(self, values, nulls);
[ERROR] ^
Hi,
I prepared a patch, but I'm not sure if is OK. Especially due removing of function "heap_formtuple": https://www.postgresql.org/message-id/flat/CAM3SWZTXu9LfUx7SR3XN+s2Dos+1Y+pP3E0qgGb5h1Ei89GUEw@mail.gmail.com#CAM3SWZTXu9LfUx7SR3XN+s2Dos+1Y+pP3E0qgGb5h1Ei89GUEw@mail.gmail.com https://github.com/postgres/postgres/commit/902d1cb3
Petr
Thank you for the patch! It looks as if it may resolve the compilation errors, but I will need to look more deeply to be sure of correctness. Also, ultimately, it needs version conditionals so compatibility with older versions doesn't break.
We have been using GitHub pull requests in this project to share patches (I understand the PostgreSQL core team doesn't, but here it's the norm). An ideal pull request for this would be a branch for 9.6 compatibility, containing at least: one commit accommodating the loss of posOverflow
(with commit comments explaining its removal from pgsql, and whether that changes anything for pljava), and another one for the heap_form_tuple
change (I hope this thing isn't really implicitly declared, but has just moved to another .h
file and needs to be included).
If you'd like to work on that, please do! If it seems like a burden, this does seem like something I could get to myself, though it be into next week before I get there.
Looking through the 9.6 release notes, the one other thing that looks like attention is needed will be the addition of PARALLEL { UNSAFE, RESTRICTED, SAFE }
to CREATE FUNCTION
. For completeness, the @Function
Java annotation ought to accept this, though, for now anyway, the SQL generator should reject settings other than UNSAFE
, and the run-time code should check and do the same on a function's first reference. It might be possible to allow RESTRICTED
also, probably with some work to disallow certain activities in PL/Java, so that will probably need to happen in a subsequent release. I doubt that SAFE
will ever be feasible in PL/Java....
-Chap
Hello Chap, Any chance you have checked if this patch is robust? Cheers Chris
I have seen this today after installing on 9.6 with the above patch, what is unusual, I do not think pljava was called explicitly:
_
[55502.155269] postgres[28839]: segfault at 148 ip 00007f3b9af4ce9b sp 00007ffcf6462a90 error 4 [55502.155272] postgres[28843]: segfault at 148 ip 00007f3b9af4ce9b sp 00007ffcf6462a90 error 4 [55502.155274] postgres[28841]: segfault at 148 ip 00007f3b9af4ce9b sp 00007ffcf6462a90 error 4 [55502.155276] in libpljava-so-1.6.0-SNAPSHOT.so[7f3b9af31000+3a000] [55502.155281] in libpljava-so-1.6.0-SNAPSHOT.so[7f3b9af31000+3a000] [55502.155283] postgres[28838]: segfault at 148 ip 00007f3b9af4ce9b sp 00007ffcf6462410 error 4
[55502.155287] postgres[28840]: segfault at 148 ip 00007f3b9af4ce9b sp 00007ffcf6462a90 error 4 [55502.155288] in libpljava-so-1.6.0-SNAPSHOT.so[7f3b9af31000+3a000]
[55502.155290] in libpljava-so-1.6.0-SNAPSHOT.so[7f3b9af31000+3a000] [55502.155297] in libpljava-so-1.6.0-SNAPSHOT.so[7f3b9af31000+3a000]
_
and of course the whole cluster went down..
No, I don't recommend the patch as-is. I had optimistically thought I would get to it this week. I'd like to push something this weekend for testing.
-Chap
ok, thanks!
just in case this helps, coredump, it happens from time to time for 2,3 processes at the same time so it looks like there is a race during the initialization of parallel workers (even the max gather workers is set to 0).
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Missing separate debuginfo for /opt/jdk1.8.0_101/jre/lib/amd64/server/libjvm.so
Try: yum --enablerepo='*debug*' install /usr/lib/debug/.build-id/b2/d6eedcaa5b4e5fc274fdf484b907274b1a70f0.debug
Core was generated by `postgres: bgworker: parallel worker for PID 30788 '.
Program terminated with signal 11, Segmentation fault.
#0 0x00007f3b9af4ce9b in pljavaDbName () from /home/postgres/pg96/lib/libpljava-so-1.6.0-SNAPSHOT.so
Missing separate debuginfos, use: debuginfo-install cyrus-sasl-lib-2.1.26-20.el7_2.x86_64 glibc-2.17-106.el7_2.8.x86_64 libgcc-4.8.5-4.el7.x86_64 libstdc++-4.8.5-4.el7.x86_64 libxml2-2.9.1-6.el7_2.3.x86_64 nspr-4.11.0-1.el7_2.x86_64 nss-3.21.0-9.el7_2.x86_64 nss-softokn-freebl-3.16.2.3-14.2.el7_2.x86_64 nss-util-3.21.0-2.2.el7_2.x86_64 openldap-2.4.40-9.el7_2.x86_64 xz-libs-5.1.2-12alpha.el7.x86_64 zlib-1.2.7-15.el7.x86_64
(gdb) bt
#0 0x00007f3b9af4ce9b in pljavaDbName () from /home/postgres/pg96/lib/libpljava-so-1.6.0-SNAPSHOT.so
#1 0x00007f3b9af44e0d in JVMOptList_addVisualVMName () from /home/postgres/pg96/lib/libpljava-so-1.6.0-SNAPSHOT.so
#2 0x00007f3b9af43b84 in initsequencer () from /home/postgres/pg96/lib/libpljava-so-1.6.0-SNAPSHOT.so
#3 0x00007f3b9af44358 in _PG_init () from /home/postgres/pg96/lib/libpljava-so-1.6.0-SNAPSHOT.so
#4 0x00000000004cd45a in internal_load_library.339867 ()
#5 0x00000000009680f0 in ParallelWorkerMain.53180 ()
#6 0x000000000070ed5c in StartBackgroundWorker ()
#7 0x000000000070f27b in maybe_start_bgworker.242791 ()
#8 0x000000000097798d in sigusr1_handler.242530.3554 ()
#9 <signal handler called>
#10 0x00007f3ba473b3f3 in __select_nocancel () from /lib64/libc.so.6
#11 0x0000000000470b7d in ServerLoop.242796.3582 ()
#12 0x00000000009794f6 in PostmasterMain ()
#13 0x0000000000471ab0 in main ()
Thank you for that. It appears to be an issue in addition to the ones I've already identified (right now, I'm still working on the 32-bit things that PG 9.6 widened to 64), so it's good to know about.
In general, at the moment, I'd recommend playing with the REL1_5_STABLE
branch (which is going to become 1.5.1-SNAPSHOT
fairly soon when I push some new stuff for testing). 1.6.0-SNAPSHOT
on the master
branch is definitely work-in-progress right now (I have tried not to push except at stages where things work, but it's distinctly development-quality).
That's probably not responsible for the pljavaDbName
crash though.
Hmm, there could simply be a limitation at the moment for PL/Java in a background worker. It is getting the database name from the MyProcPort
structure; I wonder whether a background worker even has one.
Chris,
In your environment, what is causing PL/Java to be loaded in a background worker process?
Is there a background worker process being created explicitly and then using PL/Java, or is there a PL/Java function that has been marked parallel-safe and used in a parallel query?
I have pushed a branch trackpg/REL1_5_STABLE/pg96
for testing. For me it builds successfully and completes the example tests. More is needed before a release, but please give it a try.
-Chap
Thanks Chap! We do nothing special, I think we are calling function in this case that is not marked parallel-safe at all and is called in a unidentified (for now) parallelized query.
I will try 1_5 branch. Cheers Chris
Chris,
Have you had a chance to try the trackpg/REL1_5_STABLE/pg96
branch yet?
I believe what I pushed earlier ought to have solved the compilation issues, but you have probably still seen the issue in your parallel query. I see what is going on now:
0x00007f3b9af44358 in _PG_init () from /home/postgres/pg96/lib/libpljava-so-1.6.0-SNAPSHOT.so
0x00000000004cd45a in internal_load_library.339867 ()
0x00000000009680f0 in ParallelWorkerMain.53180 ()
It turns out ParallelWorkerMain
unconditionally loads all the shared libraries that it knows were loaded in the parallel group leader. That means, even if the parallel query that's running doesn't use PL/Java for anything, but the leader process had used it for something earlier, the shared library gets loaded, and its _PG_init
gets called, and tries to refer to stuff that hasn't been set up yet, because this is quite early in ParallelWorkerMain
.
I'd like to think I can make that not happen. :) When I do, I'll push a fix for that onto the trackpg/REL1_5_STABLE/pg96
branch and comment here.
-Chap
Chris,
Please try the most current HEAD of trackpg/REL1_5_STABLE/pg96
- I was able to replicate your issue, and this solves it for me.
-Chap
Excellent news! I can also confirm that 1.5 branch has been stable for few days on 9.6 now.
I will give the 9.6 a try and will let you know! - I meant the branch you jus announced.
Thanks again
Thanks for checking! I trust you mean the trackpg/REL1_5_STABLE/pg96
branch, as I really haven't pushed anything on REL1_5_STABLE
itself yet that would have fixed anything. If that just started working, it would be spooky.
But then, it is Halloween....
Yes, yes, no spooky actions at a distance! I meant trackpg/REL1_5_STABLE/pg96 has been stable and also survived the halloween.
Ghosts strike back unfortunately:
under heavy load (100s connections doing heavy work) postgres segfaulted few times, (once ding autovacuum, which should not be related to the one below?). Out of 6, only one full core is dumped, several others are truncated, which is also bizzarre.
this particular process was using copy + pljava function doing simple array deserialization.
#0 0x00007fddb68b85f7 in raise () from /lib64/libc.so.6
#1 0x00007fddb68b9ce8 in abort () from /lib64/libc.so.6
#2 0x00007fddabd70334 in __gnu_cxx::__verbose_terminate_handler() () from /opt/jdk1.8.0_101/jre/lib/amd64/server/libjvm.so
#3 0x00007fddabd6b1a6 in __cxxabiv1::__terminate(void (*)()) () from /opt/jdk1.8.0_101/jre/lib/amd64/server/libjvm.so
#4 0x00007fddabd6b1d3 in std::terminate() () from /opt/jdk1.8.0_101/jre/lib/amd64/server/libjvm.so
#5 0x00007fddabd6b58f in __cxa_pure_virtual () from /opt/jdk1.8.0_101/jre/lib/amd64/server/libjvm.so
#6 0x00007fddabbaff1e in outputStream::print_cr(char const*, ...) () from /opt/jdk1.8.0_101/jre/lib/amd64/server/libjvm.so
#7 0x00007fddabd436d0 in VMError::report(outputStream*) () from /opt/jdk1.8.0_101/jre/lib/amd64/server/libjvm.so
#8 0x00007fddabd44d7c in VMError::report_and_die() () from /opt/jdk1.8.0_101/jre/lib/amd64/server/libjvm.so
#9 0x00007fddabba99ef in JVM_handle_linux_signal () from /opt/jdk1.8.0_101/jre/lib/amd64/server/libjvm.so
#10 0x00007fddabba0183 in signalHandler(int, siginfo*, void*) () from /opt/jdk1.8.0_101/jre/lib/amd64/server/libjvm.so
#11 <signal handler called>
#12 0x00007fddacdd91d7 in JNI_pushLocalFrame () from /home/postgres/pg96/lib/libpljava-so-1.5.1-SNAPSHOT.so
#13 0x00007fddacdd53aa in Invocation_pushInvocation () from /home/postgres/pg96/lib/libpljava-so-1.5.1-SNAPSHOT.so
#14 0x00007fddacdcbad1 in _destroyJavaVM () from /home/postgres/pg96/lib/libpljava-so-1.5.1-SNAPSHOT.so
#15 0x00000000006263d8 in atexit_callback.264072 ()
#16 0x00007fddb68bbe69 in __run_exit_handlers () from /lib64/libc.so.6
#17 0x00007fddb68bbeb5 in exit () from /lib64/libc.so.6
#18 0x00007fddacdcba6d in pljavaQuickDieHandler () from /home/postgres/pg96/lib/libpljava-so-1.5.1-SNAPSHOT.so
#19 <signal handler called>
#20 0x00007fddacdd75f0 in JNI_callStaticObjectMethodA () from /home/postgres/pg96/lib/libpljava-so-1.5.1-SNAPSHOT.so
#21 0x00007fddacde2d7c in _Type_invoke () from /home/postgres/pg96/lib/libpljava-so-1.5.1-SNAPSHOT.so
#22 0x00007fddacde24b0 in Type_invoke () from /home/postgres/pg96/lib/libpljava-so-1.5.1-SNAPSHOT.so
#23 0x00007fddacdd2d62 in Function_invoke () from /home/postgres/pg96/lib/libpljava-so-1.5.1-SNAPSHOT.so
#24 0x00007fddacdcc708 in internalCallHandler () from /home/postgres/pg96/lib/libpljava-so-1.5.1-SNAPSHOT.so
#25 0x00007fddacdcc59c in javau_call_handler () from /home/postgres/pg96/lib/libpljava-so-1.5.1-SNAPSHOT.so
#26 0x00000000005d7b32 in ExecMakeFunctionResultNoSets.147610 ()
#27 0x00000000006af1f0 in ExecTargetList.isra.6.148176 ()
#28 0x000000000072ea6c in ExecProject ()
#29 0x000000000087cab3 in ExecNestLoop ()
#30 0x0000000000876128 in ExecProcNode ()
#31 0x0000000000882231 in standard_ExecutorRun ()
#32 0x00000000008bbc4e in DoCopyTo.106361.10928 ()
#33 0x00000000008bc389 in DoCopy ()
#34 0x00000000008bd890 in standard_ProcessUtility ()
#35 0x00000000008c9935 in PortalRunUtility.274747.8325 ()
#36 0x00000000008c99fc in PortalRunMulti.274852.8314 ()
#37 0x00000000008cbf51 in PortalRun ()
#38 0x00000000008cc648 in exec_simple_query.273070 ()
#39 0x000000000096cc97 in PostgresMain ()
#40 0x00000000004712f5 in ServerLoop.242798.3582 ()
#41 0x0000000000979506 in PostmasterMain ()
#42 0x0000000000471ab0 in main ()
Well, that's less than cheerful. Do you find any lines in the PostgreSQL log resembling:
# A fatal error has been detected by the Java Runtime Environment:
#
# SIG???? (0x?) at pc=0x0000000000??????, pid=?????, tid=???????????????
# ...
# An error report file with more information is saved as:
# /some/where/hs_err_pid?????.log
and, if so, what's in the hs_err_pid*.log
file?
If none of the above got written into the PostgreSQL log file, is there a hs_err_pid*.log
file somewhere anyway? The most likely place to look for it is in whatever directory would have been the current working directory for the backend process that crashed.
no, nothing in the log, nowhere on the filesystem to be found..
Hmm. Something curious happens in your frame #19/#18
: some signal has been dispatched to the pljavaQuickDieHandler
, and as far as I can tell from Backend.c
, that handler is only registered to catch SIGQUIT
.
Is there anything in your environment that could be sending SIGQUIT
to a PostgreSQL backend process for any reason? I thought briefly of the Linux out-of-memory killer, but I think the signal it sends is SIGKILL
.
I can see one place in the code where the process could possibly send SIGQUIT
to itself, but that's in the terminationTimeoutHandler
which would only be enabled if _destroyJavaVM
had already been called, which your stack trace doesn't show. (I'm also not convinced the PG_VERSION_NUM >= 90300
code even really enables that timeout; it seems the RegisterTimeout
would need to be followed by enable_timeout_after
, so I am not convinced this terminationTimeoutHandler
executes for you at all.)
So maybe you could rebuild after commenting out this line, and maybe the default handler would give a more informative dump in case a SIGQUIT
is received. Or you could try commenting out this line (maybe put an fprintf
there) just to rule out the possibility of the signal coming from there....
You might be right about oom. I have seen oom in the dmesg and it was probably linked with over-configuration of hugepages. We are testing it now. Sorry if it was a false alarm.
I would like nothing more than to believe that, but I've glanced at the oom-killer source and it clearly sends SIGKILL
, so I think it is still a puzzle where this SIGQUIT
could be coming from.
Still, it seems most likely something from outside PL/Java.
I managed to get another segmentation fault with jvm involved, this time using pmpp extension that parallelizes the work based on queries that use pljava: so most likely inducing some races...
https://github.com/moat/pmpp/blob/master/src/distribute.c#L638
(gdb) bt
#0 0x00007f13b26545f7 in raise () from /lib64/libc.so.6
#1 0x00007f13b2655ce8 in abort () from /lib64/libc.so.6
#2 0x00007f13a7ede1c5 in os::abort(bool) () from /opt/jdk1.8.0_101/jre/lib/amd64/server/libjvm.so
#3 0x00007f13a807f313 in VMError::report_and_die() () from /opt/jdk1.8.0_101/jre/lib/amd64/server/libjvm.so
#4 0x00007f13a7ee39ef in JVM_handle_linux_signal () from /opt/jdk1.8.0_101/jre/lib/amd64/server/libjvm.so
#5 0x00007f13a7eda183 in signalHandler(int, siginfo*, void*) () from /opt/jdk1.8.0_101/jre/lib/amd64/server/libjvm.so
#6 <signal handler called>
#7 0x00007f13245f6212 in pmpp_distribute () from /home/postgres/pg96/lib/pmpp.so
#8 0x0000000000811ea2 in ExecMakeFunctionResult.147616 ()
#9 0x0000000000787bbb in ExecEvalFunc.148170.8597 ()
#10 0x00000000006b0a60 in ExecTargetList.isra.6.148176 ()
#11 0x0000000000685d9c in ExecProject ()
#12 0x000000000087ca49 in ExecResult ()
#13 0x0000000000876688 in ExecProcNode ()
#14 0x00000000008826a1 in standard_ExecutorRun ()
#15 0x00007f13a914c99d in pgss_ExecutorRun.3229 () from /home/postgres/pg96/lib/pg_stat_statements.so
#16 0x00000000008be986 in fmgr_sql ()
#17 0x00000000006fee4f in fmgr_security_definer.340331 ()
#18 0x00000000007bcac8 in ExecMakeTableFunctionResult ()
#19 0x00000000007bd5d4 in FunctionNext.169174 ()
#20 0x00000000005c49f5 in ExecScan ()
#21 0x00000000008766d8 in ExecProcNode ()
#22 0x00000000008826a1 in standard_ExecutorRun ()
#23 0x00007f13a914c99d in pgss_ExecutorRun.3229 () from /home/postgres/pg96/lib/pg_stat_statements.so
#24 0x0000000000884a05 in PortalRunSelect.274864 ()
#25 0x00000000008cc4b7 in PortalRun ()
#26 0x00000000008ccaa8 in exec_simple_query.273123 ()
#27 0x000000000096d0a7 in PostgresMain ()
#28 0x00000000004712f5 in ServerLoop.242851.3582 ()
#29 0x0000000000979916 in PostmasterMain ()
#30 0x0000000000471ab0 in main ()
It would be very interesting to know just where that signal was raised. Do you have a way to find out which line in pmpp_distribute
has PC 0x7f13245f6212
? Line 638 in the source is just where the function begins.
I suspect the JVM establishes a SIGSEGV
handler when initialized, which might catch signals later even if they have arisen in other code.
Did you see anything that specifically identified the signal as SIGSEGV
? I see that you've said "segmentation fault" but the exact signal doesn't seem to be identified in the portion of output you've attached.
-Chap
Hi,
This is what I'm getting on my Fedora 25 box, with GCC 6.3:
[INFO] --- nar-maven-plugin:3.2.3:nar-javah (default-nar-javah) @ pljava-so --- [INFO] Running /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.121-8.b14.fc25.x86_64/bin/javah compiler on 22 classes... [INFO] + /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.121-8.b14.fc25.x86_64/bin/javah -classpath /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/../pljava/target/classes/:/home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/../pljava-api/target/classes/ -d /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/target/nar/javah-include org.postgresql.pljava.internal.Session org.postgresql.pljava.internal.SubXactListener org.postgresql.pljava.internal.Backend org.postgresql.pljava.jdbc.SingleRowReader org.postgresql.pljava.internal.TupleDesc org.postgresql.pljava.internal.Oid org.postgresql.pljava.internal.XactListener org.postgresql.pljava.internal.SPI org.postgresql.pljava.internal.Tuple org.postgresql.pljava.internal.AclId org.postgresql.pljava.internal.TriggerData org.postgresql.pljava.internal.JavaWrapper org.postgresql.pljava.internal.LargeObject org.postgresql.pljava.internal.ExecutionPlan org.postgresql.pljava.internal.Relation org.postgresql.pljava.internal.PgSavepoint org.postgresql.pljava.internal.Portal org.postgresql.pljava.internal.HeapTupleHeader org.postgresql.pljava.jdbc.SQLInputFromTuple org.postgresql.pljava.jdbc.Invocation org.postgresql.pljava.internal.ErrorData org.postgresql.pljava.jdbc.SQLOutputToChunk 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 51 native files [INFO] 51 total files to be compiled. [INFO] 51 total files to be compiled. [INFO] Found 8 processors available [INFO] Found 8 processors available [INFO] Starting Core 0 with 7 source files... [INFO] 0 / 51 files compiled...ource files... [INFO] Starting Core 1 with 7 source files... [INFO] Starting Core 1 with 7 source files... [INFO] Starting Core 2 with 7 source files... [INFO] Starting Core 2 with 7 source files... [INFO] Starting Core 3 with 6 source files... [INFO] Starting Core 3 with 6 source files... [INFO] Starting Core 4 with 6 source files... [INFO] Starting Core 4 with 6 source files... [INFO] Starting Core 5 with 6 source files... [INFO] Starting Core 5 with 6 source files... [INFO] Starting Core 6 with 6 source files... [INFO] Starting Core 6 with 6 source files... [INFO] Starting Core 7 with 6 source files... [INFO] Starting Core 7 with 6 source files... [ERROR] In file included from /usr/pgsql-9.6/include/server/utils/guc.h:18:0, [ERROR] from /usr/pgsql-9.6/include/server/tcop/tcopprot.h:26, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/pljava.h:35, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/JNICalls.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/PgObject.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/PgObject_priv.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/type/Type_priv.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/c/type/Boolean.c:11: [ERROR] /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/c/type/Boolean.c: In function '_booleanArray_coerceDatum': [WARNING] /usr/pgsql-9.6/include/server/utils/array.h:284: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] /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/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/pgsql-9.6/include/server/postgres.h:47:0, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/pljava.h:29, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/JNICalls.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/PgObject.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/PgObject_priv.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/type/Type_priv.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/c/type/Boolean.c:11: [WARNING] /usr/pgsql-9.6/include/server/utils/array.h:292: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/pgsql-9.6/include/server/c.h:574:17: note: in definition of macro 'TYPEALIGN' [ERROR] (((uintptr_t) (LEN) + ((ALIGNVAL) - 1)) & ~((uintptr_t) ((ALIGNVAL) - 1))) [ERROR] ^~~ [ERROR] /usr/pgsql-9.6/include/server/utils/array.h:292:3: note: in expansion of macro 'MAXALIGN' [ERROR] MAXALIGN(sizeof(ArrayType) + 2 * sizeof(int) * (ndims)) [ERROR] ^~~~~~~~ [ERROR] /usr/pgsql-9.6/include/server/utils/array.h:298:39: note: in expansion of macro 'ARR_OVERHEAD_NONULLS' [ERROR] (ARR_HASNULL(a) ? (a)->dataoffset : ARR_OVERHEAD_NONULLS(ARR_NDIM(a))) [ERROR] ^~~~~~~~~~~~~~~~~~~~ [ERROR] /usr/pgsql-9.6/include/server/utils/array.h:304:21: note: in expansion of macro 'ARR_DATA_OFFSET' [ERROR] (((char *) (a)) + ARR_DATA_OFFSET(a)) [ERROR] ^~~~~~~~~~~~~~~ [ERROR] /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/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/pgsql-9.6/include/server/utils/guc.h:18:0, [ERROR] from /usr/pgsql-9.6/include/server/tcop/tcopprot.h:26, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/pljava.h:35, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/JNICalls.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/PgObject.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/PgObject_priv.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/type/Type_priv.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/c/type/Boolean.c:11: [WARNING] /usr/pgsql-9.6/include/server/utils/array.h:298: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/pgsql-9.6/include/server/utils/array.h:304:21: note: in expansion of macro 'ARR_DATA_OFFSET' [ERROR] (((char *) (a)) + ARR_DATA_OFFSET(a)) [ERROR] ^~~~~~~~~~~~~~~ [ERROR] /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/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/pgsql-9.6/include/server/postgres.h:47:0, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/pljava.h:29, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/JNICalls.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/PgObject.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/PgObject_priv.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/type/Type_priv.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/c/type/Boolean.c:11: [WARNING] /usr/pgsql-9.6/include/server/utils/array.h:292: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/pgsql-9.6/include/server/c.h:574:17: note: in definition of macro 'TYPEALIGN' [ERROR] (((uintptr_t) (LEN) + ((ALIGNVAL) - 1)) & ~((uintptr_t) ((ALIGNVAL) - 1))) [ERROR] ^~~ [ERROR] /usr/pgsql-9.6/include/server/utils/array.h:292:3: note: in expansion of macro 'MAXALIGN' [ERROR] MAXALIGN(sizeof(ArrayType) + 2 * sizeof(int) * (ndims)) [ERROR] ^~~~~~~~ [ERROR] /usr/pgsql-9.6/include/server/utils/array.h:298:39: note: in expansion of macro 'ARR_OVERHEAD_NONULLS' [ERROR] (ARR_HASNULL(a) ? (a)->dataoffset : ARR_OVERHEAD_NONULLS(ARR_NDIM(a))) [ERROR] ^~~~~~~~~~~~~~~~~~~~ [ERROR] /usr/pgsql-9.6/include/server/utils/array.h:304:21: note: in expansion of macro 'ARR_DATA_OFFSET' [ERROR] (((char *) (a)) + ARR_DATA_OFFSET(a)) [ERROR] ^~~~~~~~~~~~~~~ [ERROR] /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/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/pgsql-9.6/include/server/utils/guc.h:18:0, [ERROR] from /usr/pgsql-9.6/include/server/tcop/tcopprot.h:26, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/pljava.h:35, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/JNICalls.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/PgObject.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/PgObject_priv.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/type/Type_priv.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/c/type/Boolean.c:11: [WARNING] /usr/pgsql-9.6/include/server/utils/array.h:298: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/pgsql-9.6/include/server/utils/array.h:304:21: note: in expansion of macro 'ARR_DATA_OFFSET' [ERROR] (((char *) (a)) + ARR_DATA_OFFSET(a)) [ERROR] ^~~~~~~~~~~~~~~ [ERROR] /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/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/pgsql-9.6/include/server/postgres.h:47:0, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/pljava.h:29, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/JNICalls.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/PgObject.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/PgObject_priv.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/type/Type_priv.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/c/type/Boolean.c:11: [ERROR] /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/c/type/Boolean.c: In function '_booleanArray_coerceObject': [WARNING] /usr/pgsql-9.6/include/server/utils/array.h:292: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/pgsql-9.6/include/server/c.h:574:17: note: in definition of macro 'TYPEALIGN' [ERROR] (((uintptr_t) (LEN) + ((ALIGNVAL) - 1)) & ~((uintptr_t) ((ALIGNVAL) - 1))) [ERROR] ^~~ [ERROR] /usr/pgsql-9.6/include/server/utils/array.h:292:3: note: in expansion of macro 'MAXALIGN' [ERROR] MAXALIGN(sizeof(ArrayType) + 2 * sizeof(int) * (ndims)) [ERROR] ^~~~~~~~ [ERROR] /usr/pgsql-9.6/include/server/utils/array.h:298:39: note: in expansion of macro 'ARR_OVERHEAD_NONULLS' [ERROR] (ARR_HASNULL(a) ? (a)->dataoffset : ARR_OVERHEAD_NONULLS(ARR_NDIM(a))) [ERROR] ^~~~~~~~~~~~~~~~~~~~ [ERROR] /usr/pgsql-9.6/include/server/utils/array.h:304:21: note: in expansion of macro 'ARR_DATA_OFFSET' [ERROR] (((char *) (a)) + ARR_DATA_OFFSET(a)) [ERROR] ^~~~~~~~~~~~~~~ [ERROR] /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/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/pgsql-9.6/include/server/utils/guc.h:18:0, [ERROR] from /usr/pgsql-9.6/include/server/tcop/tcopprot.h:26, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/pljava.h:35, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/JNICalls.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/PgObject.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/PgObject_priv.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/type/Type_priv.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/c/type/Boolean.c:11: [WARNING] /usr/pgsql-9.6/include/server/utils/array.h:298: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/pgsql-9.6/include/server/utils/array.h:304:21: note: in expansion of macro 'ARR_DATA_OFFSET' [ERROR] (((char *) (a)) + ARR_DATA_OFFSET(a)) [ERROR] ^~~~~~~~~~~~~~~ [ERROR] /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/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/pgsql-9.6/include/server/postgres.h:47:0, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/pljava.h:29, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/JNICalls.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/PgObject.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/PgObject_priv.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/type/Type_priv.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/c/type/Boolean.c:11: [WARNING] /usr/pgsql-9.6/include/server/utils/array.h:292: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/pgsql-9.6/include/server/c.h:574:17: note: in definition of macro 'TYPEALIGN' [ERROR] (((uintptr_t) (LEN) + ((ALIGNVAL) - 1)) & ~((uintptr_t) ((ALIGNVAL) - 1))) [ERROR] ^~~ [ERROR] /usr/pgsql-9.6/include/server/utils/array.h:292:3: note: in expansion of macro 'MAXALIGN' [ERROR] MAXALIGN(sizeof(ArrayType) + 2 * sizeof(int) * (ndims)) [ERROR] ^~~~~~~~ [ERROR] /usr/pgsql-9.6/include/server/utils/array.h:298:39: note: in expansion of macro 'ARR_OVERHEAD_NONULLS' [ERROR] (ARR_HASNULL(a) ? (a)->dataoffset : ARR_OVERHEAD_NONULLS(ARR_NDIM(a))) [ERROR] ^~~~~~~~~~~~~~~~~~~~ [ERROR] /usr/pgsql-9.6/include/server/utils/array.h:304:21: note: in expansion of macro 'ARR_DATA_OFFSET' [ERROR] (((char *) (a)) + ARR_DATA_OFFSET(a)) [ERROR] ^~~~~~~~~~~~~~~ [ERROR] /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/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/pgsql-9.6/include/server/utils/guc.h:18:0, [ERROR] from /usr/pgsql-9.6/include/server/tcop/tcopprot.h:26, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/pljava.h:35, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/JNICalls.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/PgObject.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/PgObject_priv.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/type/Type_priv.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/c/type/Boolean.c:11: [WARNING] /usr/pgsql-9.6/include/server/utils/array.h:298: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/pgsql-9.6/include/server/utils/array.h:304:21: note: in expansion of macro 'ARR_DATA_OFFSET' [ERROR] (((char *) (a)) + ARR_DATA_OFFSET(a)) [ERROR] ^~~~~~~~~~~~~~~ [ERROR] /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/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/pgsql-9.6/include/server/utils/guc.h:18:0, [ERROR] from /usr/pgsql-9.6/include/server/tcop/tcopprot.h:26, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/pljava.h:35, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/JNICalls.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/PgObject.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/PgObject_priv.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/type/Type_priv.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/c/type/Byte.c:9: [ERROR] /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/c/type/Byte.c: In function '_byteArray_coerceDatum': [WARNING] /usr/pgsql-9.6/include/server/utils/array.h:284: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] /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/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/pgsql-9.6/include/server/postgres.h:47:0, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/pljava.h:29, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/JNICalls.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/PgObject.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/PgObject_priv.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/type/Type_priv.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/c/type/Byte.c:9: [WARNING] /usr/pgsql-9.6/include/server/utils/array.h:292: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/pgsql-9.6/include/server/c.h:574:17: note: in definition of macro 'TYPEALIGN' [ERROR] (((uintptr_t) (LEN) + ((ALIGNVAL) - 1)) & ~((uintptr_t) ((ALIGNVAL) - 1))) [ERROR] ^~~ [ERROR] /usr/pgsql-9.6/include/server/utils/array.h:292:3: note: in expansion of macro 'MAXALIGN' [ERROR] MAXALIGN(sizeof(ArrayType) + 2 * sizeof(int) * (ndims)) [ERROR] ^~~~~~~~ [ERROR] /usr/pgsql-9.6/include/server/utils/array.h:298:39: note: in expansion of macro 'ARR_OVERHEAD_NONULLS' [ERROR] (ARR_HASNULL(a) ? (a)->dataoffset : ARR_OVERHEAD_NONULLS(ARR_NDIM(a))) [ERROR] ^~~~~~~~~~~~~~~~~~~~ [ERROR] /usr/pgsql-9.6/include/server/utils/array.h:304:21: note: in expansion of macro 'ARR_DATA_OFFSET' [ERROR] (((char *) (a)) + ARR_DATA_OFFSET(a)) [ERROR] ^~~~~~~~~~~~~~~ [ERROR] /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/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/pgsql-9.6/include/server/utils/guc.h:18:0, [ERROR] from /usr/pgsql-9.6/include/server/tcop/tcopprot.h:26, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/pljava.h:35, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/JNICalls.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/PgObject.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/PgObject_priv.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/type/Type_priv.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/c/type/Byte.c:9: [WARNING] /usr/pgsql-9.6/include/server/utils/array.h:298: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/pgsql-9.6/include/server/utils/array.h:304:21: note: in expansion of macro 'ARR_DATA_OFFSET' [ERROR] (((char *) (a)) + ARR_DATA_OFFSET(a)) [ERROR] ^~~~~~~~~~~~~~~ [ERROR] /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/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/pgsql-9.6/include/server/postgres.h:47:0, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/pljava.h:29, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/JNICalls.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/PgObject.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/PgObject_priv.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/type/Type_priv.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/c/type/Byte.c:9: [WARNING] /usr/pgsql-9.6/include/server/utils/array.h:292: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/pgsql-9.6/include/server/c.h:574:17: note: in definition of macro 'TYPEALIGN' [ERROR] (((uintptr_t) (LEN) + ((ALIGNVAL) - 1)) & ~((uintptr_t) ((ALIGNVAL) - 1))) [ERROR] ^~~ [ERROR] /usr/pgsql-9.6/include/server/utils/array.h:292:3: note: in expansion of macro 'MAXALIGN' [ERROR] MAXALIGN(sizeof(ArrayType) + 2 * sizeof(int) * (ndims)) [ERROR] ^~~~~~~~ [ERROR] /usr/pgsql-9.6/include/server/utils/array.h:298:39: note: in expansion of macro 'ARR_OVERHEAD_NONULLS' [ERROR] (ARR_HASNULL(a) ? (a)->dataoffset : ARR_OVERHEAD_NONULLS(ARR_NDIM(a))) [ERROR] ^~~~~~~~~~~~~~~~~~~~ [ERROR] /usr/pgsql-9.6/include/server/utils/array.h:304:21: note: in expansion of macro 'ARR_DATA_OFFSET' [ERROR] (((char *) (a)) + ARR_DATA_OFFSET(a)) [ERROR] ^~~~~~~~~~~~~~~ [ERROR] /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/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/pgsql-9.6/include/server/utils/guc.h:18:0, [ERROR] from /usr/pgsql-9.6/include/server/tcop/tcopprot.h:26, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/pljava.h:35, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/JNICalls.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/PgObject.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/PgObject_priv.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/type/Type_priv.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/c/type/Byte.c:9: [WARNING] /usr/pgsql-9.6/include/server/utils/array.h:298: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/pgsql-9.6/include/server/utils/array.h:304:21: note: in expansion of macro 'ARR_DATA_OFFSET' [ERROR] (((char *) (a)) + ARR_DATA_OFFSET(a)) [ERROR] ^~~~~~~~~~~~~~~ [ERROR] /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/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/pgsql-9.6/include/server/postgres.h:47:0, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/pljava.h:29, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/JNICalls.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/PgObject.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/PgObject_priv.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/type/Type_priv.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/c/type/Byte.c:9: [ERROR] /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/c/type/Byte.c: In function '_byteArray_coerceObject': [WARNING] /usr/pgsql-9.6/include/server/utils/array.h:292: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/pgsql-9.6/include/server/c.h:574:17: note: in definition of macro 'TYPEALIGN' [ERROR] (((uintptr_t) (LEN) + ((ALIGNVAL) - 1)) & ~((uintptr_t) ((ALIGNVAL) - 1))) [ERROR] ^~~ [ERROR] /usr/pgsql-9.6/include/server/utils/array.h:292:3: note: in expansion of macro 'MAXALIGN' [ERROR] MAXALIGN(sizeof(ArrayType) + 2 * sizeof(int) * (ndims)) [ERROR] ^~~~~~~~ [ERROR] /usr/pgsql-9.6/include/server/utils/array.h:298:39: note: in expansion of macro 'ARR_OVERHEAD_NONULLS' [ERROR] (ARR_HASNULL(a) ? (a)->dataoffset : ARR_OVERHEAD_NONULLS(ARR_NDIM(a))) [ERROR] ^~~~~~~~~~~~~~~~~~~~ [ERROR] /usr/pgsql-9.6/include/server/utils/array.h:304:21: note: in expansion of macro 'ARR_DATA_OFFSET' [ERROR] (((char *) (a)) + ARR_DATA_OFFSET(a)) [ERROR] ^~~~~~~~~~~~~~~ [ERROR] /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/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/pgsql-9.6/include/server/utils/guc.h:18:0, [ERROR] from /usr/pgsql-9.6/include/server/tcop/tcopprot.h:26, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/pljava.h:35, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/JNICalls.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/PgObject.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/PgObject_priv.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/type/Type_priv.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/c/type/Byte.c:9: [WARNING] /usr/pgsql-9.6/include/server/utils/array.h:298: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/pgsql-9.6/include/server/utils/array.h:304:21: note: in expansion of macro 'ARR_DATA_OFFSET' [ERROR] (((char *) (a)) + ARR_DATA_OFFSET(a)) [ERROR] ^~~~~~~~~~~~~~~ [ERROR] /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/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/pgsql-9.6/include/server/port/atomics.h:123:0, [ERROR] from /usr/pgsql-9.6/include/server/storage/lwlock.h:23, [ERROR] from /usr/pgsql-9.6/include/server/storage/lock.h:23, [ERROR] from /usr/pgsql-9.6/include/server/access/heapam.h:22, [ERROR] from /usr/pgsql-9.6/include/server/nodes/execnodes.h:18, [ERROR] from /usr/pgsql-9.6/include/server/executor/execdesc.h:18, [ERROR] from /usr/pgsql-9.6/include/server/utils/portal.h:50, [ERROR] from /usr/pgsql-9.6/include/server/executor/spi.h:18, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/c/Backend.c:16: [ERROR] /usr/pgsql-9.6/include/server/port/atomics/generic.h: In function 'pg_atomic_add_fetch_u32_impl': [WARNING] /usr/pgsql-9.6/include/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/pgsql-9.6/include/server/port/atomics/generic.h: In function 'pg_atomic_sub_fetch_u32_impl': [WARNING] /usr/pgsql-9.6/include/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/pgsql-9.6/include/server/port/atomics/generic.h: In function 'pg_atomic_add_fetch_u64_impl': [WARNING] /usr/pgsql-9.6/include/server/port/atomics/generic.h:379: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/pgsql-9.6/include/server/port/atomics/generic.h: In function 'pg_atomic_sub_fetch_u64_impl': [WARNING] /usr/pgsql-9.6/include/server/port/atomics/generic.h:388: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] /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/c/Backend.c: In function 'JVMOptList_add': [WARNING] /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/c/Backend.c:1111:15: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] [ERROR] int newPos = jol->size; [ERROR] ^~~ [WARNING] /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/c/Backend.c:1114: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] /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/c/Backend.c:1115: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] /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/c/Backend.c:1116: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] /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/c/Backend.c:1119:19: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] [ERROR] jol->capacity = newCap; [ERROR] ^~~~~~ [ERROR] /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/c/Backend.c: In function 'initializeJavaVM': [WARNING] /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/c/Backend.c:1264: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] /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/c/type/Array.c: In function 'createArrayType': [WARNING] /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/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/pgsql-9.6/include/server/postgres.h:47:0, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/pljava.h:29, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/JNICalls.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/PgObject.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/PgObject_priv.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/type/Type_priv.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/c/type/Array.c:9: [WARNING] /usr/pgsql-9.6/include/server/utils/array.h:294: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/pgsql-9.6/include/server/c.h:574:17: note: in definition of macro 'TYPEALIGN' [ERROR] (((uintptr_t) (LEN) + ((ALIGNVAL) - 1)) & ~((uintptr_t) ((ALIGNVAL) - 1))) [ERROR] ^~~ [ERROR] /usr/pgsql-9.6/include/server/utils/array.h:294:3: note: in expansion of macro 'MAXALIGN' [ERROR] MAXALIGN(sizeof(ArrayType) + 2 * sizeof(int) * (ndims) + \ [ERROR] ^~~~~~~~ [ERROR] /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/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/pgsql-9.6/include/server/utils/guc.h:18:0, [ERROR] from /usr/pgsql-9.6/include/server/tcop/tcopprot.h:26, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/pljava.h:35, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/JNICalls.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/PgObject.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/PgObject_priv.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/type/Type_priv.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/c/type/Array.c:9: [WARNING] /usr/pgsql-9.6/include/server/utils/array.h:279: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] /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/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/pgsql-9.6/include/server/postgres.h:47:0, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/pljava.h:29, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/JNICalls.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/PgObject.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/PgObject_priv.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/type/Type_priv.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/c/type/Array.c:9: [ERROR] /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/c/type/Array.c: In function '_Array_coerceDatum': [WARNING] /usr/pgsql-9.6/include/server/utils/array.h:292: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/pgsql-9.6/include/server/c.h:574:17: note: in definition of macro 'TYPEALIGN' [ERROR] (((uintptr_t) (LEN) + ((ALIGNVAL) - 1)) & ~((uintptr_t) ((ALIGNVAL) - 1))) [ERROR] ^~~ [ERROR] /usr/pgsql-9.6/include/server/utils/array.h:292:3: note: in expansion of macro 'MAXALIGN' [ERROR] MAXALIGN(sizeof(ArrayType) + 2 * sizeof(int) * (ndims)) [ERROR] ^~~~~~~~ [ERROR] /usr/pgsql-9.6/include/server/utils/array.h:298:39: note: in expansion of macro 'ARR_OVERHEAD_NONULLS' [ERROR] (ARR_HASNULL(a) ? (a)->dataoffset : ARR_OVERHEAD_NONULLS(ARR_NDIM(a))) [ERROR] ^~~~~~~~~~~~~~~~~~~~ [ERROR] /usr/pgsql-9.6/include/server/utils/array.h:304:21: note: in expansion of macro 'ARR_DATA_OFFSET' [ERROR] (((char *) (a)) + ARR_DATA_OFFSET(a)) [ERROR] ^~~~~~~~~~~~~~~ [ERROR] /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/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/pgsql-9.6/include/server/utils/guc.h:18:0, [ERROR] from /usr/pgsql-9.6/include/server/tcop/tcopprot.h:26, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/pljava.h:35, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/JNICalls.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/PgObject.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/PgObject_priv.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/type/Type_priv.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/c/type/Array.c:9: [WARNING] /usr/pgsql-9.6/include/server/utils/array.h:298: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/pgsql-9.6/include/server/utils/array.h:304:21: note: in expansion of macro 'ARR_DATA_OFFSET' [ERROR] (((char *) (a)) + ARR_DATA_OFFSET(a)) [ERROR] ^~~~~~~~~~~~~~~ [ERROR] /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/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/pgsql-9.6/include/server/utils/array.h:284: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] /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/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] /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/c/type/Array.c: In function '_Array_coerceObject': [WARNING] /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/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] /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/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] In file included from /usr/pgsql-9.6/include/server/utils/guc.h:18:0, [ERROR] from /usr/pgsql-9.6/include/server/tcop/tcopprot.h:26, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/pljava.h:35, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/JNICalls.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/PgObject.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/PgObject_priv.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/type/Type_priv.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/c/type/Double.c:11: [ERROR] /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/c/type/Double.c: In function '_doubleArray_coerceDatum': [WARNING] /usr/pgsql-9.6/include/server/utils/array.h:284: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] /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/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/pgsql-9.6/include/server/postgres.h:47:0, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/pljava.h:29, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/JNICalls.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/PgObject.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/PgObject_priv.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/type/Type_priv.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/c/type/Double.c:11: [WARNING] /usr/pgsql-9.6/include/server/utils/array.h:292: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/pgsql-9.6/include/server/c.h:574:17: note: in definition of macro 'TYPEALIGN' [ERROR] (((uintptr_t) (LEN) + ((ALIGNVAL) - 1)) & ~((uintptr_t) ((ALIGNVAL) - 1))) [ERROR] ^~~ [ERROR] /usr/pgsql-9.6/include/server/utils/array.h:292:3: note: in expansion of macro 'MAXALIGN' [ERROR] MAXALIGN(sizeof(ArrayType) + 2 * sizeof(int) * (ndims)) [ERROR] ^~~~~~~~ [ERROR] /usr/pgsql-9.6/include/server/utils/array.h:298:39: note: in expansion of macro 'ARR_OVERHEAD_NONULLS' [ERROR] (ARR_HASNULL(a) ? (a)->dataoffset : ARR_OVERHEAD_NONULLS(ARR_NDIM(a))) [ERROR] ^~~~~~~~~~~~~~~~~~~~ [ERROR] /usr/pgsql-9.6/include/server/utils/array.h:304:21: note: in expansion of macro 'ARR_DATA_OFFSET' [ERROR] (((char *) (a)) + ARR_DATA_OFFSET(a)) [ERROR] ^~~~~~~~~~~~~~~ [ERROR] /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/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/pgsql-9.6/include/server/utils/guc.h:18:0, [ERROR] from /usr/pgsql-9.6/include/server/tcop/tcopprot.h:26, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/pljava.h:35, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/JNICalls.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/PgObject.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/PgObject_priv.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/type/Type_priv.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/c/type/Double.c:11: [WARNING] /usr/pgsql-9.6/include/server/utils/array.h:298: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/pgsql-9.6/include/server/utils/array.h:304:21: note: in expansion of macro 'ARR_DATA_OFFSET' [ERROR] (((char *) (a)) + ARR_DATA_OFFSET(a)) [ERROR] ^~~~~~~~~~~~~~~ [ERROR] /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/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/pgsql-9.6/include/server/postgres.h:47:0, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/pljava.h:29, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/JNICalls.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/PgObject.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/PgObject_priv.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/type/Type_priv.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/c/type/Double.c:11: [WARNING] /usr/pgsql-9.6/include/server/utils/array.h:292: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/pgsql-9.6/include/server/c.h:574:17: note: in definition of macro 'TYPEALIGN' [ERROR] (((uintptr_t) (LEN) + ((ALIGNVAL) - 1)) & ~((uintptr_t) ((ALIGNVAL) - 1))) [ERROR] ^~~ [ERROR] /usr/pgsql-9.6/include/server/utils/array.h:292:3: note: in expansion of macro 'MAXALIGN' [ERROR] MAXALIGN(sizeof(ArrayType) + 2 * sizeof(int) * (ndims)) [ERROR] ^~~~~~~~ [ERROR] /usr/pgsql-9.6/include/server/utils/array.h:298:39: note: in expansion of macro 'ARR_OVERHEAD_NONULLS' [ERROR] (ARR_HASNULL(a) ? (a)->dataoffset : ARR_OVERHEAD_NONULLS(ARR_NDIM(a))) [ERROR] ^~~~~~~~~~~~~~~~~~~~ [ERROR] /usr/pgsql-9.6/include/server/utils/array.h:304:21: note: in expansion of macro 'ARR_DATA_OFFSET' [ERROR] (((char *) (a)) + ARR_DATA_OFFSET(a)) [ERROR] ^~~~~~~~~~~~~~~ [ERROR] /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/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/pgsql-9.6/include/server/utils/guc.h:18:0, [ERROR] from /usr/pgsql-9.6/include/server/tcop/tcopprot.h:26, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/pljava.h:35, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/JNICalls.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/PgObject.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/PgObject_priv.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/type/Type_priv.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/c/type/Double.c:11: [WARNING] /usr/pgsql-9.6/include/server/utils/array.h:298: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/pgsql-9.6/include/server/utils/array.h:304:21: note: in expansion of macro 'ARR_DATA_OFFSET' [ERROR] (((char *) (a)) + ARR_DATA_OFFSET(a)) [ERROR] ^~~~~~~~~~~~~~~ [ERROR] /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/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/pgsql-9.6/include/server/postgres.h:47:0, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/pljava.h:29, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/JNICalls.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/PgObject.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/PgObject_priv.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/type/Type_priv.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/c/type/Double.c:11: [ERROR] /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/c/type/Double.c: In function '_doubleArray_coerceObject': [WARNING] /usr/pgsql-9.6/include/server/utils/array.h:292: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/pgsql-9.6/include/server/c.h:574:17: note: in definition of macro 'TYPEALIGN' [ERROR] (((uintptr_t) (LEN) + ((ALIGNVAL) - 1)) & ~((uintptr_t) ((ALIGNVAL) - 1))) [ERROR] ^~~ [ERROR] /usr/pgsql-9.6/include/server/utils/array.h:292:3: note: in expansion of macro 'MAXALIGN' [ERROR] MAXALIGN(sizeof(ArrayType) + 2 * sizeof(int) * (ndims)) [ERROR] ^~~~~~~~ [ERROR] /usr/pgsql-9.6/include/server/utils/array.h:298:39: note: in expansion of macro 'ARR_OVERHEAD_NONULLS' [ERROR] (ARR_HASNULL(a) ? (a)->dataoffset : ARR_OVERHEAD_NONULLS(ARR_NDIM(a))) [ERROR] ^~~~~~~~~~~~~~~~~~~~ [ERROR] /usr/pgsql-9.6/include/server/utils/array.h:304:21: note: in expansion of macro 'ARR_DATA_OFFSET' [ERROR] (((char *) (a)) + ARR_DATA_OFFSET(a)) [ERROR] ^~~~~~~~~~~~~~~ [ERROR] /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/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/pgsql-9.6/include/server/utils/guc.h:18:0, [ERROR] from /usr/pgsql-9.6/include/server/tcop/tcopprot.h:26, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/pljava.h:35, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/JNICalls.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/PgObject.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/PgObject_priv.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/type/Type_priv.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/c/type/Double.c:11: [WARNING] /usr/pgsql-9.6/include/server/utils/array.h:298: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/pgsql-9.6/include/server/utils/array.h:304:21: note: in expansion of macro 'ARR_DATA_OFFSET' [ERROR] (((char *) (a)) + ARR_DATA_OFFSET(a)) [ERROR] ^~~~~~~~~~~~~~~ [ERROR] /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/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/pgsql-9.6/include/server/postgres.h:47:0, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/pljava.h:29, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/JNICalls.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/PgObject.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/PgObject_priv.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/type/Type_priv.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/c/type/Double.c:11: [WARNING] /usr/pgsql-9.6/include/server/utils/array.h:292: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/pgsql-9.6/include/server/c.h:574:17: note: in definition of macro 'TYPEALIGN' [ERROR] (((uintptr_t) (LEN) + ((ALIGNVAL) - 1)) & ~((uintptr_t) ((ALIGNVAL) - 1))) [ERROR] ^~~ [ERROR] /usr/pgsql-9.6/include/server/utils/array.h:292:3: note: in expansion of macro 'MAXALIGN' [ERROR] MAXALIGN(sizeof(ArrayType) + 2 * sizeof(int) * (ndims)) [ERROR] ^~~~~~~~ [ERROR] /usr/pgsql-9.6/include/server/utils/array.h:298:39: note: in expansion of macro 'ARR_OVERHEAD_NONULLS' [ERROR] (ARR_HASNULL(a) ? (a)->dataoffset : ARR_OVERHEAD_NONULLS(ARR_NDIM(a))) [ERROR] ^~~~~~~~~~~~~~~~~~~~ [ERROR] /usr/pgsql-9.6/include/server/utils/array.h:304:21: note: in expansion of macro 'ARR_DATA_OFFSET' [ERROR] (((char *) (a)) + ARR_DATA_OFFSET(a)) [ERROR] ^~~~~~~~~~~~~~~ [ERROR] /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/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/pgsql-9.6/include/server/utils/guc.h:18:0, [ERROR] from /usr/pgsql-9.6/include/server/tcop/tcopprot.h:26, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/pljava.h:35, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/JNICalls.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/PgObject.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/PgObject_priv.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/type/Type_priv.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/c/type/Double.c:11: [WARNING] /usr/pgsql-9.6/include/server/utils/array.h:298: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/pgsql-9.6/include/server/utils/array.h:304:21: note: in expansion of macro 'ARR_DATA_OFFSET' [ERROR] (((char *) (a)) + ARR_DATA_OFFSET(a)) [ERROR] ^~~~~~~~~~~~~~~ [ERROR] /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/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/pgsql-9.6/include/server/port/atomics.h:123:0, [ERROR] from /usr/pgsql-9.6/include/server/storage/lwlock.h:23, [ERROR] from /usr/pgsql-9.6/include/server/storage/lock.h:23, [ERROR] from /usr/pgsql-9.6/include/server/access/heapam.h:22, [ERROR] from /usr/pgsql-9.6/include/server/nodes/execnodes.h:18, [ERROR] from /usr/pgsql-9.6/include/server/executor/execdesc.h:18, [ERROR] from /usr/pgsql-9.6/include/server/executor/executor.h:17, [ERROR] from /usr/pgsql-9.6/include/server/funcapi.h:21, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/c/type/Composite.c:10: [ERROR] /usr/pgsql-9.6/include/server/port/atomics/generic.h: In function 'pg_atomic_add_fetch_u32_impl': [WARNING] /usr/pgsql-9.6/include/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/pgsql-9.6/include/server/port/atomics/generic.h: In function 'pg_atomic_sub_fetch_u32_impl': [WARNING] /usr/pgsql-9.6/include/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/pgsql-9.6/include/server/port/atomics/generic.h: In function 'pg_atomic_add_fetch_u64_impl': [WARNING] /usr/pgsql-9.6/include/server/port/atomics/generic.h:379: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/pgsql-9.6/include/server/port/atomics/generic.h: In function 'pg_atomic_sub_fetch_u64_impl': [WARNING] /usr/pgsql-9.6/include/server/port/atomics/generic.h:388: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/pgsql-9.6/include/server/utils/guc.h:18:0, [ERROR] from /usr/pgsql-9.6/include/server/tcop/tcopprot.h:26, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/pljava.h:35, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/JNICalls.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/PgObject.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/PgObject_priv.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/type/Type_priv.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/c/type/Float.c:11: [ERROR] /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/c/type/Float.c: In function '_floatArray_coerceDatum': [WARNING] /usr/pgsql-9.6/include/server/utils/array.h:284: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] /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/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/pgsql-9.6/include/server/postgres.h:47:0, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/pljava.h:29, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/JNICalls.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/PgObject.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/PgObject_priv.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/type/Type_priv.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/c/type/Float.c:11: [WARNING] /usr/pgsql-9.6/include/server/utils/array.h:292: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/pgsql-9.6/include/server/c.h:574:17: note: in definition of macro 'TYPEALIGN' [ERROR] (((uintptr_t) (LEN) + ((ALIGNVAL) - 1)) & ~((uintptr_t) ((ALIGNVAL) - 1))) [ERROR] ^~~ [ERROR] /usr/pgsql-9.6/include/server/utils/array.h:292:3: note: in expansion of macro 'MAXALIGN' [ERROR] MAXALIGN(sizeof(ArrayType) + 2 * sizeof(int) * (ndims)) [ERROR] ^~~~~~~~ [ERROR] /usr/pgsql-9.6/include/server/utils/array.h:298:39: note: in expansion of macro 'ARR_OVERHEAD_NONULLS' [ERROR] (ARR_HASNULL(a) ? (a)->dataoffset : ARR_OVERHEAD_NONULLS(ARR_NDIM(a))) [ERROR] ^~~~~~~~~~~~~~~~~~~~ [ERROR] /usr/pgsql-9.6/include/server/utils/array.h:304:21: note: in expansion of macro 'ARR_DATA_OFFSET' [ERROR] (((char *) (a)) + ARR_DATA_OFFSET(a)) [ERROR] ^~~~~~~~~~~~~~~ [ERROR] /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/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/pgsql-9.6/include/server/utils/guc.h:18:0, [ERROR] from /usr/pgsql-9.6/include/server/tcop/tcopprot.h:26, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/pljava.h:35, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/JNICalls.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/PgObject.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/PgObject_priv.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/type/Type_priv.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/c/type/Float.c:11: [WARNING] /usr/pgsql-9.6/include/server/utils/array.h:298: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/pgsql-9.6/include/server/utils/array.h:304:21: note: in expansion of macro 'ARR_DATA_OFFSET' [ERROR] (((char *) (a)) + ARR_DATA_OFFSET(a)) [ERROR] ^~~~~~~~~~~~~~~ [ERROR] /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/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/pgsql-9.6/include/server/postgres.h:47:0, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/pljava.h:29, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/JNICalls.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/PgObject.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/PgObject_priv.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/type/Type_priv.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/c/type/Float.c:11: [WARNING] /usr/pgsql-9.6/include/server/utils/array.h:292: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/pgsql-9.6/include/server/c.h:574:17: note: in definition of macro 'TYPEALIGN' [ERROR] (((uintptr_t) (LEN) + ((ALIGNVAL) - 1)) & ~((uintptr_t) ((ALIGNVAL) - 1))) [ERROR] ^~~ [ERROR] /usr/pgsql-9.6/include/server/utils/array.h:292:3: note: in expansion of macro 'MAXALIGN' [ERROR] MAXALIGN(sizeof(ArrayType) + 2 * sizeof(int) * (ndims)) [ERROR] ^~~~~~~~ [ERROR] /usr/pgsql-9.6/include/server/utils/array.h:298:39: note: in expansion of macro 'ARR_OVERHEAD_NONULLS' [ERROR] (ARR_HASNULL(a) ? (a)->dataoffset : ARR_OVERHEAD_NONULLS(ARR_NDIM(a))) [ERROR] ^~~~~~~~~~~~~~~~~~~~ [ERROR] /usr/pgsql-9.6/include/server/utils/array.h:304:21: note: in expansion of macro 'ARR_DATA_OFFSET' [ERROR] (((char *) (a)) + ARR_DATA_OFFSET(a)) [ERROR] ^~~~~~~~~~~~~~~ [ERROR] /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/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/pgsql-9.6/include/server/utils/guc.h:18:0, [ERROR] from /usr/pgsql-9.6/include/server/tcop/tcopprot.h:26, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/pljava.h:35, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/JNICalls.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/PgObject.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/PgObject_priv.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/type/Type_priv.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/c/type/Float.c:11: [WARNING] /usr/pgsql-9.6/include/server/utils/array.h:298: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/pgsql-9.6/include/server/utils/array.h:304:21: note: in expansion of macro 'ARR_DATA_OFFSET' [ERROR] (((char *) (a)) + ARR_DATA_OFFSET(a)) [ERROR] ^~~~~~~~~~~~~~~ [ERROR] /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/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/pgsql-9.6/include/server/postgres.h:47:0, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/pljava.h:29, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/JNICalls.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/PgObject.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/PgObject_priv.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/type/Type_priv.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/c/type/Float.c:11: [ERROR] /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/c/type/Float.c: In function '_floatArray_coerceObject': [WARNING] /usr/pgsql-9.6/include/server/utils/array.h:292: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/pgsql-9.6/include/server/c.h:574:17: note: in definition of macro 'TYPEALIGN' [ERROR] (((uintptr_t) (LEN) + ((ALIGNVAL) - 1)) & ~((uintptr_t) ((ALIGNVAL) - 1))) [ERROR] ^~~ [ERROR] /usr/pgsql-9.6/include/server/utils/array.h:292:3: note: in expansion of macro 'MAXALIGN' [ERROR] MAXALIGN(sizeof(ArrayType) + 2 * sizeof(int) * (ndims)) [ERROR] ^~~~~~~~ [ERROR] /usr/pgsql-9.6/include/server/utils/array.h:298:39: note: in expansion of macro 'ARR_OVERHEAD_NONULLS' [ERROR] (ARR_HASNULL(a) ? (a)->dataoffset : ARR_OVERHEAD_NONULLS(ARR_NDIM(a))) [ERROR] ^~~~~~~~~~~~~~~~~~~~ [ERROR] /usr/pgsql-9.6/include/server/utils/array.h:304:21: note: in expansion of macro 'ARR_DATA_OFFSET' [ERROR] (((char *) (a)) + ARR_DATA_OFFSET(a)) [ERROR] ^~~~~~~~~~~~~~~ [ERROR] /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/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/pgsql-9.6/include/server/utils/guc.h:18:0, [ERROR] from /usr/pgsql-9.6/include/server/tcop/tcopprot.h:26, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/pljava.h:35, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/JNICalls.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/PgObject.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/PgObject_priv.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/type/Type_priv.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/c/type/Float.c:11: [WARNING] /usr/pgsql-9.6/include/server/utils/array.h:298: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/pgsql-9.6/include/server/utils/array.h:304:21: note: in expansion of macro 'ARR_DATA_OFFSET' [ERROR] (((char *) (a)) + ARR_DATA_OFFSET(a)) [ERROR] ^~~~~~~~~~~~~~~ [ERROR] /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/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/pgsql-9.6/include/server/postgres.h:47:0, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/pljava.h:29, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/JNICalls.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/PgObject.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/PgObject_priv.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/type/Type_priv.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/c/type/Float.c:11: [WARNING] /usr/pgsql-9.6/include/server/utils/array.h:292: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/pgsql-9.6/include/server/c.h:574:17: note: in definition of macro 'TYPEALIGN' [ERROR] (((uintptr_t) (LEN) + ((ALIGNVAL) - 1)) & ~((uintptr_t) ((ALIGNVAL) - 1))) [ERROR] ^~~ [ERROR] /usr/pgsql-9.6/include/server/utils/array.h:292:3: note: in expansion of macro 'MAXALIGN' [ERROR] MAXALIGN(sizeof(ArrayType) + 2 * sizeof(int) * (ndims)) [ERROR] ^~~~~~~~ [ERROR] /usr/pgsql-9.6/include/server/utils/array.h:298:39: note: in expansion of macro 'ARR_OVERHEAD_NONULLS' [ERROR] (ARR_HASNULL(a) ? (a)->dataoffset : ARR_OVERHEAD_NONULLS(ARR_NDIM(a))) [ERROR] ^~~~~~~~~~~~~~~~~~~~ [ERROR] /usr/pgsql-9.6/include/server/utils/array.h:304:21: note: in expansion of macro 'ARR_DATA_OFFSET' [ERROR] (((char *) (a)) + ARR_DATA_OFFSET(a)) [ERROR] ^~~~~~~~~~~~~~~ [ERROR] /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/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/pgsql-9.6/include/server/utils/guc.h:18:0, [ERROR] from /usr/pgsql-9.6/include/server/tcop/tcopprot.h:26, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/pljava.h:35, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/JNICalls.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/PgObject.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/PgObject_priv.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/type/Type_priv.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/c/type/Float.c:11: [WARNING] /usr/pgsql-9.6/include/server/utils/array.h:298: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/pgsql-9.6/include/server/utils/array.h:304:21: note: in expansion of macro 'ARR_DATA_OFFSET' [ERROR] (((char *) (a)) + ARR_DATA_OFFSET(a)) [ERROR] ^~~~~~~~~~~~~~~ [ERROR] /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/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/pgsql-9.6/include/server/port/atomics.h:123:0, [ERROR] from /usr/pgsql-9.6/include/server/storage/lwlock.h:23, [ERROR] from /usr/pgsql-9.6/include/server/storage/lock.h:23, [ERROR] from /usr/pgsql-9.6/include/server/access/heapam.h:22, [ERROR] from /usr/pgsql-9.6/include/server/nodes/execnodes.h:18, [ERROR] from /usr/pgsql-9.6/include/server/commands/trigger.h:17, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/Function.h:18, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/c/Function.c:13: [ERROR] /usr/pgsql-9.6/include/server/port/atomics/generic.h: In function 'pg_atomic_add_fetch_u32_impl': [WARNING] /usr/pgsql-9.6/include/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/pgsql-9.6/include/server/port/atomics/generic.h: In function 'pg_atomic_sub_fetch_u32_impl': [WARNING] /usr/pgsql-9.6/include/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/pgsql-9.6/include/server/port/atomics/generic.h: In function 'pg_atomic_add_fetch_u64_impl': [WARNING] /usr/pgsql-9.6/include/server/port/atomics/generic.h:379: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/pgsql-9.6/include/server/port/atomics/generic.h: In function 'pg_atomic_sub_fetch_u64_impl': [WARNING] /usr/pgsql-9.6/include/server/port/atomics/generic.h:388: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] /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/c/Function.c: In function 'getSchemaName': [WARNING] /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/c/Function.c:440: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] /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/c/Function.c: In function 'Function_checkTypeUDT': [WARNING] /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/c/Function.c:526: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] /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/c/Function.c: In function 'setupFunctionParams': [WARNING] /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/c/Function.c:551: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] /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/c/Function.c: In function 'Function_init': [WARNING] /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/c/Function.c:584: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] In file included from /usr/pgsql-9.6/include/server/port/atomics.h:123:0, [ERROR] from /usr/pgsql-9.6/include/server/storage/lwlock.h:23, [ERROR] from /usr/pgsql-9.6/include/server/storage/lock.h:23, [ERROR] from /usr/pgsql-9.6/include/server/access/heapam.h:22, [ERROR] from /usr/pgsql-9.6/include/server/nodes/execnodes.h:18, [ERROR] from /usr/pgsql-9.6/include/server/commands/trigger.h:17, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/Function.h:18, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/c/ExecutionPlan.c:16: [ERROR] /usr/pgsql-9.6/include/server/port/atomics/generic.h: In function 'pg_atomic_add_fetch_u32_impl': [WARNING] /usr/pgsql-9.6/include/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/pgsql-9.6/include/server/port/atomics/generic.h: In function 'pg_atomic_sub_fetch_u32_impl': [WARNING] /usr/pgsql-9.6/include/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/pgsql-9.6/include/server/port/atomics/generic.h: In function 'pg_atomic_add_fetch_u64_impl': [WARNING] /usr/pgsql-9.6/include/server/port/atomics/generic.h:379: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/pgsql-9.6/include/server/port/atomics/generic.h: In function 'pg_atomic_sub_fetch_u64_impl': [WARNING] /usr/pgsql-9.6/include/server/port/atomics/generic.h:388: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] /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/c/ExecutionPlan.c: In function 'coerceObjects': [WARNING] /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/c/ExecutionPlan.c:84: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] /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/c/ExecutionPlan.c:100: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] /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/c/ExecutionPlan.c:101: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] /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/c/ExecutionPlan.c: In function 'Java_org_postgresql_pljava_internal_ExecutionPlan__1prepare': [WARNING] /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/c/ExecutionPlan.c:268: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/pgsql-9.6/include/server/port/atomics.h:123:0, [ERROR] from /usr/pgsql-9.6/include/server/storage/lwlock.h:23, [ERROR] from /usr/pgsql-9.6/include/server/storage/lock.h:23, [ERROR] from /usr/pgsql-9.6/include/server/access/heapam.h:22, [ERROR] from /usr/pgsql-9.6/include/server/nodes/execnodes.h:18, [ERROR] from /usr/pgsql-9.6/include/server/executor/execdesc.h:18, [ERROR] from /usr/pgsql-9.6/include/server/utils/portal.h:50, [ERROR] from /usr/pgsql-9.6/include/server/executor/spi.h:18, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/c/Exception.c:10: [ERROR] /usr/pgsql-9.6/include/server/port/atomics/generic.h: In function 'pg_atomic_add_fetch_u32_impl': [WARNING] /usr/pgsql-9.6/include/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/pgsql-9.6/include/server/port/atomics/generic.h: In function 'pg_atomic_sub_fetch_u32_impl': [WARNING] /usr/pgsql-9.6/include/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/pgsql-9.6/include/server/port/atomics/generic.h: In function 'pg_atomic_add_fetch_u64_impl': [WARNING] /usr/pgsql-9.6/include/server/port/atomics/generic.h:379: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/pgsql-9.6/include/server/port/atomics/generic.h: In function 'pg_atomic_sub_fetch_u64_impl': [WARNING] /usr/pgsql-9.6/include/server/port/atomics/generic.h:388: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] /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/c/HashMap.c: In function '_StringKey_hashCode': [WARNING] /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/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/pgsql-9.6/include/server/port/atomics.h:123:0, [ERROR] from /usr/pgsql-9.6/include/server/storage/lwlock.h:23, [ERROR] from /usr/pgsql-9.6/include/server/storage/lock.h:23, [ERROR] from /usr/pgsql-9.6/include/server/access/heapam.h:22, [ERROR] from /usr/pgsql-9.6/include/server/nodes/execnodes.h:18, [ERROR] from /usr/pgsql-9.6/include/server/executor/execdesc.h:18, [ERROR] from /usr/pgsql-9.6/include/server/executor/executor.h:17, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/c/type/HeapTupleHeader.c:14: [ERROR] /usr/pgsql-9.6/include/server/port/atomics/generic.h: In function 'pg_atomic_add_fetch_u32_impl': [WARNING] /usr/pgsql-9.6/include/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/pgsql-9.6/include/server/port/atomics/generic.h: In function 'pg_atomic_sub_fetch_u32_impl': [WARNING] /usr/pgsql-9.6/include/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/pgsql-9.6/include/server/port/atomics/generic.h: In function 'pg_atomic_add_fetch_u64_impl': [WARNING] /usr/pgsql-9.6/include/server/port/atomics/generic.h:379: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/pgsql-9.6/include/server/port/atomics/generic.h: In function 'pg_atomic_sub_fetch_u64_impl': [WARNING] /usr/pgsql-9.6/include/server/port/atomics/generic.h:388: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/pgsql-9.6/include/server/port/atomics.h:123:0, [ERROR] from /usr/pgsql-9.6/include/server/storage/lwlock.h:23, [ERROR] from /usr/pgsql-9.6/include/server/storage/lock.h:23, [ERROR] from /usr/pgsql-9.6/include/server/access/heapam.h:22, [ERROR] from /usr/pgsql-9.6/include/server/nodes/execnodes.h:18, [ERROR] from /usr/pgsql-9.6/include/server/commands/trigger.h:17, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/Function.h:18, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/Backend.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/c/JNICalls.c:13: [ERROR] /usr/pgsql-9.6/include/server/port/atomics/generic.h: In function 'pg_atomic_add_fetch_u32_impl': [WARNING] /usr/pgsql-9.6/include/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/pgsql-9.6/include/server/port/atomics/generic.h: In function 'pg_atomic_sub_fetch_u32_impl': [WARNING] /usr/pgsql-9.6/include/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/pgsql-9.6/include/server/port/atomics/generic.h: In function 'pg_atomic_add_fetch_u64_impl': [WARNING] /usr/pgsql-9.6/include/server/port/atomics/generic.h:379: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/pgsql-9.6/include/server/port/atomics/generic.h: In function 'pg_atomic_sub_fetch_u64_impl': [WARNING] /usr/pgsql-9.6/include/server/port/atomics/generic.h:388: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] /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/c/Function.c: In function 'Function_invoke': [WARNING] /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/c/Function.c:797: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/pgsql-9.6/include/server/port/atomics.h:123:0, [ERROR] from /usr/pgsql-9.6/include/server/storage/lwlock.h:23, [ERROR] from /usr/pgsql-9.6/include/server/storage/lock.h:23, [ERROR] from /usr/pgsql-9.6/include/server/access/heapam.h:22, [ERROR] from /usr/pgsql-9.6/include/server/nodes/execnodes.h:18, [ERROR] from /usr/pgsql-9.6/include/server/executor/execdesc.h:18, [ERROR] from /usr/pgsql-9.6/include/server/utils/portal.h:50, [ERROR] from /usr/pgsql-9.6/include/server/commands/portalcmds.h:18, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/c/InstallHelper.c:24: [ERROR] /usr/pgsql-9.6/include/server/port/atomics/generic.h: In function 'pg_atomic_add_fetch_u32_impl': [WARNING] /usr/pgsql-9.6/include/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/pgsql-9.6/include/server/port/atomics/generic.h: In function 'pg_atomic_sub_fetch_u32_impl': [WARNING] /usr/pgsql-9.6/include/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/pgsql-9.6/include/server/port/atomics/generic.h: In function 'pg_atomic_add_fetch_u64_impl': [WARNING] /usr/pgsql-9.6/include/server/port/atomics/generic.h:379: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/pgsql-9.6/include/server/port/atomics/generic.h: In function 'pg_atomic_sub_fetch_u64_impl': [WARNING] /usr/pgsql-9.6/include/server/port/atomics/generic.h:388: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] /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/c/InstallHelper.c: In function 'InstallHelper_defaultClassPath': [WARNING] /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/c/InstallHelper.c:378:14: warning: conversion to 'size_t {aka long unsigned int}' from 'long int' may change the sign of the result [-Wsign-conversion] [ERROR] remaining = pbend - pbp; [ERROR] ^~~~~ [ERROR] In file included from /usr/pgsql-9.6/include/server/port/atomics.h:123:0, [ERROR] from /usr/pgsql-9.6/include/server/storage/lwlock.h:23, [ERROR] from /usr/pgsql-9.6/include/server/storage/lock.h:23, [ERROR] from /usr/pgsql-9.6/include/server/access/heapam.h:22, [ERROR] from /usr/pgsql-9.6/include/server/nodes/execnodes.h:18, [ERROR] from /usr/pgsql-9.6/include/server/executor/execdesc.h:18, [ERROR] from /usr/pgsql-9.6/include/server/utils/portal.h:50, [ERROR] from /usr/pgsql-9.6/include/server/executor/spi.h:18, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/c/Invocation.c:10: [ERROR] /usr/pgsql-9.6/include/server/port/atomics/generic.h: In function 'pg_atomic_add_fetch_u32_impl': [WARNING] /usr/pgsql-9.6/include/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/pgsql-9.6/include/server/port/atomics/generic.h: In function 'pg_atomic_sub_fetch_u32_impl': [WARNING] /usr/pgsql-9.6/include/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/pgsql-9.6/include/server/port/atomics/generic.h: In function 'pg_atomic_add_fetch_u64_impl': [WARNING] /usr/pgsql-9.6/include/server/port/atomics/generic.h:379: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/pgsql-9.6/include/server/port/atomics/generic.h: In function 'pg_atomic_sub_fetch_u64_impl': [WARNING] /usr/pgsql-9.6/include/server/port/atomics/generic.h:388: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/pgsql-9.6/include/server/utils/guc.h:18:0, [ERROR] from /usr/pgsql-9.6/include/server/tcop/tcopprot.h:26, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/pljava.h:35, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/JNICalls.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/PgObject.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/PgObject_priv.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/type/Type_priv.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/c/type/Long.c:11: [ERROR] /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/c/type/Long.c: In function '_longArray_coerceDatum': [WARNING] /usr/pgsql-9.6/include/server/utils/array.h:284: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] /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/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/pgsql-9.6/include/server/postgres.h:47:0, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/pljava.h:29, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/JNICalls.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/PgObject.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/PgObject_priv.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/type/Type_priv.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/c/type/Long.c:11: [WARNING] /usr/pgsql-9.6/include/server/utils/array.h:292: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/pgsql-9.6/include/server/c.h:574:17: note: in definition of macro 'TYPEALIGN' [ERROR] (((uintptr_t) (LEN) + ((ALIGNVAL) - 1)) & ~((uintptr_t) ((ALIGNVAL) - 1))) [ERROR] ^~~ [ERROR] /usr/pgsql-9.6/include/server/utils/array.h:292:3: note: in expansion of macro 'MAXALIGN' [ERROR] MAXALIGN(sizeof(ArrayType) + 2 * sizeof(int) * (ndims)) [ERROR] ^~~~~~~~ [ERROR] /usr/pgsql-9.6/include/server/utils/array.h:298:39: note: in expansion of macro 'ARR_OVERHEAD_NONULLS' [ERROR] (ARR_HASNULL(a) ? (a)->dataoffset : ARR_OVERHEAD_NONULLS(ARR_NDIM(a))) [ERROR] ^~~~~~~~~~~~~~~~~~~~ [ERROR] /usr/pgsql-9.6/include/server/utils/array.h:304:21: note: in expansion of macro 'ARR_DATA_OFFSET' [ERROR] (((char *) (a)) + ARR_DATA_OFFSET(a)) [ERROR] ^~~~~~~~~~~~~~~ [ERROR] /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/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/pgsql-9.6/include/server/utils/guc.h:18:0, [ERROR] from /usr/pgsql-9.6/include/server/tcop/tcopprot.h:26, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/pljava.h:35, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/JNICalls.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/PgObject.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/PgObject_priv.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/type/Type_priv.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/c/type/Long.c:11: [WARNING] /usr/pgsql-9.6/include/server/utils/array.h:298: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/pgsql-9.6/include/server/utils/array.h:304:21: note: in expansion of macro 'ARR_DATA_OFFSET' [ERROR] (((char *) (a)) + ARR_DATA_OFFSET(a)) [ERROR] ^~~~~~~~~~~~~~~ [ERROR] /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/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/pgsql-9.6/include/server/postgres.h:47:0, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/pljava.h:29, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/JNICalls.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/PgObject.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/PgObject_priv.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/type/Type_priv.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/c/type/Long.c:11: [WARNING] /usr/pgsql-9.6/include/server/utils/array.h:292: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/pgsql-9.6/include/server/c.h:574:17: note: in definition of macro 'TYPEALIGN' [ERROR] (((uintptr_t) (LEN) + ((ALIGNVAL) - 1)) & ~((uintptr_t) ((ALIGNVAL) - 1))) [ERROR] ^~~ [ERROR] /usr/pgsql-9.6/include/server/utils/array.h:292:3: note: in expansion of macro 'MAXALIGN' [ERROR] MAXALIGN(sizeof(ArrayType) + 2 * sizeof(int) * (ndims)) [ERROR] ^~~~~~~~ [ERROR] /usr/pgsql-9.6/include/server/utils/array.h:298:39: note: in expansion of macro 'ARR_OVERHEAD_NONULLS' [ERROR] (ARR_HASNULL(a) ? (a)->dataoffset : ARR_OVERHEAD_NONULLS(ARR_NDIM(a))) [ERROR] ^~~~~~~~~~~~~~~~~~~~ [ERROR] /usr/pgsql-9.6/include/server/utils/array.h:304:21: note: in expansion of macro 'ARR_DATA_OFFSET' [ERROR] (((char *) (a)) + ARR_DATA_OFFSET(a)) [ERROR] ^~~~~~~~~~~~~~~ [ERROR] /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/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/pgsql-9.6/include/server/utils/guc.h:18:0, [ERROR] from /usr/pgsql-9.6/include/server/tcop/tcopprot.h:26, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/pljava.h:35, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/JNICalls.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/PgObject.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/PgObject_priv.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/type/Type_priv.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/c/type/Long.c:11: [WARNING] /usr/pgsql-9.6/include/server/utils/array.h:298: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/pgsql-9.6/include/server/utils/array.h:304:21: note: in expansion of macro 'ARR_DATA_OFFSET' [ERROR] (((char *) (a)) + ARR_DATA_OFFSET(a)) [ERROR] ^~~~~~~~~~~~~~~ [ERROR] /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/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/pgsql-9.6/include/server/postgres.h:47:0, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/pljava.h:29, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/JNICalls.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/PgObject.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/PgObject_priv.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/type/Type_priv.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/c/type/Long.c:11: [ERROR] /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/c/type/Long.c: In function '_longArray_coerceObject': [WARNING] /usr/pgsql-9.6/include/server/utils/array.h:292: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/pgsql-9.6/include/server/c.h:574:17: note: in definition of macro 'TYPEALIGN' [ERROR] (((uintptr_t) (LEN) + ((ALIGNVAL) - 1)) & ~((uintptr_t) ((ALIGNVAL) - 1))) [ERROR] ^~~ [ERROR] /usr/pgsql-9.6/include/server/utils/array.h:292:3: note: in expansion of macro 'MAXALIGN' [ERROR] MAXALIGN(sizeof(ArrayType) + 2 * sizeof(int) * (ndims)) [ERROR] ^~~~~~~~ [ERROR] /usr/pgsql-9.6/include/server/utils/array.h:298:39: note: in expansion of macro 'ARR_OVERHEAD_NONULLS' [ERROR] (ARR_HASNULL(a) ? (a)->dataoffset : ARR_OVERHEAD_NONULLS(ARR_NDIM(a))) [ERROR] ^~~~~~~~~~~~~~~~~~~~ [ERROR] /usr/pgsql-9.6/include/server/utils/array.h:304:21: note: in expansion of macro 'ARR_DATA_OFFSET' [ERROR] (((char *) (a)) + ARR_DATA_OFFSET(a)) [ERROR] ^~~~~~~~~~~~~~~ [ERROR] /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/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/pgsql-9.6/include/server/utils/guc.h:18:0, [ERROR] from /usr/pgsql-9.6/include/server/tcop/tcopprot.h:26, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/pljava.h:35, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/JNICalls.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/PgObject.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/PgObject_priv.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/type/Type_priv.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/c/type/Long.c:11: [WARNING] /usr/pgsql-9.6/include/server/utils/array.h:298: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/pgsql-9.6/include/server/utils/array.h:304:21: note: in expansion of macro 'ARR_DATA_OFFSET' [ERROR] (((char *) (a)) + ARR_DATA_OFFSET(a)) [ERROR] ^~~~~~~~~~~~~~~ [ERROR] /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/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/pgsql-9.6/include/server/postgres.h:47:0, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/pljava.h:29, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/JNICalls.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/PgObject.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/PgObject_priv.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/type/Type_priv.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/c/type/Long.c:11: [WARNING] /usr/pgsql-9.6/include/server/utils/array.h:292: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/pgsql-9.6/include/server/c.h:574:17: note: in definition of macro 'TYPEALIGN' [ERROR] (((uintptr_t) (LEN) + ((ALIGNVAL) - 1)) & ~((uintptr_t) ((ALIGNVAL) - 1))) [ERROR] ^~~ [ERROR] /usr/pgsql-9.6/include/server/utils/array.h:292:3: note: in expansion of macro 'MAXALIGN' [ERROR] MAXALIGN(sizeof(ArrayType) + 2 * sizeof(int) * (ndims)) [ERROR] ^~~~~~~~ [ERROR] /usr/pgsql-9.6/include/server/utils/array.h:298:39: note: in expansion of macro 'ARR_OVERHEAD_NONULLS' [ERROR] (ARR_HASNULL(a) ? (a)->dataoffset : ARR_OVERHEAD_NONULLS(ARR_NDIM(a))) [ERROR] ^~~~~~~~~~~~~~~~~~~~ [ERROR] /usr/pgsql-9.6/include/server/utils/array.h:304:21: note: in expansion of macro 'ARR_DATA_OFFSET' [ERROR] (((char *) (a)) + ARR_DATA_OFFSET(a)) [ERROR] ^~~~~~~~~~~~~~~ [ERROR] /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/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/pgsql-9.6/include/server/utils/guc.h:18:0, [ERROR] from /usr/pgsql-9.6/include/server/tcop/tcopprot.h:26, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/pljava.h:35, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/JNICalls.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/PgObject.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/PgObject_priv.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/type/Type_priv.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/c/type/Long.c:11: [WARNING] /usr/pgsql-9.6/include/server/utils/array.h:298: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/pgsql-9.6/include/server/utils/array.h:304:21: note: in expansion of macro 'ARR_DATA_OFFSET' [ERROR] (((char *) (a)) + ARR_DATA_OFFSET(a)) [ERROR] ^~~~~~~~~~~~~~~ [ERROR] /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/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/pgsql-9.6/include/server/port/atomics.h:123:0, [ERROR] from /usr/pgsql-9.6/include/server/storage/lwlock.h:23, [ERROR] from /usr/pgsql-9.6/include/server/storage/lock.h:23, [ERROR] from /usr/pgsql-9.6/include/server/access/heapam.h:22, [ERROR] from /usr/pgsql-9.6/include/server/nodes/execnodes.h:18, [ERROR] from /usr/pgsql-9.6/include/server/commands/trigger.h:17, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/Function.h:18, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/Backend.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/c/type/JavaWrapper.c:12: [ERROR] /usr/pgsql-9.6/include/server/port/atomics/generic.h: In function 'pg_atomic_add_fetch_u32_impl': [WARNING] /usr/pgsql-9.6/include/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/pgsql-9.6/include/server/port/atomics/generic.h: In function 'pg_atomic_sub_fetch_u32_impl': [WARNING] /usr/pgsql-9.6/include/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/pgsql-9.6/include/server/port/atomics/generic.h: In function 'pg_atomic_add_fetch_u64_impl': [WARNING] /usr/pgsql-9.6/include/server/port/atomics/generic.h:379: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/pgsql-9.6/include/server/port/atomics/generic.h: In function 'pg_atomic_sub_fetch_u64_impl': [WARNING] /usr/pgsql-9.6/include/server/port/atomics/generic.h:388: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/pgsql-9.6/include/server/port/atomics.h:123:0, [ERROR] from /usr/pgsql-9.6/include/server/storage/lwlock.h:23, [ERROR] from /usr/pgsql-9.6/include/server/storage/lock.h:23, [ERROR] from /usr/pgsql-9.6/include/server/access/heapam.h:22, [ERROR] from /usr/pgsql-9.6/include/server/nodes/execnodes.h:18, [ERROR] from /usr/pgsql-9.6/include/server/executor/execdesc.h:18, [ERROR] from /usr/pgsql-9.6/include/server/utils/portal.h:50, [ERROR] from /usr/pgsql-9.6/include/server/commands/portalcmds.h:18, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/c/type/Portal.c:12: [ERROR] /usr/pgsql-9.6/include/server/port/atomics/generic.h: In function 'pg_atomic_add_fetch_u32_impl': [WARNING] /usr/pgsql-9.6/include/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/pgsql-9.6/include/server/port/atomics/generic.h: In function 'pg_atomic_sub_fetch_u32_impl': [WARNING] /usr/pgsql-9.6/include/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/pgsql-9.6/include/server/port/atomics/generic.h: In function 'pg_atomic_add_fetch_u64_impl': [WARNING] /usr/pgsql-9.6/include/server/port/atomics/generic.h:379: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/pgsql-9.6/include/server/port/atomics/generic.h: In function 'pg_atomic_sub_fetch_u64_impl': [WARNING] /usr/pgsql-9.6/include/server/port/atomics/generic.h:388: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] /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/c/type/Portal.c: In function 'Java_org_postgresql_pljava_internal_Portal__1isPosOverflow': [ERROR] /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/c/type/Portal.c:338:42: error: 'struct PortalData' has no member named 'posOverflow' [ERROR] result = (jboolean)((Portal)p2l.ptrVal)->posOverflow; [ERROR] ^~ [ERROR] /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/c/Invocation.c: In function 'Java_org_postgresql_pljava_jdbc_Invocation__1getNestingLevel': [WARNING] /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/c/Invocation.c:277: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] /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/c/type/LargeObject.c: In function 'Java_org_postgresql_pljava_internal_LargeObject__1create': [WARNING] /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/c/type/LargeObject.c:138:34: warning: conversion to 'Oid {aka unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] [ERROR] result = Oid_create(inv_create((int)flags)); [ERROR] ^ [ERROR] In file included from /usr/pgsql-9.6/include/server/utils/guc.h:18:0, [ERROR] from /usr/pgsql-9.6/include/server/tcop/tcopprot.h:26, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/pljava.h:35, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/JNICalls.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/PgObject.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/PgObject_priv.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/type/Type_priv.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/c/type/Integer.c:11: [ERROR] /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/c/type/Integer.c: In function '_intArray_coerceDatum': [WARNING] /usr/pgsql-9.6/include/server/utils/array.h:284: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] /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/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/pgsql-9.6/include/server/postgres.h:47:0, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/pljava.h:29, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/JNICalls.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/PgObject.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/PgObject_priv.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/type/Type_priv.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/c/type/Integer.c:11: [WARNING] /usr/pgsql-9.6/include/server/utils/array.h:292: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/pgsql-9.6/include/server/c.h:574:17: note: in definition of macro 'TYPEALIGN' [ERROR] (((uintptr_t) (LEN) + ((ALIGNVAL) - 1)) & ~((uintptr_t) ((ALIGNVAL) - 1))) [ERROR] ^~~ [ERROR] /usr/pgsql-9.6/include/server/utils/array.h:292:3: note: in expansion of macro 'MAXALIGN' [ERROR] MAXALIGN(sizeof(ArrayType) + 2 * sizeof(int) * (ndims)) [ERROR] ^~~~~~~~ [ERROR] /usr/pgsql-9.6/include/server/utils/array.h:298:39: note: in expansion of macro 'ARR_OVERHEAD_NONULLS' [ERROR] (ARR_HASNULL(a) ? (a)->dataoffset : ARR_OVERHEAD_NONULLS(ARR_NDIM(a))) [ERROR] ^~~~~~~~~~~~~~~~~~~~ [ERROR] /usr/pgsql-9.6/include/server/utils/array.h:304:21: note: in expansion of macro 'ARR_DATA_OFFSET' [ERROR] (((char *) (a)) + ARR_DATA_OFFSET(a)) [ERROR] ^~~~~~~~~~~~~~~ [ERROR] /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/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/pgsql-9.6/include/server/utils/guc.h:18:0, [ERROR] from /usr/pgsql-9.6/include/server/tcop/tcopprot.h:26, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/pljava.h:35, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/JNICalls.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/PgObject.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/PgObject_priv.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/type/Type_priv.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/c/type/Integer.c:11: [WARNING] /usr/pgsql-9.6/include/server/utils/array.h:298: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/pgsql-9.6/include/server/utils/array.h:304:21: note: in expansion of macro 'ARR_DATA_OFFSET' [ERROR] (((char *) (a)) + ARR_DATA_OFFSET(a)) [ERROR] ^~~~~~~~~~~~~~~ [ERROR] /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/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/pgsql-9.6/include/server/postgres.h:47:0, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/pljava.h:29, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/JNICalls.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/PgObject.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/PgObject_priv.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/type/Type_priv.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/c/type/Integer.c:11: [WARNING] /usr/pgsql-9.6/include/server/utils/array.h:292: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/pgsql-9.6/include/server/c.h:574:17: note: in definition of macro 'TYPEALIGN' [ERROR] (((uintptr_t) (LEN) + ((ALIGNVAL) - 1)) & ~((uintptr_t) ((ALIGNVAL) - 1))) [ERROR] ^~~ [ERROR] /usr/pgsql-9.6/include/server/utils/array.h:292:3: note: in expansion of macro 'MAXALIGN' [ERROR] MAXALIGN(sizeof(ArrayType) + 2 * sizeof(int) * (ndims)) [ERROR] ^~~~~~~~ [ERROR] /usr/pgsql-9.6/include/server/utils/array.h:298:39: note: in expansion of macro 'ARR_OVERHEAD_NONULLS' [ERROR] (ARR_HASNULL(a) ? (a)->dataoffset : ARR_OVERHEAD_NONULLS(ARR_NDIM(a))) [ERROR] ^~~~~~~~~~~~~~~~~~~~ [ERROR] /usr/pgsql-9.6/include/server/utils/array.h:304:21: note: in expansion of macro 'ARR_DATA_OFFSET' [ERROR] (((char *) (a)) + ARR_DATA_OFFSET(a)) [ERROR] ^~~~~~~~~~~~~~~ [ERROR] /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/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/pgsql-9.6/include/server/utils/guc.h:18:0, [ERROR] from /usr/pgsql-9.6/include/server/tcop/tcopprot.h:26, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/pljava.h:35, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/JNICalls.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/PgObject.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/PgObject_priv.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/type/Type_priv.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/c/type/Integer.c:11: [WARNING] /usr/pgsql-9.6/include/server/utils/array.h:298: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/pgsql-9.6/include/server/utils/array.h:304:21: note: in expansion of macro 'ARR_DATA_OFFSET' [ERROR] (((char *) (a)) + ARR_DATA_OFFSET(a)) [ERROR] ^~~~~~~~~~~~~~~ [ERROR] /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/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/pgsql-9.6/include/server/postgres.h:47:0, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/pljava.h:29, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/JNICalls.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/PgObject.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/PgObject_priv.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/type/Type_priv.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/c/type/Integer.c:11: [ERROR] /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/c/type/Integer.c: In function '_intArray_coerceObject': [WARNING] /usr/pgsql-9.6/include/server/utils/array.h:292: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/pgsql-9.6/include/server/c.h:574:17: note: in definition of macro 'TYPEALIGN' [ERROR] (((uintptr_t) (LEN) + ((ALIGNVAL) - 1)) & ~((uintptr_t) ((ALIGNVAL) - 1))) [ERROR] ^~~ [ERROR] /usr/pgsql-9.6/include/server/utils/array.h:292:3: note: in expansion of macro 'MAXALIGN' [ERROR] MAXALIGN(sizeof(ArrayType) + 2 * sizeof(int) * (ndims)) [ERROR] ^~~~~~~~ [ERROR] /usr/pgsql-9.6/include/server/utils/array.h:298:39: note: in expansion of macro 'ARR_OVERHEAD_NONULLS' [ERROR] (ARR_HASNULL(a) ? (a)->dataoffset : ARR_OVERHEAD_NONULLS(ARR_NDIM(a))) [ERROR] ^~~~~~~~~~~~~~~~~~~~ [ERROR] /usr/pgsql-9.6/include/server/utils/array.h:304:21: note: in expansion of macro 'ARR_DATA_OFFSET' [ERROR] (((char *) (a)) + ARR_DATA_OFFSET(a)) [ERROR] ^~~~~~~~~~~~~~~ [ERROR] /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/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/pgsql-9.6/include/server/utils/guc.h:18:0, [ERROR] from /usr/pgsql-9.6/include/server/tcop/tcopprot.h:26, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/pljava.h:35, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/JNICalls.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/PgObject.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/PgObject_priv.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/type/Type_priv.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/c/type/Integer.c:11: [WARNING] /usr/pgsql-9.6/include/server/utils/array.h:298: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/pgsql-9.6/include/server/utils/array.h:304:21: note: in expansion of macro 'ARR_DATA_OFFSET' [ERROR] (((char *) (a)) + ARR_DATA_OFFSET(a)) [ERROR] ^~~~~~~~~~~~~~~ [ERROR] /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/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/pgsql-9.6/include/server/postgres.h:47:0, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/pljava.h:29, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/JNICalls.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/PgObject.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/PgObject_priv.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/type/Type_priv.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/c/type/Integer.c:11: [WARNING] /usr/pgsql-9.6/include/server/utils/array.h:292: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/pgsql-9.6/include/server/c.h:574:17: note: in definition of macro 'TYPEALIGN' [ERROR] (((uintptr_t) (LEN) + ((ALIGNVAL) - 1)) & ~((uintptr_t) ((ALIGNVAL) - 1))) [ERROR] ^~~ [ERROR] /usr/pgsql-9.6/include/server/utils/array.h:292:3: note: in expansion of macro 'MAXALIGN' [ERROR] MAXALIGN(sizeof(ArrayType) + 2 * sizeof(int) * (ndims)) [ERROR] ^~~~~~~~ [ERROR] /usr/pgsql-9.6/include/server/utils/array.h:298:39: note: in expansion of macro 'ARR_OVERHEAD_NONULLS' [ERROR] (ARR_HASNULL(a) ? (a)->dataoffset : ARR_OVERHEAD_NONULLS(ARR_NDIM(a))) [ERROR] ^~~~~~~~~~~~~~~~~~~~ [ERROR] /usr/pgsql-9.6/include/server/utils/array.h:304:21: note: in expansion of macro 'ARR_DATA_OFFSET' [ERROR] (((char *) (a)) + ARR_DATA_OFFSET(a)) [ERROR] ^~~~~~~~~~~~~~~ [ERROR] /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/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/pgsql-9.6/include/server/utils/guc.h:18:0, [ERROR] from /usr/pgsql-9.6/include/server/tcop/tcopprot.h:26, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/pljava.h:35, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/JNICalls.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/PgObject.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/PgObject_priv.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/type/Type_priv.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/c/type/Integer.c:11: [WARNING] /usr/pgsql-9.6/include/server/utils/array.h:298: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/pgsql-9.6/include/server/utils/array.h:304:21: note: in expansion of macro 'ARR_DATA_OFFSET' [ERROR] (((char *) (a)) + ARR_DATA_OFFSET(a)) [ERROR] ^~~~~~~~~~~~~~~ [ERROR] /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/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] /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/c/type/Oid.c: In function 'Java_org_postgresql_pljava_internal_Oid__1forSqlType': [WARNING] /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/c/type/Oid.c:200: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] /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/c/type/Oid.c: In function 'Java_org_postgresql_pljava_internal_Oid__1forTypeName': [WARNING] /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/c/type/Oid.c:233: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/pgsql-9.6/include/server/utils/guc.h:18:0, [ERROR] from /usr/pgsql-9.6/include/server/tcop/tcopprot.h:26, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/pljava.h:35, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/JNICalls.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/PgObject.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/PgObject_priv.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/type/Type_priv.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/c/type/Short.c:11: [ERROR] /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/c/type/Short.c: In function '_shortArray_coerceDatum': [WARNING] /usr/pgsql-9.6/include/server/utils/array.h:284: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] /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/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/pgsql-9.6/include/server/postgres.h:47:0, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/pljava.h:29, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/JNICalls.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/PgObject.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/PgObject_priv.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/type/Type_priv.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/c/type/Short.c:11: [WARNING] /usr/pgsql-9.6/include/server/utils/array.h:292: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/pgsql-9.6/include/server/c.h:574:17: note: in definition of macro 'TYPEALIGN' [ERROR] (((uintptr_t) (LEN) + ((ALIGNVAL) - 1)) & ~((uintptr_t) ((ALIGNVAL) - 1))) [ERROR] ^~~ [ERROR] /usr/pgsql-9.6/include/server/utils/array.h:292:3: note: in expansion of macro 'MAXALIGN' [ERROR] MAXALIGN(sizeof(ArrayType) + 2 * sizeof(int) * (ndims)) [ERROR] ^~~~~~~~ [ERROR] /usr/pgsql-9.6/include/server/utils/array.h:298:39: note: in expansion of macro 'ARR_OVERHEAD_NONULLS' [ERROR] (ARR_HASNULL(a) ? (a)->dataoffset : ARR_OVERHEAD_NONULLS(ARR_NDIM(a))) [ERROR] ^~~~~~~~~~~~~~~~~~~~ [ERROR] /usr/pgsql-9.6/include/server/utils/array.h:304:21: note: in expansion of macro 'ARR_DATA_OFFSET' [ERROR] (((char *) (a)) + ARR_DATA_OFFSET(a)) [ERROR] ^~~~~~~~~~~~~~~ [ERROR] /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/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/pgsql-9.6/include/server/utils/guc.h:18:0, [ERROR] from /usr/pgsql-9.6/include/server/tcop/tcopprot.h:26, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/pljava.h:35, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/JNICalls.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/PgObject.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/PgObject_priv.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/type/Type_priv.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/c/type/Short.c:11: [WARNING] /usr/pgsql-9.6/include/server/utils/array.h:298: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/pgsql-9.6/include/server/utils/array.h:304:21: note: in expansion of macro 'ARR_DATA_OFFSET' [ERROR] (((char *) (a)) + ARR_DATA_OFFSET(a)) [ERROR] ^~~~~~~~~~~~~~~ [ERROR] /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/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/pgsql-9.6/include/server/postgres.h:47:0, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/pljava.h:29, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/JNICalls.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/PgObject.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/PgObject_priv.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/type/Type_priv.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/c/type/Short.c:11: [WARNING] /usr/pgsql-9.6/include/server/utils/array.h:292: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/pgsql-9.6/include/server/c.h:574:17: note: in definition of macro 'TYPEALIGN' [ERROR] (((uintptr_t) (LEN) + ((ALIGNVAL) - 1)) & ~((uintptr_t) ((ALIGNVAL) - 1))) [ERROR] ^~~ [ERROR] /usr/pgsql-9.6/include/server/utils/array.h:292:3: note: in expansion of macro 'MAXALIGN' [ERROR] MAXALIGN(sizeof(ArrayType) + 2 * sizeof(int) * (ndims)) [ERROR] ^~~~~~~~ [ERROR] /usr/pgsql-9.6/include/server/utils/array.h:298:39: note: in expansion of macro 'ARR_OVERHEAD_NONULLS' [ERROR] (ARR_HASNULL(a) ? (a)->dataoffset : ARR_OVERHEAD_NONULLS(ARR_NDIM(a))) [ERROR] ^~~~~~~~~~~~~~~~~~~~ [ERROR] /usr/pgsql-9.6/include/server/utils/array.h:304:21: note: in expansion of macro 'ARR_DATA_OFFSET' [ERROR] (((char *) (a)) + ARR_DATA_OFFSET(a)) [ERROR] ^~~~~~~~~~~~~~~ [ERROR] /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/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/pgsql-9.6/include/server/utils/guc.h:18:0, [ERROR] from /usr/pgsql-9.6/include/server/tcop/tcopprot.h:26, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/pljava.h:35, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/JNICalls.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/PgObject.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/PgObject_priv.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/type/Type_priv.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/c/type/Short.c:11: [WARNING] /usr/pgsql-9.6/include/server/utils/array.h:298: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/pgsql-9.6/include/server/utils/array.h:304:21: note: in expansion of macro 'ARR_DATA_OFFSET' [ERROR] (((char *) (a)) + ARR_DATA_OFFSET(a)) [ERROR] ^~~~~~~~~~~~~~~ [ERROR] /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/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/pgsql-9.6/include/server/postgres.h:47:0, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/pljava.h:29, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/JNICalls.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/PgObject.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/PgObject_priv.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/type/Type_priv.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/c/type/Short.c:11: [ERROR] /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/c/type/Short.c: In function '_shortArray_coerceObject': [WARNING] /usr/pgsql-9.6/include/server/utils/array.h:292: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/pgsql-9.6/include/server/c.h:574:17: note: in definition of macro 'TYPEALIGN' [ERROR] (((uintptr_t) (LEN) + ((ALIGNVAL) - 1)) & ~((uintptr_t) ((ALIGNVAL) - 1))) [ERROR] ^~~ [ERROR] /usr/pgsql-9.6/include/server/utils/array.h:292:3: note: in expansion of macro 'MAXALIGN' [ERROR] MAXALIGN(sizeof(ArrayType) + 2 * sizeof(int) * (ndims)) [ERROR] ^~~~~~~~ [ERROR] /usr/pgsql-9.6/include/server/utils/array.h:298:39: note: in expansion of macro 'ARR_OVERHEAD_NONULLS' [ERROR] (ARR_HASNULL(a) ? (a)->dataoffset : ARR_OVERHEAD_NONULLS(ARR_NDIM(a))) [ERROR] ^~~~~~~~~~~~~~~~~~~~ [ERROR] /usr/pgsql-9.6/include/server/utils/array.h:304:21: note: in expansion of macro 'ARR_DATA_OFFSET' [ERROR] (((char *) (a)) + ARR_DATA_OFFSET(a)) [ERROR] ^~~~~~~~~~~~~~~ [ERROR] /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/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/pgsql-9.6/include/server/utils/guc.h:18:0, [ERROR] from /usr/pgsql-9.6/include/server/tcop/tcopprot.h:26, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/pljava.h:35, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/JNICalls.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/PgObject.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/PgObject_priv.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/type/Type_priv.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/c/type/Short.c:11: [WARNING] /usr/pgsql-9.6/include/server/utils/array.h:298: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/pgsql-9.6/include/server/utils/array.h:304:21: note: in expansion of macro 'ARR_DATA_OFFSET' [ERROR] (((char *) (a)) + ARR_DATA_OFFSET(a)) [ERROR] ^~~~~~~~~~~~~~~ [ERROR] /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/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/pgsql-9.6/include/server/postgres.h:47:0, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/pljava.h:29, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/JNICalls.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/PgObject.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/PgObject_priv.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/type/Type_priv.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/c/type/Short.c:11: [WARNING] /usr/pgsql-9.6/include/server/utils/array.h:292: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/pgsql-9.6/include/server/c.h:574:17: note: in definition of macro 'TYPEALIGN' [ERROR] (((uintptr_t) (LEN) + ((ALIGNVAL) - 1)) & ~((uintptr_t) ((ALIGNVAL) - 1))) [ERROR] ^~~ [ERROR] /usr/pgsql-9.6/include/server/utils/array.h:292:3: note: in expansion of macro 'MAXALIGN' [ERROR] MAXALIGN(sizeof(ArrayType) + 2 * sizeof(int) * (ndims)) [ERROR] ^~~~~~~~ [ERROR] /usr/pgsql-9.6/include/server/utils/array.h:298:39: note: in expansion of macro 'ARR_OVERHEAD_NONULLS' [ERROR] In file included from /usr/pgsql-9.6/include/server/port/atomics.h:123:0, [ERROR] from /usr/pgsql-9.6/include/server/storage/lwlock.h:23, [ERROR] from /usr/pgsql-9.6/include/server/storage/lock.h:23, [ERROR] from /usr/pgsql-9.6/include/server/access/heapam.h:22, [ERROR] from /usr/pgsql-9.6/include/server/nodes/execnodes.h:18, [ERROR] from /usr/pgsql-9.6/include/server/executor/execdesc.h:18, [ERROR] from /usr/pgsql-9.6/include/server/utils/portal.h:50, [ERROR] from /usr/pgsql-9.6/include/server/executor/spi.h:18, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/c/PgSavepoint.c:10: [ERROR] /usr/pgsql-9.6/include/server/port/atomics/generic.h: In function 'pg_atomic_add_fetch_u32_impl': [WARNING] /usr/pgsql-9.6/include/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/pgsql-9.6/include/server/port/atomics/generic.h: In function 'pg_atomic_sub_fetch_u32_impl': [WARNING] /usr/pgsql-9.6/include/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/pgsql-9.6/include/server/port/atomics/generic.h: In function 'pg_atomic_add_fetch_u64_impl': [WARNING] /usr/pgsql-9.6/include/server/port/atomics/generic.h:379: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/pgsql-9.6/include/server/port/atomics/generic.h: In function 'pg_atomic_sub_fetch_u64_impl': [WARNING] /usr/pgsql-9.6/include/server/port/atomics/generic.h:388: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] (ARR_HASNULL(a) ? (a)->dataoffset : ARR_OVERHEAD_NONULLS(ARR_NDIM(a))) [ERROR] ^~~~~~~~~~~~~~~~~~~~ [ERROR] /usr/pgsql-9.6/include/server/utils/array.h:304:21: note: in expansion of macro 'ARR_DATA_OFFSET' [ERROR] (((char *) (a)) + ARR_DATA_OFFSET(a)) [ERROR] ^~~~~~~~~~~~~~~ [ERROR] /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/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/pgsql-9.6/include/server/utils/guc.h:18:0, [ERROR] from /usr/pgsql-9.6/include/server/tcop/tcopprot.h:26, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/pljava.h:35, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/JNICalls.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/PgObject.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/PgObject_priv.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/type/Type_priv.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/c/type/Short.c:11: [WARNING] /usr/pgsql-9.6/include/server/utils/array.h:298: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/pgsql-9.6/include/server/utils/array.h:304:21: note: in expansion of macro 'ARR_DATA_OFFSET' [ERROR] (((char *) (a)) + ARR_DATA_OFFSET(a)) [ERROR] ^~~~~~~~~~~~~~~ [ERROR] /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/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] /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/c/SQLInputFromChunk.c: In function 'SQLInputFromChunk_create': [WARNING] /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/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/pgsql-9.6/include/server/port/atomics.h:123:0, [ERROR] from /usr/pgsql-9.6/include/server/storage/lwlock.h:23, [ERROR] from /usr/pgsql-9.6/include/server/storage/lock.h:23, [ERROR] from /usr/pgsql-9.6/include/server/access/heapam.h:22, [ERROR] from /usr/pgsql-9.6/include/server/nodes/execnodes.h:18, [ERROR] from /usr/pgsql-9.6/include/server/commands/trigger.h:17, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/Function.h:18, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/Backend.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/c/type/Timestamp.c:15: [ERROR] /usr/pgsql-9.6/include/server/port/atomics/generic.h: In function 'pg_atomic_add_fetch_u32_impl': [WARNING] /usr/pgsql-9.6/include/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/pgsql-9.6/include/server/port/atomics/generic.h: In function 'pg_atomic_sub_fetch_u32_impl': [WARNING] /usr/pgsql-9.6/include/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/pgsql-9.6/include/server/port/atomics/generic.h: In function 'pg_atomic_add_fetch_u64_impl': [WARNING] /usr/pgsql-9.6/include/server/port/atomics/generic.h:379: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/pgsql-9.6/include/server/port/atomics/generic.h: In function 'pg_atomic_sub_fetch_u64_impl': [WARNING] /usr/pgsql-9.6/include/server/port/atomics/generic.h:388: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/pgsql-9.6/include/server/port/atomics.h:123:0, [ERROR] from /usr/pgsql-9.6/include/server/storage/lwlock.h:23, [ERROR] from /usr/pgsql-9.6/include/server/storage/lock.h:23, [ERROR] from /usr/pgsql-9.6/include/server/access/heapam.h:22, [ERROR] from /usr/pgsql-9.6/include/server/nodes/execnodes.h:18, [ERROR] from /usr/pgsql-9.6/include/server/executor/execdesc.h:18, [ERROR] from /usr/pgsql-9.6/include/server/utils/portal.h:50, [ERROR] from /usr/pgsql-9.6/include/server/executor/spi.h:18, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/c/PgObject.c:10: [ERROR] /usr/pgsql-9.6/include/server/port/atomics/generic.h: In function 'pg_atomic_add_fetch_u32_impl': [WARNING] /usr/pgsql-9.6/include/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/pgsql-9.6/include/server/port/atomics/generic.h: In function 'pg_atomic_sub_fetch_u32_impl': [WARNING] /usr/pgsql-9.6/include/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/pgsql-9.6/include/server/port/atomics/generic.h: In function 'pg_atomic_add_fetch_u64_impl': [WARNING] /usr/pgsql-9.6/include/server/port/atomics/generic.h:379: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/pgsql-9.6/include/server/port/atomics/generic.h: In function 'pg_atomic_sub_fetch_u64_impl': [WARNING] /usr/pgsql-9.6/include/server/port/atomics/generic.h:388: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/pgsql-9.6/include/server/port/atomics.h:123:0, [ERROR] from /usr/pgsql-9.6/include/server/storage/lwlock.h:23, [ERROR] from /usr/pgsql-9.6/include/server/storage/lock.h:23, [ERROR] from /usr/pgsql-9.6/include/server/access/heapam.h:22, [ERROR] from /usr/pgsql-9.6/include/server/nodes/execnodes.h:18, [ERROR] from /usr/pgsql-9.6/include/server/executor/execdesc.h:18, [ERROR] from /usr/pgsql-9.6/include/server/utils/portal.h:50, [ERROR] from /usr/pgsql-9.6/include/server/executor/spi.h:18, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/c/type/Relation.c:10: [ERROR] /usr/pgsql-9.6/include/server/port/atomics/generic.h: In function 'pg_atomic_add_fetch_u32_impl': [WARNING] /usr/pgsql-9.6/include/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/pgsql-9.6/include/server/port/atomics/generic.h: In function 'pg_atomic_sub_fetch_u32_impl': [WARNING] /usr/pgsql-9.6/include/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/pgsql-9.6/include/server/port/atomics/generic.h: In function 'pg_atomic_add_fetch_u64_impl': [WARNING] /usr/pgsql-9.6/include/server/port/atomics/generic.h:379: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/pgsql-9.6/include/server/port/atomics/generic.h: In function 'pg_atomic_sub_fetch_u64_impl': [WARNING] /usr/pgsql-9.6/include/server/port/atomics/generic.h:388: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] /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/c/type/Relation.c: In function 'Java_org_postgresql_pljava_internal_Relation__1modifyTuple': [WARNING] /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/c/type/Relation.c:191: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] /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/c/type/Relation.c:200: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] /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/c/type/Relation.c:233: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] /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/c/type/Relation.c:234: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] ^~~~~ [ERROR] In file included from /usr/pgsql-9.6/include/server/port/atomics.h:123:0, [ERROR] from /usr/pgsql-9.6/include/server/storage/lwlock.h:23, [ERROR] from /usr/pgsql-9.6/include/server/storage/lock.h:23, [ERROR] from /usr/pgsql-9.6/include/server/access/heapam.h:22, [ERROR] from /usr/pgsql-9.6/include/server/nodes/execnodes.h:18, [ERROR] from /usr/pgsql-9.6/include/server/executor/execdesc.h:18, [ERROR] from /usr/pgsql-9.6/include/server/utils/portal.h:50, [ERROR] from /usr/pgsql-9.6/include/server/executor/spi.h:18, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/SPI.h:14, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/c/SPI.c:10: [ERROR] /usr/pgsql-9.6/include/server/port/atomics/generic.h: In function 'pg_atomic_add_fetch_u32_impl': [WARNING] /usr/pgsql-9.6/include/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/pgsql-9.6/include/server/port/atomics/generic.h: In function 'pg_atomic_sub_fetch_u32_impl': [WARNING] /usr/pgsql-9.6/include/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/pgsql-9.6/include/server/port/atomics/generic.h: In function 'pg_atomic_add_fetch_u64_impl': [WARNING] /usr/pgsql-9.6/include/server/port/atomics/generic.h:379: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/pgsql-9.6/include/server/port/atomics/generic.h: In function 'pg_atomic_sub_fetch_u64_impl': [WARNING] /usr/pgsql-9.6/include/server/port/atomics/generic.h:388: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/pgsql-9.6/include/server/port/atomics.h:123:0, [ERROR] from /usr/pgsql-9.6/include/server/storage/lwlock.h:23, [ERROR] from /usr/pgsql-9.6/include/server/storage/lock.h:23, [ERROR] from /usr/pgsql-9.6/include/server/access/heapam.h:22, [ERROR] from /usr/pgsql-9.6/include/server/nodes/execnodes.h:18, [ERROR] from /usr/pgsql-9.6/include/server/executor/execdesc.h:18, [ERROR] from /usr/pgsql-9.6/include/server/utils/portal.h:50, [ERROR] from /usr/pgsql-9.6/include/server/executor/spi.h:18, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/c/type/TupleTable.c:10: [ERROR] /usr/pgsql-9.6/include/server/port/atomics/generic.h: In function 'pg_atomic_add_fetch_u32_impl': [WARNING] /usr/pgsql-9.6/include/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/pgsql-9.6/include/server/port/atomics/generic.h: In function 'pg_atomic_sub_fetch_u32_impl': [WARNING] /usr/pgsql-9.6/include/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/pgsql-9.6/include/server/port/atomics/generic.h: In function 'pg_atomic_add_fetch_u64_impl': [WARNING] /usr/pgsql-9.6/include/server/port/atomics/generic.h:379: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/pgsql-9.6/include/server/port/atomics/generic.h: In function 'pg_atomic_sub_fetch_u64_impl': [WARNING] /usr/pgsql-9.6/include/server/port/atomics/generic.h:388: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/pgsql-9.6/include/server/port/atomics.h:123:0, [ERROR] from /usr/pgsql-9.6/include/server/storage/lwlock.h:23, [ERROR] from /usr/pgsql-9.6/include/server/storage/lock.h:23, [ERROR] from /usr/pgsql-9.6/include/server/access/heapam.h:22, [ERROR] from /usr/pgsql-9.6/include/server/nodes/execnodes.h:18, [ERROR] from /usr/pgsql-9.6/include/server/commands/trigger.h:17, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/Function.h:18, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/Backend.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/c/type/Time.c:14: [ERROR] /usr/pgsql-9.6/include/server/port/atomics/generic.h: In function 'pg_atomic_add_fetch_u32_impl': [WARNING] /usr/pgsql-9.6/include/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/pgsql-9.6/include/server/port/atomics/generic.h: In function 'pg_atomic_sub_fetch_u32_impl': [WARNING] /usr/pgsql-9.6/include/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/pgsql-9.6/include/server/port/atomics/generic.h: In function 'pg_atomic_add_fetch_u64_impl': [WARNING] /usr/pgsql-9.6/include/server/port/atomics/generic.h:379: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/pgsql-9.6/include/server/port/atomics/generic.h: In function 'pg_atomic_sub_fetch_u64_impl': [WARNING] /usr/pgsql-9.6/include/server/port/atomics/generic.h:388: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/pgsql-9.6/include/server/port/atomics.h:123:0, [ERROR] from /usr/pgsql-9.6/include/server/storage/lwlock.h:23, [ERROR] from /usr/pgsql-9.6/include/server/storage/lock.h:23, [ERROR] from /usr/pgsql-9.6/include/server/access/heapam.h:22, [ERROR] from /usr/pgsql-9.6/include/server/nodes/execnodes.h:18, [ERROR] from /usr/pgsql-9.6/include/server/commands/trigger.h:17, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/Function.h:18, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/Backend.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/c/XactListener.c:9: [ERROR] /usr/pgsql-9.6/include/server/port/atomics/generic.h: In function 'pg_atomic_add_fetch_u32_impl': [WARNING] /usr/pgsql-9.6/include/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/pgsql-9.6/include/server/port/atomics/generic.h: In function 'pg_atomic_sub_fetch_u32_impl': [WARNING] /usr/pgsql-9.6/include/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/pgsql-9.6/include/server/port/atomics/generic.h: In function 'pg_atomic_add_fetch_u64_impl': [WARNING] /usr/pgsql-9.6/include/server/port/atomics/generic.h:379: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/pgsql-9.6/include/server/port/atomics/generic.h: In function 'pg_atomic_sub_fetch_u64_impl': [WARNING] /usr/pgsql-9.6/include/server/port/atomics/generic.h:388: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] /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/c/type/String.c: In function 'String_createJavaString': [WARNING] /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/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] /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/c/type/String.c: In function 'String_createJavaStringFromNTS': [WARNING] /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/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] /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/c/type/String.c: In function 'String_createText': [WARNING] /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/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] /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/c/type/String.c: In function 'appendCharBuffer': [WARNING] /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/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] /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/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] /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/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/pgsql-9.6/include/server/port/atomics.h:123:0, [ERROR] from /usr/pgsql-9.6/include/server/storage/lwlock.h:23, [ERROR] from /usr/pgsql-9.6/include/server/storage/lock.h:23, [ERROR] from /usr/pgsql-9.6/include/server/access/heapam.h:22, [ERROR] from /usr/pgsql-9.6/include/server/nodes/execnodes.h:18, [ERROR] from /usr/pgsql-9.6/include/server/commands/trigger.h:17, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/Function.h:18, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/Backend.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/c/SubXactListener.c:9: [ERROR] /usr/pgsql-9.6/include/server/port/atomics/generic.h: In function 'pg_atomic_add_fetch_u32_impl': [WARNING] /usr/pgsql-9.6/include/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/pgsql-9.6/include/server/port/atomics/generic.h: In function 'pg_atomic_sub_fetch_u32_impl': [WARNING] /usr/pgsql-9.6/include/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/pgsql-9.6/include/server/port/atomics/generic.h: In function 'pg_atomic_add_fetch_u64_impl': [WARNING] /usr/pgsql-9.6/include/server/port/atomics/generic.h:379: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/pgsql-9.6/include/server/port/atomics/generic.h: In function 'pg_atomic_sub_fetch_u64_impl': [WARNING] /usr/pgsql-9.6/include/server/port/atomics/generic.h:388: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] /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/c/SubXactListener.c: In function 'subXactCB': [WARNING] /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/c/SubXactListener.c:26:2: warning: enumeration value 'SUBXACT_EVENT_PRE_COMMIT_SUB' not handled in switch [-Wswitch] [ERROR] switch(event) [ERROR] ^~~~~~ [ERROR] In file included from /usr/pgsql-9.6/include/server/port/atomics.h:123:0, [ERROR] from /usr/pgsql-9.6/include/server/storage/lwlock.h:23, [ERROR] from /usr/pgsql-9.6/include/server/storage/lock.h:23, [ERROR] from /usr/pgsql-9.6/include/server/access/heapam.h:22, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/c/type/TriggerData.c:10: [ERROR] /usr/pgsql-9.6/include/server/port/atomics/generic.h: In function 'pg_atomic_add_fetch_u32_impl': [WARNING] /usr/pgsql-9.6/include/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/pgsql-9.6/include/server/port/atomics/generic.h: In function 'pg_atomic_sub_fetch_u32_impl': [WARNING] /usr/pgsql-9.6/include/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/pgsql-9.6/include/server/port/atomics/generic.h: In function 'pg_atomic_add_fetch_u64_impl': [WARNING] /usr/pgsql-9.6/include/server/port/atomics/generic.h:379: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/pgsql-9.6/include/server/port/atomics/generic.h: In function 'pg_atomic_sub_fetch_u64_impl': [WARNING] /usr/pgsql-9.6/include/server/port/atomics/generic.h:388: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/pgsql-9.6/include/server/port/atomics.h:123:0, [ERROR] from /usr/pgsql-9.6/include/server/storage/lwlock.h:23, [ERROR] from /usr/pgsql-9.6/include/server/storage/lock.h:23, [ERROR] from /usr/pgsql-9.6/include/server/access/heapam.h:22, [ERROR] from /usr/pgsql-9.6/include/server/nodes/execnodes.h:18, [ERROR] from /usr/pgsql-9.6/include/server/executor/execdesc.h:18, [ERROR] from /usr/pgsql-9.6/include/server/utils/portal.h:50, [ERROR] from /usr/pgsql-9.6/include/server/executor/spi.h:18, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/c/type/TupleDesc.c:10: [ERROR] /usr/pgsql-9.6/include/server/port/atomics/generic.h: In function 'pg_atomic_add_fetch_u32_impl': [WARNING] /usr/pgsql-9.6/include/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/pgsql-9.6/include/server/port/atomics/generic.h: In function 'pg_atomic_sub_fetch_u32_impl': [WARNING] /usr/pgsql-9.6/include/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/pgsql-9.6/include/server/port/atomics/generic.h: In function 'pg_atomic_add_fetch_u64_impl': [WARNING] /usr/pgsql-9.6/include/server/port/atomics/generic.h:379: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/pgsql-9.6/include/server/port/atomics/generic.h: In function 'pg_atomic_sub_fetch_u64_impl': [WARNING] /usr/pgsql-9.6/include/server/port/atomics/generic.h:388: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] /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/c/type/TupleDesc.c: In function 'Java_org_postgresql_pljava_internal_TupleDesc__1formTuple': [WARNING] /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/c/type/TupleDesc.c:220: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] /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/c/type/TupleDesc.c:221:27: warning: conversion to 'Size {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] [ERROR] char* nulls = palloc(count); [ERROR] ^~~~~ [WARNING] /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/c/type/TupleDesc.c:224: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] /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/c/type/TupleDesc.c:225:22: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] [ERROR] memset(nulls, 'n', count); /* all values null initially */ [ERROR] ^~~~~ [WARNING] /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/c/type/TupleDesc.c:239:11: warning: implicit declaration of function 'heap_formtuple' [-Wimplicit-function-declaration] [ERROR] tuple = heap_formtuple(self, values, nulls); [ERROR] ^~~~~~~~~~~~~~ [WARNING] /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/c/type/TupleDesc.c:239:9: warning: assignment makes pointer from integer without a cast [-Wint-conversion] [ERROR] tuple = heap_formtuple(self, values, nulls); [ERROR] ^ [ERROR] In file included from /usr/pgsql-9.6/include/server/port/atomics.h:123:0, [ERROR] from /usr/pgsql-9.6/include/server/storage/lwlock.h:23, [ERROR] from /usr/pgsql-9.6/include/server/storage/lock.h:23, [ERROR] from /usr/pgsql-9.6/include/server/access/heapam.h:22, [ERROR] from /usr/pgsql-9.6/include/server/nodes/execnodes.h:18, [ERROR] from /usr/pgsql-9.6/include/server/executor/execdesc.h:18, [ERROR] from /usr/pgsql-9.6/include/server/utils/portal.h:50, [ERROR] from /usr/pgsql-9.6/include/server/executor/spi.h:18, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/c/type/Tuple.c:10: [ERROR] /usr/pgsql-9.6/include/server/port/atomics/generic.h: In function 'pg_atomic_add_fetch_u32_impl': [WARNING] /usr/pgsql-9.6/include/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/pgsql-9.6/include/server/port/atomics/generic.h: In function 'pg_atomic_sub_fetch_u32_impl': [WARNING] /usr/pgsql-9.6/include/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/pgsql-9.6/include/server/port/atomics/generic.h: In function 'pg_atomic_add_fetch_u64_impl': [WARNING] /usr/pgsql-9.6/include/server/port/atomics/generic.h:379: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/pgsql-9.6/include/server/port/atomics/generic.h: In function 'pg_atomic_sub_fetch_u64_impl': [WARNING] /usr/pgsql-9.6/include/server/port/atomics/generic.h:388: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] /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/c/XactListener.c: In function 'xactCB': [WARNING] /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/c/XactListener.c:25:2: warning: enumeration value 'XACT_EVENT_PARALLEL_COMMIT' not handled in switch [-Wswitch] [ERROR] switch(event) [ERROR] ^~~~~~ [WARNING] /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/c/XactListener.c:25:2: warning: enumeration value 'XACT_EVENT_PARALLEL_ABORT' not handled in switch [-Wswitch] [WARNING] /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/c/XactListener.c:25:2: warning: enumeration value 'XACT_EVENT_PRE_COMMIT' not handled in switch [-Wswitch] [WARNING] /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/c/XactListener.c:25:2: warning: enumeration value 'XACT_EVENT_PARALLEL_PRE_COMMIT' not handled in switch [-Wswitch] [WARNING] /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/c/XactListener.c:25:2: warning: enumeration value 'XACT_EVENT_PRE_PREPARE' not handled in switch [-Wswitch] [ERROR] In file included from /usr/pgsql-9.6/include/server/port/atomics.h:123:0, [ERROR] from /usr/pgsql-9.6/include/server/storage/lwlock.h:23, [ERROR] from /usr/pgsql-9.6/include/server/storage/lock.h:23, [ERROR] from /usr/pgsql-9.6/include/server/access/heapam.h:22, [ERROR] from /usr/pgsql-9.6/include/server/nodes/execnodes.h:18, [ERROR] from /usr/pgsql-9.6/include/server/executor/execdesc.h:18, [ERROR] from /usr/pgsql-9.6/include/server/executor/executor.h:17, [ERROR] from /usr/pgsql-9.6/include/server/funcapi.h:21, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/c/type/Type.c:11: [ERROR] /usr/pgsql-9.6/include/server/port/atomics/generic.h: In function 'pg_atomic_add_fetch_u32_impl': [WARNING] /usr/pgsql-9.6/include/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/pgsql-9.6/include/server/port/atomics/generic.h: In function 'pg_atomic_sub_fetch_u32_impl': [WARNING] /usr/pgsql-9.6/include/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/pgsql-9.6/include/server/port/atomics/generic.h: In function 'pg_atomic_add_fetch_u64_impl': [WARNING] /usr/pgsql-9.6/include/server/port/atomics/generic.h:379: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/pgsql-9.6/include/server/port/atomics/generic.h: In function 'pg_atomic_sub_fetch_u64_impl': [WARNING] /usr/pgsql-9.6/include/server/port/atomics/generic.h:388: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/pgsql-9.6/include/server/port/atomics.h:123:0, [ERROR] from /usr/pgsql-9.6/include/server/storage/lwlock.h:23, [ERROR] from /usr/pgsql-9.6/include/server/storage/lock.h:23, [ERROR] from /usr/pgsql-9.6/include/server/access/heapam.h:22, [ERROR] from /usr/pgsql-9.6/include/server/nodes/execnodes.h:18, [ERROR] from /usr/pgsql-9.6/include/server/executor/execdesc.h:18, [ERROR] from /usr/pgsql-9.6/include/server/executor/executor.h:17, [ERROR] from /usr/pgsql-9.6/include/server/funcapi.h:21, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/c/type/UDT.c:14: [ERROR] /usr/pgsql-9.6/include/server/port/atomics/generic.h: In function 'pg_atomic_add_fetch_u32_impl': [WARNING] /usr/pgsql-9.6/include/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/pgsql-9.6/include/server/port/atomics/generic.h: In function 'pg_atomic_sub_fetch_u32_impl': [WARNING] /usr/pgsql-9.6/include/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/pgsql-9.6/include/server/port/atomics/generic.h: In function 'pg_atomic_add_fetch_u64_impl': [WARNING] /usr/pgsql-9.6/include/server/port/atomics/generic.h:379: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/pgsql-9.6/include/server/port/atomics/generic.h: In function 'pg_atomic_sub_fetch_u64_impl': [WARNING] /usr/pgsql-9.6/include/server/port/atomics/generic.h:388: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 /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/c/type/UDT.c:9:0: [ERROR] /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/c/type/UDT.c: In function 'coerceScalarDatum': [WARNING] /usr/pgsql-9.6/include/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/pgsql-9.6/include/server/postgres.h:306:27: note: in expansion of macro 'VARSIZE_4B' [ERROR] #define VARSIZE(PTR) VARSIZE_4B(PTR) [ERROR] ^~~~~~~~~~ [ERROR] /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/c/type/UDT.c:53:14: note: in expansion of macro 'VARSIZE' [ERROR] dataLen = VARSIZE(bytes) - VARHDRSZ; [ERROR] ^~~~~~~ [WARNING] /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/c/type/UDT.c:78: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] /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/c/type/UDT.c: In function 'coerceScalarObject': [WARNING] /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/c/type/UDT.c:158: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] /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/c/type/UDT.c: In function 'UDT_receive': [WARNING] /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/c/type/UDT.c:318: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 /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/pljava.h:29:0, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/JNICalls.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/PgObject.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/include/pljava/Exception.h:12, [ERROR] from /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/c/type/byte_array.c:9: [ERROR] /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/c/type/byte_array.c: In function '_byte_array_coerceDatum': [WARNING] /usr/pgsql-9.6/include/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/pgsql-9.6/include/server/postgres.h:306:27: note: in expansion of macro 'VARSIZE_4B' [ERROR] #define VARSIZE(PTR) VARSIZE_4B(PTR) [ERROR] ^~~~~~~~~~ [ERROR] /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/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] /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/pljava-so/src/main/c/type/byte_array.c: In function '_byte_array_coerceObject': [WARNING] /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/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] /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_0/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 6 interrupted [INFO] Core 6 interrupted [INFO] Core 7 interrupted [INFO] Core 7 interrupted [INFO] 51 files were compiled. [INFO] 51 files were compiled. [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] PostgreSQL PL/Java ................................. SUCCESS [ 0.621 s] [INFO] PL/Java API ........................................ SUCCESS [ 1.275 s] [INFO] PL/Java backend Java code .......................... SUCCESS [ 1.236 s] [INFO] PL/Java backend native code ........................ FAILURE [ 14.369 s] [INFO] PL/Java Deploy ..................................... SKIPPED [INFO] PL/Java Ant tasks .................................. SKIPPED [INFO] PL/Java examples ................................... SKIPPED [INFO] PL/Java packaging .................................. SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 17.985 s [INFO] Finished at: 2017-03-28T16:44:07+01:00 [INFO] Final Memory: 36M/722M [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
@devrimgunduz, are you able to retry that with a couple extra Maven options?
mvn -Pwnosign -Dnar.cores=1 clean package
If you don't have the -Pwnosign
, the number of nuisance sign-conversion warnings will make it difficult to see what actual problem caused your build to fail. And without the -Dnar.cores=1
the messages can be coming from different threads in arbitrary order, which also makes it hard to see what's what. (PL/Java builds fast enough that restricting the build to one thread doesn't noticeably slow it down anyway.)
@devrimgunduz, have you tried building from the trackpg/REL1_5_STABLE/pg96
branch? That reminds me of something that's been fixed there.
-Chap
Hi @jcflack , no, because this is an RPM build, and it depends on released versions (tarballs)
Will you release 1.5.1 that also includes this fix? Actually this is holding 9.5 -> 9.6 upgrades for PL/Java users.
Regards, Devrim
@jcflack I created a fake 1.5.1 tarball using that branch, and it compiles fine. I'm still getting these, though, but they don't block the build. So, may I please insist on 1.5.1? :-)
[ERROR] /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_1/pljava-so/src/main/c/SubXactListener.c: In function 'subXactCB': [WARNING] /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_1/pljava-so/src/main/c/SubXactListener.c:26:2: warning: enumeration value 'SUBXACT_EVENT_PRE_COMMIT_SUB' not handled in switch [-Wswitch] [ERROR] switch(event) [ERROR] ^~~~~~ [ERROR] /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_1/pljava-so/src/main/c/XactListener.c: In function 'xactCB': [WARNING] /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_1/pljava-so/src/main/c/XactListener.c:25:2: warning: enumeration value 'XACT_EVENT_PARALLEL_COMMIT' not handled in switch [-Wswitch] [ERROR] switch(event) [ERROR] ^~~~~~ [WARNING] /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_1/pljava-so/src/main/c/XactListener.c:25:2: warning: enumeration value 'XACT_EVENT_PARALLEL_ABORT' not handled in switch [-Wswitch] [WARNING] /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_1/pljava-so/src/main/c/XactListener.c:25:2: warning: enumeration value 'XACT_EVENT_PRE_COMMIT' not handled in switch [-Wswitch] [WARNING] /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_1/pljava-so/src/main/c/XactListener.c:25:2: warning: enumeration value 'XACT_EVENT_PARALLEL_PRE_COMMIT' not handled in switch [-Wswitch] [WARNING] /home/devrim/Documents/Devrim/Projects/repo/pgrpms/rpm/redhat/9.6/pljava/F-25/pljava-1_5_1/pljava-so/src/main/c/XactListener.c:25:2: warning: enumeration value 'XACT_EVENT_PRE_PREPARE' not handled in switch [-Wswitch]
Regards, Devrim
Yes. :) I just need to make sure the right issues are addressed in it, and schedule one (I hope) beta period of a reasonable length, announced over the usual channels.
Speaking of rpms, a while back you were having problems because some part of the rpmbuild process was rebuilding the generated jar and creating intermediate directories in it. Did you ever find a way to turn that behavior off?
-Chap
@jcflack Well, this is a blocker for the upgrades, so the sooner, the better...
Yeah, I fixed the RPM issue for 9.5:
https://git.postgresql.org/gitweb/?p=pgrpms.git;a=commit;h=93ab117fa7400b0609db66385718f479eea3ce5a
(and a few more followup commits, too). Actually this is why I'm pushing more for 9.6 now ;)
Regards, Devrim
@devrimgunduz Hm, so you ended up not running the installable jar at all, but just duplicating the code to put the files in place directly? That seems more brittle to me, more code in the spec file that you would need to keep in sync with the javascript in the jar.
Does that mean you never had success with either %define __jar_repack 0
in the spec file, or export ZIPOPT=-D
in the %build
section? I never heard back after my email to you in October, so I don't know whether you tried either one. The %define __jar_repack 0
seems most desirable to me, if it works.
This is not completely off-topic, because I did want to know whether I needed to put some adjustment into the javascript for 1.5.1 to accommodate that, if you were not able to get either spec file adjustment to work.
-Chap
@devrimgunduz have I driven you away by asking about that jar repacking issue? Didn't mean to. I'm just eager for a way to resolve it that doesn't force you to duplicate code.
-Chap
I've successfully built pljava on Debian with Postgresql 9.6 and will now test. For anyone else who wants to do the same:
Is Postgres 9.6 supported in Pl/Java REL1_5_STABLE on windows 7 building and installation?
I am getting the below Error: "Failed to execute goal com.github.maven-nar:nar-maven-plugin:3.2.3"while building Pl/Java using visual studio on windows 7.
@SDILIPS sorry for my delay.
To the best of my knowledge, there is no issue building 1.5.1-BETA1 (or REL1_5_STABLE, which at this moment is nearly equivalent, though I would recommend 1.5.1-BETA1 just for clarity) on Windows.
There are, however, two ways of building for Windows (MS Visual Studio or MinGW-w64), and for each way there is a special topics page in the build instructions (msvc or MinGW), so I hope you will read the one of those that applies to your situation, if you haven't already.
Also, near the bottom of that build page, there is a section on "Troubleshooting the build", covering many issues that first-time builders run into.
If you still have building difficulties after reviewing those, please post again here, and please describe your environment in more detail, and whether you are building with MSVC or with MinGW-w64. Also, please use -X -Dnar.cores=1
on the mvn
command line and capture the output in a file, and include that file as an attachment with your followup post.
Thanks!
@jcflack - Thank you for your reply. I am still facing the same error. Below is my detailed description of environment. Also please find attached the output of "mvn clean install -X -Dnar.cores=1" in the output file named "ErrorLog.txt"
OS - Windows 7 - 64 bit Postgres version - 9.6.5 PL/Java version - 1.5.1-BETA1 Build type - MS Visual studio version 10 Javac version - 1.8.0_121 Maven version - 3.0.3 Git version - 2.14.2.windows.2 ErrorLog.txt
Closing with release of 1.5.1.
I see there was an unanswered comment on this issue about a failed link when building with MSVC. But I have recent reports of successful 1.5.1 builds with MSVC, so I have to hope that was a fluke that got resolved.
Please add support for PostgreSQL 9.6. Thanks!