[fedora-java] Odd LinkageException with gcj on Rawhide

Mary Ellen Foster foster at in.tum.de
Mon Feb 23 14:42:29 UTC 2009


I was trying to figure out why one of my packages -- ice (object
middleware) -- failed to build from source in Rawhide. Here are the
logs:
    http://linux.dell.com/files/fedora/FixBuildRequires/mock-results/i386/ice-3.3.0-12.fc11.src.rpm/

The actual error occurs while building the Java bindings and looks like this:
BUILD FAILED
java.lang.LinkageError: loading constraint violated
   at SliceTask.getDefaultTranslator(SliceTask.java:323)
   at Slice2FreezeJTask.execute(Slice2FreezeJTask.java:358)
   at org.apache.tools.ant.UnknownElement.execute(ant-1.7.1.jar.so)
   at java.lang.reflect.Method.invoke(libgcj.so.10)
   at org.apache.tools.ant.dispatch.DispatchUtils.execute(ant-1.7.1.jar.so)
   at org.apache.tools.ant.Task.perform(ant-1.7.1.jar.so)
   at org.apache.tools.ant.Target.execute(ant-1.7.1.jar.so)
   at org.apache.tools.ant.Target.performTasks(ant-1.7.1.jar.so)
   at org.apache.tools.ant.Project.executeSortedTargets(ant-1.7.1.jar.so)
   at org.apache.tools.ant.Project.executeTarget(ant-1.7.1.jar.so)
   at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(ant-1.7.1.jar.so)
   at org.apache.tools.ant.Project.executeTargets(ant-1.7.1.jar.so)
   at org.apache.tools.ant.Main.runBuild(ant-1.7.1.jar.so)
   at org.apache.tools.ant.Main.startAnt(ant-1.7.1.jar.so)
   at org.apache.tools.ant.launch.Launcher.run(ant-launcher-1.7.1.jar.so)
   at org.apache.tools.ant.launch.Launcher.main(ant-launcher-1.7.1.jar.so)

(NB: earlier in the build process, a "Slice2Java" Ant task gets build,
and then used at this point in the build.)

This failure didn't happen in Rawhide as recently as 6 February (the
last time I rebuild this package in Rawhide), still doesn't happen on
F9 or F10, and goes away (at least in mock) if I BuildRequire OpenJDK
specifically (previously it was defaulting to GCJ).

Is this a known issue? What changed since 6 February that could
trigger this? I'll just switch to OpenJDK for now in ice, but I'm
still curious what's going on here.

MEF

-- 
Mary Ellen Foster  --  http://homepages.inf.ed.ac.uk/mef/
Informatik 6: Robotics and Embedded Systems, Technische Universität München
and ICCS, School of Informatics, University of Edinburgh




More information about the fedora-devel-java-list mailing list