Re: [MacPorts] #66849: xar @494.81.1 fails to build when irstlm is installed (was: xar @494.81.1 fails to build with gcc-4.2: /opt/local/include/util.h: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘namespace’)
MacPorts
noreply at macports.org
Sun Feb 5 23:17:45 UTC 2023
#66849: xar @494.81.1 fails to build when irstlm is installed
---------------------------+-------------------------
Reporter: barracuda156 | Owner: Schamschula
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.8.1
Resolution: | Keywords:
Port: xar |
---------------------------+-------------------------
Changes (by ryandesign):
* keywords: leopard, snowleopard =>
Comment:
What port provided the file /opt/local/include/util.h?
{{{
port provides /opt/local/include/util.h
}}}
I wouldn't be surprised if that's interfering with the file called
"util.h" in the xar port (which would mean that you could reproduce this
problem on any system if that port were installed). It would indicate that
the `-I` flags when building the xar port are in the wrong order.
Using the search function on ports.macports.org the only port I found that
provides the file /opt/local/include/util.h is irstlm. I am able to
reproduce this failure when trying to build xar if the irstlm port is
installed.
It's probably a bad idea for the irstlm port to install a file with such a
common name in such a prominent directory. This probably needs to be
brought up with the developers of irstlm so that they either rename their
util.h or move it into a subdirectory named after their project. Their
project is now at https://github.com/irstlm-team/irstlm. First I will see
if I can update it to the latest version and if that already resolves this
issue.
--
Ticket URL: <https://trac.macports.org/ticket/66849#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list