[MacPorts] #44062: root6: either make it work on 10.6 (or declare it broken)

MacPorts noreply at macports.org
Wed Jun 18 07:55:13 PDT 2014


#44062: root6: either make it work on 10.6 (or declare it broken)
----------------------+--------------------------------
  Reporter:  mojca@…  |      Owner:  macports-tickets@…
      Type:  defect   |     Status:  new
  Priority:  Normal   |  Milestone:
 Component:  ports    |    Version:
Resolution:           |   Keywords:  snowleopard
      Port:  root6    |
----------------------+--------------------------------

Comment (by mojca@…):

 I fixed the first error by boldly editing
 `/opt/local/libexec/llvm-3.4/bin/../include/c++/v1/cmath` and replacing:
 {{{
 - #endif __APPLE__
 + #endif // __APPLE__
 }}}
 (Jeremy, doesn't this look like a bug in `clang-3.4`?)

 I don't know what the other error isv I tried to run the command manually,
 without success:
 {{{
 ../../bin/rootcling -rootbuild -f G__VMC.cxx -s
 /path/to/root6/work/build/lib/libVMC.so -rml libVMC.so -rmf
 /path/to/root6/work/build/lib/libVMC.rootmap -c -I/path/to/root6/work
 /root-aaf9b65 -I/path/to/root6/work/root-aaf9b65/montecarlo/vmc/inc
 -I/path/to/root6/work/root-aaf9b65/io/io/inc
 -I/path/to/root6/work/build/include -I/path/to/root6/work/root-
 aaf9b65/montecarlo/eg/inc -I/path/to/root6/work/root-
 aaf9b65/graf2d/gpad/inc -I/path/to/root6/work/root-aaf9b65/graf2d/graf/inc
 -I/path/to/root6/work/root-aaf9b65/core/base/inc -I/path/to/root6/work
 /root-aaf9b65/core/clib/inc -I/path/to/root6/work/root-
 aaf9b65/core/cont/inc -I/path/to/root6/work/root-aaf9b65/core/meta/inc
 -I/path/to/root6/work/root-aaf9b65/core/metautils/inc
 -I/path/to/root6/work/root-aaf9b65/core/textinput/inc
 -I/path/to/root6/work/root-aaf9b65/core/unix/inc -I/path/to/root6/work
 /root-aaf9b65/core/winnt/inc -I/path/to/root6/work/root-
 aaf9b65/core/macosx/inc -I/path/to/root6/work/root-aaf9b65/core/zip/inc
 -I/path/to/root6/work/root-aaf9b65/core/lzma/inc -I/path/to/root6/work
 /root-aaf9b65/math/matrix/inc -I/path/to/root6/work/root-
 aaf9b65/math/mathcore/inc -I/path/to/root6/work/root-aaf9b65/io/io/inc
 -I/path/to/root6/work/root-aaf9b65/core/thread/inc -I/path/to/root6/work
 /root-aaf9b65/graf2d/mathtext/inc -I/path/to/root6/work/root-
 aaf9b65/graf3d/g3d/inc -I/path/to/root6/work/root-aaf9b65/hist/hist/inc
 -I/path/to/root6/work/root-aaf9b65/math/physics/inc -I/path/to/root6/work
 /root-aaf9b65/geom/geom/inc TGeoMCGeometry.h TMCOptical.h
 TMCParticleType.h TMCProcess.h TMCtls.h TMCVerbose.h TPDGCode.h
 TVirtualMC.h TVirtualMCApplication.h TVirtualMCGeometry.h
 TVirtualMCStack.h /path/to/root6/work/root-
 aaf9b65/montecarlo/vmc/inc/LinkDef.h
 ERROR in cling::CIFactory::createCI(): cannot extract standard library
 include paths!
 Invoking:
     echo | LC_ALL=C clang++-mp-3.4 -pipe -Os -arch x86_64 -stdlib=libc++
 -m64 -pipe -W -Wall -Woverloaded-virtual -fsigned-char -fno-common
 -Qunused-arguments -std=c++11 -stdlib=libc++ -DR__HAVE_CONFIG -fPIC
 -fvisibility-inlines-hidden -fno-common -Woverloaded-virtual -Wcast-qual
 -fno-strict-aliasing -pedantic -Wno-long-long -Wall -W -Wno-unused-
 parameter -Wwrite-strings  -xc++ -E -v - 2>&1 >/dev/null | awk '/^#include
 </,/^End of search/{if (!/^#include </ && !/^End of search/){ print }}' |
 grep -E "(c|g)\+\+"
 results in
 with exit code 256
 sh: clang++-mp-3.4: command not found
 Warning in cling::CIFactory::createCI():
   Possible C++ standard library mismatch, compiled with _LIBCPP_VERSION
 v1101 but extraction of runtime standard library version failed.
 Invoking:
     echo '#include <vector>' | clang++-mp-3.4 -pipe -Os -arch x86_64
 -stdlib=libc++  -m64 -pipe -W -Wall -Woverloaded-virtual -fsigned-char
 -fno-common -Qunused-arguments -std=c++11 -stdlib=libc++ -DR__HAVE_CONFIG
 -fPIC -fvisibility-inlines-hidden -fno-common -Woverloaded-virtual -Wcast-
 qual -fno-strict-aliasing -pedantic -Wno-long-long -Wall -W -Wno-unused-
 parameter -Wwrite-strings  -xc++ -dM -E - | grep 'define _LIBCPP_VERSION'
 | awk '{print $3}'
 results in
 sh: clang++-mp-3.4: command not found
 with exit code 0
 input_line_2:2:10: fatal error: 'string' file not found
 #include <string>
          ^
 lookup.type.by.name.file:1:1: error: unknown type name 'Double32_t'
 Double32_t
 ^
 lookup.type.by.name.file:1:1: error: unknown type name 'Float16_t'
 Float16_t
 ^
 lookup.type.by.name.file:1:1: error: unknown type name 'Long64_t'
 Long64_t
 ^
 lookup.type.by.name.file:1:1: error: unknown type name 'ULong64_t'
 ULong64_t
 ^
 lookup.type.by.name.file:1:1: error: unknown type name 'string'
 string
 ^
 lookup.type.by.name.file:1:1: error: use of undeclared identifier 'std'
 std::string
 ^
 In file included from input_line_6:1:
 In file included from /path/to/root6/work/root-
 aaf9b65/core/base/inc/Rtypes.h:30:
 /path/to/root6/work/root-aaf9b65/core/base/inc/Rtypeinfo.h:32:10: fatal
 error:
       'typeinfo' file not found
 #include <typeinfo>
          ^
 Error: Error loading the default header files.
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/44062#comment:12>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list