All of lore.kernel.org
 help / color / mirror / Atom feed
* strange bitbake error
@ 2010-12-08  3:15 Kamble, Nitin A
  2010-12-08 10:35 ` Richard Purdie
  0 siblings, 1 reply; 7+ messages in thread
From: Kamble, Nitin A @ 2010-12-08  3:15 UTC (permalink / raw)
  To: yocto; +Cc: Purdie, Richard

[-- Attachment #1: Type: text/plain, Size: 12040 bytes --]

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_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 285, in find_chains
    for dep in explored_deps[revdep]:
KeyError: 37
NOTE: Preparing runqueue
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.

Identifying dependency loops (this may take a short while)...

NOTE: Tasks Summary: Attempted 0 tasks of which 0 didn't need to be rerun and 0 failed.



Change causing this issue:


diff --git a/meta/conf/distro/include/poky-default-revisions.inc b/meta/conf/distro/include/poky-default-revisions.inc
index 488084b..6309cdb 100644
--- a/meta/conf/distro/include/poky-default-revisions.inc
+++ b/meta/conf/distro/include/poky-default-revisions.inc
@@ -179,4 +179,5 @@ SRCDATE_yaffs2-utils ??= "20071107"
 SRCREV_pn-zaurusd ??= "358"
 SRCREV_pn-zypper ??= "9eb0e248e06c8d20ad054be2439149d9ede37531"
 SRCREV_pn-blktrace ??= "1e09f6e9012826fca69fa07222b7bc53c3e629ee"
+SRCREV_pn-gnu-config ??= "3155524d0410c37b6286465249264c7981ab8cba"

diff --git a/meta/recipes-devtools/gnu-config/gnu-config_20080123.bb b/meta/recipes-devtools/gnu-config/gnu-config_20080123.bb
deleted file mode 100644
index 5d7d646..0000000
--- a/meta/recipes-devtools/gnu-config/gnu-config_20080123.bb
+++ /dev/null
@@ -1,38 +0,0 @@
-DESCRIPTION = "gnu-configize"
-SECTION = "devel"
-LICENSE = "GPLv1+"
-LIC_FILES_CHKSUM = "file://config.guess;endline=39;md5=a089987af4a25cb0419d1c2fd6d495e3"
-DEPENDS = ""
-INHIBIT_DEFAULT_DEPS = "1"
-
-FIXEDSRCDATE = "${@bb.data.getVar('FILE', d, 1).split('_')[-1].split('.')[0]}"
-PV = "0.1+cvs${FIXEDSRCDATE}"
-PR = "r1"
-
-SRC_URI = "cvs://anonymous@cvs.sv.gnu.org/cvsroot/config;module=config;method=pserver;date=${FIXEDSRCDATE} \
-                 file://config-guess-uclibc.patch \
-           file://gnu-configize.in"
-S = "${WORKDIR}/config"
-
-do_compile() {
-              :
-}
-
-do_install () {
-              install -d ${D}${datadir}/gnu-config \
-                                 ${D}${bindir}
-              cat ${WORKDIR}/gnu-configize.in | \
-                              sed -e 's,@gnu-configdir@,${datadir}/gnu-config,g' \
-                                  -e 's,@autom4te_perllibdir@,${datadir}/autoconf,g' > ${D}${bindir}/gnu-configize
-              # In the native case we want the system perl as perl-native can't have built yet
-              if [ "${BUILD_ARCH}" != "${TARGET_ARCH}" ]; then
-                              sed -i -e 's,/usr/bin/perl,${bindir}/perl,g' ${D}${bindir}/gnu-configize
-              fi
-              chmod 755 ${D}${bindir}/gnu-configize
-              install -m 0644 config.guess config.sub ${D}${datadir}/gnu-config/
-}
-
-PACKAGES = "${PN}"
-FILES_${PN} = "${bindir} ${datadir}/gnu-config"
-
-BBCLASSEXTEND = "native"
diff --git a/meta/recipes-devtools/gnu-config/gnu-config_git.bb b/meta/recipes-devtools/gnu-config/gnu-config_git.bb
new file mode 100644
index 0000000..6df0892
--- /dev/null
+++ b/meta/recipes-devtools/gnu-config/gnu-config_git.bb
@@ -0,0 +1,37 @@
+DESCRIPTION = "gnu-configize"
+SECTION = "devel"
+LICENSE = "GPLv1+"
+LIC_FILES_CHKSUM = "file://config.guess;endline=39;md5=a089987af4a25cb0419d1c2fd6d495e3"
+DEPENDS = ""
+INHIBIT_DEFAULT_DEPS = "1"
+
+PV = "2010.09.11+git${SRCPV}"
+PR = "r0"
+
+SRC_URI = "git://git.svannah.gnu.org/config.git;protocol=git;branch=master \
+                file://config-guess-uclibc.patch \
+           file://gnu-configize.in"
+S = "${WORKDIR}/config"
+
+do_compile() {
+             :
+}
+
+do_install () {
+             install -d ${D}${datadir}/gnu-config \
+                                ${D}${bindir}
+             cat ${WORKDIR}/gnu-configize.in | \
+                             sed -e 's,@gnu-configdir@,${datadir}/gnu-config,g' \
+                                 -e 's,@autom4te_perllibdir@,${datadir}/autoconf,g' > ${D}${bindir}/gnu-configize
+             # In the native case we want the system perl as perl-native can't have built yet
+             if [ "${BUILD_ARCH}" != "${TARGET_ARCH}" ]; then
+                             sed -i -e 's,/usr/bin/perl,${bindir}/perl,g' ${D}${bindir}/gnu-configize
+             fi
+             chmod 755 ${D}${bindir}/gnu-configize
+             install -m 0644 config.guess config.sub ${D}${datadir}/gnu-config/
+}
+
+PACKAGES = "${PN}"
+FILES_${PN} = "${bindir} ${datadir}/gnu-config"
+
+BBCLASSEXTEND = "native"

[-- Attachment #2: Type: text/html, Size: 26492 bytes --]

^ permalink raw reply related	[flat|nested] 7+ messages in thread

* Re: strange bitbake error
  2010-12-08  3:15 strange bitbake error Kamble, Nitin A
@ 2010-12-08 10:35 ` Richard Purdie
  2010-12-08 16:29   ` Kamble, Nitin A
  0 siblings, 1 reply; 7+ messages in thread
From: Richard Purdie @ 2010-12-08 10:35 UTC (permalink / raw)
  To: Kamble, Nitin A; +Cc: yocto

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





^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: strange bitbake error
  2010-12-08 10:35 ` Richard Purdie
@ 2010-12-08 16:29   ` Kamble, Nitin A
  2010-12-08 17:46     ` Richard Purdie
  0 siblings, 1 reply; 7+ messages in thread
From: Kamble, Nitin A @ 2010-12-08 16:29 UTC (permalink / raw)
  To: Richard Purdie; +Cc: yocto



> 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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: strange bitbake error
  2010-12-08 16:29   ` Kamble, Nitin A
@ 2010-12-08 17:46     ` Richard Purdie
  2010-12-09  0:31       ` Kamble, Nitin A
  0 siblings, 1 reply; 7+ messages in thread
From: Richard Purdie @ 2010-12-08 17:46 UTC (permalink / raw)
  To: Kamble, Nitin A; +Cc: yocto

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



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: strange bitbake error
  2010-12-08 17:46     ` Richard Purdie
@ 2010-12-09  0:31       ` Kamble, Nitin A
  0 siblings, 0 replies; 7+ messages in thread
From: Kamble, Nitin A @ 2010-12-09  0:31 UTC (permalink / raw)
  To: Richard Purdie; +Cc: yocto

> > >
> > 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


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Strange bitbake error
  2017-01-25  6:50 Strange " Gary Thomas
@ 2017-01-25  7:05 ` Gary Thomas
  0 siblings, 0 replies; 7+ messages in thread
From: Gary Thomas @ 2017-01-25  7:05 UTC (permalink / raw)
  To: yocto

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
------------------------------------------------------------


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Strange bitbake error
@ 2017-01-25  6:50 Gary Thomas
  2017-01-25  7:05 ` Gary Thomas
  0 siblings, 1 reply; 7+ messages in thread
From: Gary Thomas @ 2017-01-25  6:50 UTC (permalink / raw)
  To: yocto

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
------------------------------------------------------------


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2017-01-25  7:05 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-12-08  3:15 strange bitbake error Kamble, Nitin A
2010-12-08 10:35 ` Richard Purdie
2010-12-08 16:29   ` Kamble, Nitin A
2010-12-08 17:46     ` Richard Purdie
2010-12-09  0:31       ` Kamble, Nitin A
2017-01-25  6:50 Strange " Gary Thomas
2017-01-25  7:05 ` Gary Thomas

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.