{"action":"created","issue":{"url":"https://api.github.com/repos/google/bazel/issues/263","labels_url":"https://api.github.com/repos/google/bazel/issues/263/labels{/name}","comments_url":"https://api.github.com/repos/google/bazel/issues/263/comments","events_url":"https://api.github.com/repos/google/bazel/issues/263/events","html_url":"https://github.com/google/bazel/issues/263","id":91217667,"number":263,"title":"fedora 21 compile failure","user":{"login":"hanwen","id":31547,"avatar_url":"https://avatars.githubusercontent.com/u/31547?v=3","gravatar_id":"","url":"https://api.github.com/users/hanwen","html_url":"https://github.com/hanwen","followers_url":"https://api.github.com/users/hanwen/followers","following_url":"https://api.github.com/users/hanwen/following{/other_user}","gists_url":"https://api.github.com/users/hanwen/gists{/gist_id}","starred_url":"https://api.github.com/users/hanwen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hanwen/subscriptions","organizations_url":"https://api.github.com/users/hanwen/orgs","repos_url":"https://api.github.com/users/hanwen/repos","events_url":"https://api.github.com/users/hanwen/events{/privacy}","received_events_url":"https://api.github.com/users/hanwen/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-06-26T10:30:19Z","updated_at":"2015-06-29T09:03:34Z","closed_at":"2015-06-29T09:03:34Z","body":"$ sh compile.sh \r\nINFO: You can skip this first step by providing a path to the bazel binary as second argument:\r\nINFO:    compile.sh build /path/to/bazel\r\n🍃  Building Bazel from scratch...........\r\n🍃  Building Bazel with Bazel.\r\n.Extracting Bazel installation...\r\n.........\r\nUnhandled exception thrown during build; message: Unrecoverable error while evaluating node 'PACKAGE:src/main/java' (requested by nodes 'TARGET_MARKER://src/main/java:bazel-main_deploy.jar')\r\nINFO: Elapsed time: 1.126s\r\njava.lang.RuntimeException: Unrecoverable error while evaluating node 'PACKAGE:src/main/java' (requested by nodes 'TARGET_MARKER://src/main/java:bazel-main_deploy.jar')\r\n\tat com.google.devtools.build.skyframe.ParallelEvaluator$Evaluate.run(ParallelEvaluator.java:747)\r\n\tat com.google.devtools.build.lib.concurrent.AbstractQueueVisitor$1.run(AbstractQueueVisitor.java:346)\r\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)\r\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)\r\n\tat java.lang.Thread.run(Thread.java:745)\r\nCaused by: java.lang.IllegalStateException: /home/hanwen/vc/bazel/src/main/java/BUILD:365:1: java.lang.NullPointerException (null)\r\nwhile calling java_library(**kwargs) with args [{visibility=[//src/java_tools/buildjar:__pkg__], name=java-toolchain-parser, srcs=[com/google/devtools/build/lib/rules/java/JavaToolchainData.java, com/google/devtools/build/lib/rules/java/JavaToolchainDataParser.java, com/google/devtools/build/lib/concurrent/AbstractQueueVisitor.java, com/google/devtools/build/lib/concurrent/BatchedKeyedLocker.java, com/google/devtools/build/lib/concurrent/ExecutorUtil.java, com/google/devtools/build/lib/concurrent/KeyedFrequencyStore.java, com/google/devtools/build/lib/concurrent/KeyedLocker.java, com/google/devtools/build/lib/concurrent/MoreFutures.java, com/google/devtools/build/lib/concurrent/RefCountedHashMapKeyedFrequencyStore.java, com/google/devtools/build/lib/concurrent/RefCountedMultisetKeyedLocker.java, com/google/devtools/build/lib/concurrent/Sharder.java, com/google/devtools/build/lib/concurrent/ThreadSafety.java, com/google/devtools/build/lib/concurrent/ThrowableRecordingRunnableWrapper.java], deps=[:common, //src/main/protobuf:proto_build, //third_party:guava, //third_party:jsr305, //third_party:protobuf], testonly=1}, java_library(name = \"java-toolchain-parser\", testonly = 1, srcs = glob([\"com/google/devtools/build/lib/rules/java/JavaToolchainData.java\", \"com/google/devtools/build/lib/rules/java/JavaToolchainDataParser.java\", \"com/google/devtools/build/lib/concurrent/*.java\"]), visibility = [\"//src/java_tools/buildjar:__pkg__\"], deps = [\":common\", \"//src/main/protobuf:proto_build\", \"//third_party:guava\", \"//third_party:jsr305\", \"//third_party:protobuf\"]), Environment{$android_aapt_base -> $android_aapt_base(**kwargs), $android_base -> $android_base(**kwargs), $android_binary_base -> $android_binary_base(**kwargs), $android_binary_only -> $android_binary_only(**kwargs), $android_library_base -> $android_library_base(**kwargs), $android_resource_support -> $android_resource_support(**kwargs), $base_java_binary -> $base_java_binary(**kwargs), $base_py -> $base_py(**kwargs), $base_py_binary -> $base_py_binary(**kwargs), $base_rule -> $base_rule(**kwargs), $binary_base_rule -> $binary_base_rule(**kwargs), $cc_base_rule -> $cc_base_rule(**kwargs), $cc_binary_base -> $cc_binary_base(**kwargs), $cc_decl_rule -> $cc_decl_rule(**kwargs), $cc_library -> $cc_library(**kwargs), $cc_linking_rule -> $cc_linking_rule(**kwargs), $cc_rule -> $cc_rule(**kwargs), $config_base_rule -> $config_base_rule(**kwargs), $error_rule -> $error_rule(**kwargs), $ijar_base_rule -> $ijar_base_rule(**kwargs), $ios_test_base_rule -> $ios_test_base_rule(**kwargs), $j2objc_library_base -> $j2objc_library_base(**kwargs), $jack_mixin -> $jack_mixin(**kwargs), $java_base_rule -> $java_base_rule(**kwargs), $java_import_base -> $java_import_base(**kwargs), $java_rule -> $java_rule(**kwargs), $objc_alwayslink_rule -> $objc_alwayslink_rule(**kwargs), $objc_bundling_rule -> $objc_bundling_rule(**kwargs), $objc_compile_dependency_rule -> $objc_compile_dependency_rule(**kwargs), $objc_compiling_rule -> $objc_compiling_rule(**kwargs), $objc_linking_rule -> $objc_linking_rule(**kwargs), $objc_options_rule -> $objc_options_rule(**kwargs), $objc_opts_rule -> $objc_opts_rule(**kwargs), $objc_proto_rule -> $objc_proto_rule(**kwargs), $objc_release_bundling_rule -> $objc_release_bundling_rule(**kwargs), $objc_resource_tools_rule -> $objc_resource_tools_rule(**kwargs), $objc_resources_rule -> $objc_resources_rule(**kwargs), $objc_sdk_frameworks_depender_rule -> $objc_sdk_frameworks_depender_rule(**kwargs), $objc_simulator_rule -> $objc_simulator_rule(**kwargs), $objc_xcodegen_rule -> $objc_xcodegen_rule(**kwargs), $pkg_context -> com.google.devtools.build.lib.packages.PackageFactory$PackageContext@f6a5c5b, $rule -> $rule(**kwargs), $sh_target -> $sh_target(**kwargs), $test_base_rule -> $test_base_rule(**kwargs), $workspace_base_rule -> $workspace_base_rule(**kwargs), PACKAGE_NAME -> src/main/java, action_listener -> action_listener(**kwargs), android_binary -> android_binary(**kwargs), android_library -> android_library(**kwargs), android_ndk_repository -> android_ndk_repository(**kwargs), android_sdk -> android_sdk(**kwargs), android_sdk_repository -> android_sdk_repository(**kwargs), android_tools_defaults_jar -> android_tools_defaults_jar(**kwargs), bind -> bind(**kwargs), cc_binary -> cc_binary(**kwargs), cc_library -> cc_library(**kwargs), cc_test -> cc_test(**kwargs), cc_toolchain -> cc_toolchain(**kwargs), cc_toolchain_suite -> cc_toolchain_suite(**kwargs), config_setting -> config_setting(**kwargs), distribs -> distribs(distribution_strings), environment -> environment(**kwargs), environment_group -> environment_group(*, name: string, environments: list, defaults: list), experimental_ios_test -> experimental_ios_test(**kwargs), exports_files -> exports_files(srcs: list of strings, visibility: list or NoneType = None, licenses: list of strings or NoneType = None), extra_action -> extra_action(**kwargs), filegroup -> filegroup(**kwargs), genquery -> genquery(**kwargs), genrule -> genrule(**kwargs), glob -> glob(include: list of strings, exclude: list of strings = [], exclude_directories: int = 1), http_archive -> http_archive(**kwargs), http_jar -> http_jar(**kwargs), ios_application -> ios_application(**kwargs), ios_device -> ios_device(**kwargs), ios_extension -> ios_extension(**kwargs), ios_extension_binary -> ios_extension_binary(**kwargs), ios_test -> ios_test(**kwargs), j2objc_library -> j2objc_library(**kwargs), java_binary -> java_binary(**kwargs), java_import -> java_import(**kwargs), java_library -> java_library(**kwargs), java_plugin -> java_plugin(**kwargs), java_test -> java_test(**kwargs), java_toolchain -> java_toolchain(**kwargs), licenses -> licenses(license_strings: list of strings), local_repository -> local_repository(**kwargs), maven_jar -> maven_jar(**kwargs), mocksubinclude -> mocksubinclude(label, path: string), new_http_archive -> new_http_archive(**kwargs), new_local_repository -> new_local_repository(**kwargs), objc_binary -> objc_binary(**kwargs), objc_bundle -> objc_bundle(**kwargs), objc_bundle_library -> objc_bundle_library(**kwargs), objc_framework -> objc_framework(**kwargs), objc_import -> objc_import(**kwargs), objc_library -> objc_library(**kwargs), objc_options -> objc_options(**kwargs), objc_proto_library -> objc_proto_library(**kwargs), objc_xcodeproj -> objc_xcodeproj(**kwargs), package -> package(*, default_deprecation = ?, distribs = ?, licenses = ?, default_testonly = ?, default_visibility = ?, features = ?, default_compatible_with = ?, default_restricted_to = ?), package_group -> package_group(*, name: string, packages: list of strings = [], includes: list = []), py_binary -> py_binary(**kwargs), py_library -> py_library(**kwargs), py_test -> py_test(**kwargs), sh_binary -> sh_binary(**kwargs), sh_library -> sh_library(**kwargs), sh_test -> sh_test(**kwargs), test_suite -> test_suite(**kwargs), }=>Environment{- -> -(num: int), False -> false, None -> None, True -> true, bool -> bool(x), int -> int(x), len -> len(x), repr -> repr(x), select -> select(x: dict), sorted -> sorted(self: list), str -> str(x), }]\r\nJava parameter types: [interface java.util.Map, class com.google.devtools.build.lib.syntax.FuncallExpression, class com.google.devtools.build.lib.syntax.Environment]\r\nSkylark type checks: null\r\n\tat com.google.devtools.build.lib.syntax.BuiltinFunction.badCallException(BuiltinFunction.java:189)\r\n\tat com.google.devtools.build.lib.syntax.BuiltinFunction.call(BuiltinFunction.java:164)\r\n\tat com.google.devtools.build.lib.syntax.BaseFunction.call(BaseFunction.java:423)\r\n\tat com.google.devtools.build.lib.syntax.FuncallExpression.eval(FuncallExpression.java:533)\r\n\tat com.google.devtools.build.lib.syntax.ExpressionStatement.exec(ExpressionStatement.java:39)\r\n\tat com.google.devtools.build.lib.syntax.BuildFileAST.exec(BuildFileAST.java:137)\r\n\tat com.google.devtools.build.lib.packages.PackageFactory.evaluateBuildFile(PackageFactory.java:1282)\r\n\tat com.google.devtools.build.lib.packages.PackageFactory.createPackageFromPreprocessingResult(PackageFactory.java:1011)\r\n\tat com.google.devtools.build.lib.skyframe.PackageFunction.loadPackage(PackageFunction.java:732)\r\n\tat com.google.devtools.build.lib.skyframe.PackageFunction.compute(PackageFunction.java:466)\r\n\tat com.google.devtools.build.skyframe.ParallelEvaluator$Evaluate.run(ParallelEvaluator.java:711)\r\n\t... 4 more\r\nCaused by: java.lang.NullPointerException\r\n\tat com.google.devtools.build.lib.packages.Package$Builder.checkForConflicts(Package.java:1391)\r\n\tat com.google.devtools.build.lib.packages.Package$Builder.addRule(Package.java:1229)\r\n\tat com.google.devtools.build.lib.packages.RuleFactory.createAndAddRule(RuleFactory.java:140)\r\n\tat com.google.devtools.build.lib.packages.RuleFactory.createAndAddRule(RuleFactory.java:148)\r\n\tat com.google.devtools.build.lib.packages.PackageFactory.addRule(PackageFactory.java:904)\r\n\tat com.google.devtools.build.lib.packages.PackageFactory.access$900(PackageFactory.java:78)\r\n\tat com.google.devtools.build.lib.packages.PackageFactory$9.invoke(PackageFactory.java:942)\r\n\tat sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat java.lang.reflect.Method.invoke(Method.java:497)\r\n\tat com.google.devtools.build.lib.syntax.BuiltinFunction.call(BuiltinFunction.java:150)\r\n\t... 13 more\r\n"},"comment":{"url":"https://api.github.com/repos/google/bazel/issues/comments/116540675","html_url":"https://github.com/google/bazel/issues/263#issuecomment-116540675","issue_url":"https://api.github.com/repos/google/bazel/issues/263","id":116540675,"user":{"login":"hanwen","id":31547,"avatar_url":"https://avatars.githubusercontent.com/u/31547?v=3","gravatar_id":"","url":"https://api.github.com/users/hanwen","html_url":"https://github.com/hanwen","followers_url":"https://api.github.com/users/hanwen/followers","following_url":"https://api.github.com/users/hanwen/following{/other_user}","gists_url":"https://api.github.com/users/hanwen/gists{/gist_id}","starred_url":"https://api.github.com/users/hanwen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hanwen/subscriptions","organizations_url":"https://api.github.com/users/hanwen/orgs","repos_url":"https://api.github.com/users/hanwen/repos","events_url":"https://api.github.com/users/hanwen/events{/privacy}","received_events_url":"https://api.github.com/users/hanwen/received_events","type":"User","site_admin":false},"created_at":"2015-06-29T09:03:34Z","updated_at":"2015-06-29T09:03:34Z","body":"curious, now it worked correctly, at 9fc1ce60f285e303058c40d1331712bd01067955"}}