Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 224245

Summary: x11-base/xorg-server-1.4.0.90-r3 compile ERROR - X_BYTE_ORDER undefined
Product: Gentoo Linux Reporter: Ulenrich <ulenrich>
Component: New packagesAssignee: Gentoo X packagers <x11>
Status: RESOLVED UPSTREAM    
Severity: normal CC: karpi.web, lauranger
Priority: High    
Version: 2007.0   
Hardware: PPC64   
OS: Linux   
URL: http://bugs.freedesktop.org/show_bug.cgi?id=16171
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: variable in colormapst.h is undefined
hope this is helpfull

Description Ulenrich 2008-05-30 16:33:11 UTC
On a ps3 ~ppc64 system xorg-server-1.4.0 fails to compile:
---
In file included from colormap.c:61:
../include/colormapst.h:110:42: error: operator '==' has no left operand
colormap.c:283:19: error: operator '==' has no left operand
make[2]: *** [colormap.lo] Fehler 1
make[2]: Leaving directory `/home/tmp/portage/x11-base/xorg-server-1.4.0.90-r3/work/xorg-server-1.4.0.90/dix'
make[1]: *** [all] Fehler 2
---
colormapst.h line 110:
---
#if defined(_XSERVER64) && (X_BYTE_ORDER == X_LITTLE_ENDIAN) 
---
For me it looks like X_BYTE_ORDER seems to be undefined.
Comment 1 Ulenrich 2008-05-30 16:35:36 UTC
Created attachment 154847 [details]
variable in colormapst.h is undefined
Comment 2 Ulenrich 2008-05-30 16:41:18 UTC
Created attachment 154849 [details]
hope this is helpfull
Comment 3 Ulenrich 2008-05-30 18:26:38 UTC
Further inspection:
From xorg-server-1.3 to 1.4 there has been an additional variable
_X_BYTE_ORDER
introduced in xorg-server-1.4. The old variable X_BYTE_ORDER
keeps on to be present in header files - but not mentioned anymore in:
portage/x11-base/xorg-server-1.4.0.90-r3/work/xorg-server-1.4.0.90/configure
Comment 4 Ulenrich 2008-05-30 19:29:06 UTC
added upstream bug report on:
http://bugs.freedesktop.org/show_bug.cgi?id=16171
Comment 5 Jeroen Roovers (RETIRED) gentoo-dev 2008-05-31 15:27:40 UTC
Post your emerge --info as well, please.
Comment 6 Ulenrich 2008-05-31 18:45:59 UTC
Peter Hutterer has just confirmed that bug on 
http://bugs.freedesktop.org/show_bug.cgi?id=16171

Could be a bit problematic to solve, so tag this bug as an upstream issue!
Comment 7 Ulenrich 2008-05-31 18:50:30 UTC
So keyword ~ppc64 is unjustified for version
xorg-server-1.4.0.90-r3
and also version
xorg-server-1.4.0.90-r4
as i just proved with same compile errors on cell-ps3 straight ppc64 !
Comment 8 Donnie Berkholz (RETIRED) gentoo-dev 2008-06-04 06:20:49 UTC
Great, thanks for filing that upstream bug. Please reopen once it's fixed.
Comment 9 Peter Alfredsen (RETIRED) gentoo-dev 2008-06-12 20:21:00 UTC
*** Bug 226125 has been marked as a duplicate of this bug. ***
Comment 10 karpi 2008-06-25 06:37:08 UTC
some X_BYTE_ORDER issue is solved there:
http://bugs.gentoo.org/show_bug.cgi?id=227821
(ignore me if i am out of the point, plz..)