Skip to content

Instantly share code, notes, and snippets.

@bhamiltoncx
Last active March 17, 2016 18:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bhamiltoncx/de92dc5716b16cbe9daf to your computer and use it in GitHub Desktop.
Save bhamiltoncx/de92dc5716b16cbe9daf to your computer and use it in GitHub Desktop.
Immutables.org issue 286 buck build repro
% ant
Buildfile: /Users/bgertzfield/devtools/buck/build.xml
checkversion:
compile-testrunner:
[mkdir] Created dir: /Users/bgertzfield/devtools/buck/build/testrunner/classes
[javac] Compiling 15 source files to /Users/bgertzfield/devtools/buck/build/testrunner/classes
compile-aosp:
[mkdir] Created dir: /Users/bgertzfield/devtools/buck/build/aosp/classes
[javac] Compiling 17 source files to /Users/bgertzfield/devtools/buck/build/aosp/classes
[javac] [compiled 5847 lines in 1496 ms: 3908.4 lines/s]
[javac] [34 .class files generated]
compile-manual-gen-src:
[mkdir] Created dir: /Users/bgertzfield/devtools/buck/build/src-gen/classes
[javac] Compiling 11 source files to /Users/bgertzfield/devtools/buck/build/src-gen/classes
tracing-api:
[mkdir] Created dir: /Users/bgertzfield/devtools/buck/build/tracing-api/classes
[javac] Compiling 2 source files to /Users/bgertzfield/devtools/buck/build/tracing-api/classes
[javac] [compiled 150 lines in 528 ms: 284.0 lines/s]
[javac] [2 .class files generated]
[jar] Building jar: /Users/bgertzfield/devtools/buck/build/tracing-api/tracing-api.jar
bootstrapper:
[mkdir] Created dir: /Users/bgertzfield/devtools/buck/build/bootstrapper/classes
[javac] Compiling 8 source files to /Users/bgertzfield/devtools/buck/build/bootstrapper/classes
[javac] [compiled 341 lines in 624 ms: 546.4 lines/s]
[javac] [8 .class files generated]
[jar] Building jar: /Users/bgertzfield/devtools/buck/build/bootstrapper/bootstrapper.jar
package-resources:
[mkdir] Created dir: /Users/bgertzfield/devtools/buck/build/classes/com/facebook/buck/cli/quickstart/android
[zip] Building zip: /Users/bgertzfield/devtools/buck/build/classes/com/facebook/buck/cli/quickstart/android/android-template.zip
[mkdir] Created dir: /Users/bgertzfield/devtools/buck/build/classes/com/facebook/buck/cli/quickstart/ios
[zip] Building zip: /Users/bgertzfield/devtools/buck/build/classes/com/facebook/buck/cli/quickstart/ios/ios-template.zip
dx-check-build:
dx:
[mkdir] Created dir: /Users/bgertzfield/devtools/buck/build/dx_classes
[javac] Compiling 385 source files to /Users/bgertzfield/devtools/buck/build/dx_classes
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] Creating empty /Users/bgertzfield/devtools/buck/build/dx_classes/com/android/dx/rop/package-info.class
[javac] Creating empty /Users/bgertzfield/devtools/buck/build/dx_classes/com/android/dx/ssa/package-info.class
[jar] Building jar: /Users/bgertzfield/devtools/buck/build/dx.jar
compile:
[copy] Copying 1 file to /Users/bgertzfield/devtools/buck/build/classes/com/facebook/buck/json
[mkdir] Created dir: /Users/bgertzfield/devtools/buck/build/ecj-gen
[javac] Compiling 1350 source files to /Users/bgertzfield/devtools/buck/build/classes
[javac] [compiled 244209 lines in 11315 ms: 21582.7 lines/s]
[javac] [2848 .class files generated]
[javac] ----------
[javac] 1. ERROR in /Users/bgertzfield/devtools/buck/src/com/facebook/buck/android/AbstractNdkPlatformTargetConfiguration.java (at line 31)
[javac] abstract class AbstractNdkCxxPlatformTargetConfiguration {
[javac] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[javac] The type AbstractNdkCxxPlatformTargetConfiguration is already defined
[javac] ----------
[javac] ----------
[javac] 2. ERROR in /Users/bgertzfield/devtools/buck/src/com/facebook/buck/android/NdkCxxPlatforms.java (at line 148)
[javac] .putAssemblerFlags(NdkCxxPlatformCompiler.Type.GCC, armeabiArchFlags)
[javac] ^^^^^^^^^^^^^^^^^
[javac] The method putAssemblerFlags(AbstractNdkCxxPlatformCompiler.Type, ImmutableList<String>) is undefined for the type NdkCxxPlatformTargetConfiguration.Builder
[javac] ----------
[javac] 3. ERROR in /Users/bgertzfield/devtools/buck/src/com/facebook/buck/android/NdkCxxPlatforms.java (at line 204)
[javac] .putAssemblerFlags(NdkCxxPlatformCompiler.Type.GCC, armeabiv7ArchFlags)
[javac] ^^^^^^^^^^^^^^^^^
[javac] The method putAssemblerFlags(AbstractNdkCxxPlatformCompiler.Type, ImmutableList<String>) is undefined for the type NdkCxxPlatformTargetConfiguration.Builder
[javac] ----------
[javac] 4. ERROR in /Users/bgertzfield/devtools/buck/src/com/facebook/buck/android/NdkCxxPlatforms.java (at line 249)
[javac] .putAssemblerFlags(NdkCxxPlatformCompiler.Type.GCC, ImmutableList.<String>of())
[javac] ^^^^^^^^^^^^^^^^^
[javac] The method putAssemblerFlags(AbstractNdkCxxPlatformCompiler.Type, ImmutableList<String>) is undefined for the type NdkCxxPlatformTargetConfiguration.Builder
[javac] ----------
[javac] 5. ERROR in /Users/bgertzfield/devtools/buck/src/com/facebook/buck/android/NdkCxxPlatforms.java (at line 295)
[javac] .putAssemblerFlags(NdkCxxPlatformCompiler.Type.GCC, ImmutableList.<String>of())
[javac] ^^^^^^^^^^^^^^^^^
[javac] The method putAssemblerFlags(AbstractNdkCxxPlatformCompiler.Type, ImmutableList<String>) is undefined for the type NdkCxxPlatformTargetConfiguration.Builder
[javac] ----------
[javac] ----------
[javac] 6. ERROR in /Users/bgertzfield/devtools/buck/src/com/facebook/buck/cxx/AbstractCxxSourceRuleFactory.java (at line 225)
[javac] PreprocessAndCompilePreprocessorDelegateKey.of(source.getType(), source.getFlags()));
[javac] ^^
[javac] The method of(ImmutableList<String>) in the type PreprocessAndCompilePreprocessorDelegateKey is not applicable for the arguments (AbstractCxxSource.Type, ImmutableList<String>)
[javac] ----------
[javac] 7. ERROR in /Users/bgertzfield/devtools/buck/src/com/facebook/buck/cxx/AbstractCxxSourceRuleFactory.java (at line 542)
[javac] PreprocessAndCompilePreprocessorDelegateKey.of(source.getType(), source.getFlags()));
[javac] ^^
[javac] The method of(ImmutableList<String>) in the type PreprocessAndCompilePreprocessorDelegateKey is not applicable for the arguments (AbstractCxxSource.Type, ImmutableList<String>)
[javac] ----------
[javac] ----------
[javac] 8. ERROR in /Users/bgertzfield/devtools/buck/build/ecj-gen/com/facebook/buck/cxx/PreprocessAndCompilePreprocessorDelegateKey.java (at line 20)
[javac] public final class PreprocessAndCompilePreprocessorDelegateKey
[javac] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[javac] The type PreprocessAndCompilePreprocessorDelegateKey must implement the inherited abstract method AbstractCxxSourceRuleFactory.AbstractPreprocessAndCompilePreprocessorDelegateKey.getSourceType()
[javac] ----------
[javac] ----------
[javac] 9. ERROR in /Users/bgertzfield/devtools/buck/build/ecj-gen/com/facebook/buck/android/NdkCxxPlatformTargetConfiguration.java (at line 23)
[javac] public final class NdkCxxPlatformTargetConfiguration
[javac] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[javac] The type NdkCxxPlatformTargetConfiguration must implement the inherited abstract method AbstractNdkCxxPlatformTargetConfiguration.getCompilerFlags()
[javac] ----------
[javac] 10. ERROR in /Users/bgertzfield/devtools/buck/build/ecj-gen/com/facebook/buck/android/NdkCxxPlatformTargetConfiguration.java (at line 23)
[javac] public final class NdkCxxPlatformTargetConfiguration
[javac] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[javac] The type NdkCxxPlatformTargetConfiguration must implement the inherited abstract method AbstractNdkCxxPlatformTargetConfiguration.getAssemblerFlags()
[javac] ----------
[javac] 11. ERROR in /Users/bgertzfield/devtools/buck/build/ecj-gen/com/facebook/buck/android/NdkCxxPlatformTargetConfiguration.java (at line 23)
[javac] public final class NdkCxxPlatformTargetConfiguration
[javac] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[javac] The type NdkCxxPlatformTargetConfiguration must implement the inherited abstract method AbstractNdkCxxPlatformTargetConfiguration.getLinkerFlags()
[javac] ----------
[javac] 11 problems (11 errors)
BUILD FAILED
/Users/bgertzfield/devtools/buck/build.xml:393: The following error occurred while executing this line:
/Users/bgertzfield/devtools/buck/build.xml:341: Compile failed; see the compiler error output for details.
Total time: 23 seconds
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment