Home | Docs | Forums | Lists | Bugs | Planet | Store | GMN | Get Gentoo!
View Bug Activity | Format For Printing | XML | Clone This Bug
lilo-22.6 fails to emerge with USE="devmap" Reproducible: Always Steps to Reproduce: 1. 2. 3. Actual Results: >>> emerge (4 of 12) sys-boot/lilo-22.6 to / >>> md5 src_uri ;-) lilo-22.6.tar.gz >>> md5 src_uri ;-) dolilo-0.2.tar.bz2 >>> Unpacking source... * * If you want to use lilo with device mapper, please enable the * "devmap" USE flag. * >>> Unpacking lilo-22.6.tar.gz to /var/tmp/portage/lilo-22.6/work devmap * Applying lilo-22.6-devmapper_gentoo.patch... * Failed Patch: lilo-22.6-devmapper_gentoo.patch! * * Include in your bugreport the contents of: * * /var/tmp/portage/lilo-22.6/temp/lilo-22.6-devmapper_gentoo.patch-20040.out [root@hydrogen:/home/andrew]# cat /var/tmp/portage/lilo-22.6/temp/lilo-22.6-devmapper_gentoo.patch-20040.out ***** lilo-22.6-devmapper_gentoo.patch ***** ============================================ PATCH COMMAND: patch -p0 -g0 < /usr/portage/sys-boot/lilo/files/lilo-22.6-devmapper_gentoo.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 -uNr lilo-22.5.9.orig/Makefile lilo-22.5.9/Makefile |--- lilo-22.5.9.orig/Makefile 2004-06-09 22:41:24.519057048 +0100 |+++ lilo-22.5.9/Makefile 2004-06-09 22:42:25.269821528 +0100 -------------------------- No file to patch. Skipping patch. patch: **** malformed patch at line 13: @@ -88,6 +89,8 @@ ============================================ PATCH COMMAND: patch -p1 -g0 < /usr/portage/sys-boot/lilo/files/lilo-22.6-devmapper_gentoo.patch ============================================ patching file Makefile patch: **** malformed patch at line 13: @@ -88,6 +89,8 @@ ============================================ PATCH COMMAND: patch -p2 -g0 < /usr/portage/sys-boot/lilo/files/lilo-22.6-devmapper_gentoo.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 -uNr lilo-22.5.9.orig/Makefile lilo-22.5.9/Makefile |--- lilo-22.5.9.orig/Makefile 2004-06-09 22:41:24.519057048 +0100 |+++ lilo-22.5.9/Makefile 2004-06-09 22:42:25.269821528 +0100 -------------------------- No file to patch. Skipping patch. patch: **** malformed patch at line 13: @@ -88,6 +89,8 @@ ============================================ PATCH COMMAND: patch -p3 -g0 < /usr/portage/sys-boot/lilo/files/lilo-22.6-devmapper_gentoo.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 -uNr lilo-22.5.9.orig/Makefile lilo-22.5.9/Makefile |--- lilo-22.5.9.orig/Makefile 2004-06-09 22:41:24.519057048 +0100 |+++ lilo-22.5.9/Makefile 2004-06-09 22:42:25.269821528 +0100 -------------------------- No file to patch. Skipping patch. patch: **** malformed patch at line 13: @@ -88,6 +89,8 @@ ============================================ PATCH COMMAND: patch -p4 -g0 < /usr/portage/sys-boot/lilo/files/lilo-22.6-devmapper_gentoo.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 -uNr lilo-22.5.9.orig/Makefile lilo-22.5.9/Makefile |--- lilo-22.5.9.orig/Makefile 2004-06-09 22:41:24.519057048 +0100 |+++ lilo-22.5.9/Makefile 2004-06-09 22:42:25.269821528 +0100 -------------------------- No file to patch. Skipping patch. patch: **** malformed patch at line 13: @@ -88,6 +89,8 @@ Expected Results: does the new version of lilo even need this patch anymore?
There are always updated patches on my website: http://www.saout.de/misc/lilo-22.6-devmapper.patch The only change Gentoo made was to add a -L/dev to the linker flags. I don't think this is needed anymore since Gentoo now installs a /usr/lib/libdevmapper.so ld script.
Thank you Christophe, I have used your patch instead of my rediffed 22.5.9 one. It seems to have issues (even though it merged on my system with USE="devmap"). Andrew, please reopen if the new patch does not fix your issue.