opennms install failing

Peter Robbins <[email protected]>
Newsgroups gmane.network.opennms.install,gmane.os.apple.fink.beginners
Message-ID <CB7D168E.204C0%[email protected]>
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

------------------------------------------------------------------------------
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.