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)
Change History (7)
follow-up: 2 comment:1 by , 14 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
by , 14 years ago
Attachment: | Makefile.rej added |
---|
comment:2 by , 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?
follow-ups: 4 5 comment:3 by , 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 $
comment:4 by , 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.
comment:5 by , 14 years ago
I have got this problem yesterday but with the last svn build everything is ok.
comment:6 by , 14 years ago
Resolution: | → worksforme |
---|---|
Status: | assigned → closed |
Thanks for the confirmation.
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.