v6d icon indicating copy to clipboard operation
v6d copied to clipboard

Build error on gcc 13 + python 3.12

Open hrz6976 opened this issue 5 months ago • 2 comments

  • etcd-cpp-apiv3: 'uint64_t' does not name a type This issue has been fixed in the upstream: https://github.com/etcd-cpp-apiv3/etcd-cpp-apiv3/pull/299. Seems to be a problem caused by the changes in gcc 13 libraries. Related issue: https://github.com/hobuinc/untwine/issues/141
  • libgrape-lite: oid -Werror=maybe-uninitialized in gnn_sampler/sampler_context.h https://github.com/alibaba/libgrape-lite/blob/35d0893abccf93d4c1d92ba0892dba9423829bfe/grape/fragment/fragment_base.h#L178-L182
  OID_T Gid2Oid(VID_T gid) const {
    OID_T oid{}; // <- initialize here
    vm_ptr_->GetOid(gid, oid);
    return oid;
  }
  • v6d/python: AttributeError: module 'configparser' has no attribute 'SafeConfigParser'. Did you mean: 'RawConfigParser'? This error roots in a deprecated transitive dependency versioneer, caused by the removal of SafeConfigParser in python3.12. The dependency was introduced by hdfs, a build dependency that was deprecated years ago. Removing hdfs3 resolves the issue. (should not cause problems as hdfs3 is not used anywhere in the code) https://github.com/v6d-io/v6d/blob/f57ca13939827f0e1078476005e15608a16c0971/setup_io.py#L102-L108

hrz6976 avatar May 26 '25 08:05 hrz6976