From owner-freebsd-ppc@FreeBSD.ORG Tue Jun 25 02:45:57 2013 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 5F9835D5 for ; Tue, 25 Jun 2013 02:45:57 +0000 (UTC) (envelope-from nwhitehorn@freebsd.org) Received: from smtpauth2.wiscmail.wisc.edu (wmauth2.doit.wisc.edu [144.92.197.222]) by mx1.freebsd.org (Postfix) with ESMTP id 3C6521D75 for ; Tue, 25 Jun 2013 02:45:56 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; CHARSET=US-ASCII; format=flowed Received: from avs-daemon.smtpauth2.wiscmail.wisc.edu by smtpauth2.wiscmail.wisc.edu (Oracle Communications Messaging Server 7u4-27.01(7.0.4.27.0) 64bit (built Aug 30 2012)) id <0MOX00800CPN4400@smtpauth2.wiscmail.wisc.edu> for freebsd-ppc@freebsd.org; Mon, 24 Jun 2013 20:45:50 -0500 (CDT) X-Spam-PmxInfo: Server=avs-2, Version=6.0.2.2308539, Antispam-Engine: 2.7.2.2107409, Antispam-Data: 2013.6.25.13333, SenderIP=0.0.0.0 X-Spam-Report: AuthenticatedSender=yes, SenderIP=0.0.0.0 Received: from comporellon.tachypleus.net (unknown [76.210.63.131]) by smtpauth2.wiscmail.wisc.edu (Oracle Communications Messaging Server 7u4-27.01(7.0.4.27.0) 64bit (built Aug 30 2012)) with ESMTPSA id <0MOX00ECIE8DK100@smtpauth2.wiscmail.wisc.edu> for freebsd-ppc@freebsd.org; Mon, 24 Jun 2013 20:45:49 -0500 (CDT) Message-id: <51C8F64D.6070500@freebsd.org> Date: Mon, 24 Jun 2013 20:45:49 -0500 From: Nathan Whitehorn User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130615 Thunderbird/17.0.6 To: freebsd-ppc@freebsd.org Subject: Re: Errors building xorg-minimal References: In-reply-to: X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Jun 2013 02:45:57 -0000 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