Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Valued Contributor II
1,317 Views

How long should an image build stall at one step?

HI everyone

I'm trying to build the linux image, with the fix for paho-mqtt from /thread/101227 this thread.

And also the patch from Sergey at http://www.malinov.com/Home/sergeys-projects/audio-block-for-intel-edison this page to enable I2S Audio with a WM8731 DAC.

However the build keeps stalling at one particular step. It has been stalled here for an hour or more.

If I stop the build, clean up and start again it stalls at the same place again.

(The build is being done on my hosted server right inside my ISPs data centre, so internet connection speed is not an issue, it basically gets about 450 Mbs! )

So, should I just wait it out? How long do you think it should stall here?

Here's a screen shot of where it is stalled:

0 Kudos
6 Replies
Highlighted
Community Manager
13 Views

Hello SpiderKenny,

 

 

Thank you for interest in the Intel® Edison Breakout Board.

 

 

While reading the Intel Edison Board Support Package User Guide ( http://www.intel.com/content/dam/support/us/en/documents/edison/sb/edisonbsp_ug_331188007.pdf) I noticed the following sentence:

 

 

Building all the packages from scratch can take up to 5 or 6 hours, depending on the host.

 

 

Usually, if the building process presents any kind of issue, a set of errors appear at the end of it. When I build an image, I tend to leave it overnight, so I haven't checked if a particular step takes an hour or more.

 

 

Have you tried leaving it for the expected 5 or 6 hours, just to make sure the step is not stalling and just taking a large amount of time?

 

 

I'll be waiting for your response.

 

 

Regards,

 

Andres V.
Highlighted
Valued Contributor II
13 Views

Hi Andres,

So I left it for over 24 hours, but it made no difference!

I suspected it wouldn't complete, because the do_fetch stage should take mere seconds on a 450 Mbps backbone.

Anyway, I left it 24 hours, and nothing happend. So I killed it (CTRL+C twice to stop bitbake).

I re-ran "make image" and this time it came to the same place but with a prompt:

"Username for 'https://github.com%27: https://github.com': " - I'm guessing it was stalled at this prompt in the background the first time.

It looks like the recipe for iotkit-comms is broken.

Surely there must be someone at Intel who can fix the build? I'd be willing to pay for support on this one.

0 Kudos
Highlighted
Valued Contributor II
13 Views

Hi Andres

So I did some more digging, and it turns out that the iotkit-comm-js repository no longer exists at github.com/intel-iot-devkit (or it is hidden or private).

I will try to figure out either where it is now, or how to remove it from the build. No doubt it will have spaghetti-like dependencies which will take a while to work through.....

I know I go about this, but doing the image build should not be so hard. Someone (even a bot) should be appointed as the build maintainer, they should do the build every day, and should work through any issues like this that get thrown up from time to time.

Intel were good enough to give us the build in the first place, but it's now broken for everyone and I can't find anyone to help me get it fixed.

This is a commercial project I'm working on and it's costing my a fortune in lost time to work through these issues. Who can I contact at Intel for proper commercial quality support?

0 Kudos
Highlighted
Valued Contributor II
13 Views

OK I found the problem!

The iotkit-comms-js repository is longer hosted at github.com/intel-iot-devkit

There is a version from 2015 which is hosted at github.com/mceisel so I edited the recipe to point to that, and the build now works again.

I've written up the exact instructions I use to do the build here : in another discussion.

I hope this helps others who are currently struggling with the build.

0 Kudos
Highlighted
Community Manager
13 Views

Hello SpiderKenny,

 

 

I'm glad you could solve the issue.

 

 

Thank you very much for sharing your experience with the community, we really appreciate it.

 

 

Have a nice day.

 

 

Regards,

 

Andres V.
0 Kudos
Valued Contributor II
13 Views

Thanks Andres

It's been frustrating at times - especially for someone who is new to building images from source, but I have learned a lot along the way.

I've just heard from "Joe" that there are other ways to build the images too, namely using Docker, so I'll investigate that and see if it'll work for me.

Happy days!

Best wishes,

Kenny.

0 Kudos