--- Em qui, 3/1/13, Alexander Spitzer escreveu:

> De: Alexander Spitzer
> Assunto: Re: [blfs-support] Configure makes empty makefiles
> Para: "BLFS Support List"
> Data: Quinta-feira, 3 de Janeiro de 2013, 2:29
> 
> On Wed, Jan 2, 2013 at 10:24 PM, Ken Moffat wrote:
> 
>> 
>>  If you want to debug it, perhaps you could mount a partition from
>> 
>> the host system somewhere under your LFS, then untar a package in
>> 
>> both, compare the outputs of ls -lR, run configure in both, then
>> 
>> again compare the outputs from ls -lR.  I suspect this (provided you
>> 
>> can mount the conventional disk - /mnt seems a likely existing
>> 
>> directory to try ) will show that the runs on the spinning rust are
>> 
>> now a lot more reliable.
>> Problem solved! I decided to look through the bin directories for any 
>> discrepancies between the system on the USB and the backup I made (just in 
>> time!), which is on an SD card (I have a bad habit of using portable storage 
>> for things...) In the /usr/bin directory there was a big 0 listed for the 
>> size of the gawk binaries. You were spot on about the corruption, I'm 
>> guessing one bad block ruined the entire gawk binary. Interestingly, TWO 
>> files were completely wiped, though they were identical (gawk and 
>> gawk-4.0.1). They didn't seem to be linked but I don't know enough to fully 
>> explain it.

They are hardlinked (same inode):

$ ls -i /usr/bin/gawk /usr/bin/gawk-4.0.1
922793 /usr/bin/gawk  922793 /usr/bin/gawk-4.0.1

In your SSD card, chech if this is true, if not, you can achieve by 

$ cp -vaur /original/usr/bin/gawk /original/usr/bin/gawk-4.0.1 
/new/usr/bin

[]s,

Fernando
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to