YEESSS!!!!
OK, it is now narrowed down to be the Makefile or some variable that is
not set correctly.
Running the simplest default config, I ran:
./compile.pl
./assemble.pl
and.....
.
.
.
[INFO] Building tar: /root/opennms-1.12.9-1/target/opennms-1.12.9.tar.gz
[INFO]
[INFO] --- maven-install-plugin:2.3.1:install (default-install) @
opennms-full-assembly ---
[INFO] Installing /root/opennms-1.12.9-1/opennms-full-assembly/pom.xml
to
/root/.m2/repository/org/opennms/opennms-full-assembly/1.12.9/opennms-full-assembly-1.12.9.pom
[INFO] Installing /root/opennms-1.12.9-1/target/opennms-1.12.9.tar.gz to
/root/.m2/repository/org/opennms/opennms-full-assembly/1.12.9/opennms-full-assembly-1.12.9.tar.gz
[INFO]
------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] OpenNMS Installation Utilities .................... SUCCESS [6.534s]
[INFO] OpenNMS Assemblies ................................ SUCCESS [0.295s]
[INFO] OpenNMS HTTP Remoting Backend ..................... SUCCESS [5.788s]
[INFO] OpenNMS Config Generator (One Jar) ................ SUCCESS [2.734s]
[INFO] OpenNMS Remote Poller (One Jar) ................... SUCCESS [11.485s]
[INFO] OpenNMS Remote Poller (Standalone) ................ SUCCESS [5.500s]
[INFO] OpenNMS RXTX Assembly ............................. SUCCESS [0.435s]
[INFO] OpenNMS Version Information ....................... SUCCESS [0.280s]
[INFO] OpenNMS Web Application (Full) .................... SUCCESS [17.545s]
[INFO] OpenNMS Schema Definitions ........................ SUCCESS [0.417s]
[INFO] OpenNMS Documentation ............................. SUCCESS [44.128s]
[INFO] OpenNMS Base Assembly ............................. SUCCESS
[1:23.090s]
[INFO] OpenNMS Full Assembly ............................. SUCCESS
[1:39.142s]
[INFO]
------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 4:39.646s
[INFO] Finished at: Mon Sep 01 22:41:56 GMT 2014
[INFO] Final Memory: 665M/919M
[INFO]
------------------------------------------------------------------------
[INFO] finished successfully
Well, since this works, I should be able to troubleshoot the Makefile.
However, the happy part of this is that I can start using OpenNMS again. :-)
P.
PS - Thank you to all for their suggestions. IF anybody is willing to
assist with a new Makefile, I'm always happy for the help. :-) (I have a
lot going on.... and anything that expedites any process is welcome...)
PPS - I'll check the docs on this but is the install directory still
defined by OPENNMS_HOME ?
On 09/01/2014 17:34, Paul Pathiakis wrote:
In the meantime,
I am having a go at just building the source with compile.pl and
bypassing the Makefile and everything else for now.
If it works, I'm going to try a straight up assemble.pl from there.
I'd like to see if I get the same dysfunctional download gaps that I
get with http downloads failing intermittently and kills the build
causing me to restart.
Also, I'd like to see if there's something that is getting confused on
the build from the Makefile that has been suggested.
*shrug* poking around in the dark for now.
P.
On 09/01/2014 16:58, Paul Pathiakis wrote:
Ron,
Same problem
I've done a full rebuild after a clean... (Yes, I went that
far....). It still dies in the same place. :-(
So, for you (or anyone watching this thread), what can I produce in
terms of a debug flags, debug output, build output or anything else
that might give us a clue as to what has gone awry?
I did send a typescript to the list but it exceeded 500KB. :-( It
bounced to the moderator.
P.
On 08/31/2014 23:05, Ronald Roskens wrote:
Paul,
The problem isn't OpenNMS, but the Makefile. If you look at your
output again, search for ${WRKSRC}, and you'll notice it being a
path component instead of the beginning of a path.
Your configuring maven to use an alternate global repository
location (patching maven/conf/settings.xml), but that's botched due
to the do-build target where environment variables JAVA_HOME and
WRKSRC are only set for the compile.pl command, and not for assemble.pl.
Try using this in your Makefile and see if it gets further:
----
post-patch:
${FIND} ${WRKSRC} -name "*.orig" -delete
COMPILE_ARGS= --java-home=${JAVA_HOME} -Dbuild=all
-Dopennms.home="${PREFIX}/${PORTNAME}"
do-build:
@cd ${WRKSRC} && \
./compile.pl ${COMPILE_ARGS} && \
./assemble.pl -Dbuild.profile=full ${COMPILE_ARGS}
----
A couple of other notes:
Most of OpenNMS is under the GPLv3 license. There are a few files
that are not, see the top level LICENSE file for the list. Not sure
how to flag it in the makefile to indicate multiple licenses.
You might want to look at splitting OpenNMS into multiple packages
to be installed to make it comparable to other ports. See the debian
build files, and the tools/packages/opennms/opennms.spec for
groupings those two build systems use.
Good luck!
Ron
------------------------------------------------------------------------------
Slashdot TV.
Video for Nerds. Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ
opennms-devel mailing list
To *unsubscribe* or change your subscription options, see the bottom of this
page:
https://lists.sourceforge.net/lists/listinfo/opennms-devel
------------------------------------------------------------------------------
Slashdot TV.
Video for Nerds. Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ
opennms-devel mailing list
To *unsubscribe* or change your subscription options, see the bottom of this
page:
https://lists.sourceforge.net/lists/listinfo/opennms-devel
------------------------------------------------------------------------------
Slashdot TV.
Video for Nerds. Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ
opennms-devel mailing list
To *unsubscribe* or change your subscription options, see the bottom of this
page:
https://lists.sourceforge.net/lists/listinfo/opennms-devel
------------------------------------------------------------------------------
Slashdot TV.
Video for Nerds. Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ
opennms-devel mailing list
To *unsubscribe* or change your subscription options, see the bottom of this
page:
https://lists.sourceforge.net/lists/listinfo/opennms-devel