Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Haitaoliu <Haitao.Liu@windriver.com>
To: Richard Purdie <richard.purdie@linuxfoundation.org>,
	<openembedded-core@lists.openembedded.org>
Subject: Re: [PATCH] bitbake.conf:update FETCHCMD_wget with --no-passive-ftp
Date: Fri, 22 Feb 2019 16:15:54 +0800	[thread overview]
Message-ID: <fcde04af-b11c-c6a1-96a8-e392f6433cc9@windriver.com> (raw)
In-Reply-To: <939bc06d030a91fc7f2376171997fdd010124b5d.camel@linuxfoundation.org>

[-- Attachment #1: Type: text/plain, Size: 1560 bytes --]


On 2019/2/22 下午3:17, Richard Purdie wrote:
> On Fri, 2019-02-22 at 14:03 +0800, Liu Haitao wrote:
>> When fetching the source of alsa it would trigger the following
>> WARNING:
>>
>>> WARNING: alsa-lib-1.1.6-r0 do_fetch: Failed to fetch URL
>>> ftp://ftp.alsa-project.org/pub/lib/alsa-lib-1.1.6.tar.bz2,
>>> attempting MIRRORS if
>>> available
>> Bitbake would use wget with "--no-passive" to fetch the source.
>> Behind most firewall and NAT
>> configurations it could work well.However, in some rare firewall
>> configurations,
>> active FTP actually works when passive FTP doesn't.
>>
>> So disable the use of the passive FTP transfer mode for wget.
> As you say, its much more likely that passive ftp would work than
> active ftp, so this change would make things worse for more people?
>
This change maybe make some trouble for others. But I have not found any 
errors  since  applying the change into the latest yocto.

Each of two mode(active and passive) has its own advantages and 
disadvantages.  Now most servers and firewalls support passive ftp,

  while the ALSA is an exception that does not support it.

> We're trying to get away from having ftp urls in oe-core at all so
> hopefully this isn't a big deal.

Thanks for your reminding, I could  try to use https url instead of ftp 
url in alsa-lib_1.1.6.bb.  The alsa also provides the HTTP server for 
downing the packages. 
"https://www.alsa-project.org/files/pub/lib/alsa-lib-1.1.6.tar.bz2"

thanks,

haitao

> Cheers,
>
> Richard
>
>

[-- Attachment #2: Type: text/html, Size: 3265 bytes --]

      reply	other threads:[~2019-02-22  8:19 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-02-22  6:03 [PATCH] bitbake.conf:update FETCHCMD_wget with --no-passive-ftp Liu Haitao
2019-02-22  7:17 ` Richard Purdie
2019-02-22  8:15   ` Haitaoliu [this message]

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=fcde04af-b11c-c6a1-96a8-e392f6433cc9@windriver.com \
    --to=haitao.liu@windriver.com \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=richard.purdie@linuxfoundation.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox