I have tried and tried to get the OpenNMS install to work and it fails at
the same place every time.
The problem is when it tries to install the OpenNMS Poller API.
The error is:
[INFO] [bundle:install {execution: default-install}]
[INFO] Local OBR update disabled (enable with -DobrRepository)
[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 48 seconds
[INFO] Finished at: Fri Mar 30 23:35:12 MDT 2012
[INFO] Final Memory: 135M/343M
[INFO] 
------------------------------------------------------------------------
[ERROR] child exited with value 1
### execution of /tmp/fink.ZE45L 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 ... 26484 files and directories currently installed.)
Removing fink-buildlock-opennms-1.8.16-31 ...
Failed: phase compiling: opennms-1.8.16-31 failed

Before reporting any errors, please run "fink selfupdate" and try again.

If you continue to have issues, please check to see if the FAQ on Fink's
website solves the problem.  If not, ask on one (not both, please) of
these mailing lists:

The Fink Users List <[email protected]>
The Fink Beginners List <[email protected]>,

with a carbon copy to the maintainer:

Benjamin Reed <[email protected]>

Note that this is preferable to emailing just the maintainer directly,
since most fink package maintainers do not have access to all possible
hardware and software configurations.

Please try to include the complete error message in your report.  This
generally consists of a compiler line starting with e.g. "gcc" or "g++"
followed by the actual error output from the compiler.

Also include the following system information:
Package manager version: 0.32.4.1
Distribution version: selfupdate-rsync Fri Mar 30 16:16:51 2012, 10.7,
x86_64
Trees: local/main stable/main
Xcode: 4.3.1
Max. Fink build jobs:  1

Since it is highly unlikely that I will ever write anything that uses the
Poller API in OpenNMS, I would be just as happy to be able to skip this part
of the package.

Any help is greatly appreciated.
-- Pete



------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
Fink-beginners mailing list
[email protected]
List archive:
http://news.gmane.org/gmane.os.apple.fink.beginners
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-beginners

Reply via email to