Date: Mon, 24 Jun 2013 20:45:49 -0500 From: Nathan Whitehorn <nwhitehorn@freebsd.org> To: freebsd-ppc@freebsd.org Subject: Re: Errors building xorg-minimal Message-ID: <51C8F64D.6070500@freebsd.org> In-Reply-To: <CADrciNrEGOnrRPUwXteYNAtPK_9uQogQ_io-RUkapgVbqbTcow@mail.gmail.com> References: <CADrciNoqx1_%2B04CRVu=h%2BoNmx3Gp_gVVNQfSj=fMsT3ztjXXdw@mail.gmail.com> <CADrciNrEGOnrRPUwXteYNAtPK_9uQogQ_io-RUkapgVbqbTcow@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?51C8F64D.6070500>