Re: [yocto] Strange bitbake error

2017-01-24 Thread Gary Thomas

On 2017-01-25 07:50, Gary Thomas wrote:

For the last couple of days, I've been seeing my bitbake builds
just shutdown, without actually completing, like this:

Initialising tasks: 100% 
|###| Time: 
0:00:10
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: Worker process (22132) exited unexpectedly (-9), shutting down...
ERROR: Worker process (22132) exited unexpectedly (-9), shutting down...
ERROR: Worker process (22132) exited unexpectedly (-9), shutting down...
ERROR: Worker process (22132) exited unexpectedly (-9), shutting down...
WARNING: /local/poky-cutting-edge/bitbake/lib/bb/runqueue.py:1159: 
ResourceWarning: unclosed file <_io.BufferedWriter
name=31>
  self.worker = {}

This happened after completing ~650 out of 5786 tasks.

If I rerun the build it will likely complete without any more errors.

Any clues what might be happening?  Is there any information (logs, etc)
that might help me understand?

BTW I'm using the latest Poky (62d7d4130202d8ede16abf9e7d779361ca70847e)
updated just a few hours ago.



Sorry for the noise - it looks like my system was out of memory
and the bitbake processes were being killed by the kernel oom :-(

--

Gary Thomas |  Consulting for the
MLB Associates  |Embedded world

--
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] Strange bitbake error

2017-01-24 Thread Gary Thomas

For the last couple of days, I've been seeing my bitbake builds
just shutdown, without actually completing, like this:

Initialising tasks: 100% 
|###| Time: 
0:00:10
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: Worker process (22132) exited unexpectedly (-9), shutting down...
ERROR: Worker process (22132) exited unexpectedly (-9), shutting down...
ERROR: Worker process (22132) exited unexpectedly (-9), shutting down...
ERROR: Worker process (22132) exited unexpectedly (-9), shutting down...
WARNING: /local/poky-cutting-edge/bitbake/lib/bb/runqueue.py:1159: ResourceWarning: unclosed file <_io.BufferedWriter 
name=31>

  self.worker = {}

This happened after completing ~650 out of 5786 tasks.

If I rerun the build it will likely complete without any more errors.

Any clues what might be happening?  Is there any information (logs, etc)
that might help me understand?

BTW I'm using the latest Poky (62d7d4130202d8ede16abf9e7d779361ca70847e)
updated just a few hours ago.

--

Gary Thomas |  Consulting for the
MLB Associates  |Embedded world

--
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] strange bitbake error

2010-12-08 Thread Kamble, Nitin A
> > >
> > Thanks Richard for the clarification. So what would be possible
> > solution for this circular dependency issue? I can check if we can
> get
> > the latest gnu-config via cvs. Any other or better solution?
> 
> Is there a release tarball we can use? If not, we might end up hosting
> a
> release tarball for it somewhere given this piece of software's
> position
> in the build process.
> 
> I'd like to axe our cvs dependency for sure.
> 


Hi Richard,
  The git web interface also export a tarball url: I was trying to use it: 
http://git.savannah.gnu.org/gitweb/?p=config.git;a=snapshot;h=1a0cbc1cd216932e4ecd7c773a4fa8aecce5b536;sf=tgz

But current bitbake fetcher would not handle ";" in the url. I was working on 
fixing that. 

Thanks,
Nitin

___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] strange bitbake error

2010-12-08 Thread Richard Purdie
On Wed, 2010-12-08 at 08:29 -0800, Kamble, Nitin A wrote:
> 
> > On Tue, 2010-12-07 at 19:15 -0800, Kamble, Nitin A wrote:
> > >   I am getting following bitbake error. I also tried passing –D
> > option
> > > to bitbake, but I did not find anything useful. Also bellow is the
> > > change which is causing this error.
> > >
> > > I don’t see anything oblivious here. As I understand just changing
> > the
> > > recipe from cvs to git src_uri has caused this issue.
> > 
> > Its probably exactly this change the breaks things. git SRC_URIs have a
> > dependency on git-native. git-native probably depends on
> > gnu-config-native indirectly. The end result is a circular dependency.
> > Bitbake tried to work this out but obviously got lost in the circular
> > logic.
> > 
> Thanks Richard for the clarification. So what would be possible
> solution for this circular dependency issue? I can check if we can get
> the latest gnu-config via cvs. Any other or better solution?

Is there a release tarball we can use? If not, we might end up hosting a
release tarball for it somewhere given this piece of software's position
in the build process.

I'd like to axe our cvs dependency for sure.

Cheers,

Richard

___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] strange bitbake error

2010-12-08 Thread Kamble, Nitin A


> On Tue, 2010-12-07 at 19:15 -0800, Kamble, Nitin A wrote:
> >   I am getting following bitbake error. I also tried passing –D
> option
> > to bitbake, but I did not find anything useful. Also bellow is the
> > change which is causing this error.
> >
> > I don’t see anything oblivious here. As I understand just changing
> the
> > recipe from cvs to git src_uri has caused this issue.
> 
> Its probably exactly this change the breaks things. git SRC_URIs have a
> dependency on git-native. git-native probably depends on
> gnu-config-native indirectly. The end result is a circular dependency.
> Bitbake tried to work this out but obviously got lost in the circular
> logic.
> 
Thanks Richard for the clarification. So what would be possible solution for 
this circular dependency issue? I can check if we can get the latest gnu-config 
via cvs. Any other or better solution?

Thanks,
Nitin
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] strange bitbake error

2010-12-08 Thread Richard Purdie
Hi Nitin,

On Tue, 2010-12-07 at 19:15 -0800, Kamble, Nitin A wrote:
>   I am getting following bitbake error. I also tried passing –D option
> to bitbake, but I did not find anything useful. Also bellow is the
> change which is causing this error. 
> 
> I don’t see anything oblivious here. As I understand just changing the
> recipe from cvs to git src_uri has caused this issue.

Its probably exactly this change the breaks things. git SRC_URIs have a
dependency on git-native. git-native probably depends on
gnu-config-native indirectly. The end result is a circular dependency.
Bitbake tried to work this out but obviously got lost in the circular
logic.

It did try and warn you with:

"""
> ERROR: Unbuildable tasks were found.
> 
> These are usually caused by circular dependencies and any circular
> dependency chains found will be printed below. Increase the debug
> level to see a list of unbuildable tasks.
"""

Cheers,

Richard



___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] strange bitbake error

2010-12-07 Thread Kamble, Nitin A
Hi Richard,
  I am getting following bitbake error. I also tried passing -D option to 
bitbake, but I did not find anything useful. Also bellow is the change which is 
causing this error.
I don't see anything oblivious here. As I understand just changing the recipe 
from cvs to git src_uri has caused this issue.

Thanks & Regards,
Nitin

$ bitbake gnu-config -c fetch
NOTE: Handling BitBake files: \ (0765/0765) [100 %]
Parsing of 765 .bb files complete (719 cached, 46 parsed). 924 targets, 34 
skipped, 0 masked, 0 errors.

OE Build Configuration:
BB_VERSION= "1.11.0"
METADATA_BRANCH   = "upgrades10"
METADATA_REVISION = "1f82a80572ddf17a5dd998234da7c517125c95c7"
TARGET_ARCH   = "i586"
TARGET_OS = "linux"
MACHINE   = "qemux86"
DISTRO= "poky"
DISTRO_VERSION= "0.9+snapshot-20101208"
TARGET_FPU= ""

NOTE: Resolving any missing task queue dependencies
Traceback (most recent call last):
  File "/home/nitin/prj/poky.git/scripts/..//bitbake/lib/bb/server/none.py", 
line 128, in idle_commands
retval = function(self, data, False)
  File "/home/nitin/prj/poky.git/scripts/..//bitbake/lib/bb/cooker.py", line 
728, in buildTargetsIdle
retval = rq.execute_runqueue()
  File "/home/nitin/prj/poky.git/scripts/..//bitbake/lib/bb/runqueue.py", line 
928, in execute_runqueue
if self.rqdata.prepare() is 0:
  File "/home/nitin/prj/poky.git/scripts/..//bitbake/lib/bb/runqueue.py", line 
651, in prepare
self.runq_weight = self.calculate_task_weights(endpoints)
  File "/home/nitin/prj/poky.git/scripts/..//bitbake/lib/bb/runqueue.py", line 
346, in calculate_task_weights
msgs = self.circular_depchains_handler(problem_tasks)
  File "/home/nitin/prj/poky.git/scripts/..//bitbake/lib/bb/runqueue.py", line 
292, in circular_depchains_handler
find_chains(task, [])
  File "/home/nitin/prj/poky.git/scripts/..//bitbake/lib/bb/runqueue.py", line 
284, in find_chains
find_chains(revdep, deepcopy(prev_chain))
  File "/home/nitin/prj/poky.git/scripts/..//bitbake/lib/bb/runqueue.py", line 
284, in find_chains
find_chains(revdep, deepcopy(prev_chain))
  File "/home/nitin/prj/poky.git/scripts/..//bitbake/lib/bb/runqueue.py", line 
284, in find_chains
find_chains(revdep, deepcopy(prev_chain))
  File "/home/nitin/prj/poky.git/scripts/..//bitbake/lib/bb/runqueue.py", line 
284, in find_chains
find_chains(revdep, deepcopy(prev_chain))
  File "/home/nitin/prj/poky.git/scripts/..//bitbake/lib/bb/runqueue.py", line 
284, in find_chains
find_chains(revdep, deepcopy(prev_chain))
  File "/home/nitin/prj/poky.git/scripts/..//bitbake/lib/bb/runqueue.py", line 
284, in find_chains
find_chains(revdep, deepcopy(prev_chain))
  File "/home/nitin/prj/poky.git/scripts/..//bitbake/lib/bb/runqueue.py", line 
284, in find_chains
find_chains(revdep, deepcopy(prev_chain))
  File "/home/nitin/prj/poky.git/scripts/..//bitbake/lib/bb/runqueue.py", line 
284, in find_chains
find_chains(revdep, deepcopy(prev_chain))
  File "/home/nitin/prj/poky.git/scripts/..//bitbake/lib/bb/runqueue.py", line 
284, in find_chains
find_chains(revdep, deepcopy(prev_chain))
  File "/home/nitin/prj/poky.git/scripts/..//bitbake/lib/bb/runqueue.py", line 
284, in find_chains
find_chains(revdep, deepcopy(prev_chain))
  File "/home/nitin/prj/poky.git/scripts/..//bitbake/lib/bb/runqueue.py", line 
284, in find_chains
find_chains(revdep, deepcopy(prev_chain))
  File "/home/nitin/prj/poky.git/scripts/..//bitbake/lib/bb/runqueue.py", line 
284, in find_chains
find_chains(revdep, deepcopy(prev_chain))
  File "/home/nitin/prj/poky.git/scripts/..//bitbake/lib/bb/runqueue.py", line 
284, in find_chains
find_chains(revdep, deepcopy(prev_chain))
  File "/home/nitin/prj/poky.git/scripts/..//bitbake/lib/bb/runqueue.py", line 
284, in find_chains
find_chains(revdep, deepcopy(prev_chain))
  File "/home/nitin/prj/poky.git/scripts/..//bitbake/lib/bb/runqueue.py", line 
284, in find_chains
find_chains(revdep, deepcopy(prev_chain))
  File "/home/nitin/prj/poky.git/scripts/..//bitbake/lib/bb/runqueue.py", line 
284, in find_chains
find_chains(revdep, deepcopy(prev_chain))
  File "/home/nitin/prj/poky.git/scripts/..//bitbake/lib/bb/runqueue.py", line 
284, in find_chains
find_chains(revdep, deepcopy(prev_chain))
  File "/home/nitin/prj/poky.git/scripts/..//bitbake/lib/bb/runqueue.py", line 
284, in find_chains
find_chains(revdep, deepcopy(prev_chain))
  File "/home/nitin/prj/poky.git/scripts/..//bitbake/lib/bb/runqueue.py", line 
284, in find_chains
find_chains(revdep, deepcopy(prev_chain))
  File "/home/nitin/prj/poky.git/scripts/..//bitbake/lib/bb/runqueue.py", line 
284, in find_chains
find_chains(revdep, deepcopy(prev_chain))
  File "/home/nitin/prj/poky.git/scripts/..//bitbake/lib/bb/runqueue.py", line 
284, in find_chains
find_chains(revdep, deepcopy(prev_chain))
  File "/home/nitin/prj/poky.git/scripts/..//bitbake/lib/bb/runqueue.py", line 
284, in find_chai