[oe] Package fetch error

Charlton, John john.charlton at tycoelectronics.com
Mon Jan 26 14:00:15 UTC 2009


Jeremy,

Thank you for the tips.  If I download and create the md5 checksum files for the two problem files 
http://www.angstrom-distribution.org/unstable/sources/jasper-1.900.1.zip
And
http://www.angstrom-distribution.org/unstable/sources/libXcursor-1.1.9.tar.bz2

bitbake x11-image gets past those files but has the same problem fetching different files.  Here are the results from the fetch command you asked me to try (if I use the named url as the second try it works whereas if I use the IP number it fails):

[us075929 at rum openembedded]$ /usr/bin/env wget -t 5 --passive-ftp -P /home/us075929/projects/oe/openembedded/packages/jpeg/jasper_1.900.1.bb http://85.214.40.226/unstable/sources/jasper-1.900.1.zip
--2009-01-26 08:21:12--  http://85.214.40.226/unstable/sources/jasper-1.900.1.zip
Resolving proxydirect.tycoelectronics.com... 163.241.128.137
Connecting to proxydirect.tycoelectronics.com|163.241.128.137|:80... connected.
Proxy request sent, awaiting response... 404 Not Found
2009-01-26 08:21:13 ERROR 404: Not Found.

[us075929 at rum openembedded]$ /usr/bin/env wget -t 5 --passive-ftp -P /home/us075929/projects/oe/openembedded/packages/jpeg/jasper_1.900.1.bb http://www.angstrom-distribution.org/unstable/sources/jasper-1.900.1.zip
--2009-01-26 08:22:16--  http://www.angstrom-distribution.org/unstable/sources/jasper-1.900.1.zip
Resolving proxydirect.tycoelectronics.com... 163.241.128.137
Connecting to proxydirect.tycoelectronics.com|163.241.128.137|:80... connected.
Proxy request sent, awaiting response... 200 OK
Length: 1415752 (1.3M) [application/zip]
Saving to: `/home/us075929/projects/oe/openembedded/packages/jpeg/jasper_1.900.1.bb/jasper-1.900.1.zip'

100%[============================================================>] 1,415,752   82.5K/s   in 18s

2009-01-26 08:22:35 (76.4 KB/s) - `/home/us075929/projects/oe/openembedded/packages/jpeg/jasper_1.900.1.bb/jasper-1.900.1.zip' saved [1415752/1415752]


I don't know where the IP number gets substituted for the url in the fetch command but that seems to be the problem.  It may have something to do with my proxydirect configuration though I have not changed that and it has worked up until now.

--John

-----Original Message-----
From: openembedded-devel-bounces at lists.openembedded.org [mailto:openembedded-devel-bounces at lists.openembedded.org] On Behalf Of Jeremy Williams
Sent: Friday, January 23, 2009 6:12 PM
To: openembedded-devel at openembedded.org
Subject: Re: [oe] Package fetch error

Charlton, John <john.charlton <at> tycoelectronics.com> writes:

> 
> I am trying to resolve a problem with bitbake package fetch.  I have a 
> proxy
server and the proxydirect server
> works for bitbake up to the libXCursor-1.1.9.tar.bz2 fetch then it 
> times out
after resolving the
> www.angstrom-distribution.org to the IP address 85.214.40.226:

There are two sites hosted at that IP:

>nslookup linux-to-go.org

Non-authoritative answer:
Name:    linux-to-go.org
Address:  85.214.40.226


>nslookup angstrom-distribution.org

Non-authoritative answer:
Name:    angstrom-distribution.org
Address:  85.214.40.226

If you to http://85.214.40.226 in your browser, the default site is linux-to-go.org, which caused the failure when retrieving by IP.  This means when retrieving via bitbake, for some reason the host headers are not being sent.

The fetch command for http:// is
"/usr/bin/env wget -t 5 --passive-ftp -P {DEST_DIR} {url}"

If you issue this from the command line using the www.angstrom-distribution.org url does it fail?

-jeremy





_______________________________________________
Openembedded-devel mailing list
Openembedded-devel at lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel




More information about the Openembedded-devel mailing list