I'm KDE user and trying to install Xgl using http://gentoo-wiki.com/HOWTO_XGL On emerging one of compiz dependencies, gnome-base/gnome-desktop-2.14.2, I've got: ------------------------------------------------------------------------------- >>> Compiling source in /var/tmp/portage/gnome-desktop-2.14.2/work/gnome-desktop-2.14.2 ... * Running elibtoolize in: gnome-desktop-2.14.2 /usr/portage/eclass/libtool.eclass: line 44: 31826 Segmentation fault patch -p0 --dry-run "${file}" "${patch}" >&"${T}/elibtool.log" /usr/portage/eclass/libtool.eclass: line 44: 31827 Segmentation fault patch -p0 --dry-run "${file}" "${patch}" >&"${T}/elibtool.log" /usr/portage/eclass/libtool.eclass: line 44: 31828 Segmentation fault patch -p0 --dry-run "${file}" "${patch}" >&"${T}/elibtool.log" /usr/portage/eclass/libtool.eclass: line 44: 31829 Segmentation fault patch -p0 --dry-run "${file}" "${patch}" >&"${T}/elibtool.log" /usr/portage/eclass/libtool.eclass: line 44: 31830 Segmentation fault patch -p0 --dry-run "${file}" "${patch}" >&"${T}/elibtool.log" /usr/portage/eclass/libtool.eclass: line 44: 31831 Segmentation fault patch -p0 --dry-run "${file}" "${patch}" >&"${T}/elibtool.log" /usr/portage/eclass/libtool.eclass: line 44: 31832 Segmentation fault patch -p0 --dry-run "${file}" "${patch}" >&"${T}/elibtool.log" * Portage patch failed to apply (ltmain.sh version 1.5.22)! * Please bug azarah or vapier to add proper patch. !!! ERROR: gnome-base/gnome-desktop-2.14.2 failed. Call stack: ebuild.sh, line 1543: Called dyn_compile ebuild.sh, line 938: Called src_compile ebuild.sh, line 1252: Called gnome2_src_compile gnome2.eclass, line 63: Called gnome2_src_configure gnome2.eclass, line 53: Called elibtoolize libtool.eclass, line 309: Called die !!! Portage patch failed to apply! !!! If you need support, post the topmost build error, and the call stack if relevant. emerge --info: ------------------------------------------------------------------------------- Portage 2.1.1_pre5-r2 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.3.6-r4, 2.6.17-gentoo-r4 i686) ================================================================= System uname: 2.6.17-gentoo-r4 i686 Mobile Intel(R) Pentium(R) 4 CPU 3.06GHz Gentoo Base System version 1.12.4 Last Sync: Sat, 19 Aug 2006 23:01:01 +0000 app-admin/eselect-compiler: [Not Present] dev-lang/python: 2.4.3-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 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-r2 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium4 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /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/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo" CXXFLAGS="-O2 -march=pentium4 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LANG="lv" LC_ALL="lv_LV.UTF-8" LINGUAS="lv" 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/portage/local/layman/portage-xgl" SYNC="rsync://rsync.blogs.7x24.lv/gentoo-portage" USE="x86 X acl acpi alsa apache2 ati avi berkdb bitmap-fonts cdr cli crypt cups dlloader dri dvd dvdr eds elibc_glibc emboss encode esd foomaticdb fortran gdbm gif gpm gtk2 imlib input_devices_keyboard input_devices_mouse ipv6 isdnlog jpeg kde kernel_linux libg++ libwww linguas_lv mad mikmod mmx motif mp3 mpeg ncurses nls nptl nsplugin ogg opengl oss pam pcmcia pcre pdflib perl png pppd python qt qt3 qt4 quicktime readline reflection samba sdl session spell spl sse sse2 ssl tcpd truetype truetype-fonts type1-fonts udev unicode usb userland_GNU userlocales video_cards_radeon vorbis xml xorg xv zeroconf zlib" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Eh, your patch binary segfaults. This is not an ebuild bug. Find yourself a working sys-devel/patch binary package, unpack it to / and try again. You might also want to reboot, check your RAM etc.