Summary: | libtool.eclass - Portage patch failed to apply (ltmain.sh version 1.5.22)! // * Please bug azarah or vapier to add proper patch. | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Christian <christian+bgo> |
Component: | Eclasses | Assignee: | Gentoo's Team for Core System packages <base-system> |
Status: | RESOLVED NEEDINFO | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
emerge info
log from gvfs eclasses |
Description
Christian
2010-05-10 17:33:50 UTC
Created attachment 230995 [details]
emerge info
emergeinfo
*** Bug 319181 has been marked as a duplicate of this bug. *** first, pick a smaller package that fails. mozilla-firefox is huge. then run: emerge --debug <pkg> >& ebuild.log followed by: ls -R /usr/portage/eclass/ELT-patches/ >& libtool.log then post those logs as attachments Created attachment 231039 [details]
log from gvfs
Created attachment 231041 [details]
eclasses
your `patch` looks screwed up. what version is it ? it should look like: $ tar xf /usr/portage/distfiles/gvfs-1.4.3.tar.bz2 $ cd gvfs-1.4.3 $ patch -p0 -g0 --no-backup-if-mismatch ltmain.sh /usr/portage/eclass/ELT-patches/portage/2.2 patching file ltmain.sh Hunk #1 succeeded at 8059 (offset 649 lines). Hunk #2 succeeded at 8169 with fuzz 2 (offset 649 lines). i've read about this already, and also reinstalled patch once. but with no sucess. also, with other packages (like firefox) multiple patches are applied correctly, and only at the elibtoolize point it fails. and why does patch suddenly fail? it wasn't reinstalled ever: genlop patch * sys-devel/patch Fri Feb 27 11:59:21 2009 >>> sys-devel/patch-2.5.9 Fri May 7 19:31:33 2010 >>> sys-devel/patch-2.5.9 the installation from 7th May was after the problem occured. So, how did it break, and how to fix it? you didnt show what happens when you run the command manually ah, sorry. didn't understand you... I can unpack the package, but when I run the patch command, nothing happens. at least for 5 minutes now. I'm not sure, but i don't think, that patch should take so long. No output (even with --verbose switch) and the console doesn't return. In htop, the status is "sleeping". Just as sidenote: when I start firefox from console, the same happens: no window, no output, console not returning. (that's why i wanted to reemerge firefox, and so I came to the emerge-problem) Maybe its related? a little difference: "patch --help" shows me the correct output, but "firefox -h" (which should show a list of commandline parameters) doesn't to anything, too. I hope u have an idea, what's wrong... i dont think you ran `patch` correctly. notice how bugzilla line wrapped in my comment. you need to run: patch \ -p0 -g0 --no-backup-if-mismatch \ ltmain.sh \ /usr/portage/eclass/ELT-patches/portage/2.2 if it fails, run it through `strace` and post the log as an attachment you are right. i thought, the /usr/portage... part was part of output. here it is: Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- ltmain.sh |+++ ltmain.sh -------------------------- Patching file ltmain.sh using Plan A... Hunk #1 succeeded at 8059 (offset 649 lines). Hunk #2 succeeded at 8169 with fuzz 2 (offset 649 lines). done I'm not quite sure what this means. no experience with patch. and so it isn't related to my firefox-problem i guess :) that patch output doesnt make sense if you ran the command that i did. did you manually add --verbose ? sorry, you are right. i tried the verbose switch before, as nothing happend, and now i used bashhistory and didn't remove it. Here again the right output: ~/gvfs-1.4.3 $ patch -p0 -g0 --no-backup-if-mismatch ltmain.sh /usr/portage/tree/official/eclass/ELT-patches/portage/2.2 patching file ltmain.sh Hunk #1 succeeded at 8059 (offset 649 lines). Hunk #2 succeeded at 8169 with fuzz 2 (offset 649 lines). |