Errors building xorg-minimal
Nathan Whitehorn
nwhitehorn at freebsd.org
Tue Jun 25 02:45:57 UTC 2013
On 06/24/13 17:49, dbb wrote:
> It seems my attached text file was "scrubbed", apparently because its
> extension was .log. Here is the important part:
>
> In file included from glob.c:34:
> /usr/include/sys/types.h:44:28: error: /usr/include/machine/endian.h: Bad
> file descriptor
> In file included from glob.c:34:
> /usr/include/sys/types.h:181: error: two or more data types in declaration
> specifiers
>
> I am getting errors about this file on multiple ports. I was able to
> install the built gmake package, but now the build fails on pkgconf, with
> errors related to the exact same file.
>
> Running `file /usr/include/machine/endian.h` results in
>
> /usr/include/machine/endian.h: ERROR: cannot open
> `/usr/include/machine/endian.h' (Bad file descriptor)
>
> So I'm guessing this file is somehow corrupted, but I have no idea how to
> verify that or how to replace it if that's the case.
That looks like you have either a bad drive or bad memory to me. That
error immediately implies file system corruption. You could try
installing smartmontools to check the bad drive hypothesis.
-Nathan
More information about the freebsd-ppc
mailing list