[OE-core] [PATCH] bitbake.conf:update FETCHCMD_wget with --no-passive-ftp

Liu Haitao haitao.liu at windriver.com
Fri Feb 22 06:03:00 UTC 2019


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.

Signed-off-by: Liu Haitao <haitao.liu at windriver.com>
---
 meta/conf/bitbake.conf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
index 435646a946..357de41780 100644
--- a/meta/conf/bitbake.conf
+++ b/meta/conf/bitbake.conf
@@ -666,7 +666,7 @@ SRC_URI[vardepsexclude] += "\
 
 FETCHCMD_svn = "/usr/bin/env svn --non-interactive --trust-server-cert"
 FETCHCMD_cvs = "/usr/bin/env cvs"
-FETCHCMD_wget = "/usr/bin/env wget -t 2 -T 30 --passive-ftp --no-check-certificate"
+FETCHCMD_wget = "/usr/bin/env wget -t 2 -T 30 --no-passive-ftp --no-check-certificate"
 FETCHCMD_bzr = "/usr/bin/env bzr"
 FETCHCMD_hg = "/usr/bin/env hg"
 
-- 
2.17.1



More information about the Openembedded-core mailing list