[MacPorts] #69591: xprobe2 @0.3.0: error: expected unqualified-id (was: xprobe2 0.3.0 fails to build on MacOS Monterey)

MacPorts noreply at macports.org
Tue Mar 26 09:28:56 UTC 2024


#69591: xprobe2 @0.3.0: error: expected unqualified-id
------------------------+----------------------
  Reporter:  iceblink3  |      Owner:  Gminfly
      Type:  defect     |     Status:  assigned
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.9.1
Resolution:             |   Keywords:  monterey
      Port:  xprobe2    |
------------------------+----------------------
Changes (by ryandesign):

 * status:  new => assigned
 * cc: normen@… (removed)
 * owner:  (none) => Gminfly
 * keywords:  monterey, x86_64 => monterey


Comment:

 The relevant part is:

 {{{
 :info:build ../../../../libs-external/USI++/version:1:1: error: expected
 unqualified-id
 :info:build 1.92
 :info:build ^
 }}}

 This happens because you are using a compiler that supports C++20 and its
 <version> header, and the project has a VERSION file in its root
 directory, and the project uses an `-I` flag pointing to the root
 directory, and you are on a case-insensitive filesystem.

 Solutions are for the project not to use an `-I` flag pointing to the root
 directory, or for the project to rename the VERSION file (and update any
 references to that file elsewhere in the code).

 For more background, see https://bugs.llvm.org/show_bug.cgi?id=42540

 This is an upstream problem that needs to be
 [https://sourceforge.net/p/xprobe/bugs/ reported to the developers].
 However, since the last release of this software was in 2005, the
 developer may no longer exist or care, so we may need to develop the fix
 ourselves.

 There are many similar reports about other ports in the MacPorts issue
 tracker (and in other projects' issue trackers) if you want to see more
 examples of how this was handled.

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


More information about the macports-tickets mailing list