Re: [yocto] Getting a list of recipes which accessed network during do_fetch
You can set BB_NO_NETWORK and check what fails to build from local DL_DIR. On Thu, May 23, 2024 at 11:46 AM gauravpathak129 via lists.yoctoproject.org wrote: > > Hello Experts, > > I am wondering if there is any built in "Yocto way" of listing all the > recipes/packages which accessed network while fetching the source code during > do_fetch(). > > Also, would like to list the recipes/packages which got its source code from > local file system and didn't accessed the network. > > I did a grep for "Trying Upstream" and "Fetcher accessed the network" and I > indeed got the output something like > > tmp-glibc/work/x86_64-linux/python3-flit-core-native/3.7.1-r0/temp/log.do_fetch.80085:34:DEBUG: > Trying Upstream > tmp-glibc/work/x86_64-linux/python3-flit-core-native/3.7.1-r0/temp/log.do_fetch.80085:36:DEBUG: > Fetcher accessed the network with the command /usr/bin/env wget -t 2 -T 30 > --passive-ftp -P /home/gaurav/uno_yocto_cache/downloads > 'https://files.pythonhosted.org/packages/source/f/flit/flit-3.7.1.tar.gz' > tmp-glibc/work/x86_64-linux/unifdef-native/2.12-r0/temp/log.do_fetch.79254:34:DEBUG: > Trying Upstream > tmp-glibc/work/x86_64-linux/unifdef-native/2.12-r0/temp/log.do_fetch.79254:36:DEBUG: > Fetcher accessed the network with the command /usr/bin/env wget -t 2 -T 30 > --passive-ftp -P /home/gaurav/uno_yocto_cache/downloads > 'http://dotat.at/prog/unifdef/unifdef-2.12.tar.xz' > tmp-glibc/work/x86_64-linux/unifdef-native/2.12-r0/temp/log.do_fetch.79254:324:DEBUG: > Fetcher accessed the network with the command /usr/bin/env wget -t 2 -T 30 > --passive-ftp -P /home/gaurav/uno_yocto_cache/downloads > 'http://downloads.yoctoproject.org/mirror/sources/unifdef-2.12.tar.xz' > tmp-glibc/work/x86_64-linux/pseudo-native/1.9.0+gitAUTOINC+c9670c27ff-r0/temp/log.do_fetch.86477:102:DEBUG: > Trying Upstream > tmp-glibc/work/x86_64-linux/pseudo-native/1.9.0+gitAUTOINC+c9670c27ff-r0/temp/log.do_fetch.86477:104:DEBUG: > Fetcher accessed the network with the command /usr/bin/env wget -t 2 -T 30 > --passive-ftp -P /home/gaurav/uno_yocto_cache/downloads > 'http://downloads.yoctoproject.org/mirror/sources/pseudo-prebuilt-2.33.tar.xz' > tmp-glibc/work/x86_64-linux/python3-installer-native/0.5.1-r0/temp/log.do_fetch.82362:34:DEBUG: > Trying Upstream > > But I would like to list only the package name such as unifdef-native > python3-installer-native. > > > > > > -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#63180): https://lists.yoctoproject.org/g/yocto/message/63180 Mute This Topic: https://lists.yoctoproject.org/mt/106259482/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
Re: [yocto] Getting a list of recipes which accessed network during do_fetch
I wonder what is the use case? Perhaps there's a way to achieve that in some other way altogether? Alex On Thu, 23 May 2024 at 11:46, gauravpathak129 via lists.yoctoproject.org wrote: > > Hello Experts, > > I am wondering if there is any built in "Yocto way" of listing all the > recipes/packages which accessed network while fetching the source code during > do_fetch(). > > Also, would like to list the recipes/packages which got its source code from > local file system and didn't accessed the network. > > I did a grep for "Trying Upstream" and "Fetcher accessed the network" and I > indeed got the output something like > > tmp-glibc/work/x86_64-linux/python3-flit-core-native/3.7.1-r0/temp/log.do_fetch.80085:34:DEBUG: > Trying Upstream > tmp-glibc/work/x86_64-linux/python3-flit-core-native/3.7.1-r0/temp/log.do_fetch.80085:36:DEBUG: > Fetcher accessed the network with the command /usr/bin/env wget -t 2 -T 30 > --passive-ftp -P /home/gaurav/uno_yocto_cache/downloads > 'https://files.pythonhosted.org/packages/source/f/flit/flit-3.7.1.tar.gz' > tmp-glibc/work/x86_64-linux/unifdef-native/2.12-r0/temp/log.do_fetch.79254:34:DEBUG: > Trying Upstream > tmp-glibc/work/x86_64-linux/unifdef-native/2.12-r0/temp/log.do_fetch.79254:36:DEBUG: > Fetcher accessed the network with the command /usr/bin/env wget -t 2 -T 30 > --passive-ftp -P /home/gaurav/uno_yocto_cache/downloads > 'http://dotat.at/prog/unifdef/unifdef-2.12.tar.xz' > tmp-glibc/work/x86_64-linux/unifdef-native/2.12-r0/temp/log.do_fetch.79254:324:DEBUG: > Fetcher accessed the network with the command /usr/bin/env wget -t 2 -T 30 > --passive-ftp -P /home/gaurav/uno_yocto_cache/downloads > 'http://downloads.yoctoproject.org/mirror/sources/unifdef-2.12.tar.xz' > tmp-glibc/work/x86_64-linux/pseudo-native/1.9.0+gitAUTOINC+c9670c27ff-r0/temp/log.do_fetch.86477:102:DEBUG: > Trying Upstream > tmp-glibc/work/x86_64-linux/pseudo-native/1.9.0+gitAUTOINC+c9670c27ff-r0/temp/log.do_fetch.86477:104:DEBUG: > Fetcher accessed the network with the command /usr/bin/env wget -t 2 -T 30 > --passive-ftp -P /home/gaurav/uno_yocto_cache/downloads > 'http://downloads.yoctoproject.org/mirror/sources/pseudo-prebuilt-2.33.tar.xz' > tmp-glibc/work/x86_64-linux/python3-installer-native/0.5.1-r0/temp/log.do_fetch.82362:34:DEBUG: > Trying Upstream > > But I would like to list only the package name such as unifdef-native > python3-installer-native. > > > > > > -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#63179): https://lists.yoctoproject.org/g/yocto/message/63179 Mute This Topic: https://lists.yoctoproject.org/mt/106259482/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[yocto] Getting a list of recipes which accessed network during do_fetch
Hello Experts, I am wondering if there is any built in "Yocto way" of listing all the recipes/packages which accessed network while fetching the source code during do_fetch(). Also, would like to list the recipes/packages which got its source code from local file system and didn't accessed the network. I did a grep for "Trying Upstream" and "Fetcher accessed the network" and I indeed got the output something like tmp-glibc/work/x86_64-linux/python3-flit-core-native/3.7.1-r0/temp/log.do_fetch.80085:34:DEBUG: Trying Upstream tmp-glibc/work/x86_64-linux/python3-flit-core-native/3.7.1-r0/temp/log.do_fetch.80085:36:DEBUG: Fetcher accessed the network with the command /usr/bin/env wget -t 2 -T 30 --passive-ftp -P /home/gaurav/uno_yocto_cache/downloads 'https://files.pythonhosted.org/packages/source/f/flit/flit-3.7.1.tar.gz' tmp-glibc/work/x86_64-linux/unifdef-native/2.12-r0/temp/log.do_fetch.79254:34:DEBUG: Trying Upstream tmp-glibc/work/x86_64-linux/unifdef-native/2.12-r0/temp/log.do_fetch.79254:36:DEBUG: Fetcher accessed the network with the command /usr/bin/env wget -t 2 -T 30 --passive-ftp -P /home/gaurav/uno_yocto_cache/downloads 'http://dotat.at/prog/unifdef/unifdef-2.12.tar.xz' tmp-glibc/work/x86_64-linux/unifdef-native/2.12-r0/temp/log.do_fetch.79254:324:DEBUG: Fetcher accessed the network with the command /usr/bin/env wget -t 2 -T 30 --passive-ftp -P /home/gaurav/uno_yocto_cache/downloads 'http://downloads.yoctoproject.org/mirror/sources/unifdef-2.12.tar.xz' tmp-glibc/work/x86_64-linux/pseudo-native/1.9.0+gitAUTOINC+c9670c27ff-r0/temp/log.do_fetch.86477:102:DEBUG: Trying Upstream tmp-glibc/work/x86_64-linux/pseudo-native/1.9.0+gitAUTOINC+c9670c27ff-r0/temp/log.do_fetch.86477:104:DEBUG: Fetcher accessed the network with the command /usr/bin/env wget -t 2 -T 30 --passive-ftp -P /home/gaurav/uno_yocto_cache/downloads 'http://downloads.yoctoproject.org/mirror/sources/pseudo-prebuilt-2.33.tar.xz' tmp-glibc/work/x86_64-linux/python3-installer-native/0.5.1-r0/temp/log.do_fetch.82362:34:DEBUG: Trying Upstream But I would like to list only the package name such as unifdef-native python3-installer-native. -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#63178): https://lists.yoctoproject.org/g/yocto/message/63178 Mute This Topic: https://lists.yoctoproject.org/mt/106259482/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-