Red Hat Bugzilla – Bug 660772
Last modified: 2012-02-13 06:12:44 EST
intellij-idea-188.8.131.52.399-12.fc15.src.rpm Failed To Build From Source against the rawhide tree. See http://fedoraproject.org/wiki/FTBFS for more information.
If you believe this is actually a bug in another package, do NOT change the component in this bug or close this bug. Instead, add the appropriate bug number from the other package to the "Depends on" line in this bug. If the other package does not yet have a bug created that you think matches, please create one. Doing so helps us properly track bugs and their dependencies, just as we track package dependencies. (If you close this bug, and the other package is not fixed before the next FTBFS run, a new bug will get created. Please follow the above advice to avoid such duplication.)
Created attachment 465478 [details]
root.log for i386
Created attachment 465479 [details]
build.log for i386
Created attachment 465480 [details]
mock.log for i386
Created attachment 465481 [details]
root.log for x86_64
Created attachment 465482 [details]
build.log for x86_64
Created attachment 465483 [details]
mock.log for x86_64
The missing dep was fixed in intellij-idea-184.108.40.206.399-13 but still doesn't build??
The original cause of this is a bug in javac; it doesn't do type inference in generics correctly.
IntelliJ worked around this by providing a custom version of com.sun.tools.javac.comp.Infer.java and they load it into the compiler by setting the compiler's bootclasspath with -J-Xbootclasspath/p:patches. This can only possibly work with one particular version of javac. It doesn't work with the javac in OpenJDK.
Anyway, there is a way to make this work:
Compile it with ecj until the day all this type inference stuff
finally gets fixed in javac.
project["javac"] = "/usr/bin/ecj"
//project["javac_args"] = "-J-Xbootclasspath/p:patches:$jdk/lib/tools.jar"
The package has been retired.