From: "Woolley, Rob" <Rob.Woolley@windriver.com>
To: "bitbake-devel@lists.openembedded.org"
<bitbake-devel@lists.openembedded.org>
Subject: Re: [PATCH] wget: Make wget --passive-ftp option conditional on ftp/ftps
Date: Tue, 9 Apr 2024 18:04:41 +0000 [thread overview]
Message-ID: <PH8PR11MB668449ECD0389A12E7F0CE95E1072@PH8PR11MB6684.namprd11.prod.outlook.com> (raw)
In-Reply-To: <20240409175651.876168-1-rob.woolley@windriver.com>
Here is how I tested it. The libmad package uses an FTP source and --passive-ftp is shown in the call to wget. The lua package uses an HTTP source and no option is used in the call to wget.
$ strace -eexecve -f -s255 bitbake -C fetch libmad 2>&1 > /dev/null | grep wget
[pid 666390] execve("/usr/bin/env", ["/usr/bin/env", "wget", "-t", "2", "-T", "30", "--passive-ftp", "-P", "<BUILDDIR>/downloads", "ftp://ftp.mars.org/pub/mpeg/libmad-0.15.1b.tar.gz", "--progress=dot", "-v"], 0x55725cd864d0 /* 91 vars */) = 0
[pid 666390] execve("/ala-lpggp31/rwoolley/kas/layers/openembedded-core/scripts/wget", ["wget", "-t", "2", "-T", "30", "--passive-ftp", "-P", "<BUILDDIR>/downloads", "ftp://ftp.mars.org/pub/mpeg/libmad-0.15.1b.tar.gz", "--progress=dot", "-v"], 0x7ffd73ce9820 /* 91 vars */) = -1 ENOENT (No such file or directory)
[pid 666390] execve("<BUILDDIR>/tmp-glibc/work/cortexa72-oe-linux/libmad/0.15.1b-r3/recipe-sysroot-native/usr/bin/aarch64-oe-linux/wget", ["wget", "-t", "2", "-T", "30", "--passive-ftp", "-P", "<BUILDDIR>/downloads", "ftp://ftp.mars.org/pub/mpeg/libmad-0.15.1b.tar.gz", "--progress=dot", "-v"], 0x7ffd73ce9820 /* 91 vars */) = -1 ENOENT (No such file or directory)
[pid 666390] execve("<BUILDDIR>/tmp-glibc/work/cortexa72-oe-linux/libmad/0.15.1b-r3/recipe-sysroot/usr/bin/crossscripts/wget", ["wget", "-t", "2", "-T", "30", "--passive-ftp", "-P", "<BUILDDIR>/downloads", "ftp://ftp.mars.org/pub/mpeg/libmad-0.15.1b.tar.gz", "--progress=dot", "-v"], 0x7ffd73ce9820 /* 91 vars */) = -1 ENOENT (No such file or directory)
[pid 666390] execve("<BUILDDIR>/tmp-glibc/work/cortexa72-oe-linux/libmad/0.15.1b-r3/recipe-sysroot-native/usr/sbin/wget", ["wget", "-t", "2", "-T", "30", "--passive-ftp", "-P", "<BUILDDIR>/downloads", "ftp://ftp.mars.org/pub/mpeg/libmad-0.15.1b.tar.gz", "--progress=dot", "-v"], 0x7ffd73ce9820 /* 91 vars */) = -1 ENOENT (No such file or directory)
[pid 666390] execve("<BUILDDIR>/tmp-glibc/work/cortexa72-oe-linux/libmad/0.15.1b-r3/recipe-sysroot-native/usr/bin/wget", ["wget", "-t", "2", "-T", "30", "--passive-ftp", "-P", "<BUILDDIR>/downloads", "ftp://ftp.mars.org/pub/mpeg/libmad-0.15.1b.tar.gz", "--progress=dot", "-v"], 0x7ffd73ce9820 /* 91 vars */) = -1 ENOENT (No such file or directory)
[pid 666390] execve("<BUILDDIR>/tmp-glibc/work/cortexa72-oe-linux/libmad/0.15.1b-r3/recipe-sysroot-native/sbin/wget", ["wget", "-t", "2", "-T", "30", "--passive-ftp", "-P", "<BUILDDIR>/downloads", "ftp://ftp.mars.org/pub/mpeg/libmad-0.15.1b.tar.gz", "--progress=dot", "-v"], 0x7ffd73ce9820 /* 91 vars */) = -1 ENOENT (No such file or directory)
[pid 666390] execve("<BUILDDIR>/tmp-glibc/work/cortexa72-oe-linux/libmad/0.15.1b-r3/recipe-sysroot-native/bin/wget", ["wget", "-t", "2", "-T", "30", "--passive-ftp", "-P", "<BUILDDIR>/downloads", "ftp://ftp.mars.org/pub/mpeg/libmad-0.15.1b.tar.gz", "--progress=dot", "-v"], 0x7ffd73ce9820 /* 91 vars */) = -1 ENOENT (No such file or directory)
[pid 666390] execve("/ala-lpggp31/rwoolley/kas/layers/openembedded-core/bitbake/bin/wget", ["wget", "-t", "2", "-T", "30", "--passive-ftp", "-P", "<BUILDDIR>/downloads", "ftp://ftp.mars.org/pub/mpeg/libmad-0.15.1b.tar.gz", "--progress=dot", "-v"], 0x7ffd73ce9820 /* 91 vars */) = -1 ENOENT (No such file or directory)
[pid 666390] execve("<BUILDDIR>/tmp-glibc/hosttools/wget", ["wget", "-t", "2", "-T", "30", "--passive-ftp", "-P", "<BUILDDIR>/downloads", "ftp://ftp.mars.org/pub/mpeg/libmad-0.15.1b.tar.gz", "--progress=dot", "-v"], 0x7ffd73ce9820 /* 91 vars */) = 0
$ strace -eexecve -f -s255 bitbake -C fetch lua 2>&1 > /dev/null | grep wget
[pid 672596] execve("/usr/bin/env", ["/usr/bin/env", "wget", "-t", "2", "-T", "30", "-P", "/ala-lpggp31/rwoolley/kas/build/downloads", "http://www.lua.org/ftp/lua-5.4.4.tar.gz", "--progress=dot", "-v"], 0x5567da0e86d0 /* 82 vars */) = 0
[pid 672596] execve("/ala-lpggp31/rwoolley/kas/layers/openembedded-core/scripts/wget", ["wget", "-t", "2", "-T", "30", "-P", "/ala-lpggp31/rwoolley/kas/build/downloads", "http://www.lua.org/ftp/lua-5.4.4.tar.gz", "--progress=dot", "-v"], 0x7fff467e4e78 /* 82 vars */) = -1 ENOENT (No such file or directory)
[pid 672596] execve("/ala-lpggp31/rwoolley/kas/build/tmp-glibc/work/cortexa72-oe-linux/lua/5.4.4-r0/recipe-sysroot-native/usr/bin/aarch64-oe-linux/wget", ["wget", "-t", "2", "-T", "30", "-P", "/ala-lpggp31/rwoolley/kas/build/downloads", "http://www.lua.org/ftp/lua-5.4.4.tar.gz", "--progress=dot", "-v"], 0x7fff467e4e78 /* 82 vars */) = -1 ENOENT (No such file or directory)
[pid 672596] execve("/ala-lpggp31/rwoolley/kas/build/tmp-glibc/work/cortexa72-oe-linux/lua/5.4.4-r0/recipe-sysroot/usr/bin/crossscripts/wget", ["wget", "-t", "2", "-T", "30", "-P", "/ala-lpggp31/rwoolley/kas/build/downloads", "http://www.lua.org/ftp/lua-5.4.4.tar.gz", "--progress=dot", "-v"], 0x7fff467e4e78 /* 82 vars */) = -1 ENOENT (No such file or directory)
[pid 672596] execve("/ala-lpggp31/rwoolley/kas/build/tmp-glibc/work/cortexa72-oe-linux/lua/5.4.4-r0/recipe-sysroot-native/usr/sbin/wget", ["wget", "-t", "2", "-T", "30", "-P", "/ala-lpggp31/rwoolley/kas/build/downloads", "http://www.lua.org/ftp/lua-5.4.4.tar.gz", "--progress=dot", "-v"], 0x7fff467e4e78 /* 82 vars */) = -1 ENOENT (No such file or directory)
[pid 672596] execve("/ala-lpggp31/rwoolley/kas/build/tmp-glibc/work/cortexa72-oe-linux/lua/5.4.4-r0/recipe-sysroot-native/usr/bin/wget", ["wget", "-t", "2", "-T", "30", "-P", "/ala-lpggp31/rwoolley/kas/build/downloads", "http://www.lua.org/ftp/lua-5.4.4.tar.gz", "--progress=dot", "-v"], 0x7fff467e4e78 /* 82 vars */) = -1 ENOENT (No such file or directory)
[pid 672596] execve("/ala-lpggp31/rwoolley/kas/build/tmp-glibc/work/cortexa72-oe-linux/lua/5.4.4-r0/recipe-sysroot-native/sbin/wget", ["wget", "-t", "2", "-T", "30", "-P", "/ala-lpggp31/rwoolley/kas/build/downloads", "http://www.lua.org/ftp/lua-5.4.4.tar.gz", "--progress=dot", "-v"], 0x7fff467e4e78 /* 82 vars */) = -1 ENOENT (No such file or directory)
[pid 672596] execve("/ala-lpggp31/rwoolley/kas/build/tmp-glibc/work/cortexa72-oe-linux/lua/5.4.4-r0/recipe-sysroot-native/bin/wget", ["wget", "-t", "2", "-T", "30", "-P", "/ala-lpggp31/rwoolley/kas/build/downloads", "http://www.lua.org/ftp/lua-5.4.4.tar.gz", "--progress=dot", "-v"], 0x7fff467e4e78 /* 82 vars */) = -1 ENOENT (No such file or directory)
[pid 672596] execve("/ala-lpggp31/rwoolley/kas/layers/openembedded-core/bitbake/bin/wget", ["wget", "-t", "2", "-T", "30", "-P", "/ala-lpggp31/rwoolley/kas/build/downloads", "http://www.lua.org/ftp/lua-5.4.4.tar.gz", "--progress=dot", "-v"], 0x7fff467e4e78 /* 82 vars */) = -1 ENOENT (No such file or directory)
[pid 672596] execve("/ala-lpggp31/rwoolley/kas/build/tmp-glibc/hosttools/wget", ["wget", "-t", "2", "-T", "30", "-P", "/ala-lpggp31/rwoolley/kas/build/downloads", "http://www.lua.org/ftp/lua-5.4.4.tar.gz", "--progress=dot", "-v"], 0x7fff467e4e78 /* 82 vars */) = 0
next parent reply other threads:[~2024-04-09 18:04 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20240409175651.876168-1-rob.woolley@windriver.com>
2024-04-09 18:04 ` Woolley, Rob [this message]
2024-04-10 17:50 ` [bitbake-devel] [PATCH] wget: Make wget --passive-ftp option conditional on ftp/ftps Richard Purdie
2024-04-09 17:58 Rob Woolley
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=PH8PR11MB668449ECD0389A12E7F0CE95E1072@PH8PR11MB6684.namprd11.prod.outlook.com \
--to=rob.woolley@windriver.com \
--cc=bitbake-devel@lists.openembedded.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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).