Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 76807 - xorg xbox patch doesn't work
Summary: xorg xbox patch doesn't work
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High critical
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords: Inclusion
Depends on:
Blocks:
 
Reported: 2005-01-05 12:30 UTC by Tobias Bartel
Modified: 2005-02-11 00:20 UTC (History)
4 users (show)

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


Attachments
log of the failed attempt to patch xorg (9990_x86_6.8.0-xbox-20041024.patch-32571.out,28.99 KB, text/plain)
2005-01-05 12:31 UTC, Tobias Bartel
Details
xorg-x11/xorg-x11-6.8.0-r4.ebuild (xorg-x11-6.8.0-r4.ebuild,39.46 KB, text/plain)
2005-01-06 23:33 UTC, Edgar Hucek
Details
xorg-x11/files/9990_x86_6.8.0-nvxbox-20050107.patch (9990_x86_6.8.0-nvxbox-20050107.patch,406.76 KB, text/x-patch)
2005-01-06 23:34 UTC, Edgar Hucek
Details
xorg-x11/files/9991_x86_6.8.0-xbox-pci-20050107.patch (9991_x86_6.8.0-xbox-pci-20050107.patch,529 bytes, text/x-patch)
2005-01-06 23:36 UTC, Edgar Hucek
Details
xorg-x11/files/9992_x86_6.8.0-xbox-config-20050107.patch (9992_x86_6.8.0-xbox-config-20050107.patch,3.41 KB, text/x-patch)
2005-01-06 23:36 UTC, Edgar Hucek
Details
xorg-x11/files/digest-xorg-x11-6.8.0-r4 (digest-xorg-x11-6.8.0-r4,910 bytes, text/plain)
2005-01-06 23:37 UTC, Edgar Hucek
Details
xorg-x11/xorg-x11-6.8.1.904.ebuild (xorg-x11-6.8.1.904.ebuild,57.06 KB, application/octet-stream)
2005-02-07 22:52 UTC, Edgar Hucek
Details
xorg-x11/files/9991_x86_6.8.1.904-xbox-pci-20050207.patch (9991_x86_6.8.1.904-xbox-pci-20050207.patch,408 bytes, patch)
2005-02-07 22:52 UTC, Edgar Hucek
Details | Diff
xorg-x11/files/digest-xorg-x11-6.8.1.904 (digest-xorg-x11-6.8.1.904,517 bytes, application/octet-stream)
2005-02-07 22:53 UTC, Edgar Hucek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tobias Bartel 2005-01-05 12:30:13 UTC
when i try to emerge xorg-x11-6.8.0-r4.ebuild or xorg-x11-6.8.1.901.ebuild on my xbox emerge dies when it tries top applie the xbox patch.


 *   9990_x86_6.8.0-xbox-20041024.patch ...
 * Failed Patch: 9990_x86_6.8.0-xbox-20041024.patch!
 *
 * Include in your bugreport the contents of:
 *
 * /var/tmp/portage/xorg-x11-6.8.1.901/temp/9990_x86_6.8.0-xbox-20041024.patch-32571.out



Reproducible: Always
Steps to Reproduce:
1. use the xbox profile
2. emerge xorg-x11

Actual Results:  
 * Failed Patch: 9990_x86_6.8.0-xbox-20041024.patch!
 *
 * Include in your bugreport the contents of:
 *
 *  
/var/tmp/portage/xorg-x11-6.8.0-r4/temp/9990_x86_6.8.0-xbox-20041024.patch-2486.out



Portage 2.0.51-r3 (default-linux/x86/xbox, gcc-3.3.4, glibc-2.3.4.20040808-r1,
2.6.8-xbox i686)
=================================================================
System uname: 2.6.8-xbox i686 Celeron (Coppermine)
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.90.0.1.1-r3
Headers:  sys-kernel/linux26-headers-2.6.8.1-r1
Libtools: sys-devel/libtool-1.5.2-r7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=pentium3 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=pentium3 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="ftp://pandemonium.tiscali.de/pub/gentoo/
http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/
http://pandemonium.tiscali.de/pub/gentoo/
ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync16.de.gentoo.org/gentoo-merged"
USE="x86 X aalib acl alsa avi berkdb bitmap-fonts crypt cups directfb divx4linux
dvd dvdnav encode fbcon fbdev flac foomaticdb fortran gdbm gif gpm ipv6 jpeg
libwww lirc mad mikmod miknod mmx motif mpeg ncurses nls oggvorbis opengl oss
pam pdflib perl png python quicktime readline sdl slang spell sse ssl svga tcpd
truetype vdr xml2 xv zlib"
Comment 1 Tobias Bartel 2005-01-05 12:31:39 UTC
Created attachment 47728 [details]
log of the failed attempt to patch xorg
Comment 2 Donnie Berkholz (RETIRED) gentoo-dev 2005-01-05 21:19:49 UTC
Please supply an updated patch that applies cleanly.
Comment 3 Edgar Hucek 2005-01-06 23:33:54 UTC
Created attachment 47812 [details]
xorg-x11/xorg-x11-6.8.0-r4.ebuild

The ebbuild is just for testing the patches, since they are not included into
the xorg patchset.
Comment 4 Edgar Hucek 2005-01-06 23:34:57 UTC
Created attachment 47813 [details]
xorg-x11/files/9990_x86_6.8.0-nvxbox-20050107.patch

This patch adds the Xbox nvdriver
Comment 5 Edgar Hucek 2005-01-06 23:36:01 UTC
Created attachment 47814 [details]
xorg-x11/files/9991_x86_6.8.0-xbox-pci-20050107.patch

This patch adds the OS Pci scanning support which is required for the xbox
Comment 6 Edgar Hucek 2005-01-06 23:36:41 UTC
Created attachment 47815 [details]
xorg-x11/files/9992_x86_6.8.0-xbox-config-20050107.patch

Patch for example xorg.conf
Comment 7 Edgar Hucek 2005-01-06 23:37:40 UTC
Created attachment 47816 [details]
xorg-x11/files/digest-xorg-x11-6.8.0-r4
Comment 8 Edgar Hucek 2005-01-06 23:43:08 UTC
I have splitted the xbox support patch.

9990_x86_6.8.0-nvxbox-20050107.patch -> ist the driver itselfe
9991_x86_6.8.0-xbox-pci-20050107.patch -> os pci scanning support
9992_x86_6.8.0-xbox-config-20050107.patch -> xorg.conf patch for xbox

Patching the original xorg nv driver is removed for the moment. The
xbox support breaks the normal nv driver on a std pc. I'll provide
a patch when i have fixed it.

The patches schould not break xorg on standard architectures.
At least the os pci scanning patch could be usefull on platforms
or hardware where a pci scann with the xorg mechanism fails.
Comment 9 Adam Jackson 2005-01-07 07:53:31 UTC
speaking as upstream, please feel free to also file these in Xorg's bugzilla:

http://bugs.freedesktop.org/
Comment 10 Chris Bainbridge (RETIRED) gentoo-dev 2005-01-20 01:14:34 UTC
Can you please add this patchset asap, people are beginning to complain that the old one is broken on the mailing list (one person who missed this bug report even supplied a patched version of the old patch). 

Ed, thanks for the patch, maybe you could try getting them included upstream as Adam suggested? Would make life easier in the future ;-)
Comment 11 Edgar Hucek 2005-01-20 03:15:22 UTC
I'll submit it to http://bugs.freedesktop.org/ when 6.8.2 gets released.
Comment 12 Donnie Berkholz (RETIRED) gentoo-dev 2005-01-20 11:24:24 UTC
Is there any reason these should be in 2005.0, or can they wait til a day after the snapshot for 6.8.0-r4?
Comment 13 Chris Bainbridge (RETIRED) gentoo-dev 2005-01-20 13:24:57 UTC
They can wait, 2005.0 doesn't affect xbox gentoo at all.
Comment 14 Donnie Berkholz (RETIRED) gentoo-dev 2005-02-03 00:55:13 UTC
Very sorry about the delay on this, will get to it ASAP.
Comment 15 Donnie Berkholz (RETIRED) gentoo-dev 2005-02-05 00:23:33 UTC
I was just hoping to add these to 6.8.1.904, but the pci patch fails.
Comment 16 Edgar Hucek 2005-02-06 00:04:00 UTC
I'll investigate in the problem and work out a new patch.
Comment 17 Edgar Hucek 2005-02-07 22:52:10 UTC
Created attachment 50699 [details]
xorg-x11/xorg-x11-6.8.1.904.ebuild
Comment 18 Edgar Hucek 2005-02-07 22:52:54 UTC
Created attachment 50700 [details, diff]
xorg-x11/files/9991_x86_6.8.1.904-xbox-pci-20050207.patch
Comment 19 Edgar Hucek 2005-02-07 22:53:35 UTC
Created attachment 50701 [details]
xorg-x11/files/digest-xorg-x11-6.8.1.904
Comment 20 Edgar Hucek 2005-02-07 22:55:10 UTC
The patches works now with xorg 6.8.1.904.
Comment 21 Donnie Berkholz (RETIRED) gentoo-dev 2005-02-09 11:17:22 UTC
I'll try to get to this within the next day or two. Thanks again, Edgar, for updating those.
Comment 22 Donnie Berkholz (RETIRED) gentoo-dev 2005-02-11 00:20:04 UTC
Added 9990 and 9991 to 6.8.2. Thanks again for your patience.