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


From:  Alexander Hansen <[email protected]>
Organization:  Fink Core Team
Date:  Sat, 31 Mar 2012 07:59:14 -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/30/12 11:20 PM, Peter Robbins wrote:
>  
>  
>  
> I have tried and tried to get the OpenNMS install to work and it fails at the
> same place every time.
>  
>  
>  
 That's actually a good thing for debugging.
 
>  
>  
>  
> The problem is when it tries to install the OpenNMS Poller API.
>  
> The error is:
>  
> 
>  
>  
>  
>  
 <snip>
 
 
>  
>  
>  
>  
> [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/a
> pi/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/a
> pi/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/a
> pi/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/a
> pi/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/a
> pi/pom.xml
>  
>  at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecy
> cleExecutor.java:719)
>  
>  at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(D
> efaultLifecycleExecutor.java:556)
>  
>  at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecyc
> leExecutor.java:535)
>  
>  at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailur
> es(DefaultLifecycleExecutor.java:387)
>  
>  at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(Defaul
> tLifecycleExecutor.java:348)
>  
>  at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleEx
> ecutor.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.j
> ava: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/a
> pi/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(DefaultLifecy
> cleExecutor.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: 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
>  
>  
>  
>  
>  
 <snip>
 
>  
>  
>  
>  
> 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
>  
> 
>  
>  
>  
>  
>  
> -- Pete
>  
> 
>  
>  
>  
>  
>  
>  
>  
 The build succeeded on my Lion setup.  I'm using Xcode 4.3.2 but I don't
know if that is sufficient to account for the difference.
 
 
-- 
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

Reply via email to