MIME-Version: 1.0 In-Reply-To: References: From: Dan Bikle Date: Wed, 6 Jul 2016 19:31:18 -0700 Message-ID: Subject: Re: [Pljava-dev] mvn clean install fails for PL/Java on Postgres 9.5 Content-Type: multipart/mixed; boundary="===============7266920174778255473==" --===============7266920174778255473== Content-Type: multipart/alternative; boundary=001a1145beb01ed5af0537027b62 --001a1145beb01ed5af0537027b62 Content-Type: text/plain; charset=UTF-8 Hello world, I am working on installing PL/Java on Postgres 9.5. My setup is Postgres 9.5 on Centos 6.5 with Oracle-Java JDK 1.8.0_92 My install of Postgres was done from these yum-packages: postgresql95 postgresql95-devel postgresql95-libs postgresql95-server I list below a summary of my steps so far: su - postgres git clone https://github.com/tada/pljava git checkout V1_5_0 mvn clean install That seemed to work until I saw this: [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] PostgreSQL PL/Java ................................. SUCCESS [ 16.707 s] [INFO] PL/Java API ........................................ SUCCESS [ 8.771 s] [INFO] PL/Java backend Java code .......................... SUCCESS [ 4.000 s] [INFO] PL/Java backend native code ........................ FAILURE [ 13.560 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: 52.707 s [INFO] Finished at: 2016-07-06T18:09:40-07:00 [INFO] Final Memory: 38M/222M [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 -rf :pljava-so I would welcome any clues and/or opinions about how to best debug this so that mvn clean install will run error free. On Wed, Jul 6, 2016 at 7:26 PM, Dan Bikle wrote: > Hello world, > > I am working on installing PL/Java on Postgres 9.5. > > My setup is Postgres 9.5 on Centos 6.5 with Oracle-Java JDK 1.8.0_92 > > My install of Postgres was done from these yum-packages: > > postgresql95 > postgresql95-devel > postgresql95-libs > postgresql95-server > > I list below a summary of my steps so far: > > su - postgres > git clone https://github.com/tada/pljava > git checkout V1_5_0 > mvn clean install > > That seemed to work until I saw this: > > [INFO] ------------------------------------------------------------ > ------------ > [INFO] Reactor Summary: > [INFO] > [INFO] PostgreSQL PL/Java ................................. SUCCESS [ > 16.707 s] > [INFO] PL/Java API ........................................ SUCCESS > [ 8.771 s] > [INFO] PL/Java backend Java code .......................... SUCCESS [ > 4.000 s] > [INFO] PL/Java backend native code ........................ FAILURE [ > 13.560 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: 52.707 s > [INFO] Finished at: 2016-07-06T18:09:40-07:00 > [INFO] Final Memory: 38M/222M > [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 -rf :pljava-so > > I would welcome any clues and/or opinions about how to best debug this so > that mvn clean install will run error free. > > --001a1145beb01ed5af0537027b62 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hello world,

I am worki= ng on installing PL/Java on Postgres 9.5.

My setup is Postgres 9.5 o= n Centos 6.5 with Oracle-Java JDK 1.8.0_92

My install of Postgres wa= s done from these yum-packages:

=C2=A0=C2=A0=C2=A0 postgresql95
= =C2=A0=C2=A0=C2=A0 postgresql95-devel
=C2=A0=C2=A0=C2=A0 postgresql95-li= bs
=C2=A0=C2=A0=C2=A0 postgresql95-server

I list below a summary = of my steps so far:

=C2=A0=C2=A0=C2=A0 su - postgres
=C2=A0=C2=A0= =C2=A0 git clone https://github.= com/tada/pljava
=C2=A0=C2=A0=C2=A0 git checkout V1_5_0
=C2=A0=C2= =A0=C2=A0 mvn clean install

That seemed to work until I saw this:
=C2=A0=C2=A0=C2=A0 [INFO] --------------------------------------------= ----------------------------
=C2=A0=C2=A0=C2=A0 [INFO] Reactor Summary:<= br>=C2=A0=C2=A0=C2=A0 [INFO]
=C2=A0=C2=A0=C2=A0 [INFO] PostgreSQL PL/Ja= va ................................. SUCCESS [ 16.707 s]
=C2=A0=C2=A0=C2= =A0 [INFO] PL/Java API ........................................ SUCCESS [= =C2=A0 8.771 s]
=C2=A0=C2=A0=C2=A0 [INFO] PL/Java backend Java code ....= ...................... SUCCESS [=C2=A0 4.000 s]
=C2=A0=C2=A0=C2=A0 [INFO= ] PL/Java backend native code ........................ FAILURE [ 13.560 s]<= br>=C2=A0=C2=A0=C2=A0 [INFO] PL/Java Deploy ...............................= ...... SKIPPED
=C2=A0=C2=A0=C2=A0 [INFO] PL/Java Ant tasks .............= ..................... SKIPPED
=C2=A0=C2=A0=C2=A0 [INFO] PL/Java examples= ................................... SKIPPED
=C2=A0=C2=A0=C2=A0 [INFO] P= L/Java packaging .................................. SKIPPED
=C2=A0=C2=A0= =C2=A0 [INFO] -------------------------------------------------------------= -----------
=C2=A0=C2=A0=C2=A0 [INFO] BUILD FAILURE
=C2=A0=C2=A0=C2= =A0 [INFO] ----------------------------------------------------------------= --------
=C2=A0=C2=A0=C2=A0 [INFO] Total time: 52.707 s
=C2=A0=C2=A0= =C2=A0 [INFO] Finished at: 2016-07-06T18:09:40-07:00
=C2=A0=C2=A0=C2=A0 = [INFO] Final Memory: 38M/222M
=C2=A0=C2=A0=C2=A0 [INFO] ----------------= --------------------------------------------------------
=C2=A0=C2=A0=C2= =A0
=C2=A0=C2=A0=C2=A0 [ERROR] Failed to execute goal
=C2=A0=C2=A0= =C2=A0 com.github.maven-nar:nar-maven-plugin:3.2.3:nar-compile
=C2=A0=C2= =A0=C2=A0 (default-nar-compile) on project pljava-so: NAR: Compile failed: = gcc
=C2=A0=C2=A0=C2=A0 failed with return code 1 -> [Help 1]
=C2= =A0=C2=A0=C2=A0
=C2=A0=C2=A0=C2=A0 [ERROR]
=C2=A0=C2=A0=C2=A0 [ERRO= R] To see the full stack trace of the errors, re-run Maven with the -e swit= ch.
=C2=A0=C2=A0=C2=A0 [ERROR] Re-run Maven using the -X switch to enabl= e full debug logging.
=C2=A0=C2=A0=C2=A0 [ERROR]
=C2=A0=C2=A0=C2=A0 = [ERROR] For more information about the errors and possible solutions, pleas= e read the following articles:
=C2=A0=C2=A0=C2=A0 [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException=
=C2=A0=C2=A0=C2=A0 [ERROR]
=C2=A0=C2=A0=C2=A0 [ERROR] After cor= recting the problems, you can resume the build with the command
=C2=A0= =C2=A0=C2=A0 [ERROR]=C2=A0=C2=A0 mvn <goals> -rf :pljava-so

I = would welcome any clues and/or opinions about how to best debug this so tha= t mvn clean install will run error free.


On = Wed, Jul 6, 2016 at 7:26 PM, Dan Bikle <bikle101@gmail.com>= wrote:
Hello= world,

I am working on installing PL/Java on Postgres 9.5.

M= y setup is Postgres 9.5 on Centos 6.5 with Oracle-Java JDK 1.8.0_92

= My install of Postgres was done from these yum-packages:

=C2=A0=C2= =A0=C2=A0 postgresql95
=C2=A0=C2=A0=C2=A0 postgresql95-devel
=C2=A0= =C2=A0=C2=A0 postgresql95-libs
=C2=A0=C2=A0=C2=A0 postgresql95-server
I list below a summary of my steps so far:

=C2=A0=C2=A0=C2=A0 s= u - postgres
=C2=A0=C2=A0=C2=A0 git clone https://github.com/tada/pljava
=C2=A0= =C2=A0=C2=A0 git checkout V1_5_0
=C2=A0=C2=A0=C2=A0 mvn clean install
That seemed to work until I saw this:

=C2=A0=C2=A0=C2=A0 [INFO]= ------------------------------
------------------------------------------
=C2=A0=C2=A0=C2=A0 [INFO] Reactor Summ= ary:
=C2=A0=C2=A0=C2=A0 [INFO]
=C2=A0=C2=A0=C2=A0 [INFO] PostgreSQL = PL/Java ..............................
... SUCCESS [ 16.707 s]
=C2=A0=C2=A0=C2=A0 [INFO] PL/J= ava API ..............................
.......... SUCCESS [=C2=A0 8.771 s]
=C2=A0=C2=A0=C2=A0= [INFO] PL/Java backend Java code .......................... SUCCESS [=C2= =A0 4.000 s]
=C2=A0=C2=A0=C2=A0 [INFO] PL/Java backend native code .....= ................... FAILURE [ 13.560 s]
=C2=A0=C2=A0=C2=A0 [INFO] PL/Jav= a Deploy ..............................
....... SKIPPED
=C2=A0=C2=A0=C2=A0 [INFO] PL/Java Ant= tasks ..............................
.... SKIPPED
=C2=A0=C2=A0=C2=A0 [INFO] PL/Java examples= ..............................
..... SKIPPED
=C2=A0=C2=A0=C2=A0 [INFO] PL/Java packaging ...= ...........................
.... SKIPPED
=C2=A0=C2=A0=C2=A0 [INFO] --------------------------= ----
----------------= --------------------= ------
=C2=A0=C2=A0=C2=A0 [INFO] BUILD FAILURE
=C2=A0=C2=A0=C2=A0 [IN= FO] ------------------------------
------------------------------------------
=C2=A0=C2=A0=C2=A0 [INFO] Total tim= e: 52.707 s
=C2=A0=C2=A0=C2=A0 [INFO] Finished at: 2016-07-06T18:09:40-0= 7:00
=C2=A0=C2=A0=C2=A0 [INFO] Final Memory: 38M/222M
=C2=A0=C2=A0=C2= =A0 [INFO] ------------------------------
------------------------------------------
=C2=A0=C2=A0=C2=A0
=C2= =A0=C2=A0=C2=A0 [ERROR] Failed to execute goal
=C2=A0=C2=A0=C2=A0 com.gi= thub.maven-nar:nar-
m= aven-plugin:3.2.3:nar-compile
=C2=A0=C2=A0=C2=A0 (default-nar-compile) o= n project pljava-so: NAR: Compile failed: gcc
=C2=A0=C2=A0=C2=A0 failed = with return code 1 -> [Help 1]
=C2=A0=C2=A0=C2=A0
=C2=A0=C2=A0=C2= =A0 [ERROR]
=C2=A0=C2=A0=C2=A0 [ERROR] To see the full stack trace of t= he errors, re-run Maven with the -e switch.
=C2=A0=C2=A0=C2=A0 [ERROR] R= e-run Maven using the -X switch to enable full debug logging.
=C2=A0=C2= =A0=C2=A0 [ERROR]
=C2=A0=C2=A0=C2=A0 [ERROR] For more information about= the errors and possible solutions, please read the following articles:
= =C2=A0=C2=A0=C2=A0 [ERROR] [Help 1] http://cwiki= .apache.org/confluence/display/MAVEN/MojoExecutionException
=C2=A0= =C2=A0=C2=A0 [ERROR]
=C2=A0=C2=A0=C2=A0 [ERROR] After correcting the pr= oblems, you can resume the build with the command
=C2=A0=C2=A0=C2=A0 [ER= ROR]=C2=A0=C2=A0 mvn <goals> -rf :pljava-so

I would welcome an= y clues and/or opinions about how to best debug this so that mvn clean inst= all will run error free.


--001a1145beb01ed5af0537027b62-- --===============7266920174778255473== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Pljava-dev mailing list Pljava-dev@lists.pgfoundry.org http://lists.pgfoundry.org/mailman/listinfo/pljava-dev --===============7266920174778255473==--