Skip to content

[Build] Parquet dependency conflicts between conan and system lib #1008

Description

@wecharyu

Summary of the Build Issue

In hosts with Arrow/Parquet installed under /usr/local, the latter two calls resolve system packages. This mixes system package metadata with Conan-managed Arrow and fails while loading Parquet.

Build Command

scripts/conan/recipes/paimon-cpp/all
conan create . --version=0.0.4-bolt --build=missing

Build Environment (Crucial)


System Configuration Report

(Auto-generated via 'make report')

1. Hardware & OS (Performance Context)

  • OS: GNU/Linux 5.4.139-1.el7.elrepo.x86_64 [Ubuntu 24.04.4 LTS]
  • Arch: x86_64
  • CPU: Intel(R) Xeon(R) Silver 4216 CPU @ 2.10GHz
  • Cores: 64
  • RAM: 503 GB

2. Compiler Toolchain (Build Context)

  • C Compiler: cc
    • Version: cc (Ubuntu 11.5.0-1ubuntu1~24.04.1) 11.5.0
  • CXX Compiler: g++
    • Version: g++ (Ubuntu 11.5.0-1ubuntu1~24.04.1) 11.5.0
  • CMake: 3.28.3
  • Ninja: 1.11.1

3. Conan Dependency Manager

  • Conan Version: Conan version 2.32.0
  • Conan Profile (default):
[settings]
arch=x86_64
build_type=Release
compiler=gcc
compiler.cppstd=gnu17
compiler.libcxx=libstdc++11
compiler.version=11
os=Linux

[settings]
arch=x86_64
build_type=Release
compiler=gcc
compiler.cppstd=gnu17
compiler.libcxx=libstdc++11
compiler.version=11
os=Linux

Conan Profile / Settings (Optional but Recommended)

Error Log / Output

CMake Error at /usr/local/lib/cmake/Parquet/ParquetConfig.cmake:71 (arrow_keep_backward_compatibility):
  Unknown CMake command "arrow_keep_backward_compatibility".
Call Stack (most recent call first):
  cmake_modules/PaimonConanDeps.cmake:28 (find_package)
  CMakeLists.txt:288 (paimon_setup_conan_deps)

Additional context

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    buildbuild system & dependency managementneeds triage

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions