On 4/1/12 11:19 AM, Peter Robbins wrote:
Alexander,
I mean no offense, but someone somewhere has to be able to assist with
more than "It works for me".
In my continuing battle, I have:
1. Upgraded Xcode to 4.3.2
2. Ripped out fink, by removing the /sw directory.
3. Downloaded the latest version of fink, fink-0.32.4.1.tar.gz.
4. Installed the latest fink.
5. Ensured that postgresql was running properly before doing any of
the installs. (some permission errors were preventing it from loading
from the /sw/bin/pgsql.sh script. Fixed the script by making it cd to
a directory from which the launch worked)
6. Tried re-installing opennms with "fink install opennms"
The error is ALWAYS the same. It seems to indicate some missing
directory and/or .zip file:
[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(DefaultLifecycleExecutor.java:719)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.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(DefaultPluginManager.java:490)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.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:685)
at
org.apache.felix.bundleplugin.BundlePlugin.execute(BundlePlugin.java:227)
... 20 more
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 2 minutes 34 seconds
[INFO] Finished at: Sun Apr 01 11:13:40 MDT 2012
[INFO] Final Memory: 136M/415M
[INFO]
------------------------------------------------------------------------
There must be some way to:
1. Skip installing this api
2. Ensure that what is being installed by fink is proper (md5sum of
the opennms package or something)
3. Set additional flags to debug the issue.
4. Download the missing .zip file from a working installation and
provide fink with instructions on how to use it during install.
-- Pete
Following up:
opennms works fine for me from a totally new Fink installation on 10.7.3
(Xcode 4.3.2). You've got _something_ installed which is causing the
build to fail. Unfortunately, what it is isn't clear from the output.
--
Alexander Hansen, Ph.D.
Fink User Liaison
http://finkakh.wordpress.com/2012/02/21/got-job/
------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
Fink-users mailing list
[email protected]
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users