Thanks for the heads-up. I installed the attached Gnulib patch, which I hope fix
things. Please give it a try.
From f3f95f863f63eec80bfe4228719fb0afada5fa05 Mon Sep 17 00:00:00 2001
From: Paul Eggert
Date: Sat, 29 Apr 2017 11:09:39 -0700
Subject: [PATCH] getopt: port to Solaris 10 with circa-1997
On Sun, Apr 23, 2017 at 08:20:20PM -0400, Assaf Gordon wrote:
> ---
>
> On Solaris 5.10, compilation fails due to a conflict in gnulib's getopt
> module.
> See full build log here:
> https://pretest.housegordon.org/g/4602/logs/make.log?inlined=1
> (search for "getopt_int" to find the error).
>