Skip to contentSkip to conversation

vim: add checksum

PATCH In review Rafaël Carré 5 participants 12 messages Mar 20, 2015 – Aug 6, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 vim: add checksum

---
 meta-oe/recipes-support/vim/vim_7.4.481.bb | 4 ++++
 1 file changed, 4 insertions(+)
meta-oe/recipes-support/vim/vim_7.4.481.bb +4 -0
index afdea84..ac59077 100644
@@ -10,6 +10,10 @@ SRC_URI = "hg://vim.googlecode.com/hg/;protocol=https;module=vim \
            file://disable_acl_header_check.patch;patchdir=.. \
            file://vim-add-knob-whether-elf.h-are-checked.patch;patchdir=.. \
 "
+
+SRC_URI[md5sum] = "5fd5d754581a673a25733c12367cf9d2"
+SRC_URI[sha256sum] = "e2cc416dabea503e9e5631afc21bb00dcbfb9d05481641b75f247fd89ff4d7e8"
+
 SRCREV = "v7-4-481"
 
 S = "${WORKDIR}/vim/src"
Signature · 1 line
2.1.0
#1 lore raw

Hello,

I couldn't reproduce the checksum error with a fresh build with an empty downloads/ folder.

So this patch is apparently needed only when populating downloads/ folder before fetching vim.

I will investigate a bit more, I think the patch should actually be in bitbake
(missing supports_checksum for Hg.py)

Quoted 20 lines · Rafaël Carré
---
 meta-oe/recipes-support/vim/vim_7.4.481.bb | 4 ++++
 1 file changed, 4 insertions(+)
meta-oe/recipes-support/vim/vim_7.4.481.bb +4 -0
index afdea84..ac59077 100644
@@ -10,6 +10,10 @@ SRC_URI = "hg://vim.googlecode.com/hg/;protocol=https;module=vim \
            file://disable_acl_header_check.patch;patchdir=.. \
            file://vim-add-knob-whether-elf.h-are-checked.patch;patchdir=.. \
 "
+
+SRC_URI[md5sum] = "5fd5d754581a673a25733c12367cf9d2"
+SRC_URI[sha256sum] = "e2cc416dabea503e9e5631afc21bb00dcbfb9d05481641b75f247fd89ff4d7e8"
+
 SRCREV = "v7-4-481"
 
 S = "${WORKDIR}/vim/src"
#2 lore raw
Quoted 11 lines · Rafaël Carré

Hello,

I couldn't reproduce the checksum error with a fresh build with an empty downloads/ folder.

So this patch is apparently needed only when populating downloads/ folder before fetching vim.

I will investigate a bit more, I think the patch should actually be in bitbake
(missing supports_checksum for Hg.py)

Should bitbake support checksums for hg? We don't use them for any other SCM like git or svn, if we do that for hg, what will be included in th checksum? Whole directory with hg checkout? Is it stable (e.g. doesn't hg fetch everything and then checkout required revision like git does?)

I've included this patch in master-next, but now when I see that it's fetched from hg I'll drop it.

Quoted 26 lines · Rafaël Carré
Quoted 20 lines
---
 meta-oe/recipes-support/vim/vim_7.4.481.bb | 4 ++++
 1 file changed, 4 insertions(+)
meta-oe/recipes-support/vim/vim_7.4.481.bb +4 -0
index afdea84..ac59077 100644
@@ -10,6 +10,10 @@ SRC_URI = "hg://vim.googlecode.com/hg/;protocol=https;module=vim \
            file://disable_acl_header_check.patch;patchdir=.. \
            file://vim-add-knob-whether-elf.h-are-checked.patch;patchdir=.. \
 "
+
+SRC_URI[md5sum] = "5fd5d754581a673a25733c12367cf9d2"
+SRC_URI[sha256sum] = "e2cc416dabea503e9e5631afc21bb00dcbfb9d05481641b75f247fd89ff4d7e8"
+
 SRCREV = "v7-4-481"
 
 S = "${WORKDIR}/vim/src"
Signature · 4 lines
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]
#3 lore raw
Quoted 9 lines · Martin Jansa
Quoted 8 lines · Rafaël Carré

Hello,

I couldn't reproduce the checksum error with a fresh build with an empty downloads/ folder.

So this patch is apparently needed only when populating downloads/ folder before fetching vim.

Quoted 8 lines
Quoted 3 lines

I will investigate a bit more, I think the patch should actually be in bitbake
(missing supports_checksum for Hg.py)

Should bitbake support checksums for hg? We don't use them for any other SCM like git or svn, if we do that for hg, what will be included in th checksum? Whole directory with hg checkout? Is it stable (e.g. doesn't hg fetch everything and then checkout required revision like git does?)

Exactly, what I meant was Hg.py needs to explicitely say checksums are disabled:

supports_checksum(foo):
return False

Quoted 23 lines

I've included this patch in master-next, but now when I see that it's fetched from hg I'll drop it.

Quoted 20 lines · Rafaël Carré
Quoted 19 lines
---
 meta-oe/recipes-support/vim/vim_7.4.481.bb | 4 ++++
 1 file changed, 4 insertions(+)
meta-oe/recipes-support/vim/vim_7.4.481.bb +4 -0
index afdea84..ac59077 100644
@@ -10,6 +10,10 @@ SRC_URI = "hg://vim.googlecode.com/hg/;protocol=https;module=vim \
            file://disable_acl_header_check.patch;patchdir=.. \
            file://vim-add-knob-whether-elf.h-are-checked.patch;patchdir=.. \
 "
+
+SRC_URI[md5sum] = "5fd5d754581a673a25733c12367cf9d2"
+SRC_URI[sha256sum] = "e2cc416dabea503e9e5631afc21bb00dcbfb9d05481641b75f247fd89ff4d7e8"
+
 SRCREV = "v7-4-481"
 
 S = "${WORKDIR}/vim/src"
#4 lore raw
Quoted 19 lines · Rafaël Carré
Quoted 9 lines · Martin Jansa
Quoted 8 lines · Rafaël Carré

Hello,

I couldn't reproduce the checksum error with a fresh build with an empty downloads/ folder.

So this patch is apparently needed only when populating downloads/ folder before fetching vim.

Quoted 8 lines
Quoted 3 lines

I will investigate a bit more, I think the patch should actually be in bitbake
(missing supports_checksum for Hg.py)

Should bitbake support checksums for hg? We don't use them for any other SCM like git or svn, if we do that for hg, what will be included in th checksum? Whole directory with hg checkout? Is it stable (e.g. doesn't hg fetch everything and then checkout required revision like git does?)

Quoted 5 lines

Exactly, what I meant was Hg.py needs to explicitely say checksums are disabled:

supports_checksum(foo):
return False

Did you send such patch to bitbake-devel? I haven't seen it there.

Regards,

Quoted 31 lines
Quoted 25 lines

I've included this patch in master-next, but now when I see that it's fetched from hg I'll drop it.

Quoted 20 lines · Rafaël Carré
Quoted 19 lines
---
 meta-oe/recipes-support/vim/vim_7.4.481.bb | 4 ++++
 1 file changed, 4 insertions(+)
meta-oe/recipes-support/vim/vim_7.4.481.bb +4 -0
index afdea84..ac59077 100644
@@ -10,6 +10,10 @@ SRC_URI = "hg://vim.googlecode.com/hg/;protocol=https;module=vim \
            file://disable_acl_header_check.patch;patchdir=.. \
            file://vim-add-knob-whether-elf.h-are-checked.patch;patchdir=.. \
 "
+
+SRC_URI[md5sum] = "5fd5d754581a673a25733c12367cf9d2"
+SRC_URI[sha256sum] = "e2cc416dabea503e9e5631afc21bb00dcbfb9d05481641b75f247fd89ff4d7e8"
+
 SRCREV = "v7-4-481"
 
 S = "${WORKDIR}/vim/src"
Signature · 4 lines
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]
#5 lore raw

PATCH 1/1 fetch/hg: Disable checksums for archived downloads

Like the Git fetcher, the Mercurial fetcher shouldn't expect recipes to provide a checksum. As described [1], recipes using a mercurial fetcher that don't provide a checksum will fail in a the repository has previously been downloaded and archived.

Credit to Rafaël Carré for figuring out the bug.

[1] https://www.mail-archive.com/[email protected]/msg41328.html

---
 bitbake/lib/bb/fetch2/hg.py | 7 +++++++
 1 file changed, 7 insertions(+)
bitbake/lib/bb/fetch2/hg.py +7 -0
index 81592f6..cab371f 100644
@@ -43,6 +43,13 @@ class Hg(FetchMethod):
         """
         return ud.type in ['hg']
 
+    def supports_checksum(self, urldata):
+        """
+        Don't require checksums for local archives created from
+        repository checkouts.
+        """ 
+        return False
+
     def urldata_init(self, ud, d):
         """
         init hg specific variable within url data
Signature · 1 line
2.1.4
#6 lore raw

Re: [oe] [PATCH] fetch/hg: Disable checksums for archived downloads

Hello,

I think that the following patch has broken the mirror tarball of hg:

http://lists.openembedded.org/pipermail/bitbake-devel/2015-May/005725.html

I wonder how did you test the patch, please ? Did you revert the patch:
fetch/hg: support submodules ?

Or other ways, please ?

// Robert

Quoted 33 lines · Ash Charles

Like the Git fetcher, the Mercurial fetcher shouldn't expect recipes to provide a checksum. As described [1], recipes using a mercurial fetcher that don't provide a checksum will fail in a the repository has previously been downloaded and archived.

Credit to Rafaël Carré for figuring out the bug.

[1] https://www.mail-archive.com/[email protected]/msg41328.html

---
  bitbake/lib/bb/fetch2/hg.py | 7 +++++++
  1 file changed, 7 insertions(+)
bitbake/lib/bb/fetch2/hg.py +7 -0
index 81592f6..cab371f 100644
@@ -43,6 +43,13 @@ class Hg(FetchMethod):
          """
          return ud.type in ['hg']
 
+    def supports_checksum(self, urldata):
+        """
+        Don't require checksums for local archives created from
+        repository checkouts.
+        """
+        return False
+
      def urldata_init(self, ud, d):
          """
          init hg specific variable within url data
#7 lore raw

Re: [oe] [PATCH] fetch/hg: Disable checksums for archived downloads

Quoted 2 lines

I wonder how did you test the patch, please ? Did you revert the patch:
fetch/hg: support submodules ?

Hi Robert,
I tested the patch in a Yocto environment which had a prepopulated downloads directory. In particular, I had seen the failure described [1] for vim.
My version of bitbake was slightly older so the submodule patch that was breaking the mirroring hadn't yet been applied.

[1]
https://www.mail-archive.com/[email protected]/msg41328.html

--Ash

#8 lore raw

Re: [oe] [PATCH] fetch/hg: Disable checksums for archived downloads

FWIW: I see vim unpack failing now in world builds:

NOTE: recipe vim-7.4.481-r0: task do_unpack: Started
ERROR: Function failed: Fetcher failure: Fetch command failed with exit code 255, output:
abort: repository /home/jenkins/oe/world/shr-core/downloads/hg/vim.googlecode.com/hg/vim not found!

ERROR: Logfile of failure stored in:
/home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te-oe-linux-gnueabi/vim/7.4.481-r0/temp/log.do_unpack.28505 Log data follows:

| DEBUG: Executing python function do_unpack
| DEBUG: Executing python function base_do_unpack
| DEBUG: Unpack: creating new hg repository in

'/home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te-oe-linux-gnueabi/vim/7.4.481-r0/vim'
| DEBUG: Running export PATH="/home/jenkins/oe/world/shr-core/openembedded-core/scripts:/home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/x86_64-linux/usr/bin/arm-oe-linux-gnueabi:/home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/qemuarm/usr/bin/crossscripts:/home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/x86_64-linux/usr/sbin:/home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/x86_64-linux/usr/bin:/home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/x86_64-linux/sbin:/home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/x86_64-linux/bin:/home/jenkins/oe/world/shr-core/openembedded-core/scripts:/home/jenkins/oe/world/shr-core/bitbake/bin:/home/jenkins/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games"; export HOME="/home/jenkins"; /usr/bin/env hg init
/home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te-oe-linux-gnueabi/vim/7.4.481-r0/vim
| DEBUG: Unpack: updating source in
'/home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te-oe-linux-gnueabi/vim/7.4.481-r0/vim'
| DEBUG: Running export PATH="/home/jenkins/oe/world/shr-core/openembedded-core/scripts:/home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/x86_64-linux/usr/bin/arm-oe-linux-gnueabi:/home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/qemuarm/usr/bin/crossscripts:/home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/x86_64-linux/usr/sbin:/home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/x86_64-linux/usr/bin:/home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/x86_64-linux/sbin:/home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/x86_64-linux/bin:/home/jenkins/oe/world/shr-core/openembedded-core/scripts:/home/jenkins/oe/world/shr-core/bitbake/bin:/home/jenkins/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games"; export HOME="/home/jenkins"; /usr/bin/env hg pull
/home/jenkins/oe/world/shr-core/downloads/hg/vim.googlecode.com/hg/vim

| DEBUG: Python function base_do_unpack finished
| DEBUG: Python function do_unpack finished
| ERROR: Function failed: Fetcher failure: Fetch command failed with

exit code 255, output:
| abort: repository /home/jenkins/oe/world/shr-core/downloads/hg/vim.googlecode.com/hg/vim
not found!
|
NOTE: recipe vim-7.4.481-r0: task do_unpack: Failed
ERROR: Task 5789 (/home/jenkins/oe/world/shr-core/meta-openembedded/meta-oe/recipes-support/vim/vim_7.4.481.bb, do_unpack) failed with exit code '1'

Quoted 21 lines · Ash Charles
Quoted 2 lines

I wonder how did you test the patch, please ? Did you revert the patch:
fetch/hg: support submodules ?

Hi Robert,
I tested the patch in a Yocto environment which had a prepopulated downloads directory. In particular, I had seen the failure described [1] for vim.
My version of bitbake was slightly older so the submodule patch that was breaking the mirroring hadn't yet been applied.

[1]
https://www.mail-archive.com/[email protected]/msg41328.html

--Ash

--
_______________________________________________
bitbake-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/bitbake-devel

#9 lore raw

Re: [oe] [PATCH] fetch/hg: Disable checksums for archived downloads

Hi,

I verified that the "fetch/hg: support submodules" [1] patch, in combination with this [2] patch is causing do_unpack failures for me. Based on the logs from the world build, I suspect this is also breaking dvb-apps. I don't have a fix so perhaps the best plan is reverting [2] now that cleanall for hg packages actually works.

[1] http://lists.openembedded.org/pipermail/bitbake-devel/2015-May/005725.html
[2] http://lists.openembedded.org/pipermail/bitbake-devel/2015-May/005758.html

--Ash

Quoted 65 lines · Martin Jansa

FWIW: I see vim unpack failing now in world builds:

NOTE: recipe vim-7.4.481-r0: task do_unpack: Started
ERROR: Function failed: Fetcher failure: Fetch command failed with exit code 255, output:
abort: repository /home/jenkins/oe/world/shr-core/downloads/hg/vim.googlecode.com/hg/vim not found!

ERROR: Logfile of failure stored in:
/home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te-oe-linux-gnueabi/vim/7.4.481-r0/temp/log.do_unpack.28505 Log data follows:

| DEBUG: Executing python function do_unpack
| DEBUG: Executing python function base_do_unpack
| DEBUG: Unpack: creating new hg repository in

'/home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te-oe-linux-gnueabi/vim/7.4.481-r0/vim'
| DEBUG: Running export PATH="/home/jenkins/oe/world/shr-core/openembedded-core/scripts:/home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/x86_64-linux/usr/bin/arm-oe-linux-gnueabi:/home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/qemuarm/usr/bin/crossscripts:/home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/x86_64-linux/usr/sbin:/home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/x86_64-linux/usr/bin:/home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/x86_64-linux/sbin:/home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/x86_64-linux/bin:/home/jenkins/oe/world/shr-core/openembedded-core/scripts:/home/jenkins/oe/world/shr-core/bitbake/bin:/home/jenkins/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games"; export HOME="/home/jenkins"; /usr/bin/env hg init
/home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te-oe-linux-gnueabi/vim/7.4.481-r0/vim
| DEBUG: Unpack: updating source in
'/home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te-oe-linux-gnueabi/vim/7.4.481-r0/vim'
| DEBUG: Running export PATH="/home/jenkins/oe/world/shr-core/openembedded-core/scripts:/home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/x86_64-linux/usr/bin/arm-oe-linux-gnueabi:/home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/qemuarm/usr/bin/crossscripts:/home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/x86_64-linux/usr/sbin:/home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/x86_64-linux/usr/bin:/home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/x86_64-linux/sbin:/home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/x86_64-linux/bin:/home/jenkins/oe/world/shr-core/openembedded-core/scripts:/home/jenkins/oe/world/shr-core/bitbake/bin:/home/jenkins/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games"; export HOME="/home/jenkins"; /usr/bin/env hg pull
/home/jenkins/oe/world/shr-core/downloads/hg/vim.googlecode.com/hg/vim

| DEBUG: Python function base_do_unpack finished
| DEBUG: Python function do_unpack finished
| ERROR: Function failed: Fetcher failure: Fetch command failed with exit

code 255, output:
| abort: repository /home/jenkins/oe/world/shr-core/downloads/hg/vim.googlecode.com/hg/vim not found!
|
NOTE: recipe vim-7.4.481-r0: task do_unpack: Failed
ERROR: Task 5789 (/home/jenkins/oe/world/shr-core/meta-openembedded/meta-oe/recipes-support/vim/vim_7.4.481.bb, do_unpack) failed with exit code '1'

Quoted 22 lines · Ash Charles
Quoted 3 lines

I wonder how did you test the patch, please ? Did you revert the patch:
fetch/hg: support submodules ?

Hi Robert,
I tested the patch in a Yocto environment which had a prepopulated downloads directory. In particular, I had seen the failure described [1] for vim.
My version of bitbake was slightly older so the submodule patch that was breaking the mirroring hadn't yet been applied.

[1]
https://www.mail-archive.com/[email protected]/msg41328.html

--Ash

--
_______________________________________________
bitbake-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/bitbake-devel

#10 lore raw

Re: [oe] [PATCH] fetch/hg: Disable checksums for archived downloads

Quoted 11 lines · Ash Charles

Hi,

I verified that the "fetch/hg: support submodules" [1] patch, in combination with this [2] patch is causing do_unpack failures for me. Based on the logs from the world build, I suspect this is also breaking dvb-apps. I don't have a fix so perhaps the best plan is reverting [2] now that cleanall for hg packages actually works.

[1] http://lists.openembedded.org/pipermail/bitbake-devel/2015-May/005725.html
[2] http://lists.openembedded.org/pipermail/bitbake-devel/2015-May/005758.html

I'm working on fixing the issues now, will send patches sooner.

// Robert

Quoted 70 lines

--Ash

Quoted 65 lines · Martin Jansa

FWIW: I see vim unpack failing now in world builds:

NOTE: recipe vim-7.4.481-r0: task do_unpack: Started
ERROR: Function failed: Fetcher failure: Fetch command failed with exit code 255, output:
abort: repository /home/jenkins/oe/world/shr-core/downloads/hg/vim.googlecode.com/hg/vim not found!

ERROR: Logfile of failure stored in:
/home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te-oe-linux-gnueabi/vim/7.4.481-r0/temp/log.do_unpack.28505 Log data follows:

| DEBUG: Executing python function do_unpack
| DEBUG: Executing python function base_do_unpack
| DEBUG: Unpack: creating new hg repository in

'/home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te-oe-linux-gnueabi/vim/7.4.481-r0/vim'
| DEBUG: Running export PATH="/home/jenkins/oe/world/shr-core/openembedded-core/scripts:/home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/x86_64-linux/usr/bin/arm-oe-linux-gnueabi:/home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/qemuarm/usr/bin/crossscripts:/home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/x86_64-linux/usr/sbin:/home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/x86_64-linux/usr/bin:/home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/x86_64-linux/sbin:/home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/x86_64-linux/bin:/home/jenkins/oe/world/shr-core/openembedded-core/scripts:/home/jenkins/oe/world/shr-core/bitbake/bin:/home/jenkins/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games"; export HOME="/home/jenkins"; /usr/bin/env hg init
/home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te-oe-linux-gnueabi/vim/7.4.481-r0/vim
| DEBUG: Unpack: updating source in
'/home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te-oe-linux-gnueabi/vim/7.4.481-r0/vim'
| DEBUG: Running export PATH="/home/jenkins/oe/world/shr-core/openembedded-core/scripts:/home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/x86_64-linux/usr/bin/arm-oe-linux-gnueabi:/home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/qemuarm/usr/bin/crossscripts:/home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/x86_64-linux/usr/sbin:/home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/x86_64-linux/usr/bin:/home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/x86_64-linux/sbin:/home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/x86_64-linux/bin:/home/jenkins/oe/world/shr-core/openembedded-core/scripts:/home/jenkins/oe/world/shr-core/bitbake/bin:/home/jenkins/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games"; export HOME="/home/jenkins"; /usr/bin/env hg pull
/home/jenkins/oe/world/shr-core/downloads/hg/vim.googlecode.com/hg/vim

| DEBUG: Python function base_do_unpack finished
| DEBUG: Python function do_unpack finished
| ERROR: Function failed: Fetcher failure: Fetch command failed with exit

code 255, output:
| abort: repository /home/jenkins/oe/world/shr-core/downloads/hg/vim.googlecode.com/hg/vim not found!
|
NOTE: recipe vim-7.4.481-r0: task do_unpack: Failed
ERROR: Task 5789 (/home/jenkins/oe/world/shr-core/meta-openembedded/meta-oe/recipes-support/vim/vim_7.4.481.bb, do_unpack) failed with exit code '1'

Quoted 22 lines · Ash Charles
Quoted 3 lines

I wonder how did you test the patch, please ? Did you revert the patch:
fetch/hg: support submodules ?

Hi Robert,
I tested the patch in a Yocto environment which had a prepopulated downloads directory. In particular, I had seen the failure described [1] for vim.
My version of bitbake was slightly older so the submodule patch that was breaking the mirroring hadn't yet been applied.

[1]
https://www.mail-archive.com/[email protected]/msg41328.html

--Ash

--
_______________________________________________
bitbake-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/bitbake-devel

#11 lore raw

Re: [oe] [PATCH] fetch/hg: Disable checksums for archived downloads

Quoted 1 line · Robert Yang

I'm working on fixing the issues now, will send patches sooner.

Any news on that?

Signature · 7 lines
DResearch Fahrzeugelektronik GmbH
Otto-Schmirgal-Str. 3, 10319 Berlin, Germany
Tel: +49 30 515932-237 mailto:[email protected]
Fax: +49 30 515932-299
Geschäftsführer: Dr. Michael Weber, Werner Mögle;
Amtsgericht Berlin Charlottenburg; HRB 130120 B;
Ust.-IDNr. DE273952058