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

make build fails on Yosemite

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: 6.02/02
    • Fix Version/s: 6.04.00, 5.34/23
    • Component/s: Build System
    • Labels:
      None
    • Environment:

      MacPro running 10.10

      Description

      Classic configure;make ok:

      $ time ../root/configure --all
      To build ROOT type:

      make

      real 0m6.297s
      user 0m3.843s
      sys 0m3.513s

      $ time make -j 24
      ...
      Generating the one large pcm for core/base core/thread io/io math/mathcore net/net math/matrix hist/hist tree/tree graf2d/graf graf2d/gpad gui/gui math/minuit hist/histpainter tree/treeplayer tree/treeviewer math/physics graf2d/postscript core/rint math/smatrix math/smatrix hist/spectrum hist/spectrumpainter gui/fitpanel graf2d/quartz graf2d/cocoa graf3d/gl graf2d/asimage graf2d/asimage graf2d/fitsio bindings/pyroot math/genvector math/genvector math/mathmore math/minuit2 roofit/roofitcore roofit/roofit roofit/roostats roofit/histfactory hist/hbook tmva math/genetic , patience...

      root [0]
      Processing hsimple.C...
      hsimple : Real Time = 0.11 seconds Cpu Time = 0.10 seconds
      (class TFile *) 0x7fc339872940

      ============================================================
      === ROOT BUILD SUCCESSFUL. ===
      === Run 'source bin/thisroot.[c]sh' before starting ROOT ===
      ============================================================

      real 6m44.954s
      user 96m0.108s
      sys 9m5.125s

      Cmake version fails:

      $ time cmake ../root -DALL=yes
      – Configuring done
      – Generating done
      – Build files have been written to: /Users/rdm/z/r2

      real 0m25.487s
      user 0m17.033s
      sys 0m7.639s

      $ time make -j 24
      Making install in po
      Making install in tests
      /sw/bin/ginstall -c -m 644 doc/examples/xz_pipe_comp.c doc/examples/xz_pipe_decomp.c '/Users/rdm/z/r2/share/doc/xz/examples'
      /sw/bin/ginstall -c -m 644 AUTHORS COPYING COPYING.GPLv2 NEWS README THANKS TODO doc/faq.txt doc/history.txt doc/xz-file-format.txt doc/lzma-file-format.txt '/Users/rdm/z/r2/share/doc/xz'
      [ 14%] Completed 'LZMA'
      [ 14%] Built target LZMA
      Linking C shared library ../../lib/libGLEW.so
      [ 14%] Built target GLEW
      make: *** [all] Error 2

      real 0m33.250s
      user 7m49.566s
      sys 1m24.918s

      The error seems to be here:

      checking if gcc accepts -Wpointer-arith... Linking Fortran executable ../bin/g2root
      [ 12%] yes
      checking if gcc accepts -Wbad-function-cast... gfortran: warning: couldn't understand kern.osversion '14.0.0
      Building CXX object proof/proofd/CMakeFiles/XrdProofd.dir/src/XrdProofdProtocol.cxx.o
      ld: -rpath can only be used when targeting Mac OS X 10.5 or later
      collect2: error: ld returned 1 exit status
      make[2]: *** [bin/g2root] Error 1
      make[1]: *** [main/CMakeFiles/g2root.dir/all] Error 2
      make[1]: *** Waiting for unfinished jobs....
      [ 12%] Building CXX object interpreter/llvm/src/lib/Support/CMakeFiles/LLVMSupport.dir/Statistic.cpp.o
      yes
      checking if gcc accepts -Wwrite-strings... [ 12%] yes

        Attachments

          Activity

            People

            • Assignee:
              mato Pere Mato Vila
              Reporter:
              rdm Fons Rademakers
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: