Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • slapos slapos
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Merge requests 129
    • Merge requests 129
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Jobs
  • Commits
Collapse sidebar
  • nexedinexedi
  • slaposslapos
  • Merge requests
  • !1580

WIP: Fix libarchive for CMake in newer machines.

  • Review changes

  • Download
  • Patches
  • Plain diff
Closed Carlos Ramos Carreño requested to merge vnmabus/slapos:fix/libarchive_patch into master May 15, 2024
  • Overview 8
  • Commits 2
  • Pipelines 0
  • Changes 2

When compiling CMake, libarchive does not compile, showing a error: multiple definition of 'enum fsconfig_command' (e.g. https://discourse.cmake.org/t/building-cmake-from-source-on-linux-fedora-37/7519/4). This is because starting from Glibc 2.36, it is not possible to include both "linux/fs.h" and "sys/mount.h".

We can apply a patch, similar to the one in https://patchwork.yoctoproject.org/project/oe-core/patch/20220728143044.1696098-1-raj.khem@gmail.com/ , but with the filenames and lines changed to match the correct file.

Note that this error is the same in !1579 (merged) but for a different component.

Edited Aug 23, 2024 by Vincent Pelletier
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: fix/libarchive_patch
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7