Opened 14 years ago

Closed 14 years ago

#2740 closed defect (worksforme)

Glibc 2.12.1 cannot be compiled on latest book

Reported by: Roman Pushkov Owned by: Matthew Burgess
Priority: high Milestone: 6.7
Component: Book Version: SVN
Severity: normal Keywords:
Cc:

Description

Patch Glibc Makefile Fix Patch cannot be applied. Patch reports hunk error and Glibc cannot be build with Make 3.82.

Attachments (1)

Makefile.rej (584 bytes ) - added by Roman Pushkov 14 years ago.

Download all attachments as: .zip

Change History (7)

comment:1 by Matthew Burgess, 14 years ago

Owner: changed from lfs-book@… to Matthew Burgess
Status: newassigned

Can you verify the md5sum of your downloaded patch matches the one in the latest version of the book (0ef634ac78e582f45d0e7643bfda7505). I originally uploaded an incorrect copy of the patch, but have since replaced it with a corrected version. If you re-download the patch, things should work for you.

by Roman Pushkov, 14 years ago

Attachment: Makefile.rej added

in reply to:  1 comment:2 by Roman Pushkov, 14 years ago

Replying to matthew@…:

Can you verify the md5sum of your downloaded patch matches the one in the latest version of the book (0ef634ac78e582f45d0e7643bfda7505). I originally uploaded an incorrect copy of the patch, but have since replaced it with a corrected version. If you re-download the patch, things should work for you.

I've downloaded patches: http://www.linuxfromscratch.org/patches/lfs/development/glibc-2.12.1-gcc_fix-1.patch http://www.linuxfromscratch.org/patches/lfs/development/glibc-2.12.1-makefile_fix-1.patch

MD5 sums matches. After that I unpacks glibc:

tar -jxf tar -jxf glibc-2.12.1.tar.bz2 cd glibc-2.12.1

and attempt to patch it.

patch -Np1 -i ../glibc-2.12.1-gcc_fix-1.patch This patch applied ok.

patch -Np1 -i ../glibc-2.12.1-makefile_fix-1.patch This patch reports: patching file manual/Makefile Hunk #1 FAILED at 232. 1 out of 1 hunk FAILED -- saving rejects to file manual/Makefile.rej

I've added this file as attachment. What I'm doing wrong?

comment:3 by Matthew Burgess, 14 years ago

I can't explain or reproduce the results you are seeing. Here's a transcript of my attempts to reproduce it:

$ cd ~/sources
$ md5sum glibc-2.12.1-makefile_fix-1.patch 
0ef634ac78e582f45d0e7643bfda7505  glibc-2.12.1-makefile_fix-1.patch
$ tar xf glibc-2.12.1.tar.bz2 
$ cd glibc-2.12.1/
$ patch -Np1 -i ../glibc-2.12.1-makefile_fix-1.patch 
patching file manual/Makefile
$ 

in reply to:  3 comment:4 by Roman Pushkov, 14 years ago

Replying to matthew@…:

I can't explain or reproduce the results you are seeing. Here's a transcript of my attempts to reproduce it:

$ cd ~/sources
$ md5sum glibc-2.12.1-makefile_fix-1.patch 
0ef634ac78e582f45d0e7643bfda7505  glibc-2.12.1-makefile_fix-1.patch
$ tar xf glibc-2.12.1.tar.bz2 
$ cd glibc-2.12.1/
$ patch -Np1 -i ../glibc-2.12.1-makefile_fix-1.patch 
patching file manual/Makefile
$ 

Sorry! This was my fault. It's all good now. Thank you. I think this case must be closed.

in reply to:  3 comment:5 by Sebastien Diaz, 14 years ago

I have got this problem yesterday but with the last svn build everything is ok.

comment:6 by Matthew Burgess, 14 years ago

Resolution: worksforme
Status: assignedclosed

Thanks for the confirmation.

Note: See TracTickets for help on using tickets.