Build error in Solaris

Wei Sun <936739278@qq.com>

From: Wei Sun <936739278@qq.com>
To: pgsql-bugs <pgsql-bugs@lists.postgresql.org>, ilmari <ilmari@ilmari.org>
Date: 2022-02-08T10:52:50Z
Lists: pgsql-bugs

Commits

Same data as JSON: GET /api/v1/messages/:b64id/commits the thread's linked commits as JSON, with link sources. API reference →
  1. Remove ppport.h's broken re-implementation of eval_pv().

Hi


When I built the latest code for branch REL_10_STABLE on the Solairs, 
the following error occurred:
------------------------------------------------------
"plperl.c", line 669: syntax error before or at: if
"plperl.c", line 669: undefined symbol: _sv
"plperl.c", line 669: left operand of "-&gt;" must be pointer to struct/union
"plperl.c", line 669: warning: improper pointer/integer combination: arg #2
"plperl.c", line 669: syntax error before or at: else
"plperl.c", line 670: warning: statement not reached
"plperl.c", line 678: cannot recover from previous errors
cc: acomp failed for plperl.c
gmake: *** [plperl.o] Error 2
------------------------------------------------------


My build environment is as follows:
Solairs version : 11.3
perl version : v5.12.5


When I revert the following commit, the bulild was successful
https://github.com/postgres/postgres/commit/8be956c65c


Is there anything I can do to solve this problem?


Regards