Hi, The previous problem is solved,now I encounter the other problem when execute ./dev-support/make_rc.sh 3-publish-mvn
[INFO] Reference buildinfo file not found: it will be generated from downloaded reference artifacts [INFO] Minimal buildinfo generated from downloaded artifacts: /Users/txy/Study/ratis/target/reference/ratis-3.2.0.buildinfo [ERROR] sha512 mismatch ratis-3.2.0.pom: investigate with diffoscope target/reference/org.apache.ratis/ratis-3.2.0.pom pom.xml [ERROR] Reproducible Build output summary: 2 files ok, 1 different [ERROR] see diff target/reference/ratis-3.2.0.buildinfo target/ratis-3.2.0.buildinfo [ERROR] see also https://maven.apache.org/guides/mini/guide-reproducible-builds.html [INFO] Reproducible Build output comparison saved to /Users/txy/Study/ratis/target/ratis-3.2.0.buildcompare [INFO] Aggregate buildcompare copied to /Users/txy/Study/ratis/target/ratis-3.2.0.buildcompare I have been busy recently and have not studied this issue further. Best ------------ Xinyu Tan On 2025/05/29 16:38:53 Tsz-Wo Nicholas Sze wrote: > Hi Xinyu, > > szetszwo@Mac apache-ratis % ./mvnw clean package -DskipTests > > ... > > [*INFO*] *BUILD SUCCESS* > > [*INFO*] > *------------------------------------------------------------------------* > > [*INFO*] Total time: 24.853 s > > [*INFO*] Finished at: 2025-05-29T09:33:15-07:00 > > [*INFO*] > *------------------------------------------------------------------------* > > [*INFO*] 277 goals, 275 executed, 2 from cache > > I am able to build ratis in my ARM mac. Could you try ./mvnw and update > the JDK? Below are the versions in my machine: > > > szetszwo@Mac apache-ratis % mvn -version > > *Apache Maven 3.9.9 (8e8579a9e76f7d015ee5ec7bfcdc97d260186937)* > > Maven home: /opt/homebrew/Cellar/maven/3.9.9/libexec > > Java version: 1.8.0_452, vendor: Azul Systems, Inc., runtime: > /Library/Java/JavaVirtualMachines/zulu-8.jdk/Contents/Home/jre > > Default locale: en_US, platform encoding: UTF-8 > > OS name: "mac os x", version: "15.5", arch: "aarch64", family: "mac" > > szetszwo@Mac apache-ratis % java -version > > openjdk version "1.8.0_452" > > OpenJDK Runtime Environment (Zulu 8.86.0.25-CA-macos-aarch64) (build > 1.8.0_452-b09) > > OpenJDK 64-Bit Server VM (Zulu 8.86.0.25-CA-macos-aarch64) (build > 25.452-b09, mixed mode) > > > Tsz-Wo > > On Thu, May 29, 2025 at 7:32 AM Xinyu Tan <[email protected]> wrote: > > > Hi, dev > > > > I'm having some problems with my macbook m2 laptop. > > > > This is my enviroment > > ➜ ratis git:(master) java -version > > openjdk version "1.8.0_382" > > OpenJDK Runtime Environment (Zulu 8.72.0.17-CA-macos-aarch64) (build > > 1.8.0_382-b05) > > OpenJDK 64-Bit Server VM (Zulu 8.72.0.17-CA-macos-aarch64) (build > > 25.382-b05, mixed mode) > > ➜ ratis git:(master) protoc --version > > libprotoc 29.3 > > ➜ ratis git:(master) uname -a > > Darwin bogon 24.4.0 Darwin Kernel Version 24.4.0: Fri Apr 11 18:33:39 PDT > > 2025; root:xnu-11417.101.15~117/RELEASE_ARM64_T6020 arm64 > > > > and I execute command mvn clean package -DskipTests can it can not succeed, > > so I can't release at the moment. I want to ask anyone who's ever had a > > similar problem? > > > > > > [INFO] --- maven-resources-plugin:3.2.0:resources (default-resources) @ > > ratis-common --- > > [INFO] Using 'UTF-8' encoding to copy filtered resources. > > [INFO] Using 'UTF-8' encoding to copy filtered properties files. > > [INFO] skip non existing resourceDirectory > > /Users/txy/Study/ratis/ratis-common/src/main/resources > > [INFO] Copying 1 resource > > [INFO] Copying 3 resources > > [INFO] The encoding used to copy filtered properties files have not been > > set. This means that the same encoding will be used to copy filtered > > properties files as when copying other filtered resources. This might not > > be what you want! Run your build with --debug to see which files might be > > affected. Read more at > > > > https://maven.apache.org/plugins/maven-resources-plugin/examples/filtering-properties-files.html > > [INFO] > > [INFO] --- maven-compiler-plugin:3.10.0:compile (default-compile) @ > > ratis-common --- > > [INFO] Compiling 148 source files to > > /Users/txy/Study/ratis/ratis-common/target/classes > > [INFO] ------------------------------------------------------------- > > [ERROR] COMPILATION ERROR : > > [INFO] ------------------------------------------------------------- > > [ERROR] > > > > /Users/txy/Study/ratis/ratis-common/src/main/java/org/apache/ratis/protocol/RaftPeerId.java:[78,39] > > 错误: 无法访问ByteString > > 找不到com.google.protobuf.ByteString的类文件 > > [ERROR] > > > > /Users/txy/Study/ratis/ratis-common/src/main/java/org/apache/ratis/protocol/RaftClientRequest.java:[59,55] > > 错误: 无法访问ProtocolMessageEnum > > 找不到com.google.protobuf.ProtocolMessageEnum的类文件 > > [ERROR] > > > > /Users/txy/Study/ratis/ratis-common/src/main/java/org/apache/ratis/protocol/RaftClientRequest.java:[159,29] > > 错误: 无法访问EnumLite > > 找不到com.google.protobuf.Internal.EnumLite的类文件 > > [ERROR] > > > > /Users/txy/Study/ratis/ratis-common/src/main/java/org/apache/ratis/util/ProtoUtils.java:[69,45] > > 错误: 不兼容的类型: > > org.apache.ratis.thirdparty.com.google.protobuf.ByteString无法转换为com.google > > .protobuf.ByteString > > [ERROR] > > > > /Users/txy/Study/ratis/ratis-common/src/main/java/org/apache/ratis/util/ProtoUtils.java:[72,19] > > 错误: 不兼容的类型: 方法引用无效 > > 不兼容的类型: > > org.apache.ratis.thirdparty.com.google.protobuf.ByteString无法转换为com.google > > .protobuf.ByteString > > [ERROR] > > > > /Users/txy/Study/ratis/ratis-common/src/main/java/org/apache/ratis/util/ProtoUtils.java:[190,62] > > 错误: 不兼容的类型: > > org.apache.ratis.thirdparty.com.google.protobuf.ByteString无法转换为com.google > > .protobuf.ByteString > > [ERROR] > > > > /Users/txy/Study/ratis/ratis-common/src/main/java/org/apache/ratis/util/ProtoUtils.java:[213,52] > > 错误: 不兼容的类型: > > org.apache.ratis.thirdparty.com.google.protobuf.ByteString无法转换为com.google > > .protobuf.ByteString > > [ERROR] > > > > /Users/txy/Study/ratis/ratis-common/src/main/java/org/apache/ratis/protocol/RaftPeer.java:[187,35] > > 错误: 不兼容的类型: > > org.apache.ratis.thirdparty.com.google.protobuf.ByteString无法转换为com.google > > .protobuf.ByteString > > [INFO] 8 errors > > > > > > Best > > ----------------- > > Xinyu Tan > > > > Tsz-Wo Nicholas Sze <[email protected]> 于2025年5月29日周四 11:29写道: > > > > > Hi Xinyu, > > > > > > Yes, we are ready to start releasing 3.2.0 on the master branch. Thanks. > > > > > > Tsz-Wo > > > > > > > > > On Wed, May 28, 2025 at 8:14 PM Xinyu Tan <[email protected]> wrote: > > > > > > > Hi, Tsz-Wo > > > > > > > > So we can start a 3.2.0 rc1 release on master now? I can see all > > commits > > > > are ready now. > > > > > > > > Best > > > > ------------- > > > > Xinyu Tan > > > > > > > > On 2025/05/26 01:28:34 Xinyu Tan wrote: > > > > > Hi, > > > > > > > > > > We can utilize this thread to discuss the release of version 3.2.0. > > > > > > > > > > > > > > > Best > > > > > -------------- > > > > > Xinyu Tan > > > > > > > > > > > > > > >
