CandyShop / gerrit

Automatically exported from code.google.com/p/gerrit
Apache License 2.0
1 stars 0 forks source link

Failed to build its-bugzilla for current Gerrit 2.10 #3154

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
*****************************************************************
*****                                                       *****
***** !!!! THIS BUG TRACKER IS FOR GERRIT CODE REVIEW !!!!  *****
*****                                                       *****
***** DO NOT SUBMIT BUGS FOR CHROME, ANDROID, CYANOGENMOD,  *****
***** INTERNAL ISSUES WITH YOUR COMPANY'S GERRIT SETUP, ETC.*****
*****                                                       *****
*****   THOSE ISSUES BELONG IN DIFFERENT ISSUE TRACKERS     *****
*****                                                       *****
*****************************************************************

Affected Version: 2.10

What steps will reproduce the problem?
1. Checkout Gerrit branch stable-2.10
2. Checkout plugins/its-base branch stable-2.10
3. Checkout plugins/its-bugzilla branch master (there is not a stable branch 
for 2.10)

buck build gerrit
buck build api
buck build plugins:core
buck build plugins/its-base
buck build plugins/its-bugzilla

What is the expected output? What do you see instead?
its-bugzilla plugin is not compiled and throws an exception
java.lang.RuntimeException: Failed to coerce field named: srcs, Not an ordinary 
file: '/plugins/its-base:its-base'.
    at com.facebook.buck.rules.ParamInfo.set(ParamInfo.java:130)
    at com.facebook.buck.rules.ParamInfo.setFromParams(ParamInfo.java:93)
    at com.facebook.buck.rules.ConstructorArgMarshaller.populate(ConstructorArgMarshaller.java:115)
    at com.facebook.buck.rules.ConstructorArgMarshaller.populate(ConstructorArgMarshaller.java:95)
    at com.facebook.buck.rules.TargetNodeToBuildRuleTransformer.transform(TargetNodeToBuildRuleTransformer.java:51)
    at com.facebook.buck.parser.Parser$3.visit(Parser.java:481)
    at com.facebook.buck.parser.Parser$3.visit(Parser.java:473)
    at com.facebook.buck.graph.AbstractBottomUpTraversal.traverse(AbstractBottomUpTraversal.java:62)
    at com.facebook.buck.parser.Parser.buildActionGraphFromTargetGraph(Parser.java:532)
    at com.facebook.buck.parser.Parser.findAllTransitiveDependencies(Parser.java:400)
    at com.facebook.buck.parser.Parser.parseBuildFilesForTargets(Parser.java:367)
    at com.facebook.buck.cli.BuildCommand.runCommandWithOptionsInternal(BuildCommand.java:109)
    at com.facebook.buck.cli.BuildCommand.runCommandWithOptionsInternal(BuildCommand.java:50)
    at com.facebook.buck.cli.AbstractCommandRunner.runCommandWithOptions(AbstractCommandRunner.java:133)
    at com.facebook.buck.cli.AbstractCommandRunner.runCommand(AbstractCommandRunner.java:106)
    at com.facebook.buck.cli.Command.execute(Command.java:103)
    at com.facebook.buck.cli.Main.executeCommand(Main.java:596)
    at com.facebook.buck.cli.Main.runMainWithExitCode(Main.java:434)
    at com.facebook.buck.cli.Main.tryRunMainWithExitCode(Main.java:861)
    at com.facebook.buck.cli.Main.runMainThenExit(Main.java:880)
    at com.facebook.buck.cli.Main.nailMain(Main.java:902)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:606)
    at com.martiansoftware.nailgun.NGSession.run(NGSession.java:319)
Caused by: com.facebook.buck.rules.coercer.CoerceFailedException: Not an 
ordinary file: '/plugins/its-base:its-base'.
    at com.facebook.buck.rules.coercer.PathTypeCoercer.coerce(PathTypeCoercer.java:58)
    at com.facebook.buck.rules.coercer.PathTypeCoercer.coerce(PathTypeCoercer.java:27)
    at com.facebook.buck.rules.coercer.CollectionTypeCoercer.fill(CollectionTypeCoercer.java:65)
    at com.facebook.buck.rules.coercer.ListTypeCoercer.coerce(ListTypeCoercer.java:49)
    at com.facebook.buck.rules.coercer.ListTypeCoercer.coerce(ListTypeCoercer.java:26)
    at com.facebook.buck.rules.ParamInfo.set(ParamInfo.java:128)
    ... 25 more

Please provide any additional information below.

Original issue reported on code.google.com by eng...@gmail.com on 31 Jan 2015 at 1:38

GoogleCodeExporter commented 9 years ago

Original comment by David.Os...@gmail.com on 12 Feb 2015 at 8:32

GoogleCodeExporter commented 9 years ago
https://gerrit-review.googlesource.com/64580

Original comment by David.Os...@gmail.com on 12 Feb 2015 at 8:38