All of lore.kernel.org
 help / color / mirror / Atom feed
* Problem for building glibc (ipkg-build: command not found)
@ 2007-03-30 13:37 Jeremy Dufour
  2007-03-31 23:27 ` Richard Purdie
  0 siblings, 1 reply; 5+ messages in thread
From: Jeremy Dufour @ 2007-03-30 13:37 UTC (permalink / raw)
  To: openembedded-devel

Hello,

As I was reading the mails of the mailing-list, I decided to switch to
bitbake-1.8. I also decided to remove all my TMPDIR directory to restart
from scratch.

I am currently using OE unstable with "OZ-unstable" distro for a "tosa"
machine.

When I build a package, I obtained the following error:

NOTE: Resolving missing task queue dependencies
NOTE: multiple providers are available for virtual/arm-linux-libc-for-gcc (glibc, glibc-intermediate);
NOTE: consider defining PREFERRED_PROVIDER_virtual/arm-linux-libc-for-gcc
NOTE: Preparing Runqueue
NOTE: Executing runqueue
NOTE: Running task 144 of 182 (ID: 90, /home/djerem/work/zaurus/oe/stuff/org.openembedded.dev/packages/ipkg-utils/ipkg-utils-native_1.6+cvs20050404.bb, do_fetch)
NOTE: package ipkg-utils-native-1.6+cvs20050404: started
NOTE: package ipkg-utils-native-1.6+cvs20050404-r8: task do_fetch: started
NOTE: package ipkg-utils-native-1.6+cvs20050404-r8: task do_fetch: completed
NOTE: package ipkg-utils-native-1.6+cvs20050404: completed
NOTE: Running task 145 of 182 (ID: 84, /home/djerem/work/zaurus/oe/stuff/org.openembedded.dev/packages/ipkg-utils/ipkg-utils-native_1.6+cvs20050404.bb, do_unpack)
NOTE: package ipkg-utils-native-1.6+cvs20050404: started
NOTE: package ipkg-utils-native-1.6+cvs20050404-r8: task do_unpack: started
NOTE: Unpacking /home/djerem/work/zaurus/oe/dl_dir/ipkg-utils_anoncvs.handhelds.org__20050930.tar.gz to /home/djerem/work/zaurus/oe/stuff/tmp/work/i686-linux/ipkg-utils-native-1.6+cvs20050404-r8/
NOTE: package ipkg-utils-native-1.6+cvs20050404-r8: task do_unpack: completed
NOTE: package ipkg-utils-native-1.6+cvs20050404: completed
NOTE: Running task 148 of 182 (ID: 107, /home/djerem/work/zaurus/oe/stuff/org.openembedded.dev/packages/glibc/glibc_2.3.5+cvs20050627.bb, do_package_write)
NOTE: package glibc-2.3.5+cvs20050627: started
NOTE: package glibc-2.3.5+cvs20050627-r13: task do_package_write: started
sh: ipkg-build: command not found
NOTE: Task failed: ipkg-build execution failed
NOTE: package glibc-2.3.5+cvs20050627-r13: task do_package_write: failed
ERROR: TaskFailed event exception, aborting
NOTE: package glibc-2.3.5+cvs20050627: failed
ERROR: Build of /home/djerem/work/zaurus/oe/stuff/org.openembedded.dev/packages/glibc/glibc_2.3.5+cvs20050627.bb do_package_write failed
ERROR: Task 107 (/home/djerem/work/zaurus/oe/stuff/org.openembedded.dev/packages/glibc/glibc_2.3.5+cvs20050627.bb, do_package_write) failed
ERROR: '/home/djerem/work/zaurus/oe/stuff/org.openembedded.dev/packages/glibc/glibc_2.3.5+cvs20050627.bb' failed


I decided to switch back to bitbake-1.6, and it works fine.

So I am wondering where the problem can come from? A problem of dependancy
wrong handled by bitabke, a problem of package glibc/ipkg-utils?

I can provide more information if needed i(local.conf maybe or run the
command in a more verbose way) or open a bug report (in this case, I report
it to bitbake or openembedded ?).

In any case, thanks in advance.

Best regards,

djerem



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

* Re: Problem for building glibc (ipkg-build: command not found)
  2007-03-30 13:37 Problem for building glibc (ipkg-build: command not found) Jeremy Dufour
@ 2007-03-31 23:27 ` Richard Purdie
  2007-04-10  9:38   ` Jeremy Dufour
  0 siblings, 1 reply; 5+ messages in thread
From: Richard Purdie @ 2007-03-31 23:27 UTC (permalink / raw)
  To: openembedded-devel

Hi,

On Fri, 2007-03-30 at 15:37 +0200, Jeremy Dufour wrote:
> NOTE: Running task 145 of 182 (ID: 84, /home/djerem/work/zaurus/oe/stuff/org.openembedded.dev/packages/ipkg-utils/ipkg-utils-native_1.6+cvs20050404.bb, do_unpack)
> NOTE: package ipkg-utils-native-1.6+cvs20050404: started
> NOTE: package ipkg-utils-native-1.6+cvs20050404-r8: task do_unpack: started
> NOTE: Unpacking /home/djerem/work/zaurus/oe/dl_dir/ipkg-utils_anoncvs.handhelds.org__20050930.tar.gz to /home/djerem/work/zaurus/oe/stuff/tmp/work/i686-linux/ipkg-utils-native-1.6+cvs20050404-r8/
> NOTE: package ipkg-utils-native-1.6+cvs20050404-r8: task do_unpack: completed
> NOTE: package ipkg-utils-native-1.6+cvs20050404: completed
> NOTE: Running task 148 of 182 (ID: 107, /home/djerem/work/zaurus/oe/stuff/org.openembedded.dev/packages/glibc/glibc_2.3.5+cvs20050627.bb, do_package_write)
> NOTE: package glibc-2.3.5+cvs20050627: started
> NOTE: package glibc-2.3.5+cvs20050627-r13: task do_package_write: started
> sh: ipkg-build: command not found
> NOTE: Task failed: ipkg-build execution failed
> NOTE: package glibc-2.3.5+cvs20050627-r13: task do_package_write: failed
> ERROR: TaskFailed event exception, aborting
> NOTE: package glibc-2.3.5+cvs20050627: failed
> ERROR: Build of /home/djerem/work/zaurus/oe/stuff/org.openembedded.dev/packages/glibc/glibc_2.3.5+cvs20050627.bb do_package_write failed
> ERROR: Task 107 (/home/djerem/work/zaurus/oe/stuff/org.openembedded.dev/packages/glibc/glibc_2.3.5+cvs20050627.bb, do_package_write) failed
> ERROR: '/home/djerem/work/zaurus/oe/stuff/org.openembedded.dev/packages/glibc/glibc_2.3.5+cvs20050627.bb' failed
> 
> 
> I decided to switch back to bitbake-1.6, and it works fine.
> 
> So I am wondering where the problem can come from? A problem of dependancy
> wrong handled by bitabke, a problem of package glibc/ipkg-utils?

It looks like a dependency issue, there is no way to tell bitbake that
ipkg-utils-native must have run do_populate_staging before it can run
do_package_write tasks.

The email I just sent to the list has a proposed fix but its not
backwards compatible so will need some discussion.

A short term work around is to "bitbake ipkg-utils-native" before
running your other bitbake command.

Cheers,

Richard




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

* Re: Problem for building glibc (ipkg-build: command not found)
  2007-03-31 23:27 ` Richard Purdie
@ 2007-04-10  9:38   ` Jeremy Dufour
  2007-04-10 14:35     ` Richard Purdie
  0 siblings, 1 reply; 5+ messages in thread
From: Jeremy Dufour @ 2007-04-10  9:38 UTC (permalink / raw)
  To: openembedded-devel

On 04/01/07 at 00:27:25 (+0100), Richard Purdie wrote:
> [...]
> It looks like a dependency issue, there is no way to tell bitbake that
> ipkg-utils-native must have run do_populate_staging before it can run
> do_package_write tasks.

If I understand well, the problem here is that glibc is trying to do a
"do_package_write" before ipkg-utils-native is built?

But I did not understand exactly why we can not "just" said that glibc
depend on ipk-utils-native?

> [...]
> A short term work around is to "bitbake ipkg-utils-native" before
> running your other bitbake command.

This works fine for me, thanks!

djerem



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

* Re: Problem for building glibc (ipkg-build: command not found)
  2007-04-10  9:38   ` Jeremy Dufour
@ 2007-04-10 14:35     ` Richard Purdie
  2007-04-10 14:46       ` Jeremy Dufour
  0 siblings, 1 reply; 5+ messages in thread
From: Richard Purdie @ 2007-04-10 14:35 UTC (permalink / raw)
  To: openembedded-devel

On Tue, 2007-04-10 at 11:38 +0200, Jeremy Dufour wrote:
> On 04/01/07 at 00:27:25 (+0100), Richard Purdie wrote:
> > [...]
> > It looks like a dependency issue, there is no way to tell bitbake that
> > ipkg-utils-native must have run do_populate_staging before it can run
> > do_package_write tasks.
> 
> If I understand well, the problem here is that glibc is trying to do a
> "do_package_write" before ipkg-utils-native is built?

Correct.

> But I did not understand exactly why we can not "just" said that glibc
> depend on ipk-utils-native?

In bitbake 1.8 we've enabled multithreading and we've chosen to do this
on a per task basis rather than a per .bb file basis. We therefore need
task level dependencies rather than the higher per file .bb
dependencies.

Regards,

Richard





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

* Re: Problem for building glibc (ipkg-build: command not found)
  2007-04-10 14:35     ` Richard Purdie
@ 2007-04-10 14:46       ` Jeremy Dufour
  0 siblings, 0 replies; 5+ messages in thread
From: Jeremy Dufour @ 2007-04-10 14:46 UTC (permalink / raw)
  To: openembedded-devel

On 04/10/07 at 15:35:37 (+0100), Richard Purdie wrote:
> [...]
> > But I did not understand exactly why we can not "just" said that glibc
> > depend on ipk-utils-native?
> In bitbake 1.8 we've enabled multithreading and we've chosen to do this
> on a per task basis rather than a per .bb file basis. We therefore need
> task level dependencies rather than the higher per file .bb
> dependencies.

Ok, so it is a kind of "thread synchronisation" :)

Thanks for the explanation :)

djerem



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

end of thread, other threads:[~2007-04-10 14:46 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-30 13:37 Problem for building glibc (ipkg-build: command not found) Jeremy Dufour
2007-03-31 23:27 ` Richard Purdie
2007-04-10  9:38   ` Jeremy Dufour
2007-04-10 14:35     ` Richard Purdie
2007-04-10 14:46       ` Jeremy Dufour

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.