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

Reply via email to