Hello. New version of cairo can't find its patches. Here's the output of an 'emerge -Du world': Calculating world dependencies... done! >>> Emerging (1 of 2) x11-libs/cairo-1.1.6 to / >>> checking ebuild checksums ;-) >>> checking auxfile checksums ;-) >>> checking miscfile checksums ;-) >>> checking cairo-1.1.6.tar.gz ;-) >>> Unpacking source... >>> Unpacking cairo-1.1.6.tar.gz to /var/tmp/portage/cairo-1.1.6/work * Cannot find $EPATCH_SOURCE! Value for $EPATCH_SOURCE is: * * /usr/portage/x11-libs/cairo/files/cairo-1.1.6-poppler-revert.patch * ( cairo-1.1.6-poppler-revert.patch ) !!! ERROR: x11-libs/cairo-1.1.6 failed. Call stack: ebuild.sh, line 1527: Called dyn_unpack ebuild.sh, line 703: Called src_unpack cairo-1.1.6.ebuild, line 44: Called epatch '/usr/portage/x11-libs/cairo/files/cairo-1.1.6-poppler-revert.patch' eutils.eclass, line 196: Called die !!! Cannot find $EPATCH_SOURCE! !!! If you need support, post the topmost build error, and the call stack if relevant. And my 'emerge --info': Portage 2.1_rc1-r3 (default-linux/x86/2006.0, gcc-3.4.5, glibc-2.3.6-r3, 2.6.16-gentoo-r3 i686) ================================================================= System uname: 2.6.16-gentoo-r3 i686 AMD Sempron(tm) 2400+ Gentoo Base System version 1.12.0_pre19 ccache version 2.4 [enabled] dev-lang/python: 2.4.3-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.4-r1 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 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r5 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=athlon-xp -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_US.UTF-8" LINGUAS="pt_BR" 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.gentoo.org/gentoo-portage" USE="x86 alsa apache2 apm avi bash-completion berkdb bitmap-fonts bluetooth cli crypt cups dri eds emboss encode esd foomaticdb fortran gdbm gif gpm gstreamer gtk2 imlib isdnlog jpeg libg++ libwww mad maildir mikmod motif mp3 mpeg ncurses nls nptl nsplugin offensive ogg opengl oss pam pcre pdflib perl png pppd python qt quicktime readline reflection sdl session spell spl ssl tcpd truetype truetype-fonts type1-fonts udev unicode vorbis xml xmms xorg xv zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux linguas_pt_BR userland_GNU video_cards_nvidia video_cards_nv" Unset: ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS
Same issue here, is this a mirror problem ? found it here: http://sources.gentoo.org/viewcvs.py/*checkout*/gnome/x11-libs/cairo/files/cairo-1.1.6-poppler-revert.patch?rev=296
Probably... I got the patch, and cairo now patches and compiles correctly. Better wait to hear from Doug so he can confirm this. Thank you, Ahmed.
commit the patch please. And sanitize the indentation.
I thought I had added the patch (it was sitting in the directory). commited. "fixed" the ident for you foser.