[Pljava-dev] problem building against 9.5

From: akshunj <rickjackson001(at)gmail(dot)com>
To:
Subject: [Pljava-dev] problem building against 9.5
Date: 2015-12-29 07:34:14
Message-ID: 1451374454965-5879391.post@n5.nabble.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pljava-dev

Hi,

I am trying to build against 9.5, but am running into some problems below.
Any ideas? I am able to build against 9.4 without issue.

Thanks.

Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5;
2015-11-10T11:41:47-05:00)
Maven home: /usr/local/maven
Java version: 1.7.0_91, vendor: Oracle Corporation
Java home: /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.91.x86_64/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "2.6.32-431.el6.x86_64", arch: "amd64", family:
"unix"

[WARNING]
/usr/local/maven-nar-plugin/pljava5/pljava/pljava-so/src/main/c/XactListener.c:30:
warning: enumeration value ‘XACT_EVENT_PRE_PREPARE’ not handled in switch
[ERROR] In file included from
/usr/pgsql-9.5/include/server/port/atomics.h:119,
[ERROR] from
/usr/pgsql-9.5/include/server/storage/lwlock.h:19,
[ERROR] from
/usr/pgsql-9.5/include/server/storage/lock.h:18,
[ERROR] from
/usr/pgsql-9.5/include/server/access/genam.h:20,
[ERROR] from
/usr/pgsql-9.5/include/server/nodes/execnodes.h:17,
[ERROR] from
/usr/pgsql-9.5/include/server/executor/execdesc.h:18,
[ERROR] from
/usr/pgsql-9.5/include/server/executor/executor.h:17,
[ERROR] from /usr/pgsql-9.5/include/server/funcapi.h:21,
[ERROR] from
/usr/local/maven-nar-plugin/pljava5/pljava/pljava-so/src/main/include/pljava/backports.h:46,
[ERROR] from
/usr/local/maven-nar-plugin/pljava5/pljava/pljava-so/src/main/c/backports.c:9:
[ERROR] /usr/pgsql-9.5/include/server/port/atomics/generic.h: In function
‘pg_atomic_add_fetch_u32_impl’:
[WARNING] /usr/pgsql-9.5/include/server/port/atomics/generic.h:238: warning:
conversion to ‘uint32’ from ‘int32’ may change the sign of the result
[ERROR] /usr/pgsql-9.5/include/server/port/atomics/generic.h: In function
‘pg_atomic_sub_fetch_u32_impl’:
[WARNING] /usr/pgsql-9.5/include/server/port/atomics/generic.h:247: warning:
conversion to ‘uint32’ from ‘int32’ may change the sign of the result
[ERROR] /usr/pgsql-9.5/include/server/port/atomics/generic.h: In function
‘pg_atomic_add_fetch_u64_impl’:
[WARNING] /usr/pgsql-9.5/include/server/port/atomics/generic.h:372: warning:
conversion to ‘long unsigned int’ from ‘int64’ may change the sign of the
result
[ERROR] /usr/pgsql-9.5/include/server/port/atomics/generic.h: In function
‘pg_atomic_sub_fetch_u64_impl’:
[WARNING] /usr/pgsql-9.5/include/server/port/atomics/generic.h:381: warning:
conversion to ‘long unsigned int’ from ‘int64’ may change the sign of the
result
[ERROR]
/usr/local/maven-nar-plugin/pljava5/pljava/pljava-so/src/main/c/type/byte_array.c:
In function ‘_byte_array_coerceDatum’:
[WARNING]
/usr/local/maven-nar-plugin/pljava5/pljava/pljava-so/src/main/c/type/byte_array.c:24:
warning: conversion to ‘jsize’ from ‘uint32’ may change the sign of the
result
[ERROR]
/usr/local/maven-nar-plugin/pljava5/pljava/pljava-so/src/main/c/type/byte_array.c:
In function ‘_byte_array_coerceObject’:
[WARNING]
/usr/local/maven-nar-plugin/pljava5/pljava/pljava-so/src/main/c/type/byte_array.c:42:
warning: conversion to ‘Size’ from ‘int32’ may change the sign of the result
[WARNING]
/usr/local/maven-nar-plugin/pljava5/pljava/pljava-so/src/main/c/type/byte_array.c:57:
warning: conversion to ‘Size’ from ‘int32’ may change the sign of the result
[INFO] Core 3 interrupted
[INFO] Core 3 interrupted
[INFO] 52 files were compiled.
[INFO] 52 files were compiled.
[INFO]
------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] PostgreSQL PL/Java ................................. SUCCESS [ 1.149
s]
[INFO] PL/Java API ........................................ SUCCESS [ 1.991
s]
[INFO] PL/Java backend Java code .......................... SUCCESS [ 2.256
s]
[INFO] PL/Java backend native code ........................ FAILURE [ 15.875
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

--
View this message in context: http://postgresql.nabble.com/problem-building-against-9-5-tp5879391.html
Sent from the PL/Java mailing list archive at Nabble.com.
_______________________________________________
Pljava-dev mailing list
Pljava-dev(at)lists(dot)pgfoundry(dot)org
http://lists.pgfoundry.org/mailman/listinfo/pljava-dev

Responses

Browse pljava-dev by date

  From Date Subject
Next Message Chapman Flack 2015-12-29 18:11:01 Re: [Pljava-dev] problem building against 9.5
Previous Message Chapman Flack 2015-12-28 18:45:20 [Pljava-dev] the archive produced by pljava-packaging