From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from exprod5og101.obsmtp.com ([64.18.0.141]) by linuxtogo.org with esmtp (Exim 4.69) (envelope-from ) id 1Nr7Og-0001sY-Td for openembedded-devel@lists.openembedded.org; Mon, 15 Mar 2010 11:19:48 +0100 Received: from source ([12.43.191.1]) (using TLSv1) by exprod5ob101.postini.com ([64.18.4.12]) with SMTP ID DSNKS54JCfrisKUUin9gp71pz4djRrnYn1qR@postini.com; Mon, 15 Mar 2010 03:16:43 PDT Received: from unknown (HELO cinmlip01.e2k.ad.ge.com) ([3.159.213.48]) by Alpmlip06.e2k.ad.ge.com with ESMTP; 15 Mar 2010 06:16:40 -0400 Received: from es-j7s4d2j.amer.consind.ge.com (HELO [3.138.54.92]) ([3.138.54.92]) by cinmlip01.e2k.ad.ge.com with ESMTP; 15 Mar 2010 06:16:39 -0400 Message-ID: <4B9E09C8.2060903@ge.com> Date: Mon, 15 Mar 2010 10:19:52 +0000 From: Martyn Welch User-Agent: Thunderbird 2.0.0.23 (X11/20090817) MIME-Version: 1.0 To: openembedded-devel@lists.openembedded.org References: <4B9E0843.30005@dresearch.de> In-Reply-To: <4B9E0843.30005@dresearch.de> X-SA-Exim-Connect-IP: 64.18.0.141 X-SA-Exim-Mail-From: martyn.welch@ge.com X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on discovery X-Spam-Level: X-Spam-Status: No, score=-6.6 required=5.0 tests=AWL,BAYES_00, RCVD_IN_DNSWL_MED autolearn=ham version=3.2.5 X-SA-Exim-Version: 4.2.1 (built Wed, 25 Jun 2008 17:20:07 +0000) X-SA-Exim-Scanned: Yes (on linuxtogo.org) Subject: Re: SRC_URI fetching problem X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: openembedded-devel@lists.openembedded.org List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Mar 2010 10:19:48 -0000 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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