Emerging the ati-drivers-8.14.13-r3 ebuild fails when applying the fglrx-2.6.14-compat_ioctl.patch patch. I'm using the 2.6.13-gentoo-r5 amd64 kernel. Reproducible: Always Steps to Reproduce: 1. emerge ati-drivers (or emerge --update --deep world) 2. 3. Actual Results: ... * Applying fglrx-2.6.14-access_ok.patch ... [ ok ] * Applying 8.8.25-via-amd64.patch ... [ ok ] * Applying 8.8.25-smp.patch ... [ ok ] * Applying ioctl32.patch ... [ ok ] * Applying fglrx-2.6.14-compat_ioctl.patch ... * Failed Patch: fglrx-2.6.14-compat_ioctl.patch ! * ( /usr/portage/x11-drivers/ati-drivers/files/fglrx-2.6.14-compat_ioctl.patch ) * * Include in your bugreport the contents of: * * /var/tmp/portage/ati-drivers-8.14.13-r3/temp/fglrx-2.6.14-compat_ioctl.patch-8032.out !!! ERROR: x11-drivers/ati-drivers-8.14.13-r3 failed. !!! Function epatch, Line 363, Exitcode 0 !!! Failed Patch: fglrx-2.6.14-compat_ioctl.patch! Expected Results: Installed the new drivers Output of /var/tmp/portage/ati-drivers-8.14.13-r3/temp/fglrx-2.6.14-compat_ioctl.patch-8859.out in link. emerge info: Portage 2.0.51.22-r3 (default-linux/amd64/2005.1, gcc-3.4.4, glibc-2.3.5-r2, 2.6.13-gentoo-r5 x86_64) ================================================================= System uname: 2.6.13-gentoo-r5 x86_64 AMD Athlon(tm) 64 Processor 3200+ Gentoo Base System version 1.6.13 dev-lang/python: 2.3.5, 2.4.2 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.20 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=k8 -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=k8 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="ftp://mirror.internode.on.net/pub/gentoo http://www.ibiblio.org/pub/Linux/distributions/gentoo http://gentoo.mirrors.pair.com/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://mirror.internode.on.net/gentoo-portage" USE="amd64 X aac acpi alsa apache2 audiofile avi bash-completion berkdb bitmap-fonts bzip2 cdr crypt cups dvb dvd dvdr eds emboss emul-linux-x86 encode exif expat fam ffmpeg foomaticdb fortran ftp gif glut gnome gpm gstreamer gtk gtk2 idn imlib ipv6 jabber java jpeg kde lcms libwww lirc lzw lzw-tiff mhash mng motif mp3 mpeg mysql mysqli ncurses nls nptl offensive ogg oggvorbis openal opengl pam pcre pdflib perl php png posix python qt quicktime readline recode samba sdl sockets spell spl ssl tcpd tiff tokenizer truetype truetype-fonts type1-fonts udev unicode usb userlocales vorbis xml2 xmms xpm xv xvid zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Created attachment 72865 [details] File asked by the ebuild error to be attached
nano -w /usr/portage/x11-drivers/ati-drivers/ati-drivers-8.14.13-r3.ebuild It's not that hard, just look for the following in the ebuild code and remove it: { if amd64 apply nonsensical 2.6.14 patch even though i haven't checked to see if i even have 2.6.14 fi } then: ebuild /usr/portage/x11-drivers/ati-drivers/ati-drivers-8.14.13-r3.ebuild digest emerge ati-drivers
for AMD64 with kernel 2.6.14+ ati-drivers-8.19.10.ebuild needs: epatch "${FILESDIR}/fglrx-2.6.14-compat_ioctl.patch" added, otherwise the kernel module will not load and yell in dmesg about unknown symbol regester_ioctl32_conversion and unregester_ioctl32_conversion. I manually added it, tried it, it applied, and it works on ati-drivers-8.19.10. George
I'm sorry for the problems, I can't test it myself and I'm overbusy currently. Please sync and check if it is working as supposed for everybody. Reopen if isn't