On Nov 5, 2014, at 3:31 PM, Hanspeter Niederstrasser <f...@snaggledworks.com> wrote:
> On 11/5/2014 11:29 AM, Alexander Hansen wrote: >> >> On Nov 5, 2014, at 9:21 AM, Hanspeter Niederstrasser >> <f...@snaggledworks.com> wrote: >> >>> >>> On Wed, November 5, 2014 10:09 am, Alexander Hansen wrote: >>>> >>>> On Nov 5, 2014, at 7:29 AM, Leon Yerevanian <yol...@inetdispatch.com> >>>> wrote: >>>> >>>>> hello, this email is my last resort. i have followed all instructions to >>>>> the letter (numerous times) and still end up with a compilation failure. >>>>> i have scoured the net with no relief. >>>>> >>>>> OS X 10.9.5 >>>>> brand new installation of fink (see attached fink.packages) >>>>> postgresql-9.3 installed >>>>> from shell, as root, issued fink selfupdate and fink update-all commands >>>>> numerous times. >>>>> modified /sw/etc/fink.conf as suggested (see attached fink.conf) >>>>> used java 6u65 and also 7u67 with same result >>>>> fink install opennms fails at the same spot every time (see bellow for >>>>> short version and attached fink.error for longer version) >>>>> xcode version (6A1052d) >>>>> >>>>> [INFO] >>>>> ------------------------------------------------------------------------ >>>>> [INFO] Building OpenNMS Data Model Components >>>>> [INFO] task-segment: [clean, install] >>>>> [INFO] >>>>> ------------------------------------------------------------------------ >>>>> [INFO] [clean:clean {execution: default-clean}] >>>>> [INFO] [castor:generate {execution: default}] >>>>> [INFO] Processing >>>>> /sw/src/fink.build/opennms-1.8.16-32/opennms-1.8.16-1/source/opennms-model/src/main/castor/event.xsd >>>>> [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-32/opennms-1.8.16-1/source/opennms-model/src/main/resources >>>>> [INFO] [compiler:compile {execution: default-compile}] >>>>> [INFO] Compiling 153 source files to >>>>> /sw/src/fink.build/opennms-1.8.16-32/opennms-1.8.16-1/source/opennms-model/target/classes >>>>> [INFO] ------------------------------------------------------------- >>>>> [ERROR] COMPILATION ERROR : >>>>> [INFO] ------------------------------------------------------------- >>>>> [ERROR] >>>>> /sw/src/fink.build/opennms-1.8.16-32/opennms-1.8.16-1/source/opennms-model/src/main/java/org/opennms/netmgt/model/OnmsCriteria.java:[353,43] >>>>> error: name clash: forClass(Class<?>) in OnmsDetachedCriteria and >>>>> forClass(Class) in DetachedCriteria have the same erasure, yet neither >>>>> hides the other >>>>> [ERROR] >>>>> /sw/src/fink.build/opennms-1.8.16-32/opennms-1.8.16-1/source/opennms-model/src/main/java/org/opennms/netmgt/model/OnmsCriteria.java:[357,43] >>>>> error: name clash: forClass(Class<?>,String) in OnmsDetachedCriteria and >>>>> forClass(Class,String) in DetachedCriteria have the same erasure, yet >>>>> neither hides the other >>>>> [INFO] 2 errors >>>>> [INFO] ------------------------------------------------------------- >>>>> [INFO] >>>>> ------------------------------------------------------------------------ >>>>> [ERROR] BUILD FAILURE >>>>> [INFO] >>>>> ------------------------------------------------------------------------ >>>>> [INFO] Compilation failure >>>>> >>>>> /sw/src/fink.build/opennms-1.8.16-32/opennms-1.8.16-1/source/opennms-model/src/main/java/org/opennms/netmgt/model/OnmsCriteria.java:[353,43] >>>>> error: name clash: forClass(Class<?>) in OnmsDetachedCriteria and >>>>> forClass(Class) in DetachedCriteria have the same erasure, yet neither >>>>> hides the other >>>>> /sw/src/fink.build/opennms-1.8.16-32/opennms-1.8.16-1/source/opennms-model/src/main/java/org/opennms/netmgt/model/OnmsCriteria.java:[357,43] >>>>> error: name clash: forClass(Class<?>,String) in OnmsDetachedCriteria and >>>>> forClass(Class,String) in DetachedCriteria have the same erasure, yet >>>>> neither hides the other >>>>> >>>>> [INFO] >>>>> ------------------------------------------------------------------------ >>>>> [INFO] Trace >>>>> org.apache.maven.BuildFailureException: Compilation failure >>>>> at >>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:715) >>>>> 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:57) >>>>> at >>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) >>>>> at java.lang.reflect.Method.invoke(Method.java:606) >>>>> 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.CompilationFailureException: >>>>> Compilation failure >>>>> at >>>>> org.apache.maven.plugin.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:656) >>>>> at >>>>> org.apache.maven.plugin.CompilerMojo.execute(CompilerMojo.java:128) >>>>> at >>>>> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490) >>>>> at >>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694) >>>>> ... 17 more >>>>> [INFO] >>>>> ------------------------------------------------------------------------ >>>>> [INFO] Total time: 35 seconds >>>>> [INFO] Finished at: Wed Nov 05 10:09:16 EST 2014 >>>>> [INFO] Final Memory: 112M/764M >>>>> [INFO] >>>>> ------------------------------------------------------------------------ >>>>> [ERROR] child exited with value 1 >>>>> ### execution of /tmp/fink.wHUVx failed, exit code 1 >>>>> ### execution of /tmp/fink.MJx4o failed, exit code 1 >>>>> Removing runtime build-lock... >>>>> Removing build-lock package... >>>>> >>>>> <fink.packages><fink.conf><fink.error>——————————————————————————————————————— >>>> >>>> Sorry about that. This package is known to be broken on Mavericks, since >>>> we’ve had reports before, and apparently there has been no update. >>>> >>>> I’ve cc’ed the maintainer of record to see if there’s a fix to try or if >>>> we should remove it from the 10.9 distribution as unbuildable. >>> >>> For the record, opennms built on the 10.9 buildworld I ran in July. >>> >>> http://www.snaggledworks.com/fink/buildworld/2014-07-24/logs/opennms.log >>> >>> Hanspeter >>> >>> -- >>> More agile than a turtle, stronger than a mouse, nobler than a lettuce >> >> >> Hmm…If you haven’t already updated your buildworld’s Java setup, it might be >> useful to check what it’s using via “/usr/libexec/java_home -V” > > $ /usr/libexec/java_home -V > Matching Java Virtual Machines (2): > 1.6.0_65-b14-462, x86_64: "Java SE 6" > /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home > 1.6.0_65-b14-462, i386: "Java SE 6" > /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home > > /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home > > Hanspeter Aha. Leon said that his build didn’t work with that version (I assume that corresponds to 6u65) but I can generate a fresh 10.9 install and make sure that I don’t install the Oracle JDKs, then see what happens. If it works then maybe there’s a way to force this. -- Alexander Hansen, Ph.D. Fink User Liaison
------------------------------------------------------------------------------
_______________________________________________ Fink-users mailing list Fink-users@lists.sourceforge.net List archive: http://news.gmane.org/gmane.os.macosx.fink.user Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-users