Skip to contentSkip to conversation

opkg 0.1.8: do_fetch failed since no checksum specified

PATCH In review Robert Yang 3 participants 7 messages Jun 7, 2012 – Jun 15, 2012

lore
Share & tools
lore
#0 lore raw

cover opkg 0.1.8: do_fetch failed since no checksum specified

The following changes since commit f8a054aca9962ebfd4c74fc1d34cd684de6b3568:

perl: Allow perl to cross build and native build in a directory named "t" (2012-06-05 23:02:20 +0100)

are available in the git repository at:
git://git.pokylinux.org/poky-contrib robert/opkg_sum
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=robert/opkg_sum

Robert Yang (1):
opkg 0.1.8: do_fetch failed since no checksum specified

 .../opkg/opkg-0.1.8/add_vercmp.patch               |   36 --------------------
 meta/recipes-devtools/opkg/opkg_0.1.8.bb           |    5 ++-
 2 files changed, 4 insertions(+), 37 deletions(-)
 delete mode 100644 meta/recipes-devtools/opkg/opkg-0.1.8/add_vercmp.patch
#1 lore raw

PATCH 1/1 opkg 0.1.8: do_fetch failed since no checksum specified

* We use meta/recipes-devtools/opkg/opkg_svn.bb by default, the opkg_0.1.8.bb failed since no checksum specified.

* The add_vercmp.patch in both opkg/ and opkg-0.1.8/, remove the one in opkg-0.1.8/

This patch doesn't impact the output, so I think that we don't have to increment the PR.

[YOCTO #2498]

---
 .../opkg/opkg-0.1.8/add_vercmp.patch               |   36 --------------------
 meta/recipes-devtools/opkg/opkg_0.1.8.bb           |    5 ++-
 2 files changed, 4 insertions(+), 37 deletions(-)
 delete mode 100644 meta/recipes-devtools/opkg/opkg-0.1.8/add_vercmp.patch
meta/recipes-devtools/opkg/opkg-0.1.8/add_vercmp.patch deleted +0 -36
deleted file mode 100644
index c3396d5..0000000
@@ -1,36 +0,0 @@
-Upstream-Status: Inappropriate [other]
-
-Index: trunk/libopkg/opkg.c
-===================================================================
---- trunk.orig/libopkg/opkg.c	2010-01-26 20:32:19.000000000 +0000
-+++ trunk/libopkg/opkg.c	2010-01-26 20:40:34.000000000 +0000
-@@ -876,3 +876,18 @@
- 
- 	return ret;
- }
-+
-+int
-+opkg_compare_versions (const char *ver1, const char *ver2)
-+{
-+  pkg_t *pkg1, *pkg2;
-+
-+  pkg1 = pkg_new();
-+  pkg2 = pkg_new();
-+
-+  parse_version(pkg1, ver1);
-+  parse_version(pkg2, ver2);
-+
-+  return pkg_compare_versions(pkg1, pkg2);
-+}
-+
-Index: trunk/libopkg/opkg.h
-===================================================================
---- trunk.orig/libopkg/opkg.h	2010-01-26 20:32:19.000000000 +0000
-+++ trunk/libopkg/opkg.h	2010-01-26 20:35:19.000000000 +0000
-@@ -58,4 +58,6 @@
- 
- int opkg_repository_accessibility_check(void);
- 
-+int opkg_compare_versions (const char *ver1, const char *ver2);
-+
- #endif /* OPKG_H */
meta/recipes-devtools/opkg/opkg_0.1.8.bb +4 -1
index c206b37..785b6ca 100644
@@ -1,8 +1,11 @@
 require opkg.inc
 
 SRC_URI = "http://opkg.googlecode.com/files/opkg-${PV}.tar.gz \
-           file://add_vercmp.patch \
+           file://opkg/add_vercmp.patch \
            file://headerfix.patch \
           "
 
+SRC_URI[md5sum] = "c714ce0e4863bf1315e3b6913ffe3299"
+SRC_URI[sha256sum] = "ff94bf30bd662d49c4b5057e3a0818d062731adaa555d59abd677ec32a3c1c60"
+
 PR = "${INC_PR}.0"
Signature · 1 line
1.7.1
#2 lore raw
Quoted 65 lines · Robert Yang

* We use meta/recipes-devtools/opkg/opkg_svn.bb by default, the opkg_0.1.8.bb failed since no checksum specified.

* The add_vercmp.patch in both opkg/ and opkg-0.1.8/, remove the one in opkg-0.1.8/

This patch doesn't impact the output, so I think that we don't have to increment the PR.

[YOCTO #2498]

---
 .../opkg/opkg-0.1.8/add_vercmp.patch               |   36 --------------------
 meta/recipes-devtools/opkg/opkg_0.1.8.bb           |    5 ++-
 2 files changed, 4 insertions(+), 37 deletions(-)
 delete mode 100644 meta/recipes-devtools/opkg/opkg-0.1.8/add_vercmp.patch
meta/recipes-devtools/opkg/opkg-0.1.8/add_vercmp.patch deleted +0 -36
deleted file mode 100644
index c3396d5..0000000
@@ -1,36 +0,0 @@
-Upstream-Status: Inappropriate [other]
-
-Index: trunk/libopkg/opkg.c
-===================================================================
---- trunk.orig/libopkg/opkg.c	2010-01-26 20:32:19.000000000 +0000
-+++ trunk/libopkg/opkg.c	2010-01-26 20:40:34.000000000 +0000
-@@ -876,3 +876,18 @@
- 
- 	return ret;
- }
-+
-+int
-+opkg_compare_versions (const char *ver1, const char *ver2)
-+{
-+  pkg_t *pkg1, *pkg2;
-+
-+  pkg1 = pkg_new();
-+  pkg2 = pkg_new();
-+
-+  parse_version(pkg1, ver1);
-+  parse_version(pkg2, ver2);
-+
-+  return pkg_compare_versions(pkg1, pkg2);
-+}
-+
-Index: trunk/libopkg/opkg.h
-===================================================================
---- trunk.orig/libopkg/opkg.h	2010-01-26 20:32:19.000000000 +0000
-+++ trunk/libopkg/opkg.h	2010-01-26 20:35:19.000000000 +0000
-@@ -58,4 +58,6 @@
- 
- int opkg_repository_accessibility_check(void);
- 
-+int opkg_compare_versions (const char *ver1, const char *ver2);
-+
- #endif /* OPKG_H */
meta/recipes-devtools/opkg/opkg_0.1.8.bb +0 -0
index c206b37..785b6ca 100644

meta/recipes-devtools/opkg/opkg_0.1.8.bb line 4

Quoted 5 lines
meta/recipes-devtools/opkg/opkg_0.1.8.bb +1 -1
@@ -1,8 +1,11 @@
 require opkg.inc
 
 SRC_URI = "http://opkg.googlecode.com/files/opkg-${PV}.tar.gz \
-           file://add_vercmp.patch \
+           file://opkg/add_vercmp.patch \

is this "opkg/" really needed?

Quoted 15 lines
meta/recipes-devtools/opkg/opkg_0.1.8.bb +3 -0
            file://headerfix.patch \
           "
 
+SRC_URI[md5sum] = "c714ce0e4863bf1315e3b6913ffe3299"
+SRC_URI[sha256sum] = "ff94bf30bd662d49c4b5057e3a0818d062731adaa555d59abd677ec32a3c1c60"
+
 PR = "${INC_PR}.0"
Signature · 7 lines
1.7.1


_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]
#3 lore raw
Quoted 68 lines · Martin Jansa
Quoted 67 lines · Robert Yang

* We use meta/recipes-devtools/opkg/opkg_svn.bb by default, the opkg_0.1.8.bb failed since no checksum specified.

* The add_vercmp.patch in both opkg/ and opkg-0.1.8/, remove the one in opkg-0.1.8/

This patch doesn't impact the output, so I think that we don't have to increment the PR.

[YOCTO #2498]

---
  .../opkg/opkg-0.1.8/add_vercmp.patch               |   36 --------------------
  meta/recipes-devtools/opkg/opkg_0.1.8.bb           |    5 ++-
  2 files changed, 4 insertions(+), 37 deletions(-)

delete mode 100644 meta/recipes-devtools/opkg/opkg-0.1.8/add_vercmp.patch

meta/recipes-devtools/opkg/opkg-0.1.8/add_vercmp.patch deleted +0 -36
deleted file mode 100644
index c3396d5..0000000
@@ -1,36 +0,0 @@
-Upstream-Status: Inappropriate [other]
-
-Index: trunk/libopkg/opkg.c
-===================================================================
---- trunk.orig/libopkg/opkg.c	2010-01-26 20:32:19.000000000 +0000
-+++ trunk/libopkg/opkg.c	2010-01-26 20:40:34.000000000 +0000
-@@ -876,3 +876,18 @@
-
- 	return ret;
- }
-+
-+int
-+opkg_compare_versions (const char *ver1, const char *ver2)
-+{
-+  pkg_t *pkg1, *pkg2;
-+
-+  pkg1 = pkg_new();
-+  pkg2 = pkg_new();
-+
-+  parse_version(pkg1, ver1);
-+  parse_version(pkg2, ver2);
-+
-+  return pkg_compare_versions(pkg1, pkg2);
-+}
-+
-Index: trunk/libopkg/opkg.h
-===================================================================
---- trunk.orig/libopkg/opkg.h	2010-01-26 20:32:19.000000000 +0000
-+++ trunk/libopkg/opkg.h	2010-01-26 20:35:19.000000000 +0000
-@@ -58,4 +58,6 @@
-
- int opkg_repository_accessibility_check(void);
-
-+int opkg_compare_versions (const char *ver1, const char *ver2);
-+
- #endif /* OPKG_H */
meta/recipes-devtools/opkg/opkg_0.1.8.bb +0 -0
index c206b37..785b6ca 100644
@@ -1,8 +1,11 @@
  require opkg.inc
 
Quoted 6 lines

meta/recipes-devtools/opkg/opkg_0.1.8.bb line 4

Quoted 3 lines
meta/recipes-devtools/opkg/opkg_0.1.8.bb +1 -1
  SRC_URI = "http://opkg.googlecode.com/files/opkg-${PV}.tar.gz \
-           file://add_vercmp.patch \
+           file://opkg/add_vercmp.patch \

is this "opkg/" really needed?

If it's getting removed, is it needed at all?

Sau!

Quoted 22 lines
Quoted 11 lines
meta/recipes-devtools/opkg/opkg_0.1.8.bb +3 -1
             file://headerfix.patch \
            "
 
+SRC_URI[md5sum] = "c714ce0e4863bf1315e3b6913ffe3299"
+SRC_URI[sha256sum] = "ff94bf30bd662d49c4b5057e3a0818d062731adaa555d59abd677ec32a3c1c60"
+
  PR = "${INC_PR}.0"
--

1.7.1

Quoted 4 lines

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

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

#4 lore raw
Quoted 71 lines · Saul Wold
Quoted 70 lines · Martin Jansa
Quoted 69 lines · Robert Yang

* We use meta/recipes-devtools/opkg/opkg_svn.bb by default, the opkg_0.1.8.bb failed since no checksum specified.

* The add_vercmp.patch in both opkg/ and opkg-0.1.8/, remove the one in opkg-0.1.8/

This patch doesn't impact the output, so I think that we don't have to increment the PR.

[YOCTO #2498]

---
.../opkg/opkg-0.1.8/add_vercmp.patch | 36 -------------------- meta/recipes-devtools/opkg/opkg_0.1.8.bb | 5 ++-

2 files changed, 4 insertions(+), 37 deletions(-)

delete mode 100644 meta/recipes-devtools/opkg/opkg-0.1.8/add_vercmp.patch

meta/recipes-devtools/opkg/opkg-0.1.8/add_vercmp.patch deleted +0 -36
deleted file mode 100644
index c3396d5..0000000
@@ -1,36 +0,0 @@
-Upstream-Status: Inappropriate [other]
-
-Index: trunk/libopkg/opkg.c
-===================================================================
---- trunk.orig/libopkg/opkg.c 2010-01-26 20:32:19.000000000 +0000
-+++ trunk/libopkg/opkg.c 2010-01-26 20:40:34.000000000 +0000
-@@ -876,3 +876,18 @@
-
- return ret;
- }
-+
-+int
-+opkg_compare_versions (const char *ver1, const char *ver2)
-+{
-+ pkg_t *pkg1, *pkg2;
-+
-+ pkg1 = pkg_new();
-+ pkg2 = pkg_new();
-+
-+ parse_version(pkg1, ver1);
-+ parse_version(pkg2, ver2);
-+
-+ return pkg_compare_versions(pkg1, pkg2);
-+}
-+
-Index: trunk/libopkg/opkg.h
-===================================================================
---- trunk.orig/libopkg/opkg.h 2010-01-26 20:32:19.000000000 +0000
-+++ trunk/libopkg/opkg.h 2010-01-26 20:35:19.000000000 +0000
-@@ -58,4 +58,6 @@
-
- int opkg_repository_accessibility_check(void);
-
-+int opkg_compare_versions (const char *ver1, const char *ver2);
-+
- #endif /* OPKG_H */
meta/recipes-devtools/opkg/opkg_0.1.8.bb +0 -0
index c206b37..785b6ca 100644
@@ -1,8 +1,11 @@

require opkg.inc

Quoted 8 lines
Quoted 6 lines
Quoted 3 lines

SRC_URI = "http://opkg.googlecode.com/files/opkg-${PV}.tar.gz \
- file://add_vercmp.patch \
+ file://opkg/add_vercmp.patch \

is this "opkg/" really needed?

If it's getting removed, is it needed at all?

I removed the opkg-0.1.8/add_vercmp.patch to let it use the opkg/add_vercmp.patch, so this line is needed, but the "opkg/" is not needed, I have updated this and pushed to git repo.

// Robert

Quoted 32 lines

Sau!

Quoted 12 lines
Quoted 12 lines

file://headerfix.patch \
"

meta/recipes-devtools/opkg/opkg_0.1.8.bb +2 -0
+SRC_URI[md5sum] = "c714ce0e4863bf1315e3b6913ffe3299"
+SRC_URI[sha256sum] =

"ff94bf30bd662d49c4b5057e3a0818d062731adaa555d59abd677ec32a3c1c60" +
PR = "${INC_PR}.0"
--
1.7.1

Quoted 11 lines
Quoted 4 lines

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

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

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

#5 lore raw
In reply to Martin Jansa
Quoted 68 lines · Martin Jansa
Quoted 67 lines · Robert Yang

* We use meta/recipes-devtools/opkg/opkg_svn.bb by default, the opkg_0.1.8.bb failed since no checksum specified.

* The add_vercmp.patch in both opkg/ and opkg-0.1.8/, remove the one in opkg-0.1.8/

This patch doesn't impact the output, so I think that we don't have to increment the PR.

[YOCTO #2498]

---
  .../opkg/opkg-0.1.8/add_vercmp.patch               |   36 --------------------
  meta/recipes-devtools/opkg/opkg_0.1.8.bb           |    5 ++-
  2 files changed, 4 insertions(+), 37 deletions(-)

delete mode 100644 meta/recipes-devtools/opkg/opkg-0.1.8/add_vercmp.patch

meta/recipes-devtools/opkg/opkg-0.1.8/add_vercmp.patch deleted +0 -36
deleted file mode 100644
index c3396d5..0000000
@@ -1,36 +0,0 @@
-Upstream-Status: Inappropriate [other]
-
-Index: trunk/libopkg/opkg.c
-===================================================================
---- trunk.orig/libopkg/opkg.c	2010-01-26 20:32:19.000000000 +0000
-+++ trunk/libopkg/opkg.c	2010-01-26 20:40:34.000000000 +0000
-@@ -876,3 +876,18 @@
-
- 	return ret;
- }
-+
-+int
-+opkg_compare_versions (const char *ver1, const char *ver2)
-+{
-+  pkg_t *pkg1, *pkg2;
-+
-+  pkg1 = pkg_new();
-+  pkg2 = pkg_new();
-+
-+  parse_version(pkg1, ver1);
-+  parse_version(pkg2, ver2);
-+
-+  return pkg_compare_versions(pkg1, pkg2);
-+}
-+
-Index: trunk/libopkg/opkg.h
-===================================================================
---- trunk.orig/libopkg/opkg.h	2010-01-26 20:32:19.000000000 +0000
-+++ trunk/libopkg/opkg.h	2010-01-26 20:35:19.000000000 +0000
-@@ -58,4 +58,6 @@
-
- int opkg_repository_accessibility_check(void);
-
-+int opkg_compare_versions (const char *ver1, const char *ver2);
-+
- #endif /* OPKG_H */
meta/recipes-devtools/opkg/opkg_0.1.8.bb +0 -0
index c206b37..785b6ca 100644
@@ -1,8 +1,11 @@
  require opkg.inc
 
Quoted 6 lines

meta/recipes-devtools/opkg/opkg_0.1.8.bb line 4

Quoted 3 lines
meta/recipes-devtools/opkg/opkg_0.1.8.bb +1 -1
  SRC_URI = "http://opkg.googlecode.com/files/opkg-${PV}.tar.gz \
-           file://add_vercmp.patch \
+           file://opkg/add_vercmp.patch \

is this "opkg/" really needed?

This seems strange, I did see a WARNING yesterday which said that it can't find opkg-0.1.8/add_vercmp.patch after I removed opkg-0.1.8/add_vercmp.patch, I was curious why this happened, I guessed that this was because there was a opkg-0.1.8/ directory, and I was thinking whether this was a bug of do_fetch, but today, I can't reproduce the WARNING, even I added the opkg-0.1.8/add_vercmp.patch back, built opkg, removed the opkg-0.1.8/add_vercmp.patch, built opkg again.

I removed the "opkg/" and pushed the commit to:

git://git.pokylinux.org/poky-contrib robert/opkg_sum
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=robert/opkg_sum

// Robert

Quoted 22 lines
Quoted 11 lines
meta/recipes-devtools/opkg/opkg_0.1.8.bb +3 -1
             file://headerfix.patch \
            "
 
+SRC_URI[md5sum] = "c714ce0e4863bf1315e3b6913ffe3299"
+SRC_URI[sha256sum] = "ff94bf30bd662d49c4b5057e3a0818d062731adaa555d59abd677ec32a3c1c60"
+
  PR = "${INC_PR}.0"
--

1.7.1

Quoted 4 lines

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

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

#6 lore raw
In reply to Robert Yang
Quoted 14 lines · Robert Yang

The following changes since commit f8a054aca9962ebfd4c74fc1d34cd684de6b3568:

perl: Allow perl to cross build and native build in a directory named "t" (2012-06-05 23:02:20 +0100)

are available in the git repository at:
git://git.pokylinux.org/poky-contrib robert/opkg_sum
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=robert/opkg_sum

Robert Yang (1):
opkg 0.1.8: do_fetch failed since no checksum specified

  .../opkg/opkg-0.1.8/add_vercmp.patch               |   36 --------------------
  meta/recipes-devtools/opkg/opkg_0.1.8.bb           |    5 ++-
  2 files changed, 4 insertions(+), 37 deletions(-)
Quoted 9 lines

delete mode 100644 meta/recipes-devtools/opkg/opkg-0.1.8/add_vercmp.patch

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

Updated version merged into OE-Core

Thanks
Sau!