Bug#842808: gant: FTBFS: Cannot add task ':gant:install' as a task with that name already exists
Chris Lamb
lamby at debian.org
Tue Nov 1 12:41:18 UTC 2016
Source: gant
Version: 1.9.11-4
Severity: serious
Justification: fails to build from source
User: reproducible-builds at lists.alioth.debian.org
Usertags: ftbfs
X-Debbugs-Cc: reproducible-builds at lists.alioth.debian.org
Dear Maintainer,
gant fails to build from source in unstable/amd64:
[…]
debian/rules build
dh build --buildsystem=gradle
dh_testdir -O--buildsystem=gradle
dh_update_autotools_config -O--buildsystem=gradle
dh_auto_configure -O--buildsystem=gradle
dh_auto_build -O--buildsystem=gradle
mkdir -p .gradle/init.d
cp /usr/share/gradle-debian-helper/init.gradle .gradle/init.d/
gradle --info --console plain --offline --stacktrace --no-daemon --refresh-dependencies --gradle-user-home .gradle -Duser.home=. -Duser.name=debian jar
Starting Build
Compiling initialization script '/home/lamby/temp/cdt.20161101123313.GJANPAnLhA.db.gant/gant-1.9.11/.gradle/init.d/init.gradle' using SubsetScriptTransformer.
Compiling initialization script '/home/lamby/temp/cdt.20161101123313.GJANPAnLhA.db.gant/gant-1.9.11/.gradle/init.d/init.gradle' using BuildScriptTransformer.
Loading the Maven rules...
Compiling settings file '/home/lamby/temp/cdt.20161101123313.GJANPAnLhA.db.gant/gant-1.9.11/settings.gradle' using SubsetScriptTransformer.
Compiling settings file '/home/lamby/temp/cdt.20161101123313.GJANPAnLhA.db.gant/gant-1.9.11/settings.gradle' using BuildScriptTransformer.
Settings evaluated using settings file '/home/lamby/temp/cdt.20161101123313.GJANPAnLhA.db.gant/gant-1.9.11/settings.gradle'.
Projects loaded. Root project using build file '/home/lamby/temp/cdt.20161101123313.GJANPAnLhA.db.gant/gant-1.9.11/build.gradle'.
Included projects: [root project 'gant-1.9.11', project ':gant', project ':gant_groovy2.0', project ':gant_groovy2.1', project ':gant_groovy2.2', project ':gant_groovy2.3']
Keep-alive timer started
Adding Debian repository to project 'gant-1.9.11'
Adding Debian repository to project 'gant'
Adding Debian repository to project 'gant_groovy2.0'
Adding Debian repository to project 'gant_groovy2.1'
Adding Debian repository to project 'gant_groovy2.2'
Adding Debian repository to project 'gant_groovy2.3'
Evaluating root project 'gant-1.9.11' using build file '/home/lamby/temp/cdt.20161101123313.GJANPAnLhA.db.gant/gant-1.9.11/build.gradle'.
Compiling build file '/home/lamby/temp/cdt.20161101123313.GJANPAnLhA.db.gant/gant-1.9.11/build.gradle' using SubsetScriptTransformer.
Compiling build file '/home/lamby/temp/cdt.20161101123313.GJANPAnLhA.db.gant/gant-1.9.11/build.gradle' using BuildScriptTransformer.
Replacing commons-cli:commons-cli:jar:1.2 -> commons-cli:commons-cli:jar:debian
Replacing org.apache.ant:ant:jar:1.9.2 -> org.apache.ant:ant:jar:debian
Passing through org.apache.ant:ant-parent:jar:debian
Replacing org.codehaus.groovy:groovy-all:jar:2.2.2 -> org.codehaus.groovy:groovy-all:jar:debian
Replacing junit:junit:jar:4.11 -> junit:junit:jar:4.x
Replacing org.apache.ivy:ivy:jar:2.3.0 -> org.apache.ivy:ivy:jar:debian
Passing through org.apache.ant:ant-launcher:jar:debian
Passing through org.hamcrest:hamcrest-core:jar:debian
Replacing org.codehaus.groovy:groovy-all:jar:2.0.8 -> org.codehaus.groovy:groovy-all:jar:debian
Replacing org.codehaus.groovy:groovy-all:jar:2.1.9 -> org.codehaus.groovy:groovy-all:jar:debian
Replacing org.codehaus.groovy:groovy-all:jar:2.3.0 -> org.codehaus.groovy:groovy-all:jar:debian
Evaluating project ':gant' using build file '/home/lamby/temp/cdt.20161101123313.GJANPAnLhA.db.gant/gant-1.9.11/gant/build.gradle'.
Adding task debianMavenPom to project 'gant'
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring project ':gant'.
> Failed to apply plugin [id 'org.gradle.maven']
> Cannot add task ':gant:install' as a task with that name already exists.
* Try:
Run with --debug option to get more log output.
* Exception is:
org.gradle.api.ProjectConfigurationException: A problem occurred configuring project ':gant'.
at org.gradle.configuration.project.LifecycleProjectEvaluator.addConfigurationFailure(LifecycleProjectEvaluator.java:79)
at org.gradle.configuration.project.LifecycleProjectEvaluator.notifyAfterEvaluate(LifecycleProjectEvaluator.java:74)
at org.gradle.configuration.project.LifecycleProjectEvaluator.evaluate(LifecycleProjectEvaluator.java:61)
at org.gradle.api.internal.project.AbstractProject.evaluate(AbstractProject.java:529)
at org.gradle.api.internal.project.AbstractProject.evaluate(AbstractProject.java:90)
at org.gradle.execution.TaskPathProjectEvaluator.configureHierarchy(TaskPathProjectEvaluator.java:47)
at org.gradle.configuration.DefaultBuildConfigurer.configure(DefaultBuildConfigurer.java:35)
at org.gradle.initialization.DefaultGradleLauncher$2.run(DefaultGradleLauncher.java:125)
at org.gradle.internal.Factories$1.create(Factories.java:22)
at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:90)
at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:52)
at org.gradle.initialization.DefaultGradleLauncher.doBuildStages(DefaultGradleLauncher.java:122)
at org.gradle.initialization.DefaultGradleLauncher.access$200(DefaultGradleLauncher.java:32)
at org.gradle.initialization.DefaultGradleLauncher$1.create(DefaultGradleLauncher.java:99)
at org.gradle.initialization.DefaultGradleLauncher$1.create(DefaultGradleLauncher.java:93)
at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:90)
at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:62)
at org.gradle.initialization.DefaultGradleLauncher.doBuild(DefaultGradleLauncher.java:93)
at org.gradle.initialization.DefaultGradleLauncher.run(DefaultGradleLauncher.java:82)
at org.gradle.launcher.exec.InProcessBuildActionExecuter$DefaultBuildController.run(InProcessBuildActionExecuter.java:94)
at org.gradle.tooling.internal.provider.ExecuteBuildActionRunner.run(ExecuteBuildActionRunner.java:28)
at org.gradle.launcher.exec.ChainingBuildActionRunner.run(ChainingBuildActionRunner.java:35)
at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:43)
at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:28)
at org.gradle.launcher.exec.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:81)
at org.gradle.launcher.exec.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:46)
at org.gradle.launcher.exec.DaemonUsageSuggestingBuildActionExecuter.execute(DaemonUsageSuggestingBuildActionExecuter.java:51)
at org.gradle.launcher.exec.DaemonUsageSuggestingBuildActionExecuter.execute(DaemonUsageSuggestingBuildActionExecuter.java:28)
at org.gradle.launcher.cli.RunBuildAction.run(RunBuildAction.java:43)
at org.gradle.internal.Actions$RunnableActionAdapter.execute(Actions.java:173)
at org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:241)
at org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:214)
at org.gradle.launcher.cli.JavaRuntimeValidationAction.execute(JavaRuntimeValidationAction.java:35)
at org.gradle.launcher.cli.JavaRuntimeValidationAction.execute(JavaRuntimeValidationAction.java:24)
at org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:207)
at org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:169)
at org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:33)
at org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:22)
at org.gradle.launcher.Main.doAction(Main.java:33)
at org.gradle.launcher.bootstrap.EntryPoint.run(EntryPoint.java:45)
at org.gradle.launcher.bootstrap.ProcessBootstrap.runNoExit(ProcessBootstrap.java:55)
at org.gradle.launcher.bootstrap.ProcessBootstrap.run(ProcessBootstrap.java:36)
at org.gradle.launcher.GradleMain.main(GradleMain.java:23)
Caused by: org.gradle.api.internal.plugins.PluginApplicationException: Failed to apply plugin [id 'org.gradle.maven']
at org.gradle.api.internal.plugins.DefaultPluginManager.doApply(DefaultPluginManager.java:153)
at org.gradle.api.internal.plugins.DefaultPluginManager.apply(DefaultPluginManager.java:112)
at org.debian.gradle.DebianHelperPlugin$1$1.execute(DebianHelperPlugin.java:65)
at org.debian.gradle.DebianHelperPlugin$1$1.execute(DebianHelperPlugin.java:60)
at org.gradle.internal.event.BroadcastDispatch$ActionInvocationHandler.dispatch(BroadcastDispatch.java:93)
at org.gradle.internal.event.BroadcastDispatch$ActionInvocationHandler.dispatch(BroadcastDispatch.java:82)
at org.gradle.internal.event.AbstractBroadcastDispatch.dispatch(AbstractBroadcastDispatch.java:44)
at org.gradle.internal.event.BroadcastDispatch.dispatch(BroadcastDispatch.java:79)
at org.gradle.internal.event.BroadcastDispatch.dispatch(BroadcastDispatch.java:30)
at org.gradle.messaging.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:93)
at com.sun.proxy.$Proxy11.afterEvaluate(Unknown Source)
at org.gradle.configuration.project.LifecycleProjectEvaluator.notifyAfterEvaluate(LifecycleProjectEvaluator.java:67)
... 41 more
Caused by: org.gradle.api.InvalidUserDataException: Cannot add task ':gant:install' as a task with that name already exists.
at org.gradle.api.internal.tasks.DefaultTaskContainer.create(DefaultTaskContainer.java:74)
at org.gradle.api.internal.tasks.DefaultTaskContainer.create(DefaultTaskContainer.java:97)
at org.gradle.api.plugins.MavenPlugin.configureInstall(MavenPlugin.java:180)
at org.gradle.api.plugins.MavenPlugin.access$100(MavenPlugin.java:55)
at org.gradle.api.plugins.MavenPlugin$1.execute(MavenPlugin.java:110)
at org.gradle.api.plugins.MavenPlugin$1.execute(MavenPlugin.java:107)
at org.gradle.internal.Actions$FilteredAction.execute(Actions.java:205)
at org.gradle.api.internal.DefaultDomainObjectCollection.all(DefaultDomainObjectCollection.java:110)
at org.gradle.api.internal.DefaultDomainObjectCollection.withType(DefaultDomainObjectCollection.java:120)
at org.gradle.api.plugins.MavenPlugin.apply(MavenPlugin.java:107)
at org.gradle.api.plugins.MavenPlugin.apply(MavenPlugin.java:55)
at org.gradle.api.internal.plugins.ImperativeOnlyPluginApplicator.applyImperative(ImperativeOnlyPluginApplicator.java:35)
at org.gradle.api.internal.plugins.RuleBasedPluginApplicator.applyImperative(RuleBasedPluginApplicator.java:43)
at org.gradle.api.internal.plugins.DefaultPluginManager.doApply(DefaultPluginManager.java:137)
... 52 more
BUILD FAILED
Total time: 6.785 secs
Stopped 0 compiler daemon(s).
dh_auto_build: gradle --info --console plain --offline --stacktrace --no-daemon --refresh-dependencies --gradle-user-home .gradle -Duser.home=. -Duser.name=debian jar returned exit code 1
debian/rules:9: recipe for target 'build' failed
make: *** [build] Error 1
[…]
The full build log is attached.
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` lamby at debian.org / chris-lamb.co.uk
`-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gant.1.9.11-4.unstable.amd64.log.txt.gz
Type: application/octet-stream
Size: 21975 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/reproducible-builds/attachments/20161101/57e3e411/attachment.obj>
More information about the Reproducible-builds
mailing list