Changes between Initial Version and Version 1 of Ticket #64990


Ignore:
Timestamp:
Apr 12, 2022, 6:58:46 PM (2 years ago)
Author:
ryandesign (Ryan Carsten Schmidt)
Comment:

The log shows the error is:

version:1:1: error: expected unqualified-id

This is a well-known problem resulting from the collision of the project's VERSION text file with the <version> header in C++20-compatible compilers on case-insensitive filesystems. The solution is for the project not to add a -I flag for the directory that contains the VERSION file or, failing that, renaming the VERSION file to something else, such as VERSION.txt.

This is not a MacPorts- nor macOS-specific problem (though is more prevalent on macOS since Macs usually use a case-insensitive filesystem while other UNIX systems usually do not) and should be reported to the developers of itpp. However itpp seems to be rather dormant so we may have to work on a fix for this ourselves.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #64990

    • Property Priority changed from High to Normal
    • Property Summary changed from itpp-4.3.1_0+accelerate+docs.darwin_21.x86_64: Failed to build itpp: command execution failed to itpp @4.3.1: version:1:1: error: expected unqualified-id
  • Ticket #64990 – Description

    initial v1  
    33This is an exert from the main.log file. Any help would be most appreciated.
    44
     5{{{
    56:info:build [ 13%] Built target itpp_doc
    67:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_itpp/itpp/work/build'
     
    1920:debug:build     invoked from within
    2021:debug:build "$procedure $targetname"
     22}}}