Looks like this patch was modified as part of the libsoup-gnome-2.48.1 commit, and it broke the stable libsoup-gnome-2.46.0. I don't quite understand why the existing 2.46 patch was modified, instead of creating a new one for 2.48... anyway, need to do something as "emerge gnome" on stable is currently not possible. Thanks!
This should be trivial to reproduce but here's the full output: # ebuild /usr/portage/net-libs/libsoup-gnome/libsoup-gnome-2.46.0.ebuild clean prepare * libsoup-2.46.0.tar.xz SHA256 SHA512 WHIRLPOOL size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking libsoup-2.46.0.tar.xz to /var/tmp/portage/net-libs/libsoup-gnome-2.46.0/work >>> Source unpacked in /var/tmp/portage/net-libs/libsoup-gnome-2.46.0/work >>> Preparing source in /var/tmp/portage/net-libs/libsoup-gnome-2.46.0/work/libsoup-2.46.0 ... * Applying libsoup-gnome-2.46.0-system-lib.patch ... * Failed Patch: libsoup-gnome-2.46.0-system-lib.patch ! * ( /var/db/portage/net-libs/libsoup-gnome/files/libsoup-gnome-2.46.0-system-lib.patch ) * * Include in your bugreport the contents of: * * /var/tmp/portage/net-libs/libsoup-gnome-2.46.0/temp/libsoup-gnome-2.46.0-system-lib.patch.out * ERROR: net-libs/libsoup-gnome-2.46.0::gentoo failed (prepare phase): * Failed Patch: libsoup-gnome-2.46.0-system-lib.patch! * * Call stack: * ebuild.sh, line 93: Called src_prepare * environment, line 3205: Called epatch '/var/db/portage/net-libs/libsoup-gnome/files/libsoup-gnome-2.46.0-system-lib.patch' * environment, line 1449: Called die * The specific snippet of code: * die "Failed Patch: ${patchname}!"; * * If you need support, post the output of `emerge --info '=net-libs/libsoup-gnome-2.46.0::gentoo'`, * the complete build log and the output of `emerge -pqv '=net-libs/libsoup-gnome-2.46.0::gentoo'`. * The complete build log is located at '/var/tmp/portage/net-libs/libsoup-gnome-2.46.0/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-libs/libsoup-gnome-2.46.0/temp/environment'. * Working directory: '/var/tmp/portage/net-libs/libsoup-gnome-2.46.0/work/libsoup-2.46.0' * S: '/var/tmp/portage/net-libs/libsoup-gnome-2.46.0/work/libsoup-2.46.0' #
I have the same issue. Here is the output of the "patch.out: file: ***** libsoup-gnome-2.46.0-system-lib.patch ***** PWD: /var/tmp/portage/net-libs/libsoup-gnome-2.46.0-r1/work/libsoup-2.46.0 ================================================= PATCH COMMAND: patch -p0 -g0 -E --no-backup-if-mismatch < '/usr/portage/net-libs/libsoup-gnome/files/libsoup-gnome-2.46.0-system-lib.patch' ================================================= can't find file to patch at input line 19 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |From 63db817bac0382f3f43947b8233bf4585ede0e0b Mon Sep 17 00:00:00 2001 |From: Priit Laes <plaes@plaes.org> |Date: Tue, 20 Dec 2011 15:42:44 +0200 |Subject: [PATCH] Split support for libsoup-gnome | |https://bugzilla.gnome.org/show_bug.cgi?id=595065 | |Original patch by Romain Perier. |--- | Makefile.am | 12 +++++++++-- | configure.ac | 35 ++++++++++++++++++++----------- | libsoup/Makefile.am | 60 +++++++++++++++++++++++++++++++++++++++-------------- | 3 files changed, 77 insertions(+), 30 deletions(-) | |diff --git a/Makefile.am b/Makefile.am |index c8fa95c..fc09778 100644 |--- a/Makefile.am |+++ b/Makefile.am -------------------------- No file to patch. Skipping patch. 2 out of 2 hunks ignored can't find file to patch at input line 49 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff --git a/configure.ac b/configure.ac |index 96bb378..0153f10 100644 |--- a/configure.ac |+++ b/configure.ac -------------------------- No file to patch. Skipping patch. 2 out of 2 hunks ignored can't find file to patch at input line 107 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff --git a/libsoup/Makefile.am b/libsoup/Makefile.am |index 60920bd..26c5616 100644 |--- a/libsoup/Makefile.am |+++ b/libsoup/Makefile.am -------------------------- No file to patch. Skipping patch. 10 out of 10 hunks ignored patch program exited with status 1 ================================================= PATCH COMMAND: patch -p1 -g0 -E --no-backup-if-mismatch < '/usr/portage/net-libs/libsoup-gnome/files/libsoup-gnome-2.46.0-system-lib.patch' ================================================= checking file Makefile.am checking file configure.ac checking file libsoup/Makefile.am Hunk #9 FAILED at 354. Hunk #10 succeeded at 321 with fuzz 2 (offset -42 lines). 1 out of 10 hunks FAILED patch program exited with status 1 ================================================= PATCH COMMAND: patch -p2 -g0 -E --no-backup-if-mismatch < '/usr/portage/net-libs/libsoup-gnome/files/libsoup-gnome-2.46.0-system-lib.patch' ================================================= can't find file to patch at input line 19 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |From 63db817bac0382f3f43947b8233bf4585ede0e0b Mon Sep 17 00:00:00 2001 |From: Priit Laes <plaes@plaes.org> |Date: Tue, 20 Dec 2011 15:42:44 +0200 |Subject: [PATCH] Split support for libsoup-gnome | |https://bugzilla.gnome.org/show_bug.cgi?id=595065 | |Original patch by Romain Perier. |--- | Makefile.am | 12 +++++++++-- | configure.ac | 35 ++++++++++++++++++++----------- | libsoup/Makefile.am | 60 +++++++++++++++++++++++++++++++++++++++-------------- | 3 files changed, 77 insertions(+), 30 deletions(-) | |diff --git a/Makefile.am b/Makefile.am |index c8fa95c..fc09778 100644 |--- a/Makefile.am |+++ b/Makefile.am -------------------------- No file to patch. Skipping patch. 2 out of 2 hunks ignored can't find file to patch at input line 49 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff --git a/configure.ac b/configure.ac |index 96bb378..0153f10 100644 |--- a/configure.ac |+++ b/configure.ac -------------------------- No file to patch. Skipping patch. 2 out of 2 hunks ignored checking file Makefile.am Hunk #1 FAILED at 1. Hunk #2 FAILED at 76. Hunk #3 FAILED at 184. Hunk #4 FAILED at 203. Hunk #5 FAILED at 225. Hunk #6 FAILED at 242. Hunk #7 FAILED at 263. Hunk #8 FAILED at 290. Hunk #9 FAILED at 326. Hunk #10 succeeded at 23 with fuzz 2 (offset -312 lines). 9 out of 10 hunks FAILED patch program exited with status 1 ================================================= PATCH COMMAND: patch -p3 -g0 -E --no-backup-if-mismatch < '/usr/portage/net-libs/libsoup-gnome/files/libsoup-gnome-2.46.0-system-lib.patch' ================================================= can't find file to patch at input line 19 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |From 63db817bac0382f3f43947b8233bf4585ede0e0b Mon Sep 17 00:00:00 2001 |From: Priit Laes <plaes@plaes.org> |Date: Tue, 20 Dec 2011 15:42:44 +0200 |Subject: [PATCH] Split support for libsoup-gnome | |https://bugzilla.gnome.org/show_bug.cgi?id=595065 | |Original patch by Romain Perier. |--- | Makefile.am | 12 +++++++++-- | configure.ac | 35 ++++++++++++++++++++----------- | libsoup/Makefile.am | 60 +++++++++++++++++++++++++++++++++++++++-------------- | 3 files changed, 77 insertions(+), 30 deletions(-) | |diff --git a/Makefile.am b/Makefile.am |index c8fa95c..fc09778 100644 |--- a/Makefile.am |+++ b/Makefile.am -------------------------- No file to patch. Skipping patch. 2 out of 2 hunks ignored can't find file to patch at input line 49 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff --git a/configure.ac b/configure.ac |index 96bb378..0153f10 100644 |--- a/configure.ac |+++ b/configure.ac -------------------------- No file to patch. Skipping patch. 2 out of 2 hunks ignored can't find file to patch at input line 107 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff --git a/libsoup/Makefile.am b/libsoup/Makefile.am |index 60920bd..26c5616 100644 |--- a/libsoup/Makefile.am |+++ b/libsoup/Makefile.am -------------------------- No file to patch. Skipping patch. 10 out of 10 hunks ignored patch program exited with status 1 ================================================= PATCH COMMAND: patch -p4 -g0 -E --no-backup-if-mismatch < '/usr/portage/net-libs/libsoup-gnome/files/libsoup-gnome-2.46.0-system-lib.patch' ================================================= can't find file to patch at input line 19 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |From 63db817bac0382f3f43947b8233bf4585ede0e0b Mon Sep 17 00:00:00 2001 |From: Priit Laes <plaes@plaes.org> |Date: Tue, 20 Dec 2011 15:42:44 +0200 |Subject: [PATCH] Split support for libsoup-gnome | |https://bugzilla.gnome.org/show_bug.cgi?id=595065 | |Original patch by Romain Perier. |--- | Makefile.am | 12 +++++++++-- | configure.ac | 35 ++++++++++++++++++++----------- | libsoup/Makefile.am | 60 +++++++++++++++++++++++++++++++++++++++-------------- | 3 files changed, 77 insertions(+), 30 deletions(-) | |diff --git a/Makefile.am b/Makefile.am |index c8fa95c..fc09778 100644 |--- a/Makefile.am |+++ b/Makefile.am -------------------------- No file to patch. Skipping patch. 2 out of 2 hunks ignored can't find file to patch at input line 49 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff --git a/configure.ac b/configure.ac |index 96bb378..0153f10 100644 |--- a/configure.ac |+++ b/configure.ac -------------------------- No file to patch. Skipping patch. 2 out of 2 hunks ignored can't find file to patch at input line 107 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff --git a/libsoup/Makefile.am b/libsoup/Makefile.am |index 60920bd..26c5616 100644 |--- a/libsoup/Makefile.am |+++ b/libsoup/Makefile.am -------------------------- No file to patch. Skipping patch. 10 out of 10 hunks ignored patch program exited with status 1
+ 25 Dec 2014; Gilles Dartiguelongue <eva@gentoo.org> + libsoup-gnome-2.48.1.ebuild, files/libsoup-gnome-2.46.0-system-lib.patch, + +files/libsoup-gnome-2.48.0-system-lib.patch: + Fix unintended patch change for 2.46, bug #533544. + That was indeed not intended. Thanks for reporting.