[MacPorts] #57601: ROOT6 headers broken

MacPorts noreply at macports.org
Wed Nov 14 16:36:41 UTC 2018


#57601: ROOT6 headers broken
---------------------+--------------------------
  Reporter:  lpgaff  |      Owner:  cjones051073
      Type:  defect  |     Status:  assigned
  Priority:  Normal  |  Milestone:
 Component:  ports   |    Version:  2.5.4
Resolution:          |   Keywords:
      Port:  root6   |
---------------------+--------------------------

Comment (by lpgaff):

 I looked at the previous ticket (57007) and can conclude that it is
 basically the same bug. However, the symlinks in the /opt/local/include
 directory are not relevant. I am compiling with the explicit include path
 from 'root-config --cflags', which gives
 -I/opt/local/libexec/root6/include/root, the correct directory.

 I think this may actually be an upstream bug with ROOT, if the RConfig.h
 symlink is created by ROOT and not by Macports. That or clang is not
 resolving the symlink when it should be. What is the expected behaviour
 here?

 I can also "fix" the problem by removing the RConfig.h symlink altogether
 and editing the TreeBuilderDictionary.cc file to explicity include
 ROOT/RConfig.h instead of RConfig.h. However, this file is generated by
 rootcling, which should know better than to include the wrong file...

-- 
Ticket URL: <https://trac.macports.org/ticket/57601#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list