typesense / typesense/typesense

bazel build failure

Open
#1,655 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
26.6k
Forks
973
Avg merge
18h 45m
Merged PRs (30d)
4

Description

Description

Does typesense support centos7 source build? I tried branch 0.25, v0.23, v27, but all got failed. Thanks.

Steps to reproduce

bazelisk build //:typesense-server --verbose_failures --sandbox_debug

Expected Behavior

build success

Actual Behaviorb

INFO: Analyzed target //:typesense-server (119 packages loaded, 58899 targets configured).
ERROR: /home/admin/.cache/bazel/_bazel_admin/c511bda85242a16b1a1b67557d0f0868/external/s2geometry/BUILD.bazel:24:6: output 'external/s2geometry/s2geometry/lib/libs2.a' was not created
ERROR: /home/admin/.cache/bazel/_bazel_admin/c511bda85242a16b1a1b67557d0f0868/external/s2geometry/BUILD.bazel:24:6: Foreign Cc - CMake: Building s2geometry failed: not all outputs were created or valid
Target //:typesense-server failed to build

Metadata

Typesense Version: branch 0.25, v0.23, v27

OS: centos7
bazel 7.1.1, gcc 7.3

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue with bazelisk build //:typesense-server --verbose_failures --sandbox_debug on CentOS 7 using the reported versions. Inspect external/s2geometry/BUILD.bazel and the failure to create external/s2geometry/s2geometry/lib/libs2.a. Done means the Typesense server target builds successfully from source on CentOS 7.

Written by the indexing model from the issue text.

Assessment

Tech stack
centos, cmake, cpp
Domain
build-system, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.