The actual relevant error in the log appears to be:
:info:build In file included from ncurses.c:43:
:info:build /opt/local/include/ncurses.h:1244:27: note: instantiated from:
:info:build #define mvhline(y,x,c,n) mvwhline(stdscr,y,x,c,n)
:info:build ^
:info:build /opt/local/include/ncurses.h:1223:57: note: instantiated from:
:info:build #define mvwhline(win,y,x,c,n) (wmove(win,y,x) == ERR ? ERR : whline(win,c,n))
:info:build ^
:info:build /opt/local/include/ncurses.h:314:18: note: instantiated from:
:info:build #define ERR (-1)
:info:build ^~
:info:build ncurses.c:649:23: error: read-only variable is not assignable
:info:build wide[i ] = '.';
:info:build ~~~~~~~~~ ^
:info:build ncurses.c:650:23: error: read-only variable is not assignable
:info:build wide[i+1] = '.';
:info:build ~~~~~~~~~ ^
:info:build ncurses.c:655:27: error: read-only variable is not assignable
:info:build wide[i-1] = '.';
:info:build ~~~~~~~~~ ^
:info:build ncurses.c:670:46: error: read-only variable is not assignable
:info:build wide[i + 2 + i_char_len - j - 1] = '\0';
:info:build ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
:info:build ncurses.c:676:17: error: read-only variable is not assignable
:info:build wide[i] = '\0';
:info:build ~~~~~~~ ^
:info:build ncurses.c:1042:5: warning: expression result unused [-Wunused-value]
:info:build attrset(A_REVERSE);
:info:build ^~~~~~~~~~~~~~~~~~