[MacPorts] #57007: root6 port results in ambiguous include directories after 6.14
MacPorts
noreply at macports.org
Tue Aug 21 18:26:38 UTC 2018
#57007: root6 port results in ambiguous include directories after 6.14
----------------------+--------------------------
Reporter: olupton | Owner: cjones051073
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.5.3
Resolution: | Keywords:
Port: root6 |
----------------------+--------------------------
Comment (by olupton):
Hi Chris!
First of all, I agree with your description of what the problem is (the
forwarding header includes itself and achieves nothing).
OK, so
{{{
port select root none
}}}
also avoids the problem (which makes sense). This is a bit unsatisfactory
though, there are plenty of scripts that assume `root` and `root-config`
are called just that.
Removing `/opt/local/libexec/root6/include/root/RConfig.h` nearly works,
but, amusingly, fails because the dictionary code that ROOT generates for
custom classes (as produced by ROOT's `ROOT_GENERATE_DICTIONARY` CMake
macro) actually contains `#include "RConfig.h"` instead of `#include
"ROOT/RConfig.h".
Your final suggestion, making
`/opt/local/libexec/root6/include/root/RConfig.h` a symlink to
`/opt/local/libexec/root6/include/root/ROOT/RConfig.h`, seems to work
fine.
Hopefully ROOT's plans to put more headers under ROOT/
(https://root.cern.ch/blog/rootrwhy) don't lead to more clashes like this.
--
Ticket URL: <https://trac.macports.org/ticket/57007#comment:7>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list