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(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: 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
From: Alexander Hansen <[email protected]>
Organization: Fink Core Team
Date: Sat, 31 Mar 2012 09:51:37 -0700
To: Peter Robbins <[email protected]>
Cc: <[email protected]>, <[email protected]>
Subject: Re: [Fink-users] Unable to install on OS X Lion 10.7.3
On 3/31/12 9:45 AM, Peter Robbins wrote:
>
>
>
> Alexander,
>
> If you run:
>
> fink dumpinfo fenv
>
> What does it show?
>
> The reason I ask is that $JAVA_HOME is always reported as empty when my
> install starts. So, I'm wondering if it might work if I got that set.
>
>
>
>
>
>
>
> I'm unable to get Xcode to update to 4.3.2.
>
>
>
>
>
>
> -- Pete
>
>
>
>
>
>
>
>
>
$ fink dumpinfo -fenv opennms | grep JAVA_HOME
Use of uninitialized value $JAVA_HOME in concatenation (.) or string at
/sw/lib/perl5/Fink/PkgVersion.pm line 5032.
Use of uninitialized value in concatenation (.) or string at
/sw/lib/perl5/Fink/Engine.pm line 2485.
JAVA_HOME=
(someone better look at those)
I downloaded Xcode-4.3.2 from the Apple Developer site, because I wanted
the option to switch Xcodes around easily for debugging purposes.
--
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