Opened 3 years ago

Last modified 3 years ago

#62758 closed defect

tiff @4.3.0: version:1:1: error: expected unqualified-id — at Initial Version

Reported by: kencu (Ken) Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: tiff

Description

:info:build In file included from /opt/local/libexec/llvm-9.0/bin/../include/c++/v1/cstddef:37:
:info:build ../version:1:1: error: expected unqualified-id
:info:build 4.3.0

tiff has a header named VERSION that collides with the c++17 header of the same name.

unfortunately simply renaming it to VERSION.txt doesn't work in this case as the Makefile wants to use it later:

:info:build make[2]: Entering directory `/opt/local/var/macports/build/_opt_macportsofficial_macports-ports_graphics_tiff/tiff/work/tiff-4.3.0-x86_64'
:info:build make[2]: *** No rule to make target `VERSION', needed by `all-am'.  Stop.
:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_macportsofficial_macports-ports_graphics_tiff/tiff/work/tiff-4.3.0-x86_64'
:info:build make[1]: *** [all-recursive] Error 1

so it will need some kind of better fix.

Change History (2)

Changed 3 years ago by kencu (Ken)

Attachment: tiff.fail.version.log added

Changed 3 years ago by kencu (Ken)

Attachment: tiff.fail.version2.log added

after renaming VERSION to VERSION.txt

Note: See TracTickets for help on using tickets.