# emerge --digest -av suspend These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild N ] sys-apps/suspend-0.5 0 kB [1] Total: 1 package (1 new), Size of downloads: 0 kB Portage overlays: [1] /usr/local/portage Would you like to merge these packages? [Yes/No] yes >>> Creating Manifest for /usr/local/portage/sys-apps/suspend >>> Emerging (1 of 1) sys-apps/suspend-0.5 to / * suspend-0.5.tar.gz MD5 ;-) ... [ ok ] * suspend-0.5.tar.gz RMD160 ;-) ... [ ok ] * suspend-0.5.tar.gz SHA1 ;-) ... [ ok ] * suspend-0.5.tar.gz SHA256 ;-) ... [ ok ] * suspend-0.5.tar.gz size ;-) ... [ ok ] >>> Creating Manifest for /usr/local/portage/sys-apps/suspend * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] * checking suspend-0.5.tar.gz ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking suspend-0.5.tar.gz to /var/tmp/portage/sys-apps/suspend-0.5/work * Applying suspend-0.5-build.patch ... * Failed Patch: suspend-0.5-build.patch ! * ( /usr/local/portage/sys-apps/suspend/files/suspend-0.5-build.patch ) * * Include in your bugreport the contents of: * * /var/tmp/portage/sys-apps/suspend-0.5/temp/suspend-0.5-build.patch-6064.out !!! ERROR: sys-apps/suspend-0.5 failed. Call stack: ebuild.sh, line 1614: Called dyn_unpack ebuild.sh, line 751: Called qa_call 'src_unpack' environment, line 3099: Called src_unpack suspend-0.5.ebuild, line 24: Called epatch '/usr/local/portage/sys-apps/suspend/files/suspend-0.5-build.patch' eutils.eclass, line 341: Called die !!! Failed Patch: suspend-0.5-build.patch! !!! If you need support, post the topmost build error, and the call stack if relevant. !!! A complete build log is located at '/var/tmp/portage/sys-apps/suspend-0.5/temp/build.log'. !!! This ebuild is from an overlay: '/usr/local/portage' kainos suspend # cat /var/tmp/portage/sys-apps/suspend-0.5/temp/suspend-0.5-build.patch-6064.out ***** suspend-0.5-build.patch ***** =================================== PATCH COMMAND: patch -p0 -g0 -E --no-backup-if-mismatch < /usr/local/portage/sys-apps/suspend/files/suspend-0.5-build.patch =================================== can't find file to patch at input line 5 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |Index: suspend-0.5/Makefile |=================================================================== |--- suspend-0.5.orig/Makefile |+++ suspend-0.5/Makefile -------------------------- No file to patch. Skipping patch. 4 out of 4 hunks ignored =================================== PATCH COMMAND: patch -p1 -g0 -E --no-backup-if-mismatch < /usr/local/portage/sys-apps/suspend/files/suspend-0.5-build.patch =================================== patching file Makefile Hunk #1 FAILED at 1. 1 out of 4 hunks FAILED -- saving rejects to file Makefile.rej =================================== PATCH COMMAND: patch -p2 -g0 -E --no-backup-if-mismatch < /usr/local/portage/sys-apps/suspend/files/suspend-0.5-build.patch =================================== missing header for unified diff at line 5 of patch can't find file to patch at input line 5 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |Index: suspend-0.5/Makefile |=================================================================== |--- suspend-0.5.orig/Makefile |+++ suspend-0.5/Makefile -------------------------- No file to patch. Skipping patch. 4 out of 4 hunks ignored =================================== PATCH COMMAND: patch -p3 -g0 -E --no-backup-if-mismatch < /usr/local/portage/sys-apps/suspend/files/suspend-0.5-build.patch =================================== missing header for unified diff at line 5 of patch can't find file to patch at input line 5 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |Index: suspend-0.5/Makefile |=================================================================== |--- suspend-0.5.orig/Makefile |+++ suspend-0.5/Makefile -------------------------- No file to patch. Skipping patch. 4 out of 4 hunks ignored =================================== PATCH COMMAND: patch -p4 -g0 -E --no-backup-if-mismatch < /usr/local/portage/sys-apps/suspend/files/suspend-0.5-build.patch =================================== missing header for unified diff at line 5 of patch can't find file to patch at input line 5 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |Index: suspend-0.5/Makefile |=================================================================== |--- suspend-0.5.orig/Makefile |+++ suspend-0.5/Makefile -------------------------- No file to patch. Skipping patch. 4 out of 4 hunks ignored