Changes between Initial Version and Version 1 of Ticket #65013


Ignore:
Timestamp:
Apr 16, 2022, 12:42:32 AM (2 years ago)
Author:
ryandesign (Ryan Carsten Schmidt)
Comment:

This kind of thing is the reason why we recommend ports don't build with -Werror.

Since this isn't a MacPorts-specific problem, please report it to the developers of gindent at https://savannah.gnu.org/bugs/?group=indent.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #65013

    • Property Status changed from new to assigned
    • Property Owner set to larryv
    • Property Keywords monterey added; gindent gnuplot paren_level removed
    • Property Summary changed from gindent won't build -- paren_level not used error to gindent @2.2.12: error: variable 'paren_level' set but not used [-Werror,-Wunused-but-set-variable]
  • Ticket #65013 – Description

    initial v1  
    11Hi. Trying to install gnuplot on a fresh MacPorts installation on MacOS Monterey, but it quickly fails when installing the dependency port "gindent". Looking at the error log, it seems that the compiler flags are too stringent, killing the build because a variable is declared but not used:
    22
     3{{{
    34:info:build output.c:843:8: error: variable 'paren_level' set but not used [-Werror,-Wunused-but-set-variable]
     5}}}
    46
    57Full log file attached to this ticket.