bug-wget
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: wget 1.21 fails to build on macOS


From: Darshit Shah
Subject: Re: wget 1.21 fails to build on macOS
Date: Fri, 1 Jan 2021 12:06:39 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.6.0

Hi,

Thanks for the heads up. Luckily it has already been fixed in Gnulib
(just one hour after I updated gnulib to make the release).

I'll update our submodule right away and make a new point release in the
next week after accumulating any other complaints that might arise.


On 01.01.21 11:32, FX wrote:
> Hello all,
> 
> wget 1.21 fails to build from source on all macOS version (10.14, 10.15, and 
> 11). This comes from a bug in gnulib, as I understand it:
> In lib/utime.c, in the code block for REPLACE_FUNC_UTIME_FILE, errno and 
> EOVERFLOW are both used without <errno.h> being included, leading to:
> 
> utime.c:279:38: error: use of undeclared identifier 'errno'
>       if (stat (name, &buf) == -1 && errno != EOVERFLOW)
>                                      ^
> utime.c:279:47: error: use of undeclared identifier 'EOVERFLOW'
>       if (stat (name, &buf) == -1 && errno != EOVERFLOW)
>                                               ^
> 2 errors generated.
> make[3]: *** [utime.o] Error 1
> 
> See https://github.com/Homebrew/homebrew-core/pull/68095 for full build log
> 
> 
> This was already reported to gnulib at 
> https://lists.gnu.org/archive/html/bug-gnulib/2020-12/msg00295.html
> and fix in 
> https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=6a76832db224ac5671599ce332717f985a2addc7
> 
> Could the fix please be applied to wget as well?
> 
> Thanks,
> FX Coudert
> 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]