Yocto build attempt has ftp errors

All design tool related questions: compiler, assembler, linker. Embedded programming questions: assembler, C code.

Moderator: nferre

WhoKnew
Posts: 3
Joined: Tue Nov 24, 2020 7:09 pm

Yocto build attempt has ftp errors

Wed Dec 09, 2020 9:35 pm

Hi,
When I try to do a Yocto poky build per the instructions of the readme at

https://github.com/linux4sam/meta-atmel

a fetch attempt for this file fails ftp://www.at91.com/pub/demo/media/egt-media-1.3.tar.gz

In another terminal, I tried ftp www.at91.com and I got "ftp: connect: Connection timed out"

Is it down for everyone or is my build process broken, or?

Thanks for any help.

I was doing the build for my ATSAMA5D27-SOM1-EK1 eval board. I wasn't sure if I should post this here or in the Linux board.
blue_z
Location: USA
Posts: 2154
Joined: Thu Apr 19, 2007 10:15 pm

Re: Yocto build attempt has ftp errors

Wed Dec 09, 2020 10:40 pm

WhoKnew wrote: a fetch attempt for this file fails ftp://www.at91.com/pub/demo/media/egt-media-1.3.tar.gz
"Fails" how?
WhoKnew wrote: In another terminal, I tried ftp www.at91.com and I got "ftp: connect: Connection timed out"

Is it down for everyone or is my build process broken, or?
Works for me.

Regards
WhoKnew
Posts: 3
Joined: Tue Nov 24, 2020 7:09 pm

Re: Yocto build attempt has ftp errors

Wed Dec 09, 2020 11:45 pm

Thanks blue_z.

The failure was that the connection attempt timed out, it appears.

Here's a quote from the build attempt
ERROR: egt-media-1.3-r1 do_fetch: Fetcher failure: Fetch command export PSEUDO_DISABLED=1; unset _PYTHON_SYSCONFIGDATA_NAME; export DBUS_SESSION_BUS_ADDRESS="unix:path=/run/user/1000/bus"; export SSH_AGENT_PID="1190"; export SSH_AUTH_SOCK="/run/user/1000/keyring/ssh"; export PATH="/home/greg/YoctoTest/poky/build-microchip/tmp/sysroots-uninative/x86_64-linux/usr/bin:/home/greg/YoctoTest/poky/scripts:/home/greg/YoctoTest/poky/build-microchip/tmp/work/cortexa5t2hf-neon-vfpv4-poky-linux-gnueabi/egt-media/1.3-r1/recipe-sysroot-native/usr/bin/arm-poky-linux-gnueabi:/home/greg/YoctoTest/poky/build-microchip/tmp/work/cortexa5t2hf-neon-vfpv4-poky-linux-gnueabi/egt-media/1.3-r1/recipe-sysroot/usr/bin/crossscripts:/home/greg/YoctoTest/poky/build-microchip/tmp/work/cortexa5t2hf-neon-vfpv4-poky-linux-gnueabi/egt-media/1.3-r1/recipe-sysroot-native/usr/sbin:/home/greg/YoctoTest/poky/build-microchip/tmp/work/cortexa5t2hf-neon-vfpv4-poky-linux-gnueabi/egt-media/1.3-r1/recipe-sysroot-native/usr/bin:/home/greg/YoctoTest/poky/build-microchip/tmp/work/cortexa5t2hf-neon-vfpv4-poky-linux-gnueabi/egt-media/1.3-r1/recipe-sysroot-native/sbin:/home/greg/YoctoTest/poky/build-microchip/tmp/work/cortexa5t2hf-neon-vfpv4-poky-linux-gnueabi/egt-media/1.3-r1/recipe-sysroot-native/bin:/home/greg/YoctoTest/poky/bitbake/bin:/home/greg/YoctoTest/poky/build-microchip/tmp/hosttools"; export HOME="/home/greg"; /usr/bin/env wget -t 2 -T 30 --passive-ftp --no-check-certificate -P /home/greg/YoctoTest/poky/build-microchip/downloads 'ftp://www.at91.com/pub/demo/media/egt-media-1.3.tar.gz' --progress=dot -v failed with exit code 4, output:
--2020-12-09 17:48:29-- ftp://www.at91.com/pub/demo/media/egt-media-1.3.tar.gz
=> ‘/home/greg/YoctoTest/poky/build-microchip/downloads/egt-media-1.3.tar.gz’
Resolving www.at91.com (www.at91.com)... 47.91.76.65
Connecting to www.at91.com (www.at91.com)|47.91.76.65|:21... failed: Connection timed out.
Retrying.

--2020-12-09 17:49:05-- ftp://www.at91.com/pub/demo/media/egt-media-1.3.tar.gz
(try: 2) => ‘/home/greg/YoctoTest/poky/build-microchip/downloads/egt-media-1.3.tar.gz’
Connecting to www.at91.com (www.at91.com)|47.91.76.65|:21... failed: Connection timed out.
Giving up.


ERROR: egt-media-1.3-r1 do_fetch: Fetcher failure for URL: 'ftp://www.at91.com/pub/demo/media/egt-media-1.3.tar.gz'. Unable to fetch URL from any source.
ERROR: Logfile of failure stored in: /home/greg/YoctoTest/poky/build-microchip/tmp/work/cortexa5t2hf-neon-vfpv4-poky-linux-gnueabi/egt-media/1.3-r1/temp/log.do_fetch.3127140
ERROR: Task (/home/greg/YoctoTest/poky/../meta-atmel/recipes-egt/apps/egt-media_1.3.bb:do_fetch) failed with exit code '1'
WhoKnew
Posts: 3
Joined: Tue Nov 24, 2020 7:09 pm

Re: Yocto build attempt has ftp errors

Wed Dec 09, 2020 11:52 pm

In a terminal just now, I tried again with ftp www.at91.com and the connection timed out.

It just occurred to me that this might be a Win 10 security or firewall thing. The build machine is actually a VirtualBox Ubuntu instance running on a Win 10 laptop that's getting it's internet from a Win 10 desktop via Win 10 mobile hotspot. Somewhere along the way there may be a port that's blocked or something.
blue_z
Location: USA
Posts: 2154
Joined: Thu Apr 19, 2007 10:15 pm

Re: Yocto build attempt has ftp errors

Thu Dec 10, 2020 1:06 am

Still accessible as of a few minutes ago.

Code: Select all

$ ftp www.at91.com
Connected to at91.com.
220 (vsFTPd 3.0.3)
Name (www.at91.com:xxxxxxxx): anonymous
230 Login successful.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> exit
221 Goodbye.
$
Regards

Return to “Development Tools”

Who is online

Users browsing this forum: No registered users and 2 guests