* [PATCH] fetch2: fix Exception parameters when BB_STRICT_CHECKSUM enabled
@ 2011-12-02 18:58 Joshua Lock
2011-12-05 16:18 ` Richard Purdie
0 siblings, 1 reply; 4+ messages in thread
From: Joshua Lock @ 2011-12-02 18:58 UTC (permalink / raw)
To: bitbake-devel
BB_STRICT_CHECKSUM caused a backtrace as the FetchError parameters are
incorrectly specified such that FetchError is being passed 8 params
when it's expecting 3. This fixes the parameters so we're passing a
formatted string and the url.
Signed-off-by: Joshua Lock <josh@linux.intel.com>
---
lib/bb/fetch2/__init__.py | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/lib/bb/fetch2/__init__.py b/lib/bb/fetch2/__init__.py
index 19a79fd..3af56e5 100644
--- a/lib/bb/fetch2/__init__.py
+++ b/lib/bb/fetch2/__init__.py
@@ -274,9 +274,9 @@ def verify_checksum(u, ud, d):
strict = d.getVar("BB_STRICT_CHECKSUM", True) or None
if (strict and ud.md5_expected == None and ud.sha256_expected == None):
raise FetchError('No checksum specified for %s, please add at least one to the recipe:\n'
- 'SRC_URI[%s] = "%s"\nSRC_URI[%s] = "%s"', u,
- ud.localpath, ud.md5_name, md5data,
- ud.sha256_name, sha256data)
+ 'SRC_URI[%s] = "%s"\nSRC_URI[%s] = "%s"' %
+ (ud.localpath, ud.md5_name, md5data,
+ ud.sha256_name, sha256data), u)
# Log missing sums so user can more easily add them
if ud.md5_expected == None:
--
1.7.7.3
^ permalink raw reply related [flat|nested] 4+ messages in thread* Re: [PATCH] fetch2: fix Exception parameters when BB_STRICT_CHECKSUM enabled
@ 2011-12-06 10:06 Martin Jansa
2011-12-13 22:11 ` Joshua Lock
0 siblings, 1 reply; 4+ messages in thread
From: Martin Jansa @ 2011-12-06 10:06 UTC (permalink / raw)
To: bitbake-devel
[-- Attachment #1: Type: text/plain, Size: 20467 bytes --]
With today's master I'm still getting rather long error message when just checksums are wrong.
Do I have something wrong in my configuration?
NOTE: Running task 1 of 12 (ID: 4, openembedded-core/meta/recipes-devtools/subversion/subversion_1.7.2.bb, do_fetch)
NOTE: package subversion-1.7.2-r0: task do_fetch: Started
WARNING: Fetcher failure for URL: 'http://archive.apache.org/dist/subversion/subversion-1.7.2.tar.bz2'. Checksum mismatch!
File: '/OE/shr-core/downloads/subversion-1.7.2.tar.bz2' has md5 checksum 1e5dfffd27be080672e5a042564368a8 when 8a4fa74385df85a9702141b6b68b8307 was expected (from URL: 'http://archive.apache.org/dist/subversion/subversion-1.7.2.tar.bz2')
File: '/OE/shr-core/downloads/subversion-1.7.2.tar.bz2' has sha256 checksum 7eb3e1ae2b0385e1cc20ca9e1839e0ef0ac98a7455dc52ba4cdf567547bfc517 when d34bde626fac1aa553f5c9aeedf961999a77cc31540ace18da5aeacdd03d6608 was expected (from URL: 'h
ttp://archive.apache.org/dist/subversion/subversion-1.7.2.tar.bz2')
ERROR: Function 'Fetcher failure for URL: 'http://archive.apache.org/dist/subversion/subversion-1.7.2.tar.bz2'. Unable to fetch URL http://archive.apache.org/dist/subversion/subversion-1.7.2.tar.bz2 from any source.' failed
ERROR: Logfile of failure stored in: /OE/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/subversion-1.7.2-r0/temp/log.do_fetch.17472
Log data follows:
| DEBUG: Trying PREMIRRORS
| DEBUG: For url ['http', 'archive.apache.org', '/dist/subversion/subversion-1.7.2.tar.bz2', '', '', {}] comparing ['cvs', '.*', '/.*', '', '', {}] to ['http', 'build.shr-project.org', '/sources/', '', '', {}]
| DEBUG: For url ['http', 'archive.apache.org', '/dist/subversion/subversion-1.7.2.tar.bz2', '', '', {}] comparing ['svn', '.*', '/.*', '', '', {}] to ['http', 'build.shr-project.org', '/sources/', '', '', {}]
| DEBUG: For url ['http', 'archive.apache.org', '/dist/subversion/subversion-1.7.2.tar.bz2', '', '', {}] comparing ['git', '.*', '/.*', '', '', {}] to ['http', 'build.shr-project.org', '/sources/', '', '', {}]
| DEBUG: For url ['http', 'archive.apache.org', '/dist/subversion/subversion-1.7.2.tar.bz2', '', '', {}] comparing ['hg', '.*', '/.*', '', '', {}] to ['http', 'build.shr-project.org', '/sources/', '', '', {}]
| DEBUG: For url ['http', 'archive.apache.org', '/dist/subversion/subversion-1.7.2.tar.bz2', '', '', {}] comparing ['bzr', '.*', '/.*', '', '', {}] to ['http', 'build.shr-project.org', '/sources/', '', '', {}]
| DEBUG: Trying Upstream
| NOTE: fetch http://archive.apache.org/dist/subversion/subversion-1.7.2.tar.bz2
| DEBUG: executing /usr/bin/env wget -t 5 -q --passive-ftp --no-check-certificate -P /OE/shr-core/downloads 'http://archive.apache.org/dist/subversion/subversion-1.7.2.tar.bz2'
| DEBUG: Fetcher accessed the network with the command /usr/bin/env wget -t 5 -q --passive-ftp --no-check-certificate -P /OE/shr-core/downloads 'http://archive.apache.org/dist/subversion/subversion-1.7.2.tar.bz2'
| DEBUG: Running export HOME="/OE"; export GIT_CONFIG="/OE/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/etc/gitconfig"; export PATH="/OE/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/bin/armv5te-oe-linux-gnueabi:/OE/shr-core/tmp-eglibc/
sysroots/spitz/usr/bin/crossscripts:/OE/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/sbin:/OE/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/bin:/OE/shr-core/tmp-eglibc/sysroots/x86_64-linux/sbin:/OE/shr-core/tmp-eglibc/sysroots/x86_64-l
inux//bin:/OE/shr-core/openembedded-core/scripts:/OE/bin:/usr/local/bin:/usr/bin:/bin:/opt/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/4.6.2:/OE/shr-core/openembedded-core/scripts/:/OE/shr-core/openembedded-core/scripts"; /usr/bin/env wget -t 5
-q --passive-ftp --no-check-certificate -P /OE/shr-core/downloads 'http://archive.apache.org/dist/subversion/subversion-1.7.2.tar.bz2'
| WARNING: Fetcher failure for URL: 'http://archive.apache.org/dist/subversion/subversion-1.7.2.tar.bz2'. Checksum mismatch!
| File: '/OE/shr-core/downloads/subversion-1.7.2.tar.bz2' has md5 checksum 1e5dfffd27be080672e5a042564368a8 when 8a4fa74385df85a9702141b6b68b8307 was expected (from URL: 'http://archive.apache.org/dist/subversion/subversion-1.7.2.tar.bz2
')
| File: '/OE/shr-core/downloads/subversion-1.7.2.tar.bz2' has sha256 checksum 7eb3e1ae2b0385e1cc20ca9e1839e0ef0ac98a7455dc52ba4cdf567547bfc517 when d34bde626fac1aa553f5c9aeedf961999a77cc31540ace18da5aeacdd03d6608 was expected (from URL:
'http://archive.apache.org/dist/subversion/subversion-1.7.2.tar.bz2')
| DEBUG: Trying MIRRORS
| DEBUG: For url ['http', 'archive.apache.org', '/dist/subversion/subversion-1.7.2.tar.bz2', '', '', {}] comparing ['ftp', 'ftp.debian.org', '/debian/pool/main', '', '', {}] to ['http', 'snapshot.debian.net', '/archive/pool', '', '', {}]
| DEBUG: For url ['http', 'archive.apache.org', '/dist/subversion/subversion-1.7.2.tar.bz2', '', '', {}] comparing ['ftp', 'ftp.debian.org', '/debian/pool', '', '', {}] to ['ftp', 'ftp.de.debian.org', '/debian/pool', '', '', {}]
| DEBUG: For url ['http', 'archive.apache.org', '/dist/subversion/subversion-1.7.2.tar.bz2', '', '', {}] comparing ['ftp', 'ftp.debian.org', '/debian/pool', '', '', {}] to ['ftp', 'ftp.au.debian.org', '/debian/pool', '', '', {}]
| DEBUG: For url ['http', 'archive.apache.org', '/dist/subversion/subversion-1.7.2.tar.bz2', '', '', {}] comparing ['ftp', 'ftp.debian.org', '/debian/pool', '', '', {}] to ['ftp', 'ftp.cl.debian.org', '/debian/pool', '', '', {}]
| DEBUG: For url ['http', 'archive.apache.org', '/dist/subversion/subversion-1.7.2.tar.bz2', '', '', {}] comparing ['ftp', 'ftp.debian.org', '/debian/pool', '', '', {}] to ['ftp', 'ftp.hr.debian.org', '/debian/pool', '', '', {}]
| DEBUG: For url ['http', 'archive.apache.org', '/dist/subversion/subversion-1.7.2.tar.bz2', '', '', {}] comparing ['ftp', 'ftp.debian.org', '/debian/pool', '', '', {}] to ['ftp', 'ftp.fi.debian.org', '/debian/pool', '', '', {}]
| DEBUG: For url ['http', 'archive.apache.org', '/dist/subversion/subversion-1.7.2.tar.bz2', '', '', {}] comparing ['ftp', 'ftp.debian.org', '/debian/pool', '', '', {}] to ['ftp', 'ftp.hk.debian.org', '/debian/pool', '', '', {}]
| DEBUG: For url ['http', 'archive.apache.org', '/dist/subversion/subversion-1.7.2.tar.bz2', '', '', {}] comparing ['ftp', 'ftp.debian.org', '/debian/pool', '', '', {}] to ['ftp', 'ftp.hu.debian.org', '/debian/pool', '', '', {}]
| DEBUG: For url ['http', 'archive.apache.org', '/dist/subversion/subversion-1.7.2.tar.bz2', '', '', {}] comparing ['ftp', 'ftp.debian.org', '/debian/pool', '', '', {}] to ['ftp', 'ftp.ie.debian.org', '/debian/pool', '', '', {}]
| DEBUG: For url ['http', 'archive.apache.org', '/dist/subversion/subversion-1.7.2.tar.bz2', '', '', {}] comparing ['ftp', 'ftp.debian.org', '/debian/pool', '', '', {}] to ['ftp', 'ftp.it.debian.org', '/debian/pool', '', '', {}]
| DEBUG: For url ['http', 'archive.apache.org', '/dist/subversion/subversion-1.7.2.tar.bz2', '', '', {}] comparing ['ftp', 'ftp.debian.org', '/debian/pool', '', '', {}] to ['ftp', 'ftp.jp.debian.org', '/debian/pool', '', '', {}]
| DEBUG: For url ['http', 'archive.apache.org', '/dist/subversion/subversion-1.7.2.tar.bz2', '', '', {}] comparing ['ftp', 'ftp.debian.org', '/debian/pool', '', '', {}] to ['ftp', 'ftp.no.debian.org', '/debian/pool', '', '', {}]
| DEBUG: For url ['http', 'archive.apache.org', '/dist/subversion/subversion-1.7.2.tar.bz2', '', '', {}] comparing ['ftp', 'ftp.debian.org', '/debian/pool', '', '', {}] to ['ftp', 'ftp.pl.debian.org', '/debian/pool', '', '', {}]
| DEBUG: For url ['http', 'archive.apache.org', '/dist/subversion/subversion-1.7.2.tar.bz2', '', '', {}] comparing ['ftp', 'ftp.debian.org', '/debian/pool', '', '', {}] to ['ftp', 'ftp.ro.debian.org', '/debian/pool', '', '', {}]
| DEBUG: For url ['http', 'archive.apache.org', '/dist/subversion/subversion-1.7.2.tar.bz2', '', '', {}] comparing ['ftp', 'ftp.debian.org', '/debian/pool', '', '', {}] to ['ftp', 'ftp.si.debian.org', '/debian/pool', '', '', {}]
| DEBUG: For url ['http', 'archive.apache.org', '/dist/subversion/subversion-1.7.2.tar.bz2', '', '', {}] comparing ['ftp', 'ftp.debian.org', '/debian/pool', '', '', {}] to ['ftp', 'ftp.es.debian.org', '/debian/pool', '', '', {}]
| DEBUG: For url ['http', 'archive.apache.org', '/dist/subversion/subversion-1.7.2.tar.bz2', '', '', {}] comparing ['ftp', 'ftp.debian.org', '/debian/pool', '', '', {}] to ['ftp', 'ftp.se.debian.org', '/debian/pool', '', '', {}]
| DEBUG: For url ['http', 'archive.apache.org', '/dist/subversion/subversion-1.7.2.tar.bz2', '', '', {}] comparing ['ftp', 'ftp.debian.org', '/debian/pool', '', '', {}] to ['ftp', 'ftp.tr.debian.org', '/debian/pool', '', '', {}]
| DEBUG: For url ['http', 'archive.apache.org', '/dist/subversion/subversion-1.7.2.tar.bz2', '', '', {}] comparing ['ftp', 'ftp.gnu.org', '/gnu', '', '', {}] to ['ftp', 'mirrors.kernel.org', '/gnu', '', '', {}]
| DEBUG: For url ['http', 'archive.apache.org', '/dist/subversion/subversion-1.7.2.tar.bz2', '', '', {}] comparing ['ftp', 'ftp.gnu.org', '/gnu', '', '', {}] to ['ftp', 'ftp.matrix.com.br', '/pub/gnu', '', '', {}]
| DEBUG: For url ['http', 'archive.apache.org', '/dist/subversion/subversion-1.7.2.tar.bz2', '', '', {}] comparing ['ftp', 'ftp.gnu.org', '/gnu', '', '', {}] to ['ftp', 'ftp.cs.ubc.ca', '/mirror2/gnu', '', '', {}]
| DEBUG: For url ['http', 'archive.apache.org', '/dist/subversion/subversion-1.7.2.tar.bz2', '', '', {}] comparing ['ftp', 'ftp.gnu.org', '/gnu', '', '', {}] to ['ftp', 'sunsite.ust.hk', '/pub/gnu', '', '', {}]
| DEBUG: For url ['http', 'archive.apache.org', '/dist/subversion/subversion-1.7.2.tar.bz2', '', '', {}] comparing ['ftp', 'ftp.gnu.org', '/gnu', '', '', {}] to ['ftp', 'ftp.ayamura.org', '/pub/gnu', '', '', {}]
| DEBUG: For url ['http', 'archive.apache.org', '/dist/subversion/subversion-1.7.2.tar.bz2', '', '', {}] comparing ['http', 'kernel.org', '/pub', '', '', {}] to ['http', 'www.kernel.org', '/pub', '', '', {}]
| DEBUG: For url ['http', 'archive.apache.org', '/dist/subversion/subversion-1.7.2.tar.bz2', '', '', {}] comparing ['http', 'kernel.org', '/pub', '', '', {}] to ['ftp', 'ftp.us.kernel.org', '/pub', '', '', {}]
| DEBUG: For url ['http', 'archive.apache.org', '/dist/subversion/subversion-1.7.2.tar.bz2', '', '', {}] comparing ['http', 'kernel.org', '/pub', '', '', {}] to ['ftp', 'ftp.uk.kernel.org', '/pub', '', '', {}]
| DEBUG: For url ['http', 'archive.apache.org', '/dist/subversion/subversion-1.7.2.tar.bz2', '', '', {}] comparing ['http', 'kernel.org', '/pub', '', '', {}] to ['ftp', 'ftp.hk.kernel.org', '/pub', '', '', {}]
| DEBUG: For url ['http', 'archive.apache.org', '/dist/subversion/subversion-1.7.2.tar.bz2', '', '', {}] comparing ['http', 'kernel.org', '/pub', '', '', {}] to ['ftp', 'ftp.au.kernel.org', '/pub', '', '', {}]
| DEBUG: For url ['http', 'archive.apache.org', '/dist/subversion/subversion-1.7.2.tar.bz2', '', '', {}] comparing ['http', 'kernel.org', '/pub', '', '', {}] to ['ftp', 'ftp.jp.kernel.org', '/pub', '', '', {}]
| DEBUG: For url ['http', 'archive.apache.org', '/dist/subversion/subversion-1.7.2.tar.bz2', '', '', {}] comparing ['ftp', 'ftp.gnupg.org', '/gcrypt/', '', '', {}] to ['ftp', 'ftp.franken.de', '/pub/crypt/mirror/ftp.gnupg.org/gcrypt/', '
', '', {}]
| DEBUG: For url ['http', 'archive.apache.org', '/dist/subversion/subversion-1.7.2.tar.bz2', '', '', {}] comparing ['ftp', 'ftp.gnupg.org', '/gcrypt/', '', '', {}] to ['ftp', 'ftp.surfnet.nl', '/pub/security/gnupg/', '', '', {}]
| DEBUG: For url ['http', 'archive.apache.org', '/dist/subversion/subversion-1.7.2.tar.bz2', '', '', {}] comparing ['ftp', 'ftp.gnupg.org', '/gcrypt/', '', '', {}] to ['http', 'gulus.USherbrooke.ca', '/pub/appl/GnuPG/', '', '', {}]
| DEBUG: For url ['http', 'archive.apache.org', '/dist/subversion/subversion-1.7.2.tar.bz2', '', '', {}] comparing ['ftp', 'dante.ctan.org', '/tex-archive', '', '', {}] to ['ftp', 'ftp.fu-berlin.de', '/tex/CTAN', '', '', {}]
| DEBUG: For url ['http', 'archive.apache.org', '/dist/subversion/subversion-1.7.2.tar.bz2', '', '', {}] comparing ['ftp', 'dante.ctan.org', '/tex-archive', '', '', {}] to ['http', 'sunsite.sut.ac.jp', '/pub/archives/ctan/', '', '', {}]
| DEBUG: For url ['http', 'archive.apache.org', '/dist/subversion/subversion-1.7.2.tar.bz2', '', '', {}] comparing ['ftp', 'dante.ctan.org', '/tex-archive', '', '', {}] to ['http', 'ctan.unsw.edu.au', '/', '', '', {}]
| DEBUG: For url ['http', 'archive.apache.org', '/dist/subversion/subversion-1.7.2.tar.bz2', '', '', {}] comparing ['ftp', 'ftp.gnutls.org', '/pub/gnutls', '', '', {}] to ['ftp', 'ftp.gnutls.org', '/pub/gnutls/', '', '', {}]
| DEBUG: For url ['http', 'archive.apache.org', '/dist/subversion/subversion-1.7.2.tar.bz2', '', '', {}] comparing ['ftp', 'ftp.gnutls.org', '/pub/gnutls', '', '', {}] to ['ftp', 'ftp.gnupg.org', '/gcrypt/gnutls/', '', '', {}]
| DEBUG: For url ['http', 'archive.apache.org', '/dist/subversion/subversion-1.7.2.tar.bz2', '', '', {}] comparing ['ftp', 'ftp.gnutls.org', '/pub/gnutls', '', '', {}] to ['http', 'www.mirrors.wiretapped.net', '/security/network-security
/gnutls/', '', '', {}]
| DEBUG: For url ['http', 'archive.apache.org', '/dist/subversion/subversion-1.7.2.tar.bz2', '', '', {}] comparing ['ftp', 'ftp.gnutls.org', '/pub/gnutls', '', '', {}] to ['ftp', 'ftp.mirrors.wiretapped.net', '/pub/security/network-secur
ity/gnutls/', '', '', {}]
| DEBUG: For url ['http', 'archive.apache.org', '/dist/subversion/subversion-1.7.2.tar.bz2', '', '', {}] comparing ['ftp', 'ftp.gnutls.org', '/pub/gnutls', '', '', {}] to ['http', 'josefsson.org', '/gnutls/releases/', '', '', {}]
| DEBUG: For url ['http', 'archive.apache.org', '/dist/subversion/subversion-1.7.2.tar.bz2', '', '', {}] comparing ['http', 'ftp.info-zip.org', '/pub/infozip/src/', '', '', {}] to ['http', 'mirror.switch.ch', '/ftp/mirror/infozip/src/',
'', '', {}]
| DEBUG: For url ['http', 'archive.apache.org', '/dist/subversion/subversion-1.7.2.tar.bz2', '', '', {}] comparing ['http', 'ftp.info-zip.org', '/pub/infozip/src/', '', '', {}] to ['ftp', 'sunsite.icm.edu.pl', '/pub/unix/archiving/info-z
ip/src/', '', '', {}]
| DEBUG: For url ['http', 'archive.apache.org', '/dist/subversion/subversion-1.7.2.tar.bz2', '', '', {}] comparing ['ftp', 'lsof.itap.purdue.edu', '/pub/tools/unix/lsof/', '', '', {}] to ['ftp', 'ftp.cerias.purdue.edu', '/pub/tools/unix/
sysutils/lsof/', '', '', {}]
| DEBUG: For url ['http', 'archive.apache.org', '/dist/subversion/subversion-1.7.2.tar.bz2', '', '', {}] comparing ['ftp', 'lsof.itap.purdue.edu', '/pub/tools/unix/lsof/', '', '', {}] to ['ftp', 'ftp.tau.ac.il', '/pub/unix/admin/', '', '
', {}]
| DEBUG: For url ['http', 'archive.apache.org', '/dist/subversion/subversion-1.7.2.tar.bz2', '', '', {}] comparing ['ftp', 'lsof.itap.purdue.edu', '/pub/tools/unix/lsof/', '', '', {}] to ['ftp', 'ftp.cert.dfn.de', '/pub/tools/admin/lsof/
', '', '', {}]
| DEBUG: For url ['http', 'archive.apache.org', '/dist/subversion/subversion-1.7.2.tar.bz2', '', '', {}] comparing ['ftp', 'lsof.itap.purdue.edu', '/pub/tools/unix/lsof/', '', '', {}] to ['ftp', 'ftp.fu-berlin.de', '/pub/unix/tools/lsof/
', '', '', {}]
| DEBUG: For url ['http', 'archive.apache.org', '/dist/subversion/subversion-1.7.2.tar.bz2', '', '', {}] comparing ['ftp', 'lsof.itap.purdue.edu', '/pub/tools/unix/lsof/', '', '', {}] to ['ftp', 'ftp.kaizo.org', '/pub/lsof/', '', '', {}]
| DEBUG: For url ['http', 'archive.apache.org', '/dist/subversion/subversion-1.7.2.tar.bz2', '', '', {}] comparing ['ftp', 'lsof.itap.purdue.edu', '/pub/tools/unix/lsof/', '', '', {}] to ['ftp', 'ftp.tu-darmstadt.de', '/pub/sysadmin/lsof
/', '', '', {}]
| DEBUG: For url ['http', 'archive.apache.org', '/dist/subversion/subversion-1.7.2.tar.bz2', '', '', {}] comparing ['ftp', 'lsof.itap.purdue.edu', '/pub/tools/unix/lsof/', '', '', {}] to ['ftp', 'ftp.tux.org', '/pub/sites/vic.cc.purdue.e
du/tools/unix/lsof/', '', '', {}]
| DEBUG: For url ['http', 'archive.apache.org', '/dist/subversion/subversion-1.7.2.tar.bz2', '', '', {}] comparing ['ftp', 'lsof.itap.purdue.edu', '/pub/tools/unix/lsof/', '', '', {}] to ['ftp', 'gd.tuwien.ac.at', '/utils/admin-tools/lso
f/', '', '', {}]
| DEBUG: For url ['http', 'archive.apache.org', '/dist/subversion/subversion-1.7.2.tar.bz2', '', '', {}] comparing ['ftp', 'lsof.itap.purdue.edu', '/pub/tools/unix/lsof/', '', '', {}] to ['ftp', 'sunsite.ualberta.ca', '/pub/Mirror/lsof/'
, '', '', {}]
| DEBUG: For url ['http', 'archive.apache.org', '/dist/subversion/subversion-1.7.2.tar.bz2', '', '', {}] comparing ['ftp', 'lsof.itap.purdue.edu', '/pub/tools/unix/lsof/', '', '', {}] to ['ftp', 'the.wiretapped.net', '/pub/security/host-
security/lsof/', '', '', {}]
| DEBUG: For url ['http', 'archive.apache.org', '/dist/subversion/subversion-1.7.2.tar.bz2', '', '', {}] comparing ['http', 'www.apache.org', '/dist', '', '', {}] to ['http', 'archive.apache.org', '/dist', '', '', {}]
| DEBUG: For url ['http', 'archive.apache.org', '/dist/subversion/subversion-1.7.2.tar.bz2', '', '', {}] comparing ['ftp', '.*', '/.*', '', '', {}] to ['http', 'build.shr-project.org', '/sources/', '', '', {}]
| DEBUG: For url ['http', 'archive.apache.org', '/dist/subversion/subversion-1.7.2.tar.bz2', '', '', {}] comparing ['https?$', '.*', '/.*', '', '', {}] to ['http', 'build.shr-project.org', '/sources/', '', '', {}]
| DEBUG: For url http://archive.apache.org/dist/subversion/subversion-1.7.2.tar.bz2 returning http://build.shr-project.org/sources/subversion-1.7.2.tar.bz2
| NOTE: fetch http://build.shr-project.org/sources/subversion-1.7.2.tar.bz2
| DEBUG: executing /usr/bin/env wget -t 5 -q --passive-ftp --no-check-certificate -P /OE/shr-core/downloads 'http://build.shr-project.org/sources/subversion-1.7.2.tar.bz2'
| DEBUG: Fetcher accessed the network with the command /usr/bin/env wget -t 5 -q --passive-ftp --no-check-certificate -P /OE/shr-core/downloads 'http://build.shr-project.org/sources/subversion-1.7.2.tar.bz2'
| DEBUG: Running export HOME="/OE"; export GIT_CONFIG="/OE/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/etc/gitconfig"; export PATH="/OE/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/bin/armv5te-oe-linux-gnueabi:/OE/shr-core/tmp-eglibc/
sysroots/spitz/usr/bin/crossscripts:/OE/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/sbin:/OE/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/bin:/OE/shr-core/tmp-eglibc/sysroots/x86_64-linux/sbin:/OE/shr-core/tmp-eglibc/sysroots/x86_64-l
inux//bin:/OE/shr-core/openembedded-core/scripts:/OE/bin:/usr/local/bin:/usr/bin:/bin:/opt/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/4.6.2:/OE/shr-core/openembedded-core/scripts/:/OE/shr-core/openembedded-core/scripts"; /usr/bin/env wget -t 5
-q --passive-ftp --no-check-certificate -P /OE/shr-core/downloads 'http://build.shr-project.org/sources/subversion-1.7.2.tar.bz2'
| DEBUG: Mirror fetch failure for url http://build.shr-project.org/sources/subversion-1.7.2.tar.bz2 (original url: http://archive.apache.org/dist/subversion/subversion-1.7.2.tar.bz2)
| DEBUG: Fetcher failure for URL: 'None'. Fetch command export HOME="/OE"; export GIT_CONFIG="/OE/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/etc/gitconfig"; export PATH="/OE/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/bin/armv5te-oe
-linux-gnueabi:/OE/shr-core/tmp-eglibc/sysroots/spitz/usr/bin/crossscripts:/OE/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/sbin:/OE/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/bin:/OE/shr-core/tmp-eglibc/sysroots/x86_64-linux/sbin:/O
E/shr-core/tmp-eglibc/sysroots/x86_64-linux//bin:/OE/shr-core/openembedded-core/scripts:/OE/bin:/usr/local/bin:/usr/bin:/bin:/opt/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/4.6.2:/OE/shr-core/openembedded-core/scripts/:/OE/shr-core/openembedde
d-core/scripts"; /usr/bin/env wget -t 5 -q --passive-ftp --no-check-certificate -P /OE/shr-core/downloads 'http://build.shr-project.org/sources/subversion-1.7.2.tar.bz2' failed with signal 8, output:
|
| ERROR: Function 'Fetcher failure for URL: 'http://archive.apache.org/dist/subversion/subversion-1.7.2.tar.bz2'. Unable to fetch URL http://archive.apache.org/dist/subversion/subversion-1.7.2.tar.bz2 from any source.' failed
NOTE: package subversion-1.7.2-r0: task do_fetch: Failed
ERROR: Task 4 (openembedded-core/meta/recipes-devtools/subversion/subversion_1.7.2.bb, do_fetch) failed with exit code '1'
ERROR: 'openembedded-core/meta/recipes-devtools/subversion/subversion_1.7.2.bb' failed
--
Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: [PATCH] fetch2: fix Exception parameters when BB_STRICT_CHECKSUM enabled
2011-12-06 10:06 Martin Jansa
@ 2011-12-13 22:11 ` Joshua Lock
0 siblings, 0 replies; 4+ messages in thread
From: Joshua Lock @ 2011-12-13 22:11 UTC (permalink / raw)
To: bitbake-devel
On 06/12/11 02:06, Martin Jansa wrote:
> With today's master I'm still getting rather long error message when just checksums are wrong.
> Do I have something wrong in my configuration?
You don't, for better or worse BitBake appears to dump the tasks log
when the task fails. Unfortunately this means we usually have to scroll
back to see the suggestion of how to rectify the issue.
>
> NOTE: Running task 1 of 12 (ID: 4, openembedded-core/meta/recipes-devtools/subversion/subversion_1.7.2.bb, do_fetch)
> NOTE: package subversion-1.7.2-r0: task do_fetch: Started
> WARNING: Fetcher failure for URL: 'http://archive.apache.org/dist/subversion/subversion-1.7.2.tar.bz2'. Checksum mismatch!
> File: '/OE/shr-core/downloads/subversion-1.7.2.tar.bz2' has md5 checksum 1e5dfffd27be080672e5a042564368a8 when 8a4fa74385df85a9702141b6b68b8307 was expected (from URL: 'http://archive.apache.org/dist/subversion/subversion-1.7.2.tar.bz2')
> File: '/OE/shr-core/downloads/subversion-1.7.2.tar.bz2' has sha256 checksum 7eb3e1ae2b0385e1cc20ca9e1839e0ef0ac98a7455dc52ba4cdf567547bfc517 when d34bde626fac1aa553f5c9aeedf961999a77cc31540ace18da5aeacdd03d6608 was expected (from URL: 'h
> ttp://archive.apache.org/dist/subversion/subversion-1.7.2.tar.bz2')
> ERROR: Function 'Fetcher failure for URL: 'http://archive.apache.org/dist/subversion/subversion-1.7.2.tar.bz2'. Unable to fetch URL http://archive.apache.org/dist/subversion/subversion-1.7.2.tar.bz2 from any source.' failed
> ERROR: Logfile of failure stored in: /OE/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/subversion-1.7.2-r0/temp/log.do_fetch.17472
> Log data follows:
<snip>
> NOTE: package subversion-1.7.2-r0: task do_fetch: Failed
> ERROR: Task 4 (openembedded-core/meta/recipes-devtools/subversion/subversion_1.7.2.bb, do_fetch) failed with exit code '1'
> ERROR: 'openembedded-core/meta/recipes-devtools/subversion/subversion_1.7.2.bb' failed
I agree this is a rather obnoxious error, it'll be a few days or so
before I get round to looking at it so I filed a bug to ensure it
doesn't get forgotten.
http://bugzilla.pokylinux.org/show_bug.cgi?id=1832
Cheers,
Joshua
--
Joshua Lock
Yocto Project "Johannes factotum"
Intel Open Source Technology Centre
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2011-12-13 22:18 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-02 18:58 [PATCH] fetch2: fix Exception parameters when BB_STRICT_CHECKSUM enabled Joshua Lock
2011-12-05 16:18 ` Richard Purdie
-- strict thread matches above, loose matches on Subject: below --
2011-12-06 10:06 Martin Jansa
2011-12-13 22:11 ` Joshua Lock
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.