public inbox for [email protected]  
help / color / mirror / Atom feed
From: Chapman Flack <[email protected]>
Subject: Re: [Pljava-dev] problem building against 9.5
Date: Wed, 30 Dec 2015 11:55:53 -0500
Message-ID: <[email protected]> (raw)
In-Reply-To: <[email protected]>
References: <[email protected]>
	<[email protected]>

Hi,

Is there any chance what you included below was just a copy/paste of
part of the output, not including all the errors/warnings?

Thanks,
-Chap

On 12/29/15 13:11, Chapman Flack wrote:
> Hi,
> 
> I'm assuming your compiler is gcc, but I can't tell the version from
> the information you've attached. It's puzzling that the build aborted,
> because the only actual issues I see reported are warnings (all the
> [ERROR] lines are just giving location for the warnings, which is a
> bit confusing, but seems to be how gcc does things).
> 
> Unless I've gone crosseyed and missed an actual error in there.
> 
> I see the XACT_EVENT_PRE_PREPARE warning, which is expected, and
> nothing else except sign-conversion warnings, which are a nuisance
> (fixing them mostly would have to be done in the PostgreSQL sources).
> They do not ordinarily cause gcc to abort. Do you have any compiler
> environment variables or the like in your build environment that
> would be telling gcc to treat warnings as errors?
> 
> Have you tried  mvn -Pwnosign -Dnar.cores=1  clean install
> 
> ?
> 
> Regards,
> -Chap
> 
> On 12/29/15 02:34, akshunj wrote:
>> 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
>> [email protected]
>> http://lists.pgfoundry.org/mailman/listinfo/pljava-dev
>>
> _______________________________________________
> Pljava-dev mailing list
> [email protected]
> http://lists.pgfoundry.org/mailman/listinfo/pljava-dev
> 
_______________________________________________
Pljava-dev mailing list
[email protected]
http://lists.pgfoundry.org/mailman/listinfo/pljava-dev

view thread (6+ messages)  latest in thread

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected]
  Subject: Re: [Pljava-dev] problem building against 9.5
  In-Reply-To: <[email protected]>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox