>>> Unpacking source... >>> Unpacking chromium-20.0.1132.43.tar.bz2 to /var/tmp/portage/www-client/chromium-20.0.1132.43/work >>> Source unpacked in /var/tmp/portage/www-client/chromium-20.0.1132.43/work >>> Preparing source in /var/tmp/portage/www-client/chromium-20.0.1132.43/work/chromium-20.0.1132.43 ... * Applying chromium-svnversion-r0.patch ... [ ok ] * Applying chromium-unistd-r0.patch ... [ ok ] * Applying chromium-tcmalloc-r0.patch ... [ ok ] * Applying chromium-alignment-r0.patch ... * Failed Patch: chromium-alignment-r0.patch ! * ( /usr/portage/www-client/chromium/files/chromium-alignment-r0.patch ) * * Include in your bugreport the contents of: * * /var/tmp/portage/www-client/chromium-20.0.1132.43/temp/chromium-alignment-r0.patch.out * ERROR: www-client/chromium-20.0.1132.43 failed (prepare phase): * Failed Patch: chromium-alignment-r0.patch! * * Call stack: * ebuild.sh, line 85: Called src_prepare * environment, line 6485: Called epatch '/usr/portage/www-client/chromium/files/chromium-alignment-r0.patch' * environment, line 2205: Called die * The specific snippet of code: * die "Failed Patch: ${patchname}!"; * * If you need support, post the output of `emerge --info '=www-client/chromium-20.0.1132.43'`, * the complete build log and the output of `emerge -pqv '=www-client/chromium-20.0.1132.43'`. * The complete build log is located at '/var/tmp/portage/www-client/chromium-20.0.1132.43/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/www-client/chromium-20.0.1132.43/temp/environment'. * Working directory: '/var/tmp/portage/www-client/chromium-20.0.1132.43/work/chromium-20.0.1132.43' * S: '/var/tmp/portage/www-client/chromium-20.0.1132.43/work/chromium-20.0.1132.43' >>> Failed to emerge www-client/chromium-20.0.1132.43, Log file: >>> '/var/tmp/portage/www-client/chromium-20.0.1132.43/temp/build.log' * Messages for package www-client/chromium-20.0.1132.43: * PID_NS is required for sandbox to work * NET_NS is required for sandbox to work * Please check to make sure these options are set correctly. * Failure to do so may cause unexpected problems. * bindist disabled: Resulting binaries may not be legal to re-distribute. * Failed Patch: chromium-alignment-r0.patch ! * ( /usr/portage/www-client/chromium/files/chromium-alignment-r0.patch ) * * Include in your bugreport the contents of: * * /var/tmp/portage/www-client/chromium-20.0.1132.43/temp/chromium-alignment-r0.patch.out * ERROR: www-client/chromium-20.0.1132.43 failed (prepare phase): * Failed Patch: chromium-alignment-r0.patch! * * Call stack: * ebuild.sh, line 85: Called src_prepare * environment, line 6485: Called epatch '/usr/portage/www-client/chromium/files/chromium-alignment-r0.patch' * environment, line 2205: Called die * The specific snippet of code: * die "Failed Patch: ${patchname}!"; * * If you need support, post the output of `emerge --info '=www-client/chromium-20.0.1132.43'`, * the complete build log and the output of `emerge -pqv '=www-client/chromium-20.0.1132.43'`. * The complete build log is located at '/var/tmp/portage/www-client/chromium-20.0.1132.43/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/www-client/chromium-20.0.1132.43/temp/environment'. * Working directory: '/var/tmp/portage/www-client/chromium-20.0.1132.43/work/chromium-20.0.1132.43' * S: '/var/tmp/portage/www-client/chromium-20.0.1132.43/work/chromium-20.0.1132.43' ---------------------------------------------------------------------------- ***** chromium-alignment-r0.patch ***** PWD: /var/tmp/portage/www-client/chromium-20.0.1132.43/work/chromium-20.0.1132.43 ======================================= PATCH COMMAND: patch -p0 -g0 -E --no-backup-if-mismatch < '/usr/portage/www-client/chromium/files/chromium-alignment-r0.patch' ======================================= patching file third_party/WebKit/Source/WebCore/platform/audio/AudioArray.h Hunk #1 FAILED at 61. 1 out of 1 hunk FAILED -- saving rejects to file third_party/WebKit/Source/WebCore/platform/audio/AudioArray.h.rej patch program exited with status 1 ======================================= PATCH COMMAND: patch -p1 -g0 -E --no-backup-if-mismatch < '/usr/portage/www-client/chromium/files/chromium-alignment-r0.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: third_party/WebKit/Source/WebCore/platform/audio/AudioArray.h |=================================================================== |--- third_party/WebKit/Source/WebCore/platform/audio/AudioArray.h (revision 105431) |+++ third_party/WebKit/Source/WebCore/platform/audio/AudioArray.h (revision 118455) -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored patch program exited with status 1 ======================================= PATCH COMMAND: patch -p2 -g0 -E --no-backup-if-mismatch < '/usr/portage/www-client/chromium/files/chromium-alignment-r0.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: third_party/WebKit/Source/WebCore/platform/audio/AudioArray.h |=================================================================== |--- third_party/WebKit/Source/WebCore/platform/audio/AudioArray.h (revision 105431) |+++ third_party/WebKit/Source/WebCore/platform/audio/AudioArray.h (revision 118455) -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored patch program exited with status 1 ======================================= PATCH COMMAND: patch -p3 -g0 -E --no-backup-if-mismatch < '/usr/portage/www-client/chromium/files/chromium-alignment-r0.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: third_party/WebKit/Source/WebCore/platform/audio/AudioArray.h |=================================================================== |--- third_party/WebKit/Source/WebCore/platform/audio/AudioArray.h (revision 105431) |+++ third_party/WebKit/Source/WebCore/platform/audio/AudioArray.h (revision 118455) -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored patch program exited with status 1 ======================================= PATCH COMMAND: patch -p4 -g0 -E --no-backup-if-mismatch < '/usr/portage/www-client/chromium/files/chromium-alignment-r0.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: third_party/WebKit/Source/WebCore/platform/audio/AudioArray.h |=================================================================== |--- third_party/WebKit/Source/WebCore/platform/audio/AudioArray.h (revision 105431) |+++ third_party/WebKit/Source/WebCore/platform/audio/AudioArray.h (revision 118455) -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored patch program exited with status 1
Hmm... the patch in question is in DOS format with CR LF line endings. That may be problematic. What version of sys-devel/patch do you have installed?
The patch's version is 2.5.9(In reply to comment #1) > Hmm... the patch in question is in DOS format with CR LF line endings. That > may be problematic. > > What version of sys-devel/patch do you have installed? Yes, it's with CRLFs The patch's version is 2.5.9
I ran dos2unix on the patch, should be fixed now. You should really upgrade sys-apps/patch; 2.6.1 has been stable for months, and works fine with DOS format patches.