From: Meino Christian Cramer <Meino.Cramer@gmx.de>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] "xyz.la seems to be moved" message
Date: Wed, 25 Oct 2006 03:16:49 +0200 (CEST) [thread overview]
Message-ID: <20061025.031649.41189669.Meino.Cramer@gmx.de> (raw)
In-Reply-To: <1161719017.12162.69.camel@camille.gateway.2wire.net>
From: Michael Sullivan <michael@espersunited.com>
Subject: Re: [gentoo-user] "xyz.la seems to be moved" message
Date: Tue, 24 Oct 2006 14:43:37 -0500
> On Tue, 2006-10-24 at 18:34 +0200, Meino Christian Cramer wrote:
> > From: Michael Sullivan <michael@espersunited.com>
> > Subject: Re: [gentoo-user] "xyz.la seems to be moved" message
> > Date: Tue, 24 Oct 2006 11:24:31 -0500
> >
> > > On Tue, 2006-10-24 at 17:31 +0200, Fabrice Delliaux wrote:
> > > > Hi,
> > > >
> > > > Explanation && patch here :
> > > >
> > > > http://www.mail-archive.com/bug-libtool@gnu.org/msg00838.html
> > >
> > > I saved the patch at the above link to /root/libtool.patch, but I can't
> > > figure out how to use it. I assume that I would need to navigate to a
> > > directory and say "patch < /root/libtool.patch", but what directory do I
> > > do it from? If I do it from /usr/share/libtool, I get this:
> > >
> > > camille libtool # patch </root/libtool.patch
> > > patching file ltmain.sh
> > > Hunk #1 FAILED at 2795.
> > > 1 out of 1 hunk FAILED -- saving rejects to file ltmain.sh.rej
> > >
> > > If I do it from /, I get this:
> > >
> > > camille / # patch </root/libtool.patch
> > > can't find file to patch at input line 3
> > > Perhaps you should have used the -p or --strip option?
> > > The text leading up to this was:
> > > --------------------------
> > > |--- /usr/share/libtool/ltmain.sh 2005-11-22 08:18:02.000000000 -0500
> > > |+++ ltmain.sh 2006-05-13 18:15:15.000000000 -0400
> > > --------------------------
> > > File to patch:
> > >
> > >
> > > --
> > > gentoo-user@gentoo.org mailing list
> > >
> >
> > Hi Michael,
> >
> > I applied the patch by hand, my be it will work with the
> > patch-command too.
> >
> > If you want to try it:
> > cd /usr/share/libtool/. and apply the patch there with
> >
> > patch -p0 -i <your file of the patch here>
> >
> > If it does not work for you, please email me, I will send you the
> > laready patched ltmain.sh attached to a private mail.
> >
> > Keep hacking!
> > mcc
> >
>
> I think I'm doing it wrong:
>
> camille libtool # patch -p0 -i /root/libtool.patch
> patching file ltmain.sh
> Hunk #1 FAILED at 2795.
> 1 out of 1 hunk FAILED -- saving rejects to file ltmain.sh.rej
>
>
> --
> gentoo-user@gentoo.org mailing list
>
Hi Michael,
...no, you did nothing wrong...
"...hunk FAILED..." means: The file to be patched is to different
from that one, from which the original patch was made.
There is another way:
As root edit /usr/share/libtool/ltmain.sh by hand (I did the same):
In the file search for the string "seems to be moved" and then
compare the context of that line with the text of the patch: There is
one line to be removed and I think four or so to be added. Notging
too complicate. Make a backup copy of ltmain.sh before. Make a diff
afterwards and compare the output with the patch.
If all fails: Mail me privately and we will find a solution.
Keep hacking!
mcc
--
gentoo-user@gentoo.org mailing list
next prev parent reply other threads:[~2006-10-25 1:21 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-10-24 5:51 [gentoo-user] "xyz.la seems to be moved" message Meino Christian Cramer
2006-10-24 6:36 ` Hemmann, Volker Armin
2006-10-24 8:40 ` Meino Christian Cramer
2006-10-24 8:58 ` Andrew Gaydenko
2006-10-24 14:07 ` Bo Ørsted Andresen
2006-10-24 14:33 ` Meino Christian Cramer
2006-10-24 15:31 ` Fabrice Delliaux
2006-10-24 16:24 ` Michael Sullivan
2006-10-24 16:34 ` Meino Christian Cramer
2006-10-24 19:43 ` Michael Sullivan
2006-10-25 1:16 ` Meino Christian Cramer [this message]
2006-10-24 20:21 ` Vladimir G. Ivanovic
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20061025.031649.41189669.Meino.Cramer@gmx.de \
--to=meino.cramer@gmx.de \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox