Skip to content

Support Roaring-backed bitsets - #1732

Draft
hicder-rddt wants to merge 1 commit into
zilliztech:mainfrom
hicder-rddt:hieu/roaring
Draft

Support Roaring-backed bitsets#1732
hicder-rddt wants to merge 1 commit into
zilliztech:mainfrom
hicder-rddt:hieu/roaring

Support Roaring-backed bitsets

709b998
Select commit
Loading
Failed to load commit list.
Zilliz CI / Jenkins failed Aug 9, 2026 in 1h 13m 20s

Build: error in 'sh' step

Build / Shell Script

Error in sh step, with arguments cd python && VERSION=1732.20260809.709b998 ./build_portable_wheel.sh.

script returned exit code 1
Build log
+ cd python
+ VERSION=1732.20260809.709b998 ./build_portable_wheel.sh
PyKnowhere Portable Wheel Builder
==================================

[INFO] Checking dependencies...
[INFO] All dependencies OK
[INFO] Target platform: manylinux_2_35_aarch64
[INFO] Building wheel with /home/jenkins/agent/workspace/nowhere_Knowhere_e2e_arm_PR-1732/python/.venv/bin/python...
/home/jenkins/agent/workspace/nowhere_Knowhere_e2e_arm_PR-1732/python/.venv/lib/python3.11/site-packages/setuptools/dist.py:765: SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!

        ********************************************************************************
        Please consider removing the following classifiers in favor of a SPDX license expression:

        License :: OSI Approved :: Apache Software License

        See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
        ********************************************************************************

!!
  self._finalize_license_expression()
running bdist_wheel
running build
running build_py
running build_ext
building 'knowhere._swigknowhere' extension
swigging knowhere/knowhere.i to knowhere/knowhere_wrap.cpp
swig -python -c++ -I../include -o knowhere/knowhere_wrap.cpp knowhere/knowhere.i
../include/knowhere/dataset.h:29: Warning 401: Nothing known about base class 'std::enable_shared_from_this< DataSet const >'. Ignored.
../include/knowhere/dataset.h:29: Warning 401: Maybe you forgot to instantiate 'std::enable_shared_from_this< DataSet const >' using %template.
aarch64-linux-gnu-g++ -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -fPIC -DFINTEGER=int -DSWIGWORDSIZE64=1 -DGLOG_USE_GLOG_EXPORT -I/home/jenkins/agent/workspace/nowhere_Knowhere_e2e_arm_PR-1732/python/.venv/lib/python3.11/site-packages/numpy/_core/include -I../include -I../thirdparty -I/root/.conan2/p/b/milvua98f8cf330dbc/p/include -I/root/.conan2/p/b/boost65fabda14f744/p/include -I/root/.conan2/p/b/nlohma938b0265b341/p/include -I/root/.conan2/p/b/glogb2f5460ad4e9c/p/include -I/root/.conan2/p/b/gflag687425a0d5a2c/p/include -I/home/jenkins/agent/workspace/nowhere_Knowhere_e2e_arm_PR-1732/python/.venv/include -I/usr/include/python3.11 -c knowhere/knowhere_wrap.cpp -o build/temp.linux-aarch64-cpython-311/knowhere/knowhere_wrap.o -fPIC -std=gnu++17
In file included from ../include/knowhere/range_util.h:18,
                 from ../include/knowhere/dataset.h:24,
                 from ../include/knowhere/index/index.h:17,
                 from ../include/knowhere/index/index_factory.h:21,
                 from knowhere/knowhere_wrap.cpp:2867:
../include/knowhere/bitsetview.h:15:10: fatal error: roaring/roaring.h: No such file or directory
   15 | #include <roaring/roaring.h>
      |          ^~~~~~~~~~~~~~~~~~~
compilation terminated.
error: Command '['aarch64-linux-gnu-g++', '-Wsign-compare', '-DNDEBUG', '-g', '-fwrapv', '-O2', '-Wall', '-g', '-fstack-protector-strong', '-Wformat', '-Werror=format-security', '-g', '-fwrapv', '-O2', '-fPIC', '-DFINTEGER=int', '-DSWIGWORDSIZE64=1', '-DGLOG_USE_GLOG_EXPORT', '-I/home/jenkins/agent/workspace/nowhere_Knowhere_e2e_arm_PR-1732/python/.venv/lib/python3.11/site-packages/numpy/_core/include', '-I../include', '-I../thirdparty', '-I/root/.conan2/p/b/milvua98f8cf330dbc/p/include', '-I/root/.conan2/p/b/boost65fabda14f744/p/include', '-I/root/.conan2/p/b/nlohma938b0265b341/p/include', '-I/root/.conan2/p/b/glogb2f5460ad4e9c/p/include', '-I/root/.conan2/p/b/gflag687425a0d5a2c/p/include', '-I/home/jenkins/agent/workspace/nowhere_Knowhere_e2e_arm_PR-1732/python/.venv/include', '-I/usr/include/python3.11', '-c', 'knowhere/knowhere_wrap.cpp', '-o', 'build/temp.linux-aarch64-cpython-311/knowhere/knowhere_wrap.o', '-fPIC', '-std=gnu++17']' returned non-zero exit status 1.
[ERROR] Wheel build failed

Details

  • Declarative: Checkout SCM (10 sec)
    • Build (1 hr 13 min)
      Error: script returned exit code 1
    • Test (1.8 sec)