public inbox for [email protected]  
help / color / mirror / Atom feed
From: John R Pierce <[email protected]>
Subject: [Pljava-dev] building on centos 6.8
Date: Wed, 22 Feb 2017 12:01:56 -0800
Message-ID: <[email protected]> (raw)

trying to build pljava from the 1.5.0 tarball, on centos 6.latest 64bit, 
with postgres 9.5.5 from the yum.postgresql.org repository...

I have postgresql95-devel and openjdk 1.8.0 devel packages installed, 
along with all the usual g++ etc stuff.

path is set to...

/usr/pgsql-9.5/bin:/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.111-1.b15.el6_8.x86_64/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin

$ java -version
openjdk version "1.8.0_111"
OpenJDK Runtime Environment (build 1.8.0_111-b15)
OpenJDK 64-Bit Server VM (build 25.111-b15, mixed mode)

$ javac -version
javac 1.8.0_111

$ psql -c "select version()"
version
----------------------------------------------------------------------------------------------------------
  PostgreSQL 9.5.5 on x86_64-pc-linux-gnu, compiled by gcc (GCC) 4.4.7 
20120313 (Red Hat 4.4.7-17), 64-bit
(1 row)


mvn clean install   is giving me (after much other output)...


[INFO]
Starting Core 31 with 1 source files...
[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/utils/portal.h:50,
[ERROR]                  from 
/usr/pgsql-9.5/include/server/executor/spi.h:18,
[ERROR]                  from 
/var/lib/pgsql/pljava/pljava-1_5_0/pljava-so/src/main/c/Exception.c:10:
[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: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_sub_fetch_u32_impl’:
[WARNING] /usr/pgsql-9.5/include/server/port/atomics/generic.h:256: 
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:381: 
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:390: 
warning: conversion to ‘long unsigned int’ from ‘int64’ may change the 
sign of the result
[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/utils/portal.h:50,
[ERROR]                  from 
/usr/pgsql-9.5/include/server/executor/spi.h:18,
[ERROR]                  from 
/var/lib/pgsql/pljava/pljava-1_5_0/pljava-so/src/main/c/type/Relation.c:10:
[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: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_sub_fetch_u32_impl’:
[WARNING] /usr/pgsql-9.5/include/server/port/atomics/generic.h:256: 
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:381: 
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:390: 
warning: conversion to ‘long unsigned int’ from ‘int64’ may change the 
sign of the result
[ERROR] 
/var/lib/pgsql/pljava/pljava-1_5_0/pljava-so/src/main/c/type/Array.c: In 
function ‘createArrayType’:
[WARNING] 
/var/lib/pgsql/pljava/pljava-1_5_0/pljava-so/src/main/c/type/Array.c:31: 
warning: conversion to ‘size_t’ from ‘jsize’ may change the sign of the 
result
[WARNING] 
/var/lib/pgsql/pljava/pljava-1_5_0/pljava-so/src/main/c/type/Array.c:37: 
warning: conversion to ‘long unsigned int’ from ‘int’ may change the 
sign of the result
[WARNING] 
/var/lib/pgsql/pljava/pljava-1_5_0/pljava-so/src/main/c/type/Array.c:58: 
warning: conversion to ‘long unsigned int’ from ‘int’ may change the 
sign of the result
[ERROR] 
/var/lib/pgsql/pljava/pljava-1_5_0/pljava-so/src/main/c/type/Array.c: In 
function ‘_Array_coerceDatum’:
[WARNING] 
/var/lib/pgsql/pljava/pljava-1_5_0/pljava-so/src/main/c/type/Array.c:73: 
warning: conversion to ‘long unsigned int’ from ‘int’ may change the 
sign of the result
[WARNING] 
/var/lib/pgsql/pljava/pljava-1_5_0/pljava-so/src/main/c/type/Array.c:73: 
warning: conversion to ‘long unsigned int’ from ‘int32’ may change the 
sign of the result
[WARNING] 
/var/lib/pgsql/pljava/pljava-1_5_0/pljava-so/src/main/c/type/Array.c:74: 
warning: conversion to ‘long unsigned int’ from ‘int’ may change the 
sign of the result
[ERROR] 
/var/lib/pgsql/pljava/pljava-1_5_0/pljava-so/src/main/c/type/Array.c: In 
function ‘_Array_coerceObject’:
[WARNING] 
/var/lib/pgsql/pljava/pljava-1_5_0/pljava-so/src/main/c/type/Array.c:108: 
warning: conversion to ‘long unsigned int’ from ‘int’ may change the 
sign of the result
[WARNING] 
/var/lib/pgsql/pljava/pljava-1_5_0/pljava-so/src/main/c/type/Array.c:108: 
warning: conversion to ‘long unsigned int’ from ‘int’ may change the 
sign of the result

(lots more similar errors, then the summary says...)

[INFO] 
------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] PostgreSQL PL/Java ................................. SUCCESS [  
0.813 s]
[INFO] PL/Java API ........................................ SUCCESS [  
1.714 s]
[INFO] PL/Java backend Java code .......................... SUCCESS [  
1.641 s]
[INFO] PL/Java backend native code ........................ FAILURE [ 
10.146 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: 14.963 s
[INFO] Finished at: 2017-02-22T11:54:31-08:00
[INFO] Final Memory: 37M/2137M
[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]



-- 
john r pierce, recycling bits in santa cruz


_______________________________________________
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] building on centos 6.8
  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