Uploaded image for project: 'CernVM'
  1. CernVM
  2. CVM-1362

Fail to install CVMFS on Manjaro linux

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: CernVM-FS 2.3.5
    • Fix Version/s: CernVM-FS 2.4
    • Component/s: CVMFS
    • Labels:
      None
    • Environment:

      Manjaro Linux 64-bit (Arch based system)

    • Bug / Feature:
      Bug report
    • Item Group:
      Installation Problem
    • Operating System:
      GNU/Linux
    • Platforms:
      x86_64-slc6-gcc48-opt
    • Development:

      Description

      The current CMakeList.txt will fail to install cvmfs package on Manjaro Linux. This OS is Arch based and it has the same /usr folder structure of Arch. The error during installing is:

      error: failed to commit transaction (conflicting files)
      cvmfs: /usr/lib64 exists in filesystem

      This happens because Manjaro is seen by CMakeList.txt as a RedHat distro: in fact, it will fail the check at line 44 (https://github.com/cvmfs/cvmfs/blob/master/CMakeLists.txt)

      if (EXISTS /etc/arch-release)
          set (ARCHLINUX TRUE)

      and consequently it fails to set correctly the CMAKE_INSTALL_LIBDIR variable.

      A quick fix could be add another condition to the if at line 44:

      if (EXISTS /etc/arch-release OR EXISTS /etc/manjaro-release)
          set (ARCHLINUX TRUE)

      Cheers,
      Davide

        Attachments

          Activity

            People

            • Assignee:
              rpopescu Radu Popescu
              Reporter:
              mungo Davide Pietro Mungo
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                PlannedStart: