community failing for several days now

I ensured a fresh clone from github, to as best I could, rule out any dirty files but still I get the following extremely unhelpful error message when running

ant
:
     [java] Build log (info) will be written to /var/folders/gw/84pd2myx7hx3yx8dnr84glp40000gq/T/system/build-log/build.log
     [java] Loaded project /proj/jetbrains/community_fresh: 236 modules, 74 libraries
     [java] 'jdk16.mac' is not defined. Defaulting to 'true'
     [java] 'jdk.bundled.win' is not defined. Defaulting to '1.8'
     [java] 'jdk.bundled.linux' is not defined. Defaulting to 'false'
     [java] 'jdk.bundled.mac' is not defined. Defaulting to '1.8'
     [java] 'jdk.custom.mac' is not defined. Defaulting to 'true'
     [java]     [mkdir] Created dir: /proj/jetbrains/community_fresh/out/bundled.win.jdk
     [java]
     [java] BUILD FAILED
     [java] /proj/jetbrains/community_fresh/build/gant.xml:57: : Src must not be a directory. Use nested filesets instead.
     [java]
     [java] Total time: 5 seconds

As one might suspect, line 57 of

build/gant.xml
is just the modified gant invocation, so it doesn't help me in the slightest to know where that bogus "Src" part lives.
Also, please let me know if this is the best mechanism to report these kinds of errors; I don't want to file YouTracks for them, but I don't want this failing build to continue, either.
5 comments
Comment actions Permalink
I had a theory and tested it and have isolated the issue:

// this is line 1035 in "build/scripts/utils.gant"
binding.setVariable("extractRedistJre", { String jdk_file_name, String destination  ->
  java.lang.System.err.println("extractRedistJre::jdk_file_name := <<${jdk_file_name}>>")
  java.lang.System.err.println("extractRedistJre::jre_redist := <<${destination}>>")
Outputs the following:
     [java]      [gant] extractRedistJre::jdk_file_name := <<>>
     [java]      [gant] extractRedistJre::jre_redist := <</proj/jetbrains/community_fresh/out/bundled.win.jdk>>

So the jdk file name is empty, which really jams up gant. Thanks, gant, for really helping me out with that error message.
0
Comment actions Permalink

Hi Matthew,

Thanks for your investigation! Yes, this is a good place to report such problems. I've forwarded this thread to our release engineer and he'll look into the problem.

0
Comment actions Permalink
As I describe in a comment on the commit, that is not my experience.
0
Comment actions Permalink

Please fix this:

     [java] Build log (info) will be written to /var/folders/gw/84pd2myx7hx3yx8dnr84glp40000gq/T/system/build-log/build.log
     [java] Loaded project /proj/jetbrains/community: 258 modules, 74 libraries
     [java] ##teamcity[progressMessage 'Cleaning up sandbox folder']
     [java]    [delete] Deleting directory /proj/jetbrains/community/out
     [java]     [mkdir] Created dir: /proj/jetbrains/community/out
     [java]     [mkdir] Created dir: /proj/jetbrains/community/out/dist.win.ce
     [java]     [mkdir] Created dir: /proj/jetbrains/community/out/dist.all.ce
     [java]     [mkdir] Created dir: /proj/jetbrains/community/out/dist.unix.ce
     [java]     [mkdir] Created dir: /proj/jetbrains/community/out/dist.mac.ce
     [java]     [mkdir] Created dir: /proj/jetbrains/community/out/artifacts
     [java]     [mkdir] Created dir: /proj/jetbrains/community/out/artifacts/core
     [java]     [mkdir] Created dir: /proj/jetbrains/community/out/artifacts/jps
     [java] ##teamcity[buildStatisticValue key='Cleaning output time, ms' value='78']
     [java] 'jdk16.mac' is not defined. Defaulting to 'true'
     [java] 'jdk.bundled.win' is not defined. Defaulting to '1.8'
     [java] 'jdk.bundled.linux' is not defined. Defaulting to 'false'
     [java] 'jdk.bundled.mac' is not defined. Defaulting to '1.8'
     [java] 'jdk.custom.mac' is not defined. Defaulting to 'true'
     [java]     [mkdir] Created dir: /proj/jetbrains/community/out/bundled.win.jdk/jre
     [java]
     [java] BUILD FAILED
     [java] /proj/jetbrains/community/build/gant.xml:57: : Src must not be a directory. Use nested filesets instead.
     [java]
     [java] Total time: 6 seconds

BUILD FAILED
/proj/jetbrains/community/build.xml:31: The following error occurred while executing this line:
/proj/jetbrains/community/build.xml:18: Java returned: 1

Total time: 7 seconds
/proj/jetbrains/community $ git rev-parse --short=8 HEAD
5a6d28aa


And it's not just my machine:
https://travis-ci.org/mdanielwork/intellij-community/jobs/68371766

0

Please sign in to leave a comment.