#1152555 gradle: the include patterns of JavaCompile tasks are ignored since 4.8

Package:
src:gradle
Source:
src:gradle
Submitter:
Santiago Vila
Date:
2026-10-30 14:37:03 UTC
Severity:
normal
Tags:
#1152555#5
Date:
2026-10-30 11:22:37 UTC
From:
To:
Dear maintainer:

During a rebuild of all packages in unstable, this package failed to build.

Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:

https://people.debian.org/~sanvila/build-logs/202610/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:intellij-community-idea, so that this is still
visible in the BTS web page for this package.

Thanks.
--------------------------------------------------------------------------------
[...]
  location: package com.intellij.openapi.options
/<<PKGBUILDDIR>>/platform/lang-api/src/com/intellij/facet/ui/FacetEditorTab.java:32: error: cannot find symbol
public abstract class FacetEditorTab implements Configurable {
                                                ^
  symbol: class Configurable
/<<PKGBUILDDIR>>/platform/lang-api/src/com/intellij/facet/ui/FacetEditorTab.java:38: error: cannot find symbol
  public void apply() throws ConfigurationException {
                             ^
  symbol:   class ConfigurationException
  location: class FacetEditorTab
/<<PKGBUILDDIR>>/platform/lang-api/src/com/intellij/ide/util/projectWizard/WizardContext.java:59: error: cannot find symbol
  private AbstractWizard myWizard;
          ^
  symbol:   class AbstractWizard
  location: class WizardContext
/<<PKGBUILDDIR>>/platform/lang-api/src/com/intellij/ide/util/projectWizard/WizardContext.java:82: error: cannot find symbol
  public AbstractWizard getWizard() {
         ^
  symbol:   class AbstractWizard
  location: class WizardContext
/<<PKGBUILDDIR>>/platform/lang-api/src/com/intellij/ide/util/projectWizard/WizardContext.java:86: error: cannot find symbol
  public void setWizard(AbstractWizard wizard) {
                        ^
  symbol:   class AbstractWizard
  location: class WizardContext
/<<PKGBUILDDIR>>/platform/lang-api/src/com/intellij/platform/ProjectTemplate.java:19: error: cannot find symbol
import com.intellij.openapi.ui.ValidationInfo;
                              ^
  symbol:   class ValidationInfo
  location: package com.intellij.openapi.ui
/<<PKGBUILDDIR>>/platform/lang-api/src/com/intellij/platform/ProjectTemplate.java:48: error: cannot find symbol
  ValidationInfo validateSettings();
  ^
  symbol:   class ValidationInfo
  location: interface ProjectTemplate
/<<PKGBUILDDIR>>/platform/lang-api/src/com/intellij/facet/frameworks/ui/LibrariesDownloadUiUtil.java:76: warning: non-varargs call of varargs method with inexact argument type for last parameter;
      final List<Object> newItems = new SmartList<>(LibrariesDownloadAssistant.getVersions(groupId, localUrls));
                                                                                          ^
  cast to Object for a varargs call
  cast to Object[] for a non-varargs call and to suppress this warning
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Note: Some messages have been simplified; recompile with -Xdiags:verbose to get full output
100 errors
4 warnings
only showing the first 100 errors, of 1130 total; use -Xmaxerrs if you would like to see more
:platform:lang-api:compileJava (Thread[#41,Task worker for ':',5,main]) completed. Took 1.633 secs.
:java:java-psi-impl:compileJava (Thread[#29,Daemon worker,5,main]) completed. Took 4.998 secs.

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':platform:lang-api:compileJava'.
Run with --debug option to get more log output. Run with --scan to get full insights.

* Exception is:
org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':platform:lang-api:compileJava'.
	at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:110)
	at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:77)
	at org.gradle.api.internal.tasks.execution.OutputDirectoryCreatingTaskExecuter.execute(OutputDirectoryCreatingTaskExecuter.java:51)
	at org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter.execute(SkipUpToDateTaskExecuter.java:59)
	at org.gradle.api.internal.tasks.execution.ResolveTaskOutputCachingStateExecuter.execute(ResolveTaskOutputCachingStateExecuter.java:54)
	at org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execute(ValidatingTaskExecuter.java:59)
	at org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecuter.execute(SkipEmptySourceFilesTaskExecuter.java:101)
	at org.gradle.api.internal.tasks.execution.FinalizeInputFilePropertiesTaskExecuter.execute(FinalizeInputFilePropertiesTaskExecuter.java:44)
	at org.gradle.api.internal.tasks.execution.CleanupStaleOutputsExecuter.execute(CleanupStaleOutputsExecuter.java:91)
	at org.gradle.api.internal.tasks.execution.ResolveTaskArtifactStateTaskExecuter.execute(ResolveTaskArtifactStateTaskExecuter.java:62)
	at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:59)
	at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:54)
	at org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter.execute(ExecuteAtMostOnceTaskExecuter.java:43)
	at org.gradle.api.internal.tasks.execution.CatchExceptionTaskExecuter.execute(CatchExceptionTaskExecuter.java:34)
	at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.run(EventFiringTaskExecuter.java:51)
	at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:317)
	at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:309)
	at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:185)
	at org.gradle.internal.operations.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:97)
	at org.gradle.internal.operations.DelegatingBuildOperationExecutor.run(DelegatingBuildOperationExecutor.java:31)
	at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter.execute(EventFiringTaskExecuter.java:46)
	at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$ExecuteTaskAction.execute(DefaultTaskExecutionGraph.java:262)
	at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$ExecuteTaskAction.execute(DefaultTaskExecutionGraph.java:246)
	at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker$1.execute(DefaultTaskPlanExecutor.java:136)
	at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker$1.execute(DefaultTaskPlanExecutor.java:130)
	at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker.execute(DefaultTaskPlanExecutor.java:201)
	at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker.executeWithTask(DefaultTaskPlanExecutor.java:192)
	at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker.run(DefaultTaskPlanExecutor.java:130)
	at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:63)
	at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:46)
	at org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:55)
Caused by: org.gradle.api.internal.tasks.compile.CompilationFailedException: Compilation failed; see the compiler error output for details.
	at org.gradle.api.internal.tasks.compile.JdkJavaCompiler.execute(JdkJavaCompiler.java:52)
	at org.gradle.api.internal.tasks.compile.JdkJavaCompiler.execute(JdkJavaCompiler.java:36)
	at org.gradle.api.internal.tasks.compile.NormalizingJavaCompiler.delegateAndHandleErrors(NormalizingJavaCompiler.java:86)
	at org.gradle.api.internal.tasks.compile.NormalizingJavaCompiler.execute(NormalizingJavaCompiler.java:47)
	at org.gradle.api.internal.tasks.compile.NormalizingJavaCompiler.execute(NormalizingJavaCompiler.java:33)
	at org.gradle.api.internal.tasks.compile.CleaningJavaCompilerSupport.execute(CleaningJavaCompilerSupport.java:40)
	at org.gradle.api.internal.tasks.compile.CleaningJavaCompilerSupport.execute(CleaningJavaCompilerSupport.java:27)
	at org.gradle.api.tasks.compile.JavaCompile.performCompilation(JavaCompile.java:161)
	at org.gradle.api.tasks.compile.JavaCompile.compile(JavaCompile.java:146)
	at org.gradle.api.tasks.compile.JavaCompile.compile(JavaCompile.java:118)
	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
	at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:73)
	at org.gradle.api.internal.project.taskfactory.IncrementalTaskAction.doExecute(IncrementalTaskAction.java:50)
	at org.gradle.api.internal.project.taskfactory.StandardTaskAction.execute(StandardTaskAction.java:39)
	at org.gradle.api.internal.project.taskfactory.StandardTaskAction.execute(StandardTaskAction.java:26)
	at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter$1.run(ExecuteActionsTaskExecuter.java:131)
	at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:317)
	at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:309)
	at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:185)
	at org.gradle.internal.operations.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:97)
	at org.gradle.internal.operations.DelegatingBuildOperationExecutor.run(DelegatingBuildOperationExecutor.java:31)
	at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeAction(ExecuteActionsTaskExecuter.java:120)
	at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:99)
	... 30 more


* Get more help at https://help.gradle.org

BUILD FAILED in 25s
65 actionable tasks: 65 executed
dh_auto_build: error: gradle --info --console plain --offline --stacktrace --no-daemon --refresh-dependencies --gradle-user-home .gradle -Duser.home=. -Duser.name=debian -Ddebian.package=intellij-community-idea -Dfile.encoding=UTF-8 --parallel --max-workers=2 dist returned exit code 1
make[1]: *** [debian/rules:8: override_dh_auto_build] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:4: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------

#1152555#18
Date:
2026-10-30 13:47:41 UTC
From:
To:
Hello,

Bug #1152555 in gradle reported by you has been fixed in the
Git repository and is awaiting an upload. You can see the commit
message below and you can check the diff of the fix at:

https://salsa.debian.org/java-team/gradle/-/commit/ff3ab3251f75b72b87d4660925ce599bd2ab0d57

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1152555

#1152555#25
Date:
2026-10-30 14:36:09 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
gradle, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1152555@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Emmanuel Bourg <ebourg@apache.org> (supplier of updated gradle package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Fri, 30 Oct 2026 14:47:10 +0100
Source: gradle
Architecture: source
Version: 4.9-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>
Changed-By: Emmanuel Bourg <ebourg@apache.org>
Closes: 1152555
Changes:
 gradle (4.9-1) unstable; urgency=medium
 .
   * New upstream release (Closes: #1152555)
     - Refreshed the patches
     - Fixed the compatibility with Gradle 4.8
     - Pass --add-opens to the worker processes, Groovy is now compiled
       in a worker daemon
   * Download the upstream source from the Git repository
Checksums-Sha1:
 376da6a36a1300443f7c71b2212f91ca9a08f765 3423 gradle_4.9-1.dsc
 7d74eae71aeb38749ce60849e9f36b0f3a40c98d 12081284 gradle_4.9.orig.tar.xz
 8814db3b418e325654f29ae6b4235c27bf8c227d 72464 gradle_4.9-1.debian.tar.xz
 c91e425fa899088b57823be0ff6b61e9b29db8fa 21332 gradle_4.9-1_source.buildinfo
Checksums-Sha256:
 891aa8447094fb567f1e3c9f855e8c32c2661f23ad94dc663fee12809381f20f 3423 gradle_4.9-1.dsc
 be60b1688ca06c5e5584536bd50afd1e752331a4acb700f155d5aa280240a0ce 12081284 gradle_4.9.orig.tar.xz
 57ea7eb6bd94b9c498840fb308130963fb1cc30872001b36fa1ff744d4ece74c 72464 gradle_4.9-1.debian.tar.xz
 ca4b85bfed2b2f793c015c838786df3ad3dea1409ebff11207c415eecb5151c8 21332 gradle_4.9-1_source.buildinfo
Files:
 33972b8f45d74e3e1efed6627a091710 3423 java optional gradle_4.9-1.dsc
 c1bf9e06e4e40ceca5f788aa84ec056d 12081284 java optional gradle_4.9.orig.tar.xz
 abd4110a7d20b080c383cb698601890e 72464 java optional gradle_4.9-1.debian.tar.xz
 5d3671b61d9a007948d8832887091c32 21332 java optional gradle_4.9-1_source.buildinfo
-----BEGIN PGP SIGNATURE-----

iQJGBAEBCgAwFiEEuM5N4hCA3PkD4WxA9RPEGeS50KwFAmrkn/YSHGVib3VyZ0Bh
cGFjaGUub3JnAAoJEPUTxBnkudCs4EIQAJ7Nd8eS8cCQDFEabbx2mZPrvuAWkDdS
z/Gvn0Ui2Y18jbhmR5Uc3lDdyy6W8dlwQ6o4SSlae4yw8fhjWPc8/F9gpNMbz4PJ
xshR7Qh+fBNmE2k6ThfckjA1uxj/3/YbEinFbnXvN5IUKS90B9RYuC5HF45BqJXg
ZW5dHdRdJaU16IkFDXPt5wY5lXOV+Fg+XcetaKcivKqodGxADg8ND4lV+hDZJI28
Rg5vMOtjGQqRGFF0q5XccwVX6MtWNwYN6nMW0U3Wsr5SdQVs/nkp8nNzJ2m+vdrm
gqYKKwQIuO8bCsWLmT//twp8J6yN0Wiu+2qj9t5+DYslFs0J3esVM95PCS5blljx
5jb0A0heXkhW9kWrVX6kR4XrEG5pvdpPA8gffSrrBQYkMd3CkKR/g2YVky0qudas
1CJCXtd5EtXRaZJL+H1HCmPN9fsO7cOSWeLerbMkXIrcxGENQUrOsQWSHvIN1jpm
p4WE4DWsOl37yDuRYoztwvf08Jq13uNwxMZ4XuIO/liNJ7HEr1UTil6oVDgsC4oi
5AOzKan18prmyAY1QV1XlIvQm93eXjqSphfoyfVZnA1Jf2chtGRuudIJgfcqes6Q
rLiAslGzjOiNaGyHcE2wWtc60WJW2zsvlkdp6pBiiaMaCdv0NyfEp+STuLVHQfwC
Tj4LHjU3LW19
=BeAF
-----END PGP SIGNATURE-----