-
Notifications
You must be signed in to change notification settings - Fork 4.4k
Closed
Labels
P3We're not considering working on this, but happy to review a PR. (No assignee)We're not considering working on this, but happy to review a PR. (No assignee)category: misc > misctype: bug
Milestone
Description
$ bazel run :ubuntu_14.04-x86_64
Unhandled exception thrown during build; message: Attribute 'executable' is potentially configurable - not allowed here
INFO: Elapsed time: 0.791s
java.lang.IllegalStateException: Attribute 'executable' is potentially configurable - not allowed here
at com.google.common.base.Preconditions.checkState(Preconditions.java:197)
at com.google.devtools.build.lib.packages.NonconfigurableAttributeMapper.get(NonconfigurableAttributeMapper.java:45)
at com.google.devtools.build.lib.bazel.rules.genrule.BazelGenRuleRule$1.getDefault(BazelGenRuleRule.java:196)
at com.google.devtools.build.lib.packages.AbstractAttributeMapper.get(AbstractAttributeMapper.java:61)
at com.google.devtools.build.lib.packages.NonconfigurableAttributeMapper.get(NonconfigurableAttributeMapper.java:47)
at com.google.devtools.build.lib.runtime.commands.RunCommand.isExecutableNonTestRule(RunCommand.java:510)
at com.google.devtools.build.lib.runtime.commands.RunCommand.isExecutable(RunCommand.java:496)
at com.google.devtools.build.lib.runtime.commands.RunCommand.validateTarget(RunCommand.java:447)
at com.google.devtools.build.lib.runtime.commands.RunCommand.validateTargets(RunCommand.java:403)
at com.google.devtools.build.lib.runtime.commands.RunCommand.access$000(RunCommand.java:83)
at com.google.devtools.build.lib.runtime.commands.RunCommand$1.validateTargets(RunCommand.java:117)
at com.google.devtools.build.lib.buildtool.BuildTool$1.notifyTargets(BuildTool.java:410)
at com.google.devtools.build.lib.pkgcache.LoadingPhaseRunner.execute(LoadingPhaseRunner.java:391)
at com.google.devtools.build.lib.buildtool.BuildTool.runLoadingPhase(BuildTool.java:420)
at com.google.devtools.build.lib.buildtool.BuildTool.buildTargets(BuildTool.java:165)
at com.google.devtools.build.lib.buildtool.BuildTool.processRequest(BuildTool.java:342)
at com.google.devtools.build.lib.runtime.commands.RunCommand.processRequest(RunCommand.java:113)
at com.google.devtools.build.lib.runtime.commands.RunCommand.exec(RunCommand.java:152)
at com.google.devtools.build.lib.runtime.BlazeCommandDispatcher.exec(BlazeCommandDispatcher.java:427)
at com.google.devtools.build.lib.runtime.BlazeRuntime$3.exec(BlazeRuntime.java:1341)
at com.google.devtools.build.lib.server.RPCService.executeRequest(RPCService.java:65)
at com.google.devtools.build.lib.server.RPCServer.executeRequest(RPCServer.java:420)
at com.google.devtools.build.lib.server.RPCServer.serve(RPCServer.java:227)
at com.google.devtools.build.lib.runtime.BlazeRuntime.serverMain(BlazeRuntime.java:1299)
at com.google.devtools.build.lib.runtime.BlazeRuntime.main(BlazeRuntime.java:1095)
at com.google.devtools.build.lib.bazel.BazelMain.main(BazelMain.java:49)
Metadata
Metadata
Assignees
Labels
P3We're not considering working on this, but happy to review a PR. (No assignee)We're not considering working on this, but happy to review a PR. (No assignee)category: misc > misctype: bug