Subject: | Build failure in 2.021 relating to gai_strerror |
I tried updating Socket in bleadperl to 2.021 this morning:
http://perl5.git.perl.org/perl.git/commitdiff/0bd66ca801c5fb84ee6a8feeb8114f0d8248029f
It built and tested fine on my Windows 8.1 system and I see a large number (677) of PASSes at http://www.cpantesters.org/distro/S/Socket.html#Socket-2.021 and only 4 FAILs (all of them test failures rather than build failures), but for some reason the Jenkins build of perl failed:
http://www.nntp.perl.org/group/perl.perl5.porters/2015/12/msg233385.html
The Socket build errors are at the end of that page:
Socket.xs:477: error: static declaration of ‘gai_strerror’ follows non-static declaration
/usr/include/netdb.h:673: note: previous declaration of ‘gai_strerror’ was here
I've since reverted the perl change. We can't update again until this is fixed, either locally or (preferably) upstream. I'm not aware of any great urgency in this right now, but I thought I'd report the problem here in case you haven't otherwise seen it.