* Failed Patch: lua-5.1-make_static.patch ! * ( /usr/portage/dev-lang/lua/files/lua-5.1-make_static.patch ) * * Include in your bugreport the contents of: * * /var/tmp/portage/dev-lang/lua-5.1.4/temp/lua-5.1-make_static.patch-22617.out * * ERROR: dev-lang/lua-5.1.4 failed. * Call stack: * ebuild.sh, line 49: Called src_unpack * environment, line 2408: Called epatch '/usr/portage/dev-lang/lua/files/lua-5.1-make_static.patch' * environment, line 1255: Called die * The specific snippet of code: * die "Failed Patch: ${patchname}!"; * The die message: * Failed Patch: lua-5.1-make_static.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/dev-lang/lua-5.1.4/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-lang/lua-5.1.4/temp/environment'. * Reproducible: Always Steps to Reproduce: 1. emerge --sync 2. emerge dev-lang/lua ***** lua-5.1-make_static.patch ***** ===================================== PATCH COMMAND: patch -p0 -g0 -E --no-backup-if-mismatch < /usr/portage/dev-lang/lua/files/lua-5.1-make_static.patch ===================================== can't find file to patch at input line 4 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff -ru lua-5.1.1.orig/src/Makefile lua-5.1.1/src/Makefile |--- lua-5.1.1.orig/src/Makefile 2006-11-21 07:19:31 +0000 |+++ lua-5.1.1/src/Makefile 2006-11-21 07:19:52 +0000 -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored ===================================== PATCH COMMAND: patch -p1 -g0 -E --no-backup-if-mismatch < /usr/portage/dev-lang/lua/files/lua-5.1-make_static.patch ===================================== patching file src/Makefile Hunk #1 FAILED at 196. 1 out of 1 hunk FAILED -- saving rejects to file src/Makefile.rej ===================================== PATCH COMMAND: patch -p2 -g0 -E --no-backup-if-mismatch < /usr/portage/dev-lang/lua/files/lua-5.1-make_static.patch ===================================== patching file Makefile Hunk #1 FAILED at 196. 1 out of 1 hunk FAILED -- saving rejects to file Makefile.rej ===================================== PATCH COMMAND: patch -p3 -g0 -E --no-backup-if-mismatch < /usr/portage/dev-lang/lua/files/lua-5.1-make_static.patch ===================================== missing header for unified diff at line 4 of patch can't find file to patch at input line 4 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff -ru lua-5.1.1.orig/src/Makefile lua-5.1.1/src/Makefile |--- lua-5.1.1.orig/src/Makefile 2006-11-21 07:19:31 +0000 |+++ lua-5.1.1/src/Makefile 2006-11-21 07:19:52 +0000 -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored ===================================== PATCH COMMAND: patch -p4 -g0 -E --no-backup-if-mismatch < /usr/portage/dev-lang/lua/files/lua-5.1-make_static.patch ===================================== missing header for unified diff at line 4 of patch can't find file to patch at input line 4 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff -ru lua-5.1.1.orig/src/Makefile lua-5.1.1/src/Makefile |--- lua-5.1.1.orig/src/Makefile 2006-11-21 07:19:31 +0000 |+++ lua-5.1.1/src/Makefile 2006-11-21 07:19:52 +0000 -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored
sorry, this was a change introduced with bug #253594 which i applied to make.patch, but not to make_static.patch. My bad, i just comitted the fix. Thanks for noting this!
I am still getting this issue: Failed Patch: lua-5.1-make_static-r1.patch ! [ebuild U ] dev-lang/lua-5.1.4-r1 [5.1.4] USE="readline static -deprecated" 0 kB PATCH COMMAND: patch -p1 -g0 -E --no-backup-if-mismatch < /var/cache/portage/gentoo/dev-lang/lua/files/lua-5.1-make_static-r1.patch ======================================== patching file src/Makefile Hunk #1 FAILED at 196. 1 out of 1 hunk FAILED -- saving rejects to file src/Makefile.rej
Yes, this report was about 5.1.4 and i fixed that. It additionally reared up in -r1 and i fixed it with the latest commit. It should work now. Sorry for the inconvinience. I promise to test builds with USE="static" in the future, too.
The manifest contains lua-5.1-make_static-r1.patch.orig and lua-5.1-make_static-r1.patch.rej but this files was't commited. >>> Verifying ebuild manifests !!! A file listed in the Manifest could not be found: /usr/portage/dev-lang/lua/files/lua-5.1-make_static-r1.patch.rej
*** Bug 265060 has been marked as a duplicate of this bug. ***
*** Bug 265070 has been marked as a duplicate of this bug. ***
In addition, i promise to check the manifest, too. *sigh* 's not my day. Thanks to swegener who fixed this before i did.
dev-lang/lua-5.1.4-r1 still fails for me: -p1 / -p2: Hunk #1 FAILED at 196. [ebuild U ] dev-lang/lua-5.1.4-r1 [5.1.4] USE="readline static -deprecated" 0 kB
Created attachment 187763 [details, diff] working patch This patch works for me.
doh, another slip of mine. Corrected. I'll not work anymore while half-asleep. Promised.