Skip to contentSkip to conversation

bianutils-2.20.1: fix checksums

meta-oe In review Eric Bénard 3 participants 6 messages Sep 7, 2011 – Sep 8, 2011

lore
Share & tools
lore
#0 lore raw

the source archive seems to have changed on the 26 aug 2011, thus the checksums have to be updated.

---
 .../recipes-devtools/binutils/binutils_2.20.1.bb   |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
meta-oe/recipes-devtools/binutils/binutils_2.20.1.bb +2 -2
index 2558bda..cfceab3 100644
@@ -36,7 +36,7 @@ SRC_URI = "\
      file://202_elflink_noaddneeded_vs_weak.patch \
      "
 
-SRC_URI[md5sum] = "9cdfb9d6ec0578c166d3beae5e15c4e5"
-SRC_URI[sha256sum] = "228b84722d87e88e7fdd36869e590e649ab523a0800a7d53df906498afe6f6f8"
+SRC_URI[md5sum] = "2b9dc8f2b7dbd5ec5992c6e29de0b764"
+SRC_URI[sha256sum] = "71d37c96451333c5c0b84b170169fdcb138bbb27397dc06281905d9717c8ed64"
 
 BBCLASSEXTEND = "native"
Signature · 1 line
1.7.6
#1 lore raw

This is probably caused by replacing 2.20.1 tarballs with links to 2.20.1a.

IMHO would be better to change recipes to say 2.20.1a and force everybody to redownload it with new name (otherwise breaks checksums for everybody with old 2.20.1 in downloads dir)

Also please provide at least "diff -rq" when sending fix checksums patches, otherwise checksums are quite useless.

The same applies to "fix checksums for binutils-2.18"..

Regards,

2011/9/6 Eric Bénard <[email protected]>:

Quoted 31 lines

the source archive seems to have changed on the 26 aug 2011, thus the checksums have to be updated.

---
 .../recipes-devtools/binutils/binutils_2.20.1.bb   |    4 ++--

 1 files changed, 2 insertions(+), 2 deletions(-)
meta-oe/recipes-devtools/binutils/binutils_2.20.1.bb +0 -0
index 2558bda..cfceab3 100644
@@ -36,7 +36,7 @@ SRC_URI = "\
      file://202_elflink_noaddneeded_vs_weak.patch \

     "

meta-oe/recipes-devtools/binutils/binutils_2.20.1.bb +2 -2
-SRC_URI[md5sum] = "9cdfb9d6ec0578c166d3beae5e15c4e5"
-SRC_URI[sha256sum] = "228b84722d87e88e7fdd36869e590e649ab523a0800a7d53df906498afe6f6f8"
+SRC_URI[md5sum] = "2b9dc8f2b7dbd5ec5992c6e29de0b764"
+SRC_URI[sha256sum] = "71d37c96451333c5c0b84b170169fdcb138bbb27397dc06281905d9717c8ed64"

 BBCLASSEXTEND = "native"
--
1.7.6

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

#2 lore raw

Dear Martin, dear Eric,

Eric, there is a typo in the commit summary: An »a« slipped in binutils.

Am Mittwoch, den 07.09.2011, 09:58 +0200 schrieb Martin Jansa:

Quoted 1 line

This is probably caused by replacing 2.20.1 tarballs with links to 2.20.1a.

the archives were replaced because of the “GPL violation” I think.

http://nickclifton.livejournal.com/9067.html

Quoted 3 lines

IMHO would be better to change recipes to say 2.20.1a and force everybody to redownload it with new name (otherwise breaks checksums for everybody with old 2.20.1 in downloads dir)

Good point.

Quoted 2 lines

Also please provide at least "diff -rq" when sending fix checksums patches, otherwise checksums are quite useless.

Do you mean of the archives? To see the differences in the source?

This is the first time I heard of that, but it is a reasonable suggestion.

Quoted 1 line

The same applies to "fix checksums for binutils-2.18"..

Thanks,

Paul

#3 lore raw
Quoted 20 lines · Paul Menzel

Dear Martin, dear Eric,

Eric, there is a typo in the commit summary: An »a« slipped in binutils.

Am Mittwoch, den 07.09.2011, 09:58 +0200 schrieb Martin Jansa:

Quoted 1 line

This is probably caused by replacing 2.20.1 tarballs with links to 2.20.1a.

the archives were replaced because of the “GPL violation” I think.

http://nickclifton.livejournal.com/9067.html

Quoted 3 lines

IMHO would be better to change recipes to say 2.20.1a and force everybody to redownload it with new name (otherwise breaks checksums for everybody with old 2.20.1 in downloads dir)

Good point.

Quoted 7 lines
Quoted 2 lines

Also please provide at least "diff -rq" when sending fix checksums patches, otherwise checksums are quite useless.

Do you mean of the archives? To see the differences in the source?

This is the first time I heard of that, but it is a reasonable suggestion.

Yes, if you're able to find "old" tarball then "diff -rq" on unpacked new and old tarball gives good idea what was changed, if it was just some formality or something fishy..

You can find it at least in my "fix checksum" commits, ie:
http://git.openembedded.org/cgit.cgi/openembedded/commit/?id=79d295c31e64e972608d5dde5d57e6250d7ca77c
http://git.openembedded.org/cgit.cgi/openembedded/commit/?id=e341fb2ca67ea7670ca15379050992e81efa5697
http://git.openembedded.org/cgit.cgi/openembedded/commit/?id=31fa1970ca305ff72afd3cf193b85550c6f3aa88

Regards,

Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]
#4 lore raw

PATCH v2 1/1 binutils-2.20.1: fix checksums as 2.20.1 is now 2.20.1a

In reply to Martin Jansa

2.20.1 is now 2.20.1a (but when extracting the 2.20.1a sources, the directory name is still 2.20.1)

$ LANG=C diff -rq binutils-2.20.1 binutils-2.20.1a
Only in binutils-2.20.1a: cgen
Files binutils-2.20.1/md5.sum and binutils-2.20.1a/md5.sum differ
Files binutils-2.20.1/opcodes/m32c-desc.c and binutils-2.20.1a/opcodes/m32c-desc.c differ
Files binutils-2.20.1/opcodes/mep-asm.c and binutils-2.20.1a/opcodes/mep-asm.c differ
Files binutils-2.20.1/opcodes/mep-opc.c and binutils-2.20.1a/opcodes/mep-opc.c differ
---
 .../recipes-devtools/binutils/binutils_2.20.1.bb   |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
meta-oe/recipes-devtools/binutils/binutils_2.20.1.bb +4 -4
index 2558bda..d4eb516 100644
@@ -1,6 +1,6 @@
 require binutils.inc
 
-PR = "r6"
+PR = "r7"
 
 LIC_FILES_CHKSUM="\
     file://src-release;endline=17;md5=4830a9ef968f3b18dd5e9f2c00db2d35\
@@ -16,7 +16,7 @@ LIC_FILES_CHKSUM="\
     "
 
 SRC_URI = "\
-     ${GNU_MIRROR}/binutils/binutils-${PV}.tar.bz2 \
+     ${GNU_MIRROR}/binutils/binutils-${PV}a.tar.bz2 \
      file://binutils-uclibc-100-uclibc-conf.patch \
      file://110-arm-eabi-conf.patch \
      file://binutils-uclibc-300-001_ld_makefile_patch.patch \
@@ -36,7 +36,7 @@ SRC_URI = "\
      file://202_elflink_noaddneeded_vs_weak.patch \
      "
 
-SRC_URI[md5sum] = "9cdfb9d6ec0578c166d3beae5e15c4e5"
-SRC_URI[sha256sum] = "228b84722d87e88e7fdd36869e590e649ab523a0800a7d53df906498afe6f6f8"
+SRC_URI[md5sum] = "2b9dc8f2b7dbd5ec5992c6e29de0b764"
+SRC_URI[sha256sum] = "71d37c96451333c5c0b84b170169fdcb138bbb27397dc06281905d9717c8ed64"
 
 BBCLASSEXTEND = "native"
Signature · 1 line
1.7.6
Acked-by on v2 1/1
#5 lore raw

Re: [meta-oe v2] binutils-2.20.1: fix checksums as 2.20.1 is now 2.20.1a

Quoted 11 lines · Eric Bénard

2.20.1 is now 2.20.1a (but when extracting the 2.20.1a sources, the directory name is still 2.20.1)

$ LANG=C diff -rq binutils-2.20.1 binutils-2.20.1a
Only in binutils-2.20.1a: cgen
Files binutils-2.20.1/md5.sum and binutils-2.20.1a/md5.sum differ
Files binutils-2.20.1/opcodes/m32c-desc.c and binutils-2.20.1a/opcodes/m32c-desc.c differ
Files binutils-2.20.1/opcodes/mep-asm.c and binutils-2.20.1a/opcodes/mep-asm.c differ
Files binutils-2.20.1/opcodes/mep-opc.c and binutils-2.20.1a/opcodes/mep-opc.c differ

Thanks!

Quoted 43 lines
---
 .../recipes-devtools/binutils/binutils_2.20.1.bb   |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
meta-oe/recipes-devtools/binutils/binutils_2.20.1.bb +4 -4
index 2558bda..d4eb516 100644
@@ -1,6 +1,6 @@
 require binutils.inc
 
-PR = "r6"
+PR = "r7"
 
 LIC_FILES_CHKSUM="\
     file://src-release;endline=17;md5=4830a9ef968f3b18dd5e9f2c00db2d35\
@@ -16,7 +16,7 @@ LIC_FILES_CHKSUM="\
     "
 
 SRC_URI = "\
-     ${GNU_MIRROR}/binutils/binutils-${PV}.tar.bz2 \
+     ${GNU_MIRROR}/binutils/binutils-${PV}a.tar.bz2 \
      file://binutils-uclibc-100-uclibc-conf.patch \
      file://110-arm-eabi-conf.patch \
      file://binutils-uclibc-300-001_ld_makefile_patch.patch \
@@ -36,7 +36,7 @@ SRC_URI = "\
      file://202_elflink_noaddneeded_vs_weak.patch \
      "
 
-SRC_URI[md5sum] = "9cdfb9d6ec0578c166d3beae5e15c4e5"
-SRC_URI[sha256sum] = "228b84722d87e88e7fdd36869e590e649ab523a0800a7d53df906498afe6f6f8"
+SRC_URI[md5sum] = "2b9dc8f2b7dbd5ec5992c6e29de0b764"
+SRC_URI[sha256sum] = "71d37c96451333c5c0b84b170169fdcb138bbb27397dc06281905d9717c8ed64"
 
 BBCLASSEXTEND = "native"
Signature · 7 lines
1.7.6


_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]