very very strange bash/sed bug !!
Hi, it's been a loong time I have a bug on my system: ./libtool is incorrectly generated by ./configure. I haven't been able to correct it for months. Today I discovered where lies the bug: it's somewhere between bash and sed. First and foremost, I'm running debian/unstable, and have sed 3.02-8.1, bash 2.05b-6 and libtool 1.4.3-5 (but it's been there since several versions). Now the bug: echo xx lt1 echo xx lt2 sed '' /usr/share/libtool/ltmain.sh lt1 sed '' /usr/share/libtool/ltmain.sh |less lt2 diff lt1 lt2 They differ !!! And surprisingly, only lt2 is correct ! If anyone could try to help me find why my intallation does that, I'd appreciate much. I already tried reinstalling the concerned packages, but no luck. Xav -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: very very strange bash/sed bug !!
On Wed, Jan 29, 2003 at 11:52:36AM +0100, Xavier Bestel wrote: it's been a loong time I have a bug on my system: ./libtool is incorrectly generated by ./configure. I haven't been able to correct it for months. Today I discovered where lies the bug: it's somewhere between bash and sed. First and foremost, I'm running debian/unstable, and have sed 3.02-8.1, bash 2.05b-6 and libtool 1.4.3-5 (but it's been there since several versions). Now the bug: echo xx lt1 echo xx lt2 sed '' /usr/share/libtool/ltmain.sh lt1 sed '' /usr/share/libtool/ltmain.sh |less lt2 diff lt1 lt2 They differ !!! And surprisingly, only lt2 is correct ! I ran those commands and lt1 and lt2 do not differ. I use the same versions of sed, bash, and libtool as you. What is the difference between lt1 and lt2? -- Seneca [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: very very strange bash/sed bug !!
On Wed, Jan 29, 2003 at 11:52:36AM +0100, Xavier Bestel wrote: Hi, it's been a loong time I have a bug on my system: ./libtool is incorrectly generated by ./configure. I haven't been able to correct it for months. Today I discovered where lies the bug: it's somewhere between bash and sed. First and foremost, I'm running debian/unstable, and have sed 3.02-8.1, bash 2.05b-6 and libtool 1.4.3-5 (but it's been there since several versions). Now the bug: echo xx lt1 echo xx lt2 sed '' /usr/share/libtool/ltmain.sh lt1 sed '' /usr/share/libtool/ltmain.sh |less lt2 diff lt1 lt2 They differ !!! And surprisingly, only lt2 is correct ! If anyone could try to help me find why my intallation does that, I'd appreciate much. I already tried reinstalling the concerned packages, but no luck. Just a guess ... what is the value of LANG, or LC_ALL ? -- Nathan Norman - Incanus Networking mailto:[EMAIL PROTECTED] Good people do not need laws to tell them to act responsibly, while bad people will find a way around the laws. -- Plato -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
[SOLVED] Re: very very strange bash/sed bug !!
Le mer 29/01/2003 à 13:39, Seneca a écrit : On Wed, Jan 29, 2003 at 11:52:36AM +0100, Xavier Bestel wrote: it's been a loong time I have a bug on my system: ./libtool is incorrectly generated by ./configure. I haven't been able to correct it for months. Today I discovered where lies the bug: it's somewhere between bash and sed. First and foremost, I'm running debian/unstable, and have sed 3.02-8.1, bash 2.05b-6 and libtool 1.4.3-5 (but it's been there since several versions). Now the bug: echo xx lt1 echo xx lt2 sed '' /usr/share/libtool/ltmain.sh lt1 sed '' /usr/share/libtool/ltmain.sh |less lt2 diff lt1 lt2 They differ !!! And surprisingly, only lt2 is correct ! I ran those commands and lt1 and lt2 do not differ. I use the same versions of sed, bash, and libtool as you. What is the difference between lt1 and lt2? Ok, I found the cause: it was a reiserfs bug in 2.4.20-pre6 (and before), which made it somehow realign the file around 128k and loose some chars. I had 2 chars missing in lt1 at 128k into the file, when lt1 was on a reiserfs partition. I just upgraded to 2.4.20 and now all is OK. Still, as I had numerous problems with reiserfs, I think I'll switch to ext3 soon. Thanks for helping, Xav -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]