* SRC_URI fetching problem
@ 2010-03-15 10:13 Steffen Sledz
2010-03-15 10:19 ` Martyn Welch
0 siblings, 1 reply; 6+ messages in thread
From: Steffen Sledz @ 2010-03-15 10:13 UTC (permalink / raw)
To: openembedded-devel
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"
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
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: SRC_URI fetching problem
2010-03-15 10:13 SRC_URI fetching problem Steffen Sledz
@ 2010-03-15 10:19 ` Martyn Welch
2010-03-15 10:21 ` Steffen Sledz
0 siblings, 1 reply; 6+ messages in thread
From: Martyn Welch @ 2010-03-15 10:19 UTC (permalink / raw)
To: openembedded-devel
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
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: SRC_URI fetching problem
2010-03-15 10:19 ` Martyn Welch
@ 2010-03-15 10:21 ` Steffen Sledz
2010-03-15 10:31 ` Thomas Zimmermann
2010-03-15 10:42 ` Martyn Welch
0 siblings, 2 replies; 6+ messages in thread
From: Steffen Sledz @ 2010-03-15 10:21 UTC (permalink / raw)
To: openembedded-devel
Martyn Welch wrote:
> 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.
Nope, same behaviour. :(
BTW: The ";name=" option is not documented in the user manual at
<http://docs.openembedded.org/usermanual/usermanual.html>.
Steffen
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: SRC_URI fetching problem
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
1 sibling, 1 reply; 6+ messages in thread
From: Thomas Zimmermann @ 2010-03-15 10:31 UTC (permalink / raw)
To: openembedded-devel
Am Montag 15 März 2010 11:21:15 schrieb Steffen Sledz:
> Martyn Welch wrote:
> > 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.
>
> Nope, same behaviour. :(
>
> BTW: The ";name=" option is not documented in the user manual at
> <http://docs.openembedded.org/usermanual/usermanual.html>.
>
> Steffen
Use a propper URL for the Download:
http://download.rsyslog.com/rsyslog/rsyslog-5.4.0.tar.gz
Thomas
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: SRC_URI fetching problem
2010-03-15 10:31 ` Thomas Zimmermann
@ 2010-03-15 10:37 ` Steffen Sledz
0 siblings, 0 replies; 6+ messages in thread
From: Steffen Sledz @ 2010-03-15 10:37 UTC (permalink / raw)
To: openembedded-devel
Thomas Zimmermann 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.
>> Nope, same behaviour. :(
>>
>
> Use a propper URL for the Download:
> http://download.rsyslog.com/rsyslog/rsyslog-5.4.0.tar.gz
OK, that's of course the best solution. ;-)
Steffen
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: SRC_URI fetching problem
2010-03-15 10:21 ` Steffen Sledz
2010-03-15 10:31 ` Thomas Zimmermann
@ 2010-03-15 10:42 ` Martyn Welch
1 sibling, 0 replies; 6+ messages in thread
From: Martyn Welch @ 2010-03-15 10:42 UTC (permalink / raw)
To: openembedded-devel
Steffen Sledz wrote:
> Martyn Welch wrote:
>
>> 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.
>>
>
> Nope, same behaviour. :(
>
> BTW: The ";name=" option is not documented in the user manual at
> <http://docs.openembedded.org/usermanual/usermanual.html>.
>
Neither is the relatively new mechanism for incuding the md5sum and
sha256sum in the recipe. Unless you add the "name" parameter (or the
md5sum and sha256sum for that SRC_URI happens to already be in
checksum.ini) you will probably see another failure when it attempts to
validate the archive it has been downloaded. Either way, I think Thomas'
suggestion may be right.
Martyn
--
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
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2010-03-15 10:42 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-15 10:13 SRC_URI fetching problem Steffen Sledz
2010-03-15 10:19 ` Martyn Welch
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
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.