Re: Fail to build Flink 1.15.1

2022-09-12 Thread Chesnay Schepler
I think you want to use --single-branch instead of --depth 1; the latter only overrides top-level files, leaving the remaining files on whatever version you checked out previously. https://git-scm.com/docs/git-clone#Documentation/git-clone.txt---depthltdepthgt On 10/09/2022 16:08, Jun Qin wrot

Re: Fail to build Flink 1.15.1

2022-09-10 Thread Jun Qin
Thanks Chesnay, I wanted to check out the tagged release 1.15.1. I did it in this way: git clone --depth 1 --branch release-1.15.1 g...@github.com:apache/flink.git This seems cause the problem. With the same java/maven, I can build the branch 1.15. > On Sep 9, 2022, at 11:58 PM, Chesnay Sch

Re: Fail to build Flink 1.15.1

2022-09-09 Thread Chesnay Schepler
hmm...we've only seen that error in older Flink version: https://nightlies.apache.org/flink/flink-docs-release-1.15/docs/flinkdev/ide_setup/#compilation-fails-with-cannot-find-symbol-symbol-method-defineclass-location-class-sunmiscunsafe Please double-check whether you actually checked out 1.15.

Fail to build Flink 1.15.1

2022-09-09 Thread Jun Qin
I have an issue when build a clean Flink 1.15.1 on MacOS with: mvn clean install -DskipTests -Dfast % echo $JAVA_HOME /usr/local/Cellar/ope