[MacPorts] #57654: root6 port has header problems in 6.14/06

MacPorts noreply at macports.org
Thu Nov 22 09:57:50 UTC 2018


#57654: root6 port has header problems in 6.14/06
----------------------+--------------------------
  Reporter:  olupton  |      Owner:  cjones051073
      Type:  defect   |     Status:  assigned
  Priority:  Normal   |  Milestone:
 Component:  ports    |    Version:  2.5.4
Resolution:           |   Keywords:
      Port:  root6    |
----------------------+--------------------------

Comment (by olupton):

 If I remove the workaround then I am back to depending on the ordering of
 the include path as discussed in https://trac.macports.org/ticket/57007.

 If {{{/opt/local/include}}} comes before
 {{{/opt/local/libexec/root6/include/root}}} then {{{#include
 "RConfig.h"}}} finds
 {{{/opt/local/libexec/root6/include/root/RConfig.h}}}, which is a
 forwarding header containing {{{#include <ROOT/RConfig.h>}}} that just re-
 includes itself thanks to {{{/opt/local/include}}} appearing first in the
 include path. Then compilation fails horribly because ROOT thinks it has
 included {{{ROOT/RConfig.h}}} but hasn't actually managed to.

 If {{{/opt/local/libexec/root6/include/root}}} is earlier than
 {{{/opt/local/include}}} in the include path then it all works without
 workarounds (I also avoid the {{{RVersion.h}}} problem).

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


More information about the macports-tickets mailing list