Uploaded image for project: 'ROOT'
  1. ROOT
  2. ROOT-10968

ROOT uses buildin lzma while explicitly configuration to disable buildin lzma

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: 6.18/06
    • Fix Version/s: None
    • Component/s: Build System
    • Labels:
      None
    • Environment:

      Compiler: GCC 8.4

      OS: CentOS 7

      Arch: AMD64

      CMSSW ROOT 6.18 based release.

    • Development:

      Description

      Hi,

        While building root 6.18 we noticed that although we configured cmake [a]  with `-Dfail-on-missing=ON -Dbuiltin_lzma=OFF` options but build system decided to use the builtin lzma instead.

      Looks like this has been fixed for root 6.20 and above. Can this be fixed in root 6.18 patches bracnh too?

      Thanks, --Shahzad

      [a]

      cmake ../root-6.18.04 -G Ninja -DCMAKE_BUILD_TYPE=Release -DLLVM_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/build/muz/r618/w/tmp/BUILDROOT/63e1b94d09ab3cc56123198a17a87bc7/opt/cmssw/slc7_amd64_gcc820/lcg/root/6.18.04-cms -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ -DCMAKE_Fortran_COMPILER=gfortran -DCMAKE_LINKER=ld -DCMAKE_VERBOSE_MAKEFILE=TRUE -Droot7=ON -Dfail-on-missing=ON -Dgnuinstall=OFF -Droofit=ON -Dvdt=OFF
       -Dhdfs=OFF -Dqt=OFF -Dqtgsi=OFF -Dpgsql=OFF -Dsqlite=OFF -Dmysql=OFF -Doracle=OFF -Dldap=OFF -Dkrb5=OFF -Dftgl=OFF -Dfftw3=ON -Dtbb=ON -Dimt=ON -DFFTW_INCLUDE_DIR=/build/muz/r618/w/slc7_amd64_gcc820/external/fftw3/3.3.8-bcolbf/include -DFFTW_LIBRARY=/build/muz/r618/w/slc7_amd64_gcc820/external/fftw3/3.3.8-bcolbf/lib/libfftw3.so -Dminuit2=ON -Dmathmore=ON -Dexplicitlink=ON -Dtable=OFF -Dbuiltin_tbb=OFF -Dbuiltin_pcre=OFF -Dbuiltin_freetype=OFF -Dbuiltin_zlib=OFF -Dbuiltin_lzma=OFF -Dbuiltin_gsl=OFF -Dbuiltin_xxhash=ON -Darrow=OFF -DGSL_ROOT_DIR=/build/muz/r618/w/slc7_amd64_gcc820/external/gsl/2.6-bcolbf3 -DGSL_CBLAS_LIBRARY=/build/muz/r618/w/slc7_amd64_gcc820/external/OpenBLAS/0.3.9/lib/libopenblas.so -DGSL_CBLAS_LIBRARY_DEBUG=/build/muz/r618/w/slc7_amd64_gcc820/external/OpenBLAS/0.3.9/lib/libopenblas.so -DCMAKE_CXX_STANDARD=17 -Dssl=ON -DOPENSSL_ROOT_DIR=/build/muz/r618/w/slc7_amd64_gcc820/external/openssl/1.0.2d-bcolbf -DOPENSSL_INCLUDE_DIR=/build/muz/r618/w/slc7_amd64_gcc820/external/openssl/1.0.2d-bcolbf/include -Dpython=ON -Dxrootd=ON -Dbuiltin_xrootd=OFF -DXROOTD_INCLUDE_DIR=/build/muz/r618/w/slc7_amd64_gcc820/external/xrootd/4.10.0-bcolbf2/include/xrootd -DXROOTD_ROOT_DIR=/build/muz/r618/w/slc7_amd64_gcc820/external/xrootd/4.10.0-bcolbf2 -Drfio=OFF -Dcastor=OFF -Ddcache=ON -DDCAP_INCLUDE_DIR=/build/muz/r618/w/slc7_amd64_gcc820/external/dcap/2.47.12-bcolbf2/include -DDCAP_DIR=/build/muz/r618/w/slc7_amd64_gcc820/external/dcap/2.47.12-bcolbf2 -DCMAKE_C_FLAGS=-D__ROOFIT_NOBANNER -DCMAKE_C_FLAGS=-D__ROOFIT_NOBANNER -Dgviz=OFF -Dbonjour=OFF -Dodbc=OFF -Dpythia6=OFF -Dpythia8=OFF -Dfitsio=OFF -Dgfal=OFF -Dchirp=OFF -Dsrp=OFF -Ddavix=ON -Dglite=OFF -Dsapdb=OFF -Dalien=OFF -Dmonalisa=OFF -DJPEG_INCLUDE_DIR=/build/muz/r618/w/slc7_amd64_gcc820/external/libjpeg-turbo/2.0.2-bcolbf3/include -DJPEG_LIBRARY=/build/muz/r618/w/slc7_amd64_gcc820/external/libjpeg-turbo/2.0.2-bcolbf3/lib64/libjpeg.so -DPNG_INCLUDE_DIRS=/build/muz/r618/w/slc7_amd64_gcc820/external/libpng/1.6.37-bcolbf2/include -DPNG_LIBRARY=/build/muz/r618/w/slc7_amd64_gcc820/external/libpng/1.6.37-bcolbf2/lib/libpng.so -Dastiff=ON -DTIFF_INCLUDE_DIR=/build/muz/r618/w/slc7_amd64_gcc820/external/libtiff/4.0.10-bcolbf3/include -DTIFF_LIBRARY=/build/muz/r618/w/slc7_amd64_gcc820/external/libtiff/4.0.10-bcolbf3/lib/libtiff.so -DLIBLZMA_INCLUDE_DIR=/build/muz/r618/w/slc7_amd64_gcc820/external/xz/5.2.4-bcolbf2/include -DLIBLZMA_LIBRARY=/build/muz/r618/w/slc7_amd64_gcc820/external/xz/5.2.4-bcolbf2/lib/liblzma.so -DLIBLZ4_INCLUDE_DIR=/build/muz/r618/w/slc7_amd64_gcc820/external/lz4/1.9.2/include -DLIBLZ4_LIBRARY=/build/muz/r618/w/slc7_amd64_gcc820/external/lz4/1.9.2/lib/liblz4.so -DZLIB_ROOT=/build/muz/r618/w/slc7_amd64_gcc820/external/zlib/1.2.11-bcolbf -DZLIB_INCLUDE_DIR=/build/muz/r618/w/slc7_amd64_gcc820/external/zlib/1.2.11-bcolbf/include '-DCMAKE_PREFIX_PATH=/build/muz/r618/w/slc7_amd64_gcc820/external/gsl/2.6-bcolbf3:/build/muz/r618/w/slc7_amd64_gcc820/external/xz/5.2.4-bcolbf2;/build/muz/r618/w/slc7_amd64_gcc820/external/openssl/1.0.2d-bcolbf;/build/muz/r618/w/slc7_amd64_gcc820/external/giflib/5.2.0-bcolbf2;/build/muz/r618/w/slc7_amd64_gcc820/external/freetype/2.10.0-bcolbf2;/build/muz/r618/w/slc7_amd64_gcc820/external/python/2.7.15-bcolbf2;/build/muz/r618/w/slc7_amd64_gcc820/external/libpng/1.6.37-bcolbf2;/build/muz/r618/w/slc7_amd64_gcc820/external/pcre/8.43-bcolbf;/build/muz/r618/w/slc7_amd64_gcc820/external/tbb/2019_U9-bcolbf;/build/muz/r618/w/slc7_amd64_gcc820/external/OpenBLAS/0.3.9;/build/muz/r618/w/slc7_amd64_gcc820/external/davix/0.7.3-bcolbf2;/build/muz/r618/w/slc7_amd64_gcc820/external/lz4/1.9.2;/build/muz/r618/w/slc7_amd64_gcc820/external/libxml2/2.9.10'
      ....
      ....
      -- Looking for LZMA
      -- LZMA not found. Switching on builtin_lzma option
      -- Building LZMA version 5.2.4 included in ROOT itself
      
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              oshadura Oksana Shadura
              Reporter:
              muzaffar Malik Shahzad Muzaffar
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: