Skip to contentSkip to conversation

Basic failures building 1st Yocto Project and Yocto Raspberry Pi

DISCUSSION David Evans 5 participants 8 messages Jan 2, 2013 – Jan 5, 2013

lore
Share & tools
lore
#0 lore raw

Dear Sirs,

I apologise for asking this question to everyone, but I can't figure out who best to direct this question to.

When I build the standard Yocto Project in the Quick-Start guide I get the following Warnings.

WARNING: Failed to fetch URL http://www.apache.org/dist/subversion/subversion-1.7.6.tar.bz2, attempting MIRRORS if available
WARNING: Failed to fetch URL ftp://ftp.ossp.org/pkg/lib/uuid/uuid-1.6.2.tar.gz, attempting MIRRORS if available
WARNING: Failed to fetch URL http://downloads.sourceforge.net/project/libpng/libpng12/1.2.49/libpng-1.2.49.tar.bz2, attempting MIRRORS if available

As a complete Newbie to Yocto, having the Quick-Start fail like this is killing me, as I have no stable example upon which to build my under standing.

My ultimate goal is to run the Raspberry Pi project as outlined at http://www.pimpmypi.com/blog/blogPost.php?blogPostID=7, but I am seeing the same do_fetch failures as those reported by Ed Nelson at https://lists.yoctoproject.org/pipermail/yocto/2013-January/013571.html.

Any help will be much appreciated.

Regards,

David

#1 lore raw
Quoted 10 lines · David Evans

Dear Sirs,

I apologise for asking this question to everyone, but I can't figure out who best to direct this question to.

When I build the standard Yocto Project in the Quick-Start guide I get the following Warnings.

WARNING: Failed to fetch URL http://www.apache.org/dist/subversion/subversion-1.7.6.tar.bz2, attempting MIRRORS if available
WARNING: Failed to fetch URL ftp://ftp.ossp.org/pkg/lib/uuid/uuid-1.6.2.tar.gz, attempting MIRRORS if available
WARNING: Failed to fetch URL http://downloads.sourceforge.net/project/libpng/libpng12/1.2.49/libpng-1.2.49.tar.bz2, attempting MIRRORS if available

Quoted 6 lines

As a complete Newbie to Yocto, having the Quick-Start fail like this is killing me, as I have no stable example upon which to build my under standing.

My ultimate goal is to run the Raspberry Pi project as outlined at http://www.pimpmypi.com/blog/blogPost.php?blogPostID=7, but I am seeing the same do_fetch failures as those reported by Ed Nelson at https://lists.yoctoproject.org/pipermail/yocto/2013-January/013571.html.

Any help will be much appreciated.

What version of Yocto (OE-core) do you have? Those are pretty old recipes and the corresponding tarballs seem to no longer be available. If you update your repositories, you may get farther along.

n.b. when you run bitbake, you'll see a summary of what repositories you are using. Posting that would help a lot.

Signature · 4 lines
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------
#2 lore raw
Quoted 16 lines · Gary Thomas
Quoted 15 lines · David Evans

Dear Sirs,

I apologise for asking this question to everyone, but I can't figure out who best to direct this question to.

When I build the standard Yocto Project in the Quick-Start guide I get the following Warnings.

WARNING: Failed to fetch URL http://www.apache.org/dist/subversion/subversion-1.7.6.tar.bz2, attempting MIRRORS if available
WARNING: Failed to fetch URL ftp://ftp.ossp.org/pkg/lib/uuid/uuid-1.6.2.tar.gz, attempting MIRRORS if available
WARNING: Failed to fetch URL http://downloads.sourceforge.net/project/libpng/libpng12/1.2.49/libpng-1.2.49.tar.bz2, attempting MIRRORS if available

As a complete Newbie to Yocto, having the Quick-Start fail like this is killing me, as I have no stable example upon which to build my under standing.

My ultimate goal is to run the Raspberry Pi project as outlined at http://www.pimpmypi.com/blog/blogPost.php?blogPostID=7, but I am seeing the same do_fetch failures as those reported by Ed Nelson at https://lists.yoctoproject.org/pipermail/yocto/2013-January/013571.html.

Quoted 9 lines
Quoted 1 line

Any help will be much appreciated.

What version of Yocto (OE-core) do you have? Those are pretty old recipes and the corresponding tarballs seem to no longer be available. If you update your repositories, you may get farther along.

n.b. when you run bitbake, you'll see a summary of what repositories you are using. Posting that would help a lot.

fwiw I followed these instructions over the Christmas period and they worked well for me to build a working RPi image.

You do see warnings from time to time as the build tool fails to find a primary source, but usually it falls back to a mirror (although it doesn't seem to tell you that) and works.

Have you tried adding a few -vv 's to the bitbake command line to give you some more information about what's going on?

Cheers,

Alex

#3 lore raw
In reply to Gary Thomas
Quoted 9 lines · Gary Thomas
Quoted 8 lines · David Evans

Dear Sirs,

I apologise for asking this question to everyone, but I can't figure out who best to direct this question to.

When I build the standard Yocto Project in the Quick-Start guide I get the following Warnings.

Quoted 10 lines
Quoted 10 lines

WARNING: Failed to fetch URL
http://www.apache.org/dist/subversion/subversion-1.7.6.tar.bz2,
attempting MIRRORS if available
WARNING: Failed to fetch URL ftp://ftp.ossp.org/pkg/lib/uuid/uuid-1.6.2.tar.gz, attempting MIRRORS if available
WARNING: Failed to fetch URL
http://downloads.sourceforge.net/project/libpng/libpng12/1.2.49/libpng-1.2.49.tar.bz2,
attempting MIRRORS if available

Notice that these are WARNINGS, bitbake is doing the right thing and falling back to the Yocto Project Mirrors where those older tarballs do exist.

Quoted 4 lines
Quoted 4 lines

As a complete Newbie to Yocto, having the Quick-Start fail like this is killing me, as I have no stable example upon which to build my under standing.

Is your build failing beyond this? Are you able to create an image? I recently built RPi, myself and it worked OK for me, both images.

If you have other failures please let us know.

Quoted 6 lines
Quoted 6 lines

My ultimate goal is to run the Raspberry Pi project as outlined at
http://www.pimpmypi.com/blog/blogPost.php?blogPostID=7, but I am seeing the same do_fetch failures as those
reported by Ed Nelson at
https://lists.yoctoproject.org/pipermail/yocto/2013-January/013571.html.

Quoted 6 lines
Quoted 1 line

Any help will be much appreciated.

What version of Yocto (OE-core) do you have? Those are pretty old recipes and the corresponding tarballs seem to no longer be available. If you update your repositories, you may get farther along.

Both Openembedded and the Yocto Project keep mirrors of the older tarballs since as you say some upstreams remove older tarballs from their sites.

Sau!

Quoted 3 lines

n.b. when you run bitbake, you'll see a summary of what repositories you are using. Posting that would help a lot.

#4 lore raw
In reply to David Evans
Quoted 19 lines · David Evans

Dear Sirs,

I apologise for asking this question to everyone, but I can't figure out who best to direct this question to.

When I build the standard Yocto Project in the Quick-Start guide I get the following Warnings.

WARNING: Failed to fetch URL http://www.apache.org/dist/subversion/subversion-1.7.6.tar.bz2, attempting MIRRORS if available
WARNING: Failed to fetch URL ftp://ftp.ossp.org/pkg/lib/uuid/uuid-1.6.2.tar.gz, attempting MIRRORS if available
WARNING: Failed to fetch URL http://downloads.sourceforge.net/project/libpng/libpng12/1.2.49/libpng-1.2.49.tar.bz2, attempting MIRRORS if available

As a complete Newbie to Yocto, having the Quick-Start fail like this is killing me, as I have no stable example upon which to build my under standing.

My ultimate goal is to run the Raspberry Pi project as outlined at http://www.pimpmypi.com/blog/blogPost.php?blogPostID=7, but I am seeing the same do_fetch failures as those reported by Ed Nelson at https://lists.yoctoproject.org/pipermail/yocto/2013-January/013571.html.

Any help will be much appreciated.

Regards,

Quoted 7 lines

David

_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

I will try to get round to updating this tutorial soon; as it has become a bit dated - however as Alex mentions it should still work fine albeit with a few warnings due to unavailable sources.

It should just be a matter of changing a few git revisions, and tweaking the wording a bit to involve the new meta-yocto, meta-yocto-bsp split. If anyone wishes to step up to the plate the source for this blog post is available at [1] and I will happily accept patches.

Cheers,
Jack.

[1] https://github.com/CommunistCode/PimpMyPi-Community-Blog-Posts

Signature · 5 lines
  Jack Mitchell ([email protected])
  Embedded Systems Engineer
  http://www.embed.me.uk

--
#5 lore raw
Quoted 50 lines · Jack Mitchell
Quoted 32 lines · David Evans

Dear Sirs,

I apologise for asking this question to everyone, but I can't figure out who best to direct this question to.

When I build the standard Yocto Project in the Quick-Start guide I get the following Warnings.

WARNING: Failed to fetch URL
http://www.apache.org/dist/subversion/subversion-1.7.6.tar.bz2,
attempting MIRRORS if available
WARNING: Failed to fetch URL ftp://ftp.ossp.org/pkg/lib/uuid/uuid-1.6.2.tar.gz, attempting MIRRORS if available
WARNING: Failed to fetch URL
http://downloads.sourceforge.net/project/libpng/libpng12/1.2.49/libpng-1.2.49.tar.bz2,
attempting MIRRORS if available

As a complete Newbie to Yocto, having the Quick-Start fail like this is killing me, as I have no stable example upon which to build my under standing.

My ultimate goal is to run the Raspberry Pi project as outlined at
http://www.pimpmypi.com/blog/blogPost.php?blogPostID=7, but I am seeing the same do_fetch failures as those reported by Ed Nelson at
https://lists.yoctoproject.org/pipermail/yocto/2013-January/013571.html.

Any help will be much appreciated.

Regards,

Quoted 7 lines

David

_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

I will try to get round to updating this tutorial soon; as it has become a bit dated - however as Alex mentions it should still work fine albeit with a few warnings due to unavailable sources.

It should just be a matter of changing a few git revisions, and tweaking the wording a bit to involve the new meta-yocto, meta-yocto-bsp split. If anyone wishes to step up to the plate the source for this blog post is available at [1] and I will happily accept patches.

Quoted 5 lines

Cheers,
Jack.

[1] https://github.com/CommunistCode/PimpMyPi-Community-Blog-Posts

Jack,

I found that post hugely helpful thanks, as I'd tried some months before with the information at Distant Earth (http://www.distant-earth.com/wp/)
and for some reason I just wasn't able to produce an image that booted on the RPi.

As you mention, I did find those git commits to be a little old and I wasn't able to get an EFL UI build working from them.

As a result I migrated forward to the latest head commits at the time and was able to get a build going (running EFL in fact)

I put some notes up here as I went along, which build upon the Pimp My Pi blog post -

https://www.assembla.com/spaces/ciseco-eve/wiki/Getting_Started

I haven't yet updated those notes to reflect the newer Git commits I was using but I've noted them down here -

https://www.assembla.com/spaces/ciseco-eve/wiki/Work_in_progress

Not sure if that helps, except that I can say it is building and working from these much more recent commits...

(On a separate note I'd be interested in a chat with anybody who has any ideas on performance of EFL and how it can be improved, e.g. improved XServer support, hard fp perhaps, maybe EFL on DirectFB or similar?)

Cheers,

Alex

#6 lore raw
In reply to Jack Mitchell
Quoted 5 lines

It should just be a matter of changing a few git revisions, and tweaking the wording a bit to involve the new meta-yocto, meta-yocto-bsp split. If anyone wishes to step up to the plate the source for this blog post is available at [1] and I will happily accept patches.

Jack, I've taken up your invitation, forked the repo and committed a change to my fork which updates the document to current meta-raspberrypi commit and a recent (circa two weeks) Yocto commit.

I've just built this from scratch here and aside from a couple of GitHub feed hiccups it works. It runs up on the RPi.

I've sent a pull request over to your base repo (or at least I think I have...)

Cheers,

Alex

Quoted 5 lines

Cheers,
Jack.

[1] https://github.com/CommunistCode/PimpMyPi-Community-Blog-Posts

#7 lore raw
Quoted 9 lines · Alex J Lennon
Quoted 5 lines

It should just be a matter of changing a few git revisions, and tweaking the wording a bit to involve the new meta-yocto, meta-yocto-bsp split. If anyone wishes to step up to the plate the source for this blog post is available at [1] and I will happily accept patches.

Jack, I've taken up your invitation, forked the repo and committed a change to my fork which updates the document to current meta-raspberrypi commit and a recent (circa two weeks) Yocto commit.

Quoted 5 lines

I've just built this from scratch here and aside from a couple of GitHub feed hiccups it works. It runs up on the RPi.

I've sent a pull request over to your base repo (or at least I think I have...)

Hi Alex,

Pulled, Merged and should be live on the site now.

Thanks for your contributions!

Regards,
Jack.

Quoted 10 lines

Cheers,

Alex

Quoted 5 lines

Cheers,
Jack.

[1] https://github.com/CommunistCode/PimpMyPi-Community-Blog-Posts