[MacPorts] #62758: tiff @4.3.0: version:1:1: error: expected unqualified-id
MacPorts
noreply at macports.org
Mon Apr 26 19:00:33 UTC 2021
#62758: tiff @4.3.0: version:1:1: error: expected unqualified-id
---------------------+------------------------
Reporter: kencu | Owner: ryandesign
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: tiff |
---------------------+------------------------
Description changed by kencu:
Old 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.
New description:
On 10.6.8, building with clang-9.0, we see this:
{{{
: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.
--
--
Ticket URL: <https://trac.macports.org/ticket/62758#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list