Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 157401 - xorg-server-1.1.1-r3 Failed Patch: 1.1.1-fix_big_endian_glx.patch
Summary: xorg-server-1.1.1-r3 Failed Patch: 1.1.1-fix_big_endian_glx.patch
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
: 157425 157435 157455 157470 157566 158058 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-12-06 22:13 UTC by Scott Short
Modified: 2006-12-13 11:44 UTC (History)
19 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Scott Short 2006-12-06 22:13:30 UTC
>>> Emerging (6 of 6) x11-base/xorg-server-1.1.1-r3 to /
 * xorg-server-1.1.1.tar.bz2 MD5 ;-) ...                                                                                                                                                                  [ ok ]
 * xorg-server-1.1.1.tar.bz2 RMD160 ;-) ...                                                                                                                                                               [ ok ]
 * xorg-server-1.1.1.tar.bz2 SHA1 ;-) ...                                                                                                                                                                 [ ok ]
 * xorg-server-1.1.1.tar.bz2 SHA256 ;-) ...                                                                                                                                                               [ ok ]
 * xorg-server-1.1.1.tar.bz2 size ;-) ...                                                                                                                                                                 [ ok ]
 * MesaLib-6.5.1.tar.bz2 MD5 ;-) ...                                                                                                                                                                      [ ok ]
 * MesaLib-6.5.1.tar.bz2 RMD160 ;-) ...                                                                                                                                                                   [ ok ]
 * MesaLib-6.5.1.tar.bz2 SHA1 ;-) ...                                                                                                                                                                     [ ok ]
 * MesaLib-6.5.1.tar.bz2 SHA256 ;-) ...                                                                                                                                                                   [ ok ]
 * MesaLib-6.5.1.tar.bz2 size ;-) ...                                                                                                                                                                     [ ok ]
 * checking ebuild checksums ;-) ...                                                                                                                                                                      [ ok ]
 * checking auxfile checksums ;-) ...                                                                                                                                                                     [ ok ]
 * checking miscfile checksums ;-) ...                                                                                                                                                                    [ ok ]
 * checking xorg-server-1.1.1.tar.bz2 ;-) ...                                                                                                                                                             [ ok ]
 * checking MesaLib-6.5.1.tar.bz2 ;-) ...                                                                                                                                                                 [ ok ]
 * Forcing on xorg-x11 for new enough glxtokens.h...
Switching to xorg-x11 OpenGL interface... done
>>> Unpacking source...
>>> Unpacking xorg-server-1.1.1.tar.bz2 to /var/tmp/portage/x11-base/xorg-server-1.1.1-r3/work
>>> Unpacking MesaLib-6.5.1.tar.bz2 to /var/tmp/portage/x11-base/xorg-server-1.1.1-r3/work
 * Applying xorg-x11-server-1.1.1-mesa-6.5.1.patch ...                                                                                                                                                    [ ok ]
 * Applying xorg-server-1.1.1-install-libxf86config-headers.patch ...                                                                                                                                     [ ok ]
 * Applying 1.1.1-fix-xrandr-zoom-keys.patch ...                                                                                                                                                          [ ok ]
 * Applying 1.1.1-sparc64-ati-lockups.patch ...                                                                                                                                                           [ ok ]
 * Applying xorg-conf-example.patch ...                                                                                                                                                                   [ ok ]
 * Applying 1.1.1-fix_acpi_tokenize.patch ...                                                                                                                                                             [ ok ]
 * Applying 1.1.1-fix_big_endian_glx.patch ...

 * Failed Patch: 1.1.1-fix_big_endian_glx.patch !
 *  ( /usr/portage/x11-base/xorg-server/files/1.1.1-fix_big_endian_glx.patch )
 * 
 * Include in your bugreport the contents of:
 * 
 *   /var/tmp/portage/x11-base/xorg-server-1.1.1-r3/temp/1.1.1-fix_big_endian_glx.patch-22048.out


!!! ERROR: x11-base/xorg-server-1.1.1-r3 failed.
Call stack:
  ebuild.sh, line 1569:   Called dyn_unpack
  ebuild.sh, line 709:   Called src_unpack
  xorg-server-1.1.1-r3.ebuild, line 353:   Called x-modular_patch_source
  x-modular.eclass, line 241:   Called epatch '/usr/portage/x11-base/xorg-server/files/1.1.1-fix_big_endian_glx.patch'
  eutils.eclass, line 341:   Called die

!!! Failed Patch: 1.1.1-fix_big_endian_glx.patch!
!!! If you need support, post the topmost build error, and the call stack if relevant.



node1 sss # cat /var/tmp/portage/x11-base/xorg-server-1.1.1-r3/temp/1.1.1-fix_big_endian_glx.patch-22048.out
***** 1.1.1-fix_big_endian_glx.patch *****

==========================================

PATCH COMMAND:  patch -p0 -g0 -E --no-backup-if-mismatch < /usr/portage/x11-base/xorg-server/files/1.1.1-fix_big_endian_glx.patch

==========================================
can't find file to patch at input line 11
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|commit 3ad1642f1bbaa5f96558cdf3384b40f7122f8781
|Author: Michel D
Comment 1 Scott Short 2006-12-06 22:13:30 UTC
>>> Emerging (6 of 6) x11-base/xorg-server-1.1.1-r3 to /
 * xorg-server-1.1.1.tar.bz2 MD5 ;-) ...                                                                                                                                                                  [ ok ]
 * xorg-server-1.1.1.tar.bz2 RMD160 ;-) ...                                                                                                                                                               [ ok ]
 * xorg-server-1.1.1.tar.bz2 SHA1 ;-) ...                                                                                                                                                                 [ ok ]
 * xorg-server-1.1.1.tar.bz2 SHA256 ;-) ...                                                                                                                                                               [ ok ]
 * xorg-server-1.1.1.tar.bz2 size ;-) ...                                                                                                                                                                 [ ok ]
 * MesaLib-6.5.1.tar.bz2 MD5 ;-) ...                                                                                                                                                                      [ ok ]
 * MesaLib-6.5.1.tar.bz2 RMD160 ;-) ...                                                                                                                                                                   [ ok ]
 * MesaLib-6.5.1.tar.bz2 SHA1 ;-) ...                                                                                                                                                                     [ ok ]
 * MesaLib-6.5.1.tar.bz2 SHA256 ;-) ...                                                                                                                                                                   [ ok ]
 * MesaLib-6.5.1.tar.bz2 size ;-) ...                                                                                                                                                                     [ ok ]
 * checking ebuild checksums ;-) ...                                                                                                                                                                      [ ok ]
 * checking auxfile checksums ;-) ...                                                                                                                                                                     [ ok ]
 * checking miscfile checksums ;-) ...                                                                                                                                                                    [ ok ]
 * checking xorg-server-1.1.1.tar.bz2 ;-) ...                                                                                                                                                             [ ok ]
 * checking MesaLib-6.5.1.tar.bz2 ;-) ...                                                                                                                                                                 [ ok ]
 * Forcing on xorg-x11 for new enough glxtokens.h...
Switching to xorg-x11 OpenGL interface... done
>>> Unpacking source...
>>> Unpacking xorg-server-1.1.1.tar.bz2 to /var/tmp/portage/x11-base/xorg-server-1.1.1-r3/work
>>> Unpacking MesaLib-6.5.1.tar.bz2 to /var/tmp/portage/x11-base/xorg-server-1.1.1-r3/work
 * Applying xorg-x11-server-1.1.1-mesa-6.5.1.patch ...                                                                                                                                                    [ ok ]
 * Applying xorg-server-1.1.1-install-libxf86config-headers.patch ...                                                                                                                                     [ ok ]
 * Applying 1.1.1-fix-xrandr-zoom-keys.patch ...                                                                                                                                                          [ ok ]
 * Applying 1.1.1-sparc64-ati-lockups.patch ...                                                                                                                                                           [ ok ]
 * Applying xorg-conf-example.patch ...                                                                                                                                                                   [ ok ]
 * Applying 1.1.1-fix_acpi_tokenize.patch ...                                                                                                                                                             [ ok ]
 * Applying 1.1.1-fix_big_endian_glx.patch ...

 * Failed Patch: 1.1.1-fix_big_endian_glx.patch !
 *  ( /usr/portage/x11-base/xorg-server/files/1.1.1-fix_big_endian_glx.patch )
 * 
 * Include in your bugreport the contents of:
 * 
 *   /var/tmp/portage/x11-base/xorg-server-1.1.1-r3/temp/1.1.1-fix_big_endian_glx.patch-22048.out


!!! ERROR: x11-base/xorg-server-1.1.1-r3 failed.
Call stack:
  ebuild.sh, line 1569:   Called dyn_unpack
  ebuild.sh, line 709:   Called src_unpack
  xorg-server-1.1.1-r3.ebuild, line 353:   Called x-modular_patch_source
  x-modular.eclass, line 241:   Called epatch '/usr/portage/x11-base/xorg-server/files/1.1.1-fix_big_endian_glx.patch'
  eutils.eclass, line 341:   Called die

!!! Failed Patch: 1.1.1-fix_big_endian_glx.patch!
!!! If you need support, post the topmost build error, and the call stack if relevant.



node1 sss # cat /var/tmp/portage/x11-base/xorg-server-1.1.1-r3/temp/1.1.1-fix_big_endian_glx.patch-22048.out
***** 1.1.1-fix_big_endian_glx.patch *****

==========================================

PATCH COMMAND:  patch -p0 -g0 -E --no-backup-if-mismatch < /usr/portage/x11-base/xorg-server/files/1.1.1-fix_big_endian_glx.patch

==========================================
can't find file to patch at input line 11
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|commit 3ad1642f1bbaa5f96558cdf3384b40f7122f8781
|Author: Michel Dänzer <michel@tungstengraphics.com>
|Date:   Sun Oct 15 16:57:09 2006 +0200
|
|    Fix __glXDRIbindTexImage() for 32 bpp on big endian platforms.
|
|diff --git a/GL/glx/glxdri.c b/GL/glx/glxdri.c
|index b572304..170662c 100644
|--- a/GL/glx/glxdri.c
|+++ b/GL/glx/glxdri.c
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
==========================================

PATCH COMMAND:  patch -p1 -g0 -E --no-backup-if-mismatch < /usr/portage/x11-base/xorg-server/files/1.1.1-fix_big_endian_glx.patch

==========================================
patching file GL/glx/glxdri.c
Hunk #1 FAILED at 359.
1 out of 1 hunk FAILED -- saving rejects to file GL/glx/glxdri.c.rej
==========================================

PATCH COMMAND:  patch -p2 -g0 -E --no-backup-if-mismatch < /usr/portage/x11-base/xorg-server/files/1.1.1-fix_big_endian_glx.patch

==========================================
can't find file to patch at input line 11
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|commit 3ad1642f1bbaa5f96558cdf3384b40f7122f8781
|Author: Michel Dänzer <michel@tungstengraphics.com>
|Date:   Sun Oct 15 16:57:09 2006 +0200
|
|    Fix __glXDRIbindTexImage() for 32 bpp on big endian platforms.
|
|diff --git a/GL/glx/glxdri.c b/GL/glx/glxdri.c
|index b572304..170662c 100644
|--- a/GL/glx/glxdri.c
|+++ b/GL/glx/glxdri.c
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
Comment 2 Andrew Gaydenko 2006-12-06 23:25:29 UTC
The same for ~x86.
Comment 3 Raúl Casado 2006-12-07 02:13:40 UTC
Same here!

#emerge --info
Portage 2.1.2_rc2-r5 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.5-r0, 2.6.18-gentoo-r3 i686)
=================================================================
System uname: 2.6.18-gentoo-r3 i686 Intel(R) Pentium(R) M processor 1.86GHz
Gentoo Base System version 1.12.6
Last Sync: Thu, 07 Dec 2006 06:50:01 +0000
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.4.4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium-m -msse2 -msse -mmmx -mfpmath=sse -pipe -O3 -fweb -momit-leaf-frame-pointer -fomit-frame-pointer -ftracer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=pentium-m -msse2 -msse -mmmx -mfpmath=sse -pipe -O3 -fweb -momit-leaf-frame-pointer -fomit-frame-pointer -ftracer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.osuosl.org http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://linuv.uv.es/mirror/gentoo/"
LANG="es_ES@euro"
LC_ALL="es_ES@euro"
LINGUAS="en_GB es"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 X acpi alsa alsa_cards_intel8x0 apache2 apm arts berkdb bitmap-fonts bluetooth cdparanoia cdr cdrom cli cracklib crypt cups dlloader dri dvd dvdr dvdread eds elibc_glibc emboss encode esd foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2 hal iconv imlib input_devices_keyboard input_devices_mouse input_devices_synaptics ipv6 irda isdnlog java jpeg kde kernel_linux libg++ libwww linguas_en_GB linguas_es logrotate mad mikmod mmx mng motif mozsvg mp3 mpeg ncurses nls nptl nsplugin ogg opengl oss pam pcre perl png pppd python qt3 quicktime readline reflection samba sdl session spell spl sse sse2 ssl svg svgz tcpd threads tiff truetype truetype-fonts type1-fonts udev userland_GNU video_cards_ati video_cards_fglrx video_cards_radeon video_cards_vesa vorbis wmf xine xinerama xml xorg xv zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 4 DocReedSolomon 2006-12-07 02:36:16 UTC
same here (amd64).
well, if i am not *completly* mistaken <g>, amd64 and x86 are *little* endian, so maybe "arch" isnt checked correctly by the ebuild? the patch is probably supposed to fail here infact of this ;)

Comment 5 Neil Bothwick 2006-12-07 04:23:21 UTC
I get the same error on both amd64 and ppc systems, it seems to be endian-independent.
Comment 6 Emiliano Vavassori 2006-12-07 04:28:40 UTC
I can confirm it on a ~x86 laptop.
Comment 7 Florian Manschwetus 2006-12-07 05:18:43 UTC
x86 (coreduo) has also this error
Comment 8 Jakub Moc (RETIRED) gentoo-dev 2006-12-07 06:19:48 UTC
*** Bug 157425 has been marked as a duplicate of this bug. ***
Comment 9 jcat 2006-12-07 06:59:05 UTC
Me too.  emerge --info

Portage 2.1.2_rc2-r3 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.4-r4, 2.6.18-gentoo-r3 i686)
=================================================================
System uname: 2.6.18-gentoo-r3 i686 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.12.6
Last Sync: Thu, 07 Dec 2006 13:00:01 +0000
ccache version 2.3 [enabled]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r4
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -msse2 -msse3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-O2 -march=athlon-xp -msse2 -msse3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_GB.UTF-8"
LC_ALL="en_GB.UTF-8"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/overlays/xeffects-experimental /usr/local/overlays/sourceforge /usr/local/overlays/googlecode /usr/portage/local/layman/xeffects"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow X alsa alsa_cards_snd-intel8x0 apache2 berkdb bitmap-fonts cairo cdr cli cracklib crypt cups dbus dlloader dri dvb dvb_cards_usb-a800 dvd dvdr dvdread eds elibc_glibc emboss encode esd fam fbdev firefox flac fortran gdbm gif gnome gpm gstreamer gtk gtk2 hal howl iconv imap input_devices_keyboard input_devices_mouse ipod ipv6 isdnlog jpeg kernel_linux ldap libg++ libwww lirc lirc_devices_devinput live mad maildir mikmod mmx mozilla mp3 mpeg mysql nas ncurses network nls nptl nptlonly nsplugin nvidia ogg opengl oss pam pcre perl png ppds pppd python qt qt3 qt4 quicktime readline real reflection rtc sasl sdl session spell spl sse sse2 ssl tcpd truetype truetype-fonts type1-fonts udev unicode userland_GNU video_cards_nv video_cards_nvidia video_cards_vesa vorbis win32codecs xine xml xorg xv xvid xvmc zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS 
Comment 10 Marijn Schouten (RETIRED) gentoo-dev 2006-12-07 07:58:39 UTC
~amd64 too
Comment 11 Elisamuel Resto 2006-12-07 08:01:45 UTC
I was experiencing this yesterday with xorg-server-1.1.1-r3, but I just ran a compile on it to enable aiglx and the patching succeeded. Last sync on Thu Dec  7 08:34:52 AST 2006.

hades ~ # genlop -ie xorg-server
 * x11-base/xorg-server

     Wed Dec  6 08:59:12 2006 >>> x11-base/xorg-server-1.1.1-r2
     Thu Dec  7 11:53:33 2006 >>> x11-base/xorg-server-1.1.1-r3

   Total builds: 2
   Global build time: 30 minutes and 41 seconds.
   Average merge time: 15 minutes and 20 seconds.

   Info about currently installed ebuild:

   * x11-base/xorg-server-1.1.1-r3
   Install date: Thu Dec  7 11:53:33 2006
   USE="aiglx dri ipv6 nptl xorg"
   CFLAGS="-Os -march=prescott -pipe -ffast-math"



hades ~ # emerge --info
Portage 2.1.2_rc2-r5 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.5-r0, 2.6.19-gentoo-r1 i686)
=================================================================
System uname: 2.6.19-gentoo-r1 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz
Gentoo Base System version 1.12.6
Last Sync: Thu, 07 Dec 2006 12:20:01 +0000
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.4.4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-Os -march=prescott -pipe -ffast-math"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-Os -march=prescott -pipe -ffast-math"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer notitles parallel-fetch sandbox sfperms strict userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://gentoo.llarian.net/ http://mirror.mcs.anl.gov/pub/gentoo/ http://gentoo.mirrors.pair.com/"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en_US es_PR"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/xeffects"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="x86 X a52 aac acl acpi alsa alsa_cards_usb-audio alsa_cards_via82xx avahi berkdb bitmap-fonts bzip2 cairo cddb cdr cli cracklib crypt cups curl dbus dlloader dri dts dvd elibc_glibc exif expat ffmpeg firefox flac fortran gdbm gif glitz gmp gnome gnutls gpm gtk hal iconv idn input_devices_keyboard input_devices_mouse ipv6 isdnlog java jpeg kernel_linux lcms libg++ linguas_en_US linguas_es_PR lirc lirc_devices_pctv logrotate mad mailwrapper mmx mono mp3 mpeg ncurses nls nptl nptlonly nsplugin ogg opengl pam pcre pdf perl pic pie png ppds pppd python readline reflection ruby samba sasl session spl sqlite sse sse2 sse3 ssl svg symlink t1lib tcl tcpd theora threads tiff tk truetype truetype-fonts type1-fonts udev unicode usb userland_GNU video_cards_nv video_cards_nvidia vorbis xine xinerama xml xorg xv xvid zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_RSYNC_EXTRA_OPTS
Comment 12 Jakub Moc (RETIRED) gentoo-dev 2006-12-07 08:02:22 UTC
*** Bug 157435 has been marked as a duplicate of this bug. ***
Comment 13 Mike Auty (RETIRED) gentoo-dev 2006-12-07 08:16:34 UTC
This problem is hardware independent.  The 1.1.1-fix_big_endian_glx.patch should be rolled into 03-tfp-damage.patch, since the fix only applies to code added by the 03-tfp-damage.patch...
Comment 14 Nico R. Wohlgemuth 2006-12-07 08:22:50 UTC
same for me - x86
Comment 15 Pierre Gergondet 2006-12-07 08:35:45 UTC
Same bug on my laptop, last rsync a few minutes ago.

Portage 2.1.1-r2 (default-linux/x86/2006.0, gcc-3.4.4, glibc-2.4-r4, 2.6.18-gentoo-r1 i686)
=================================================================
System uname: 2.6.18-gentoo-r1 i686 AMD Turion(tm) 64 X2 Mobile Technology TL-52
Gentoo Base System version 1.12.6
Last Sync: Thu, 07 Dec 2006 15:50:01 +0000
ccache version 2.3 [disabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.4.4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r4
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -mcpu=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/con
fig"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/
terminfo /etc/texmf/web2c"
CXXFLAGS=""
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.modulix.net/gentoo/ http://ftp.club-internet.fr/pub/mirrors/gentoo "
LANG="fr_FR.UTF-8"
LC_ALL="fr_FR.UTF-8"
LINGUAS="fr"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-
after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/portage-xgl /usr/portage/local/layman/oomadness"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 X alsa apache2 apm berkdb bitmap-fonts cdr cli cracklib crypt cups dlloader dri dvd eds elibc_glibc emboss enc
ode foomaticdb fortran gdbm gif gpm gstreamer gtk gtk2 iconv imlib input_devices_evdev input_devices_joystick input_dev
ices_keyboard input_devices_mouse ipv6 isdnlog jpeg kernel_linux libg++ libwww linguas_fr mad mikmod motif mp3 mpeg ncu
rses nls nptl nptlonly nv nvidia ogg opengl pam pcre perl php png pppd python qt qt3 qt4 quicktime readline reflection 
sdl session spl ssl tcpd tk truetype truetype-fonts type1-fonts udev unicode userland_GNU video_cards_nv video_cards_nv
idia vorbis xml xorg xv zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 16 Chris Smith 2006-12-07 08:44:51 UTC
(In reply to comment #10)
> I was experiencing this yesterday with xorg-server-1.1.1-r3, but I just ran a
> compile on it to enable aiglx and the patching succeeded.

From the ebuild it appears that a whole different set of patches are applied for AIGLX.

The big-endian patch is not needed an little-endian systems and appears to be the only difference between -r2 & -r3, so Intel/AMD users will not benefit from the upgrade.

Also the patch appears to be targeting a whole different version of the file glxdri.c.
Comment 17 Chris Smith 2006-12-07 08:48:50 UTC
(In reply to comment #12)
> This problem is hardware independent.  The 1.1.1-fix_big_endian_glx.patch
> should be rolled into 03-tfp-damage.patch, since the fix only applies to code
> added by the 03-tfp-damage.patch...
> 

Should be moved into the "if use aiglx; then" PATCHES= section of the ebuild.
Comment 18 Joshua Baergen (RETIRED) gentoo-dev 2006-12-07 08:50:26 UTC
Fixed - sorry about that :)
Comment 19 Jakub Moc (RETIRED) gentoo-dev 2006-12-07 11:55:37 UTC
*** Bug 157455 has been marked as a duplicate of this bug. ***
Comment 20 Jakub Moc (RETIRED) gentoo-dev 2006-12-07 14:24:10 UTC
*** Bug 157470 has been marked as a duplicate of this bug. ***
Comment 21 Jakub Moc (RETIRED) gentoo-dev 2006-12-09 00:59:10 UTC
*** Bug 157566 has been marked as a duplicate of this bug. ***
Comment 22 Jakub Moc (RETIRED) gentoo-dev 2006-12-13 11:32:19 UTC
*** Bug 158058 has been marked as a duplicate of this bug. ***
Comment 23 Martin Mokrejš 2006-12-13 11:39:13 UTC
I don't know what you have fixed Joshua in comment #17, you you didn't version bump the ebuild, right? Otherwise I don;t know why I got today -r3 from portage and there is nothing about this bug #157401 in /usr/portage/x11-base/xorg-server/ChangeLog. ... so, that's there is so many dupes, I guess. ;)
Comment 24 Donnie Berkholz (RETIRED) gentoo-dev 2006-12-13 11:44:07 UTC
  07 Dec 2006; Joshua Baergen <joshuabaergen@gentoo.org>
  xorg-server-1.1.1-r3.ebuild:
  Only apply the GLX endianness fix if AIGLX is enabled, since it fixes one of
  the AIGLX patches.  Thanks to Elisamuel Resto and Mike Auty for figuring out
  what the problem was.  Closes bug #157401.