All of lore.kernel.org
 help / color / mirror / Atom feed
From: Martyn Welch <martyn.welch@ge.com>
To: openembedded-devel@lists.openembedded.org
Subject: Re: SRC_URI fetching problem
Date: Mon, 15 Mar 2010 10:19:52 +0000	[thread overview]
Message-ID: <4B9E09C8.2060903@ge.com> (raw)
In-Reply-To: <4B9E0843.30005@dresearch.de>

Steffen Sledz wrote:
> I work at a recipe for rsyslog (http://www.rsyslog.com) and hit a
> problem with the wget fetcher.
>
> The download uri for rsyslog-5.4.0.tar.gz does not contain the archive
> name itself but is http://www.rsyslog.com/Downloads-req-getit-lid-197.phtml.
>
> If i set
>
> SRC_URI = "http://www.rsyslog.com/Downloads-req-getit-lid-197.phtml"
> SRC_URI[archive.md5sum] = "291882229d50496f42bd63174076dd37"
> SRC_URI[archive.sha256sum] = "d9cd21d2fcd45fcae65eb0a51927c40315cca02afdc62478abd950febfcf7228"
>
>   

At a guess you need to add ";name=archive" to the end of your SRC_URI.

Martyn

> the fetch stage results in an error even though the archive is
> downloaded. :(
>
> ---------------------->snip<-----------------------------
>   
>> bitbake -b /home/sledz/work/openembedded/recipes/rsyslog/rsyslog_5.4.0.bb -c fetch
>>     
> NOTE: Preparing runqueue
> NOTE: Executing runqueue
> NOTE: Running task 2 of 2 (ID: 1, /home/sledz/work/openembedded/recipes/rsyslog/rsyslog_5.4.0.bb, do_fetch)
> NOTE: fetch http://www.rsyslog.com/Downloads-req-getit-lid-197.phtml
> --2010-03-15 11:09:05--  http://www.rsyslog.com/Downloads-req-getit-lid-197.phtml
> Resolving www.rsyslog.com... 85.10.198.18
> Connecting to www.rsyslog.com|85.10.198.18|:80... connected.
> HTTP request sent, awaiting response... 302 Found
> Location: http://download.rsyslog.com/rsyslog/rsyslog-5.4.0.tar.gz [following]
> --2010-03-15 11:09:05--  http://download.rsyslog.com/rsyslog/rsyslog-5.4.0.tar.gz
> Resolving download.rsyslog.com... 85.10.198.18
> Reusing existing connection to www.rsyslog.com:80.
> HTTP request sent, awaiting response... 200 OK
> Length: 2124201 (2.0M) [application/x-gzip]
> Saving to: `/home/sledz/sources/rsyslog-5.4.0.tar.gz'
>
> 100%[==================================================================================================================================================================>] 2,124,201   1.19M/s   in 1.7s
>
> 2010-03-15 11:09:07 (1.19 MB/s) - `/home/sledz/sources/rsyslog-5.4.0.tar.gz' saved [2124201/2124201]
>
> NOTE: fetch http://mirrors.openembedded.org//Downloads-req-getit-lid-197.phtml
> --2010-03-15 11:09:07--  http://mirrors.openembedded.org//Downloads-req-getit-lid-197.phtml
> Resolving mirrors.openembedded.org... 82.197.159.157
> Connecting to mirrors.openembedded.org|82.197.159.157|:80... connected.
> HTTP request sent, awaiting response... 404 Not Found
> 2010-03-15 11:09:07 ERROR 404: Not Found.
>
> NOTE: fetch http://sources.openembedded.org//Downloads-req-getit-lid-197.phtml
> --2010-03-15 11:09:07--  http://sources.openembedded.org//Downloads-req-getit-lid-197.phtml
> Resolving sources.openembedded.org... 140.211.169.165
> Connecting to sources.openembedded.org|140.211.169.165|:80... connected.
> HTTP request sent, awaiting response... 404 Not Found
> 2010-03-15 11:09:07 ERROR 404: Not Found.
>
> NOTE: fetch http://www.angstrom-distribution.org/unstable/sources/Downloads-req-getit-lid-197.phtml
> --2010-03-15 11:09:07--  http://www.angstrom-distribution.org/unstable/sources/Downloads-req-getit-lid-197.phtml
> Resolving www.angstrom-distribution.org... 188.40.83.200
> Connecting to www.angstrom-distribution.org|188.40.83.200|:80... connected.
> HTTP request sent, awaiting response... 404 Not Found
> 2010-03-15 11:09:07 ERROR 404: Not Found.
>
> NOTE: Task failed: Fetch failed: http://www.rsyslog.com/Downloads-req-getit-lid-197.phtml
> ERROR: TaskFailed event exception, aborting
> ERROR: Build of /home/sledz/work/openembedded/recipes/rsyslog/rsyslog_5.4.0.bb do_fetch failed
> ERROR: Task 1 (/home/sledz/work/openembedded/recipes/rsyslog/rsyslog_5.4.0.bb, do_fetch) failed
> NOTE: Tasks Summary: Attempted 1 tasks of which 1 didn't need to be rerun and 1 failed.
> ERROR: '/home/sledz/work/openembedded/recipes/rsyslog/rsyslog_5.4.0.bb' failed
> ---------------------->snip<-----------------------------
>
> Steffen
>
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>   


-- 
Martyn Welch (Principal Software Engineer)   |   Registered in England and
GE Intelligent Platforms                     |   Wales (3828642) at 100
T +44(0)127322748                            |   Barbirolli Square, Manchester,
E martyn.welch@ge.com                        |   M2 3AB  VAT:GB 927559189




  reply	other threads:[~2010-03-15 10:19 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-15 10:13 SRC_URI fetching problem Steffen Sledz
2010-03-15 10:19 ` Martyn Welch [this message]
2010-03-15 10:21   ` Steffen Sledz
2010-03-15 10:31     ` Thomas Zimmermann
2010-03-15 10:37       ` Steffen Sledz
2010-03-15 10:42     ` Martyn Welch

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4B9E09C8.2060903@ge.com \
    --to=martyn.welch@ge.com \
    --cc=openembedded-devel@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.