From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by listman.redhat.com (Postfix) with ESMTP id 1D6813F8A8 for ; Tue, 4 Jun 2002 15:21:32 -0400 (EDT) Received: from lacrosse.corp.redhat.com (IDENT:root@lacrosse.corp.redhat.com [172.16.52.154]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id g54JLV324618 for ; Tue, 4 Jun 2002 15:21:31 -0400 Received: (from mail@localhost) by lacrosse.corp.redhat.com (8.11.6/8.9.3) id g54JLVs01921 for axp-list@listman.redhat.com; Tue, 4 Jun 2002 15:21:31 -0400 Received: from devserv.devel.redhat.com (devserv.devel.redhat.com [172.16.58.1]) by lacrosse.corp.redhat.com (8.11.6/8.9.3) with ESMTP id g54JLVi01917 for ; Tue, 4 Jun 2002 15:21:31 -0400 Received: from localhost (mharris@localhost) by devserv.devel.redhat.com (8.11.6/8.11.0) with ESMTP id g54JLUd09208 for ; Tue, 4 Jun 2002 15:21:30 -0400 X-Authentication-Warning: devserv.devel.redhat.com: mharris owned process doing -bs Date: Tue, 4 Jun 2002 15:21:30 -0400 (EDT) From: "Mike A. Harris" X-X-Sender: mharris@devserv.devel.redhat.com To: axp-list@redhat.com Subject: Re: XFree86-4.2.0-50.10.src.rpm errors doing build In-Reply-To: <001801c20b5d$1c718160$6a700044@outpost23> Message-ID: Organization: Red Hat Inc. X-Unexpected-Header: The Spanish Inquisition MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Loop: axp-list@redhat.com Sender: axp-list-admin@redhat.com Errors-To: axp-list-admin@redhat.com X-BeenThere: axp-list@redhat.com X-Mailman-Version: 2.0.1 Precedence: bulk Reply-To: axp-list@redhat.com List-Help: List-Post: List-Subscribe: , List-Id: Linux and Red Hat on Alpha processors List-Unsubscribe: , List-Archive: On Mon, 3 Jun 2002, Ted Goodridge, Jr wrote: >make: Leaving directory `/usr/src/rpm/BUILD/XFree86-4.2.0/xc' >error: Bad exit status from /var/tmp/rpm-tmp.49956 (%build) > > >RPM build errors: > Bad exit status from /var/tmp/rpm-tmp.49956 (%build) > >This is the diff output from the original specfile and the > one that I modified: > >romulus:/usr/src/rpm/SPECS# diff XFree86.spec XFree86.spec.custom >3c3 >< ExcludeArch: alpha ia64 >--- >> #ExcludeArch: alpha ia64 That's ok, as the ExcludeArch is only there right now because X wont compile on 64bit arch's with gcc 3.1 currently due to a simple issue I've not resolved yet. Building with gcc 2.96 should be fine however, so commenting out the above is ok. >1006c1006 >< #define BuildXF86DRI YES >--- >> %define BuildXF86DRI YES That is invalid. Those defines are not RPM macros being defined, they are Imake macros which get put in the file host.def via a here document to configure the X build process. Imake uses the C preprocessor, so they are ultimately C preprocessor defines, and should appear as: #define foo bar And to comment one out, you do so as in C: /* #define foo bar */ >1008c1008 >< #define BuildXF86DRI NO >--- >> %define BuildXF86DRI NO Again, invalid. >1052,1053c1052,1053 >< #define XF86CardDrivers mga nv tga s3virge sis rendition \ >< neomagic i740 tdfx cirrus tseng trident chips >apm \ >--- >> %define XF86CardDrivers mga rendition \ >> i740 tseng trident chips apm \ I don't see anything wrong there. Replace the % with # on the defines, and try to rebuild again. What compiler are you using? -- Mike A. Harris Shipping/mailing address: OS Systems Engineer 190 Pittsburgh Ave., Sault Ste. Marie, XFree86 maintainer Ontario, Canada, P6C 5B3 Red Hat Inc. http://www.redhat.com ftp://people.redhat.com/mharris