Re: Breakage on builder Fedora-x86_64-w64-mingw32, revision 0e65dfbaf3a0299e4837216a103c28625d4b4f1d

Nick Alcock
2019-05-30T00:13:42Z

On 30 May 2019, gdb-buildbot@sergiodj.net said:

> Unfortunately it seems that there is a breakage on GDB.
>
> Commit title: 'libctf: build system'
> Revision: 0e65dfbaf3a0299e4837216a103c28625d4b4f1d
>
> You can find more details below:
>
> +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
>
> Buildslave:
> fedora-x86-64-3
>
> Full Build URL:
> <http://gdb-build.sergiodj.net/builders/Fedora-x86_64-w64-mingw32/builds/4453>

This is

In file included from ../../binutils-gdb/libctf/ctf-dump.c:20:
../../binutils-gdb/libctf/ctf-impl.h:24:10: fatal error: sys/errno.h: No such file or directory
#include <sys/errno.h>
^~~~~~~~~~~~~
compilation terminated.
make[3]: *** [Makefile:403: ctf-dump.o] Error 1
make[3]: *** Waiting for unfinished jobs....

i.e. the same report as earlier today on Solaris.

This, along with a number of other portability problems, is fixed by the
patch I just sent to Kamil in <87d0k13pf4.fsf@esperi.org.uk>. Once Jose
is around, I'll get him to look it over and see about pushing it.

Anyone else who wants to review it in the meantime, do go ahead (but I'm
afraid there are changelog diffs in there because it's in immediately-
ready-to-push state). If someone with suitable permissions thinks it is
acceptable in its current state, they are welcome to apply it straight
off the list, as far as I'm concerned :) anything to unbreak the build!

Archive link: <https://sourceware.org/ml/binutils/2019-05/msg00435.html>.

Sorry about this!