Opened 3 years ago
Closed 3 years ago
#64990 closed defect (fixed)
itpp @4.3.1: version:1:1: error: expected unqualified-id
Reported by: | tkeep (Tim Keep) | Owned by: | michaelld (Michael Dickens) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.7.2 |
Keywords: | Cc: | tkeep@…, ryandesign (Ryan Carsten Schmidt) | |
Port: | itpp |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
Fail to install itpp on Big Sur. I've tried a clean install, and even starting again with MacPorts from scratch, installing itpp before anything else.
This is an exert from the main.log file. Any help would be most appreciated.
:info:build [ 13%] Built target itpp_doc :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' :info:build make: *** [all] Error 2 :info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_itpp/itpp/work/build' :info:build Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_itpp/itpp/work/build" && /usr/bin/make -j16 -w all VERBOSE=ON :info:build Exit code: 2 :error:build Failed to build itpp: command execution failed :debug:build Error code: CHILDSTATUS 14091 2 :debug:build Backtrace: command execution failed :debug:build while executing :debug:build "system {*}$notty {*}$callback {*}$nice $fullcmdstring" :debug:build invoked from within :debug:build "command_exec -callback portprogress::target_progress_callback build" :debug:build (procedure "portbuild::build_main" line 8) :debug:build invoked from within :debug:build "$procedure $targetname"
Attachments (1)
Change History (5)
Changed 3 years ago by tkeep (Tim Keep)
comment:1 follow-up: 3 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)
Description: | modified (diff) |
---|---|
Priority: | High → Normal |
Summary: | itpp-4.3.1_0+accelerate+docs.darwin_21.x86_64: Failed to build itpp: command execution failed → itpp @4.3.1: version:1:1: error: expected unqualified-id |
comment:2 Changed 3 years ago by jmroot (Joshua Root)
Owner: | set to michaelld |
---|---|
Status: | new → assigned |
comment:3 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | ryandesign added |
---|
Replying to ryandesign:
renaming the VERSION file to something else
The VERSION file doesn't appear to be used so just deleting it works for me. I'll commit that shortly.
should be reported to the developers of itpp
comment:4 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
The log shows the error is:
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.