[prev in list] [next in list] [prev in thread] [next in thread] 

List:       opennms-install
Subject:    [opennms-install] opennms install failing
From:       Peter Robbins <probbins () relia ! net>
Date:       2012-03-07 20:43:42
Message-ID: CB7D168E.204C0%probbins () relia ! net
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Macintosh System Info:
Model Name: iMac

  Model Identifier: iMac8,1

  Processor Name: Intel Core 2 Duo

  Processor Speed: 2.4 GHz

  Number of Processors: 1

  Total Number of Cores: 2

  L2 Cache: 6 MB

  Memory: 4 GB

  Bus Speed: 1.07 GHz

  Boot ROM Version: IM81.00C1.B00

  SMC Version (system): 1.29f1


Fink installer system info:
Package manager version: 0.32.3
Distribution version: selfupdate-rsync Wed Mar  7 12:31:48 2012, 10.7,
x86_64
Trees: local/main stable/main unstable/main
Xcode: 4.1
Max. Fink build jobs:  1


Install Error:
[INFO] 
------------------------------------------------------------------------
[INFO] Building OpenNMS Poller
[INFO]    task-segment: [clean, install]
[INFO] 
------------------------------------------------------------------------
[INFO] [clean:clean {execution: default-clean}]
[INFO] [site:attach-descriptor {execution: default-attach-descriptor}]
[INFO] Preparing source:jar
[WARNING] Removing: jar from forked lifecycle, to prevent recursive
invocation.
[INFO] No goals needed for project - skipping
[INFO] [source:jar {execution: default}]
[INFO] [install:install {execution: default-install}]
[INFO] Installing 
/sw/src/fink.build/opennms-1.8.16-31/opennms-1.8.16-1/source/features/poller
/pom.xml to 
/sw/src/fink.build/opennms-1.8.16-31/opennms-1.8.16-1/source/../../repositor
y/org/opennms/features/org.opennms.features.poller/1.8.16/org.opennms.featur
es.poller-1.8.16.pom
[INFO] 
------------------------------------------------------------------------
[INFO] Building OpenNMS Poller API
[INFO]    task-segment: [clean, install]
[INFO] 
------------------------------------------------------------------------
[INFO] [clean:clean {execution: default-clean}]
[INFO] [resources:resources {execution: default-resources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory
/sw/src/fink.build/opennms-1.8.16-31/opennms-1.8.16-1/source/features/poller
/api/src/main/resources
[INFO] [compiler:compile {execution: default-compile}]
[INFO] Compiling 8 source files to
/sw/src/fink.build/opennms-1.8.16-31/opennms-1.8.16-1/source/features/poller
/api/target/classes
[INFO] [resources:testResources {execution: default-testResources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory
/sw/src/fink.build/opennms-1.8.16-31/opennms-1.8.16-1/source/features/poller
/api/src/test/resources
[INFO] [compiler:testCompile {execution: default-testCompile}]
[INFO] No sources to compile
[INFO] [surefire:test {execution: default-test}]
[INFO] Tests are skipped.
[INFO] [bundle:bundle {execution: default-bundle}]
[INFO] 
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] 
------------------------------------------------------------------------
[INFO] Error calculating classpath for project MavenProject:
org.opennms.features.poller:org.opennms.features.poller.api:1.8.16 @
/sw/src/fink.build/opennms-1.8.16-31/opennms-1.8.16-1/source/features/poller
/api/pom.xml

Embedded error: error in opening zip file
[INFO] 
------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Error calculating
classpath for project MavenProject:
org.opennms.features.poller:org.opennms.features.poller.api:1.8.16 @
/sw/src/fink.build/opennms-1.8.16-31/opennms-1.8.16-1/source/features/poller
/api/pom.xml
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLife
cycleExecutor.java:719)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle
(DefaultLifecycleExecutor.java:556)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifec
ycleExecutor.java:535)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFail
ures(DefaultLifecycleExecutor.java:387)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(Defa
ultLifecycleExecutor.java:348)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycle
Executor.java:180)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.plugin.MojoExecutionException: Error calculating
classpath for project MavenProject:
org.opennms.features.poller:org.opennms.features.poller.api:1.8.16 @
/sw/src/fink.build/opennms-1.8.16-31/opennms-1.8.16-1/source/features/poller
/api/pom.xml
at org.apache.felix.bundleplugin.BundlePlugin.execute(BundlePlugin.java:231)
at org.apache.felix.bundleplugin.BundlePlugin.execute(BundlePlugin.java:218)
at 
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManage
r.java:490)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLife
cycleExecutor.java:694)
... 17 more
Caused by: java.util.zip.ZipException: error in opening zip file
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(ZipFile.java:127)
at java.util.zip.ZipFile.<init>(ZipFile.java:143)
at aQute.lib.osgi.ZipResource.build(ZipResource.java:39)
at aQute.lib.osgi.ZipResource.build(ZipResource.java:32)
at aQute.lib.osgi.Jar.<init>(Jar.java:35)
at 
org.apache.felix.bundleplugin.BundlePlugin.getClasspath(BundlePlugin.java:68
5)
at org.apache.felix.bundleplugin.BundlePlugin.execute(BundlePlugin.java:227)
... 20 more
[INFO] 
------------------------------------------------------------------------
[INFO] Total time: 1 minute 46 seconds
[INFO] Finished at: Wed Mar 07 13:32:18 MST 2012
[INFO] Final Memory: 136M/388M
[INFO] 
------------------------------------------------------------------------
[ERROR] child exited with value 1
### execution of /tmp/fink.br5GZ failed, exit code 1
Removing runtime build-lock...
Removing build-lock package...
/sw/bin/dpkg-lockwait -r fink-buildlock-opennms-1.8.16-31
(Reading database ... 25381 files and directories currently installed.)
Removing fink-buildlock-opennms-1.8.16-31 ...
Failed: phase compiling: opennms-1.8.16-31 failed

As per instructions on the opennms site, I reduced the number of build jobs
from two (2) to one (1)

Not sure where to go from here. I think I know what the "incalculable" class
path should be:
/sw/src/fink.build/opennms-1.8.16-31/opennms-1.8.16-1/source/features/poller
/api/target/classes/org/opennms/netmgt/poller

But I have no idea how or where to "hard code" that into the installer pom.

Any help is greatly appreciated.

Thanks
-- Pete




[Attachment #5 (text/html)]

<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; \
-webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; \
font-family: Calibri, sans-serif; "><div><div><div>Macintosh System \
Info:&nbsp;</div><div><p style="margin: 0.0px 0.0px 0.0px 141.8px; text-indent: \
-141.8px; font: 11.0px 'Lucida Grande'">Model Name:<span class="Apple-tab-span" \
style="white-space:pre">	</span>iMac</p> <p style="margin: 0.0px 0.0px 0.0px 141.8px; \
text-indent: -141.8px; font: 11.0px 'Lucida Grande'">&nbsp; Model Identifier:<span \
class="Apple-tab-span" style="white-space:pre">	</span>iMac8,1</p> <p style="margin: \
0.0px 0.0px 0.0px 141.8px; text-indent: -141.8px; font: 11.0px 'Lucida \
Grande'">&nbsp; Processor Name:<span class="Apple-tab-span" \
style="white-space:pre">	</span>Intel Core 2 Duo</p> <p style="margin: 0.0px 0.0px \
0.0px 141.8px; text-indent: -141.8px; font: 11.0px 'Lucida Grande'">&nbsp; Processor \
Speed:<span class="Apple-tab-span" style="white-space:pre">	</span>2.4 GHz</p> <p \
style="margin: 0.0px 0.0px 0.0px 141.8px; text-indent: -141.8px; font: 11.0px 'Lucida \
Grande'">&nbsp; Number of Processors:<span class="Apple-tab-span" \
style="white-space:pre">	</span>1</p> <p style="margin: 0.0px 0.0px 0.0px 141.8px; \
text-indent: -141.8px; font: 11.0px 'Lucida Grande'">&nbsp; Total Number of \
Cores:<span class="Apple-tab-span" style="white-space:pre">	</span>2</p> <p \
style="margin: 0.0px 0.0px 0.0px 141.8px; text-indent: -141.8px; font: 11.0px 'Lucida \
Grande'">&nbsp; L2 Cache:<span class="Apple-tab-span" \
style="white-space:pre">	</span>6 MB</p> <p style="margin: 0.0px 0.0px 0.0px 141.8px; \
text-indent: -141.8px; font: 11.0px 'Lucida Grande'">&nbsp; Memory:<span \
class="Apple-tab-span" style="white-space:pre">	</span>4 GB</p> <p style="margin: \
0.0px 0.0px 0.0px 141.8px; text-indent: -141.8px; font: 11.0px 'Lucida \
Grande'">&nbsp; Bus Speed:<span class="Apple-tab-span" \
style="white-space:pre">	</span>1.07 GHz</p> <p style="margin: 0.0px 0.0px 0.0px \
141.8px; text-indent: -141.8px; font: 11.0px 'Lucida Grande'">&nbsp; Boot ROM \
Version:<span class="Apple-tab-span" \
style="white-space:pre">	</span>IM81.00C1.B00</p> <p style="margin: 0.0px 0.0px 0.0px \
141.8px; text-indent: -141.8px; font: 11.0px 'Lucida Grande'">&nbsp; SMC Version \
(system):<span class="Apple-tab-span" \
style="white-space:pre">	</span>1.29f1</p></div><div><br></div><div>Fink installer \
system info:</div><div><div><div>Package manager version: \
0.32.3</div><div>Distribution version: selfupdate-rsync Wed Mar &nbsp;7 12:31:48 \
2012, 10.7, x86_64</div><div>Trees: local/main stable/main \
unstable/main</div><div>Xcode: 4.1</div><div>Max. Fink build jobs: \
&nbsp;1</div></div></div><div><br></div><div><br></div><div>Install \
Error:</div><div><div>[INFO] \
------------------------------------------------------------------------</div><div>[INFO] \
Building OpenNMS Poller</div><div>[INFO] &nbsp; &nbsp;task-segment: [clean, \
install]</div><div>[INFO] \
------------------------------------------------------------------------</div><div>[INFO] \
[clean:clean {execution: default-clean}]</div><div>[INFO] [site:attach-descriptor \
{execution: default-attach-descriptor}]</div><div>[INFO] Preparing \
source:jar</div><div>[WARNING] Removing: jar from forked lifecycle, to prevent \
recursive invocation.</div><div>[INFO] No goals needed for project - \
skipping</div><div>[INFO] [source:jar {execution: default}]</div><div>[INFO] \
[install:install {execution: default-install}]</div><div>[INFO] Installing \
/sw/src/fink.build/opennms-1.8.16-31/opennms-1.8.16-1/source/features/poller/pom.xml \
to /sw/src/fink.build/opennms-1.8.16-31/opennms-1.8.16-1/source/../../repository/org/o \
pennms/features/org.opennms.features.poller/1.8.16/org.opennms.features.poller-1.8.16.pom</div><div>[INFO] \
------------------------------------------------------------------------</div><div>[INFO] \
Building OpenNMS Poller API</div><div>[INFO] &nbsp; &nbsp;task-segment: [clean, \
install]</div><div>[INFO] \
------------------------------------------------------------------------</div><div>[INFO] \
[clean:clean {execution: default-clean}]</div><div>[INFO] [resources:resources \
{execution: default-resources}]</div><div>[INFO] Using 'UTF-8' encoding to copy \
filtered resources.</div><div>[INFO] skip non existing resourceDirectory \
/sw/src/fink.build/opennms-1.8.16-31/opennms-1.8.16-1/source/features/poller/api/src/main/resources</div><div>[INFO] \
[compiler:compile {execution: default-compile}]</div><div>[INFO] Compiling 8 source \
files to /sw/src/fink.build/opennms-1.8.16-31/opennms-1.8.16-1/source/features/poller/api/target/classes</div><div>[INFO] \
[resources:testResources {execution: default-testResources}]</div><div>[INFO] Using \
'UTF-8' encoding to copy filtered resources.</div><div>[INFO] skip non existing \
resourceDirectory /sw/src/fink.build/opennms-1.8.16-31/opennms-1.8.16-1/source/features/poller/api/src/test/resources</div><div>[INFO] \
[compiler:testCompile {execution: default-testCompile}]</div><div>[INFO] No sources \
to compile</div><div>[INFO] [surefire:test {execution: \
default-test}]</div><div>[INFO] Tests are skipped.</div><div>[INFO] [bundle:bundle \
{execution: default-bundle}]</div><div>[INFO] \
------------------------------------------------------------------------</div><div>[ERROR] \
BUILD ERROR</div><div>[INFO] \
------------------------------------------------------------------------</div><div>[INFO] \
Error calculating classpath for project MavenProject: \
org.opennms.features.poller:org.opennms.features.poller.api:1.8.16 @ \
/sw/src/fink.build/opennms-1.8.16-31/opennms-1.8.16-1/source/features/poller/api/pom.xml</div><div><br></div><div>Embedded \
error: error in opening zip file</div><div>[INFO] \
------------------------------------------------------------------------</div><div>[INFO] \
Trace</div><div>org.apache.maven.lifecycle.LifecycleExecutionException: Error \
calculating classpath for project MavenProject: \
org.opennms.features.poller:org.opennms.features.poller.api:1.8.16 @ \
/sw/src/fink.build/opennms-1.8.16-31/opennms-1.8.16-1/source/features/poller/api/pom.xml</div><div><span \
class="Apple-tab-span" style="white-space:pre">	</span>at \
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:719)</div><div><span \
class="Apple-tab-span" style="white-space:pre">	</span>at \
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556)</div><div><span \
class="Apple-tab-span" style="white-space:pre">	</span>at \
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535)</div><div><span \
class="Apple-tab-span" style="white-space:pre">	</span>at \
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)</div><div><span \
class="Apple-tab-span" style="white-space:pre">	</span>at \
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348)</div><div><span \
class="Apple-tab-span" style="white-space:pre">	</span>at \
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)</div><div><span \
class="Apple-tab-span" style="white-space:pre">	</span>at \
org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)</div><div><span \
class="Apple-tab-span" style="white-space:pre">	</span>at \
org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)</div><div><span \
class="Apple-tab-span" style="white-space:pre">	</span>at \
org.apache.maven.cli.MavenCli.main(MavenCli.java:362)</div><div><span \
class="Apple-tab-span" style="white-space:pre">	</span>at \
org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)</div><div><span \
class="Apple-tab-span" style="white-space:pre">	</span>at \
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)</div><div><span \
class="Apple-tab-span" style="white-space:pre">	</span>at \
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)</div><div><span \
class="Apple-tab-span" style="white-space:pre">	</span>at \
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)</div><div><span \
class="Apple-tab-span" style="white-space:pre">	</span>at \
java.lang.reflect.Method.invoke(Method.java:597)</div><div><span \
class="Apple-tab-span" style="white-space:pre">	</span>at \
org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)</div><div><span \
class="Apple-tab-span" style="white-space:pre">	</span>at \
org.codehaus.classworlds.Launcher.launch(Launcher.java:255)</div><div><span \
class="Apple-tab-span" style="white-space:pre">	</span>at \
org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)</div><div><span \
class="Apple-tab-span" style="white-space:pre">	</span>at \
org.codehaus.classworlds.Launcher.main(Launcher.java:375)</div><div>Caused by: \
org.apache.maven.plugin.MojoExecutionException: Error calculating classpath for \
project MavenProject: \
org.opennms.features.poller:org.opennms.features.poller.api:1.8.16 @ \
/sw/src/fink.build/opennms-1.8.16-31/opennms-1.8.16-1/source/features/poller/api/pom.xml</div><div><span \
class="Apple-tab-span" style="white-space:pre">	</span>at \
org.apache.felix.bundleplugin.BundlePlugin.execute(BundlePlugin.java:231)</div><div><span \
class="Apple-tab-span" style="white-space:pre">	</span>at \
org.apache.felix.bundleplugin.BundlePlugin.execute(BundlePlugin.java:218)</div><div><span \
class="Apple-tab-span" style="white-space:pre">	</span>at \
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)</div><div><span \
class="Apple-tab-span" style="white-space:pre">	</span>at \
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)</div><div><span \
class="Apple-tab-span" style="white-space:pre">	</span>... 17 more</div><div>Caused \
by: java.util.zip.ZipException: error in opening zip file</div><div><span \
class="Apple-tab-span" style="white-space:pre">	</span>at \
java.util.zip.ZipFile.open(Native Method)</div><div><span class="Apple-tab-span" \
style="white-space:pre">	</span>at \
java.util.zip.ZipFile.&lt;init&gt;(ZipFile.java:127)</div><div><span \
class="Apple-tab-span" style="white-space:pre">	</span>at \
java.util.zip.ZipFile.&lt;init&gt;(ZipFile.java:143)</div><div><span \
class="Apple-tab-span" style="white-space:pre">	</span>at \
aQute.lib.osgi.ZipResource.build(ZipResource.java:39)</div><div><span \
class="Apple-tab-span" style="white-space:pre">	</span>at \
aQute.lib.osgi.ZipResource.build(ZipResource.java:32)</div><div><span \
class="Apple-tab-span" style="white-space:pre">	</span>at \
aQute.lib.osgi.Jar.&lt;init&gt;(Jar.java:35)</div><div><span class="Apple-tab-span" \
style="white-space:pre">	</span>at \
org.apache.felix.bundleplugin.BundlePlugin.getClasspath(BundlePlugin.java:685)</div><div><span \
class="Apple-tab-span" style="white-space:pre">	</span>at \
org.apache.felix.bundleplugin.BundlePlugin.execute(BundlePlugin.java:227)</div><div><span \
class="Apple-tab-span" style="white-space:pre">	</span>... 20 more</div><div>[INFO] \
------------------------------------------------------------------------</div><div>[INFO] \
Total time: 1 minute 46 seconds</div><div>[INFO] Finished at: Wed Mar 07 13:32:18 MST \
2012</div><div>[INFO] Final Memory: 136M/388M</div><div>[INFO] \
------------------------------------------------------------------------</div><div>[ERROR] \
child exited with value 1</div><div>### execution of /tmp/fink.br5GZ failed, exit \
code 1</div><div>Removing runtime build-lock...</div><div>Removing build-lock \
package...</div><div>/sw/bin/dpkg-lockwait -r \
fink-buildlock-opennms-1.8.16-31</div><div>(Reading database ... 25381 files and \
directories currently installed.)</div><div>Removing fink-buildlock-opennms-1.8.16-31 \
...</div><div>Failed: phase compiling: opennms-1.8.16-31 \
failed</div></div><div><br></div><div>As per instructions on the opennms site, I \
reduced the number of build jobs from two (2) to one (1)</div><div><br></div><div>Not \
sure where to go from here. I think I know what the "incalculable" class path should \
be:</div><div>/sw/src/fink.build/opennms-1.8.16-31/opennms-1.8.16-1/source/features/poller/api/target/classes/org/opennms/netmgt/poller</div><div><br></div><div>But \
I have no idea how or where to "hard code" that into the installer \
pom.</div><div><br></div><div>Any help is greatly \
appreciated.</div><div><br></div><div>Thanks</div><div><div><div>-- \
Pete</div><div><br></div></div></div></div></div></body></html>



------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/

_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-install mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-install

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic