Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: "Mike A. Harris" <mharris@redhat.com>
To: axp-list@redhat.com
Subject: Re: XFree86-4.2.0-50.10.src.rpm errors doing build
Date: Tue, 4 Jun 2002 15:21:30 -0400 (EDT)	[thread overview]
Message-ID: <Pine.LNX.4.44.0206041517010.31420-100000@devserv.devel.redhat.com> (raw)
In-Reply-To: <001801c20b5d$1c718160$6a700044@outpost23>

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




  reply	other threads:[~2002-06-04 19:21 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-06-04  0:16 XFree86-4.2.0-50.10.src.rpm errors doing build Ted Goodridge, Jr
2002-06-04 19:21 ` Mike A. Harris [this message]
2002-06-05  0:11   ` Ted Goodridge, Jr
2002-06-05  2:33   ` Ted Goodridge, Jr
2002-06-05  4:43     ` Mike A. Harris
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox