All of lore.kernel.org
 help / color / mirror / Atom feed
* confusing qemu-native problem
@ 2009-08-04  9:38 ` Sledz, Steffen
  2009-08-04 12:29   ` Gregory Machairidis
  2009-08-05 10:37   ` Steffen Sledz
  0 siblings, 2 replies; 7+ messages in thread
From: Sledz, Steffen @ 2009-08-04  9:38 UTC (permalink / raw)
  To: openembedded-devel

I've seen a very confusing, indetermined behaviour of the qemu-native build in the last time (current dev branch).

When calling the following three commands back-to-back the first and the second fail with something like "/bin/sh: .../staging/i686-linux/usr/bin/pod2man: ...bad interpreter: Permission denied" but the third call succeeds (details see below).

 bitbake hydraip-hipox-devimage
 bitbake qemu-native
 bitbake qemu-native

In general it looks like the success of the qemu-native is really randomly.

Why does the one call of "bitbake qemu-native" fails and the second succeeds?

-----------------------------------------------------------------
Details: 

> bitbake hydraip-hipox-devimage
__builtin__:74: DeprecationWarning: the sets module is deprecated
__builtin__:74: DeprecationWarning: the sets module is deprecated
NOTE: Psyco JIT Compiler (http://psyco.sf.net) not available. Install it to increase performance.
NOTE: Handling BitBake files: \ (7018/7018) [100 %]
NOTE: Parsing finished. 6724 cached, 0 parsed, 294 skipped, 0 masked.
NOTE: Cache is clean, not saving.
NOTE: Resolving any missing task queue dependencies
NOTE: Preparing runqueue
NOTE: Executing runqueue
...
NOTE: Running task 1660 of 3019 (ID: 1230, /opt/openembedded/recipes/qemu/qemu-native_0.10.3.bb, do_compile)
NOTE: Running task 1661 of 3019 (ID: 2600, /opt/openembedded/recipes/libogg/libtheora_1.0.bb, do_package)
ERROR: function do_compile failed
ERROR: log data follows (/home/DRESEARCH/production/METABUILD/2009-08-03-15-24-27--hydraip-build--28595/OpenEmbedded/tmp.3/work/i686-linux/qemu-native-0.10.3-r1/temp/log.do_compile.31839)
| NOTE: make -j 2
|   CC    qemu-nbd.o
|   CC    qemu-tool.o
|   CC    osdep.o
|   CC    cutils.o
|   CC    qemu-malloc.o
|   CC    block-cow.o
|   CC    block-qcow.o
|   CC    aes.o
|   CC    block-vmdk.o
|   CC    block-cloop.o
|   CC    block-dmg.o
|   CC    block-bochs.o
|   CC    block-vpc.o
|   CC    block-vvfat.o
|   CC    block-qcow2.o
|   CC    block-parallels.o
|   CC    block-nbd.o
|   CC    nbd.o
|   CC    block.o
|   CC    aio.o
|   CC    posix-aio-compat.o
|   CC    block-raw-posix.o
|   CC    qemu-img.o
| texi2html -monolithic -number qemu-doc.texi
| texi2html -monolithic -number qemu-tech.texi
| /home/DRESEARCH/production/METABUILD/2009-08-03-15-24-27--hydraip-build--28595/OpenEmbedded/tmp.3/work/i686-linux/qemu-native-0.10.3-r1/qemu-0.10.3/texi2pod.pl qemu-doc.texi qemu.pod
| pod2man --section=1 --center=" " --release=" " qemu.pod > qemu.1
| /bin/sh: /home/DRESEARCH/production/METABUILD/2009-08-03-15-24-27--hydraip-build--28595/OpenEmbedded/tmp.3/staging/i686-linux/usr/bin/pod2man: /home/DRESEARCH/production/METABUILD/2009-08-03-15-24-27--hydraip-build--28595: bad interpreter: Permission denied
| make: *** [qemu.1] Error 126
| make: *** Waiting for unfinished jobs....
| FATAL: oe_runmake failed
NOTE: Task failed: /home/DRESEARCH/production/METABUILD/2009-08-03-15-24-27--hydraip-build--28595/OpenEmbedded/tmp.3/work/i686-linux/qemu-native-0.10.3-r1/temp/log.do_compile.31839
ERROR: TaskFailed event exception, aborting
ERROR: Build of /opt/openembedded/recipes/qemu/qemu-native_0.10.3.bb do_compile failed
NOTE: Running task 1662 of 3019 (ID: 2574, /opt/openembedded/recipes/libmad/libmad_0.15.1b.bb, do_package)
ERROR: Task 1230 (/opt/openembedded/recipes/qemu/qemu-native_0.10.3.bb, do_compile) failed
NOTE: Waiting for 1 active tasks to finish
NOTE: 1: /opt/openembedded/recipes/libmad/libmad_0.15.1b.bb, do_package (32041)
NOTE: Tasks Summary: Attempted 1660 tasks of which 1651 didn't need to be rerun and 1 failed.
ERROR: '/opt/openembedded/recipes/qemu/qemu-native_0.10.3.bb' failed

> bitbake qemu-native
__builtin__:74: DeprecationWarning: the sets module is deprecated
__builtin__:74: DeprecationWarning: the sets module is deprecated
NOTE: Psyco JIT Compiler (http://psyco.sf.net) not available. Install it to increase performance.
NOTE: Handling BitBake files: \ (7018/7018) [100 %]
NOTE: Parsing finished. 6724 cached, 0 parsed, 294 skipped, 0 masked.
NOTE: Cache is clean, not saving.
NOTE: Resolving any missing task queue dependencies
NOTE: Preparing runqueue
NOTE: Executing runqueue
NOTE: Running task 118 of 186 (ID: 7, /opt/openembedded/recipes/qemu/qemu-native_0.10.3.bb, do_compile)
NOTE: Running task 177 of 186 (ID: 13, /opt/openembedded/recipes/qemu/qemu-native_0.10.3.bb, do_distribute_sources)
ERROR: function do_compile failed
ERROR: log data follows (/home/DRESEARCH/production/METABUILD/2009-08-03-15-24-27--hydraip-build--28595/OpenEmbedded/tmp.3/work/i686-linux/qemu-native-0.10.3-r1/temp/log.do_compile.32118)
| NOTE: make -j 2
|   LINK  qemu-nbd
|   LINK  qemu-img
| /home/DRESEARCH/production/METABUILD/2009-08-03-15-24-27--hydraip-build--28595/OpenEmbedded/tmp.3/work/i686-linux/qemu-native-0.10.3-r1/qemu-0.10.3/texi2pod.pl qemu-img.texi qemu-img.pod
| /home/DRESEARCH/production/METABUILD/2009-08-03-15-24-27--hydraip-build--28595/OpenEmbedded/tmp.3/work/i686-linux/qemu-native-0.10.3-r1/qemu-0.10.3/texi2pod.pl qemu-nbd.texi qemu-nbd.pod
| pod2man --section=1 --center=" " --release=" " qemu-img.pod > qemu-img.1
| pod2man --section=8 --center=" " --release=" " qemu-nbd.pod > qemu-nbd.8
| /bin/sh: /home/DRESEARCH/production/METABUILD/2009-08-03-15-24-27--hydraip-build--28595/OpenEmbedded/tmp.3/staging/i686-linux/usr/bin/pod2man: /home/DRESEARCH/production/METABUILD/2009-08-03-15-24-27--hydraip-build--28595: bad interpreter: Permission denied
| make: *** [qemu-nbd.8] Error 126
| make: *** Waiting for unfinished jobs....
| /bin/sh: /home/DRESEARCH/production/METABUILD/2009-08-03-15-24-27--hydraip-build--28595/OpenEmbedded/tmp.3/staging/i686-linux/usr/bin/pod2man: /home/DRESEARCH/production/METABUILD/2009-08-03-15-24-27--hydraip-build--28595: bad interpreter: Permission denied
| make: *** [qemu-img.1] Error 126
| FATAL: oe_runmake failed
NOTE: Task failed: /home/DRESEARCH/production/METABUILD/2009-08-03-15-24-27--hydraip-build--28595/OpenEmbedded/tmp.3/work/i686-linux/qemu-native-0.10.3-r1/temp/log.do_compile.32118
ERROR: TaskFailed event exception, aborting
ERROR: Build of /opt/openembedded/recipes/qemu/qemu-native_0.10.3.bb do_compile failed
ERROR: Task 7 (/opt/openembedded/recipes/qemu/qemu-native_0.10.3.bb, do_compile) failed
NOTE: Waiting for 1 active tasks to finish
NOTE: 1: /opt/openembedded/recipes/qemu/qemu-native_0.10.3.bb, do_distribute_sources (32119)
NOTE: Tasks Summary: Attempted 175 tasks of which 175 didn't need to be rerun and 1 failed.
ERROR: '/opt/openembedded/recipes/qemu/qemu-native_0.10.3.bb' failed


> bitbake qemu-native
__builtin__:74: DeprecationWarning: the sets module is deprecated
__builtin__:74: DeprecationWarning: the sets module is deprecated
NOTE: Psyco JIT Compiler (http://psyco.sf.net) not available. Install it to increase performance.
NOTE: Handling BitBake files: \ (7018/7018) [100 %]
NOTE: Parsing finished. 6724 cached, 0 parsed, 294 skipped, 0 masked.
NOTE: Cache is clean, not saving.
NOTE: Resolving any missing task queue dependencies
NOTE: Preparing runqueue
NOTE: Executing runqueue
NOTE: Running task 118 of 186 (ID: 7, /opt/openembedded/recipes/qemu/qemu-native_0.10.3.bb, do_compile)
NOTE: Running task 178 of 186 (ID: 8, /opt/openembedded/recipes/qemu/qemu-native_0.10.3.bb, do_install)
NOTE: Running task 179 of 186 (ID: 12, /opt/openembedded/recipes/qemu/qemu-native_0.10.3.bb, do_package)
NOTE: Running task 180 of 186 (ID: 9, /opt/openembedded/recipes/qemu/qemu-native_0.10.3.bb, do_populate_staging)
NOTE: Running task 181 of 186 (ID: 16, /opt/openembedded/recipes/qemu/qemu-native_0.10.3.bb, do_package_write_ipk)
NOTE: Running task 182 of 186 (ID: 11, /opt/openembedded/recipes/qemu/qemu-native_0.10.3.bb, do_package_write)
NOTE: Running task 183 of 186 (ID: 15, /opt/openembedded/recipes/qemu/qemu-native_0.10.3.bb, do_package_stage)
NOTE: Running task 184 of 186 (ID: 10, /opt/openembedded/recipes/qemu/qemu-native_0.10.3.bb, do_qa_staging)
NOTE: Running task 185 of 186 (ID: 14, /opt/openembedded/recipes/qemu/qemu-native_0.10.3.bb, do_package_stage_all)
NOTE: Running task 186 of 186 (ID: 0, /opt/openembedded/recipes/qemu/qemu-native_0.10.3.bb, do_build)
NOTE: Tasks Summary: Attempted 186 tasks of which 176 didn't need to be rerun and 0 failed.

-----------------------------------------------------------------

Steffen

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

* Re: confusing qemu-native problem
  2009-08-04  9:38 ` confusing qemu-native problem Sledz, Steffen
@ 2009-08-04 12:29   ` Gregory Machairidis
  2009-08-04 12:56     ` Steffen Sledz
  2009-08-05 10:37   ` Steffen Sledz
  1 sibling, 1 reply; 7+ messages in thread
From: Gregory Machairidis @ 2009-08-04 12:29 UTC (permalink / raw)
  To: openembedded-devel

I had a similar problem after disabled the SELinux everything was fine...

On Tue, Aug 4, 2009 at 12:38 PM, Sledz, Steffen <sledz@dresearch.de> wrote:

> I've seen a very confusing, indetermined behaviour of the qemu-native build
> in the last time (current dev branch).
>
> When calling the following three commands back-to-back the first and the
> second fail with something like "/bin/sh:
> .../staging/i686-linux/usr/bin/pod2man: ...bad interpreter: Permission
> denied" but the third call succeeds (details see below).
>
>  bitbake hydraip-hipox-devimage
>  bitbake qemu-native
>  bitbake qemu-native
>
> In general it looks like the success of the qemu-native is really randomly.
>
> Why does the one call of "bitbake qemu-native" fails and the second
> succeeds?
>
> -----------------------------------------------------------------
> Details:
>
> > bitbake hydraip-hipox-devimage
> __builtin__:74: DeprecationWarning: the sets module is deprecated
> __builtin__:74: DeprecationWarning: the sets module is deprecated
> NOTE: Psyco JIT Compiler (http://psyco.sf.net) not available. Install it
> to increase performance.
> NOTE: Handling BitBake files: \ (7018/7018) [100 %]
> NOTE: Parsing finished. 6724 cached, 0 parsed, 294 skipped, 0 masked.
> NOTE: Cache is clean, not saving.
> NOTE: Resolving any missing task queue dependencies
> NOTE: Preparing runqueue
> NOTE: Executing runqueue
> ...
> NOTE: Running task 1660 of 3019 (ID: 1230, /opt/openembedded/recipes/qemu/
> qemu-native_0.10.3.bb, do_compile)
> NOTE: Running task 1661 of 3019 (ID: 2600,
> /opt/openembedded/recipes/libogg/libtheora_1.0.bb, do_package)
> ERROR: function do_compile failed
> ERROR: log data follows
> (/home/DRESEARCH/production/METABUILD/2009-08-03-15-24-27--hydraip-build--28595/OpenEmbedded/tmp.3/work/i686-linux/qemu-native-0.10.3-r1/temp/log.do_compile.31839)
> | NOTE: make -j 2
> |   CC    qemu-nbd.o
> |   CC    qemu-tool.o
> |   CC    osdep.o
> |   CC    cutils.o
> |   CC    qemu-malloc.o
> |   CC    block-cow.o
> |   CC    block-qcow.o
> |   CC    aes.o
> |   CC    block-vmdk.o
> |   CC    block-cloop.o
> |   CC    block-dmg.o
> |   CC    block-bochs.o
> |   CC    block-vpc.o
> |   CC    block-vvfat.o
> |   CC    block-qcow2.o
> |   CC    block-parallels.o
> |   CC    block-nbd.o
> |   CC    nbd.o
> |   CC    block.o
> |   CC    aio.o
> |   CC    posix-aio-compat.o
> |   CC    block-raw-posix.o
> |   CC    qemu-img.o
> | texi2html -monolithic -number qemu-doc.texi
> | texi2html -monolithic -number qemu-tech.texi
> |
> /home/DRESEARCH/production/METABUILD/2009-08-03-15-24-27--hydraip-build--28595/OpenEmbedded/tmp.3/work/i686-linux/qemu-native-0.10.3-r1/qemu-0.10.3/texi2pod.pl
> qemu-doc.texi qemu.pod
> | pod2man --section=1 --center=" " --release=" " qemu.pod > qemu.1
> | /bin/sh:
> /home/DRESEARCH/production/METABUILD/2009-08-03-15-24-27--hydraip-build--28595/OpenEmbedded/tmp.3/staging/i686-linux/usr/bin/pod2man:
> /home/DRESEARCH/production/METABUILD/2009-08-03-15-24-27--hydraip-build--28595:
> bad interpreter: Permission denied
> | make: *** [qemu.1] Error 126
> | make: *** Waiting for unfinished jobs....
> | FATAL: oe_runmake failed
> NOTE: Task failed:
> /home/DRESEARCH/production/METABUILD/2009-08-03-15-24-27--hydraip-build--28595/OpenEmbedded/tmp.3/work/i686-linux/qemu-native-0.10.3-r1/temp/log.do_compile.31839
> ERROR: TaskFailed event exception, aborting
> ERROR: Build of /opt/openembedded/recipes/qemu/qemu-native_0.10.3.bbdo_compile failed
> NOTE: Running task 1662 of 3019 (ID: 2574,
> /opt/openembedded/recipes/libmad/libmad_0.15.1b.bb, do_package)
> ERROR: Task 1230 (/opt/openembedded/recipes/qemu/qemu-native_0.10.3.bb,
> do_compile) failed
> NOTE: Waiting for 1 active tasks to finish
> NOTE: 1: /opt/openembedded/recipes/libmad/libmad_0.15.1b.bb, do_package
> (32041)
> NOTE: Tasks Summary: Attempted 1660 tasks of which 1651 didn't need to be
> rerun and 1 failed.
> ERROR: '/opt/openembedded/recipes/qemu/qemu-native_0.10.3.bb' failed
>
> > bitbake qemu-native
> __builtin__:74: DeprecationWarning: the sets module is deprecated
> __builtin__:74: DeprecationWarning: the sets module is deprecated
> NOTE: Psyco JIT Compiler (http://psyco.sf.net) not available. Install it
> to increase performance.
> NOTE: Handling BitBake files: \ (7018/7018) [100 %]
> NOTE: Parsing finished. 6724 cached, 0 parsed, 294 skipped, 0 masked.
> NOTE: Cache is clean, not saving.
> NOTE: Resolving any missing task queue dependencies
> NOTE: Preparing runqueue
> NOTE: Executing runqueue
> NOTE: Running task 118 of 186 (ID: 7, /opt/openembedded/recipes/qemu/
> qemu-native_0.10.3.bb, do_compile)
> NOTE: Running task 177 of 186 (ID: 13, /opt/openembedded/recipes/qemu/
> qemu-native_0.10.3.bb, do_distribute_sources)
> ERROR: function do_compile failed
> ERROR: log data follows
> (/home/DRESEARCH/production/METABUILD/2009-08-03-15-24-27--hydraip-build--28595/OpenEmbedded/tmp.3/work/i686-linux/qemu-native-0.10.3-r1/temp/log.do_compile.32118)
> | NOTE: make -j 2
> |   LINK  qemu-nbd
> |   LINK  qemu-img
> |
> /home/DRESEARCH/production/METABUILD/2009-08-03-15-24-27--hydraip-build--28595/OpenEmbedded/tmp.3/work/i686-linux/qemu-native-0.10.3-r1/qemu-0.10.3/texi2pod.pl
> qemu-img.texi qemu-img.pod
> |
> /home/DRESEARCH/production/METABUILD/2009-08-03-15-24-27--hydraip-build--28595/OpenEmbedded/tmp.3/work/i686-linux/qemu-native-0.10.3-r1/qemu-0.10.3/texi2pod.pl
> qemu-nbd.texi qemu-nbd.pod
> | pod2man --section=1 --center=" " --release=" " qemu-img.pod > qemu-img.1
> | pod2man --section=8 --center=" " --release=" " qemu-nbd.pod > qemu-nbd.8
> | /bin/sh:
> /home/DRESEARCH/production/METABUILD/2009-08-03-15-24-27--hydraip-build--28595/OpenEmbedded/tmp.3/staging/i686-linux/usr/bin/pod2man:
> /home/DRESEARCH/production/METABUILD/2009-08-03-15-24-27--hydraip-build--28595:
> bad interpreter: Permission denied
> | make: *** [qemu-nbd.8] Error 126
> | make: *** Waiting for unfinished jobs....
> | /bin/sh:
> /home/DRESEARCH/production/METABUILD/2009-08-03-15-24-27--hydraip-build--28595/OpenEmbedded/tmp.3/staging/i686-linux/usr/bin/pod2man:
> /home/DRESEARCH/production/METABUILD/2009-08-03-15-24-27--hydraip-build--28595:
> bad interpreter: Permission denied
> | make: *** [qemu-img.1] Error 126
> | FATAL: oe_runmake failed
> NOTE: Task failed:
> /home/DRESEARCH/production/METABUILD/2009-08-03-15-24-27--hydraip-build--28595/OpenEmbedded/tmp.3/work/i686-linux/qemu-native-0.10.3-r1/temp/log.do_compile.32118
> ERROR: TaskFailed event exception, aborting
> ERROR: Build of /opt/openembedded/recipes/qemu/qemu-native_0.10.3.bbdo_compile failed
> ERROR: Task 7 (/opt/openembedded/recipes/qemu/qemu-native_0.10.3.bb,
> do_compile) failed
> NOTE: Waiting for 1 active tasks to finish
> NOTE: 1: /opt/openembedded/recipes/qemu/qemu-native_0.10.3.bb,
> do_distribute_sources (32119)
> NOTE: Tasks Summary: Attempted 175 tasks of which 175 didn't need to be
> rerun and 1 failed.
> ERROR: '/opt/openembedded/recipes/qemu/qemu-native_0.10.3.bb' failed
>
>
> > bitbake qemu-native
> __builtin__:74: DeprecationWarning: the sets module is deprecated
> __builtin__:74: DeprecationWarning: the sets module is deprecated
> NOTE: Psyco JIT Compiler (http://psyco.sf.net) not available. Install it
> to increase performance.
> NOTE: Handling BitBake files: \ (7018/7018) [100 %]
> NOTE: Parsing finished. 6724 cached, 0 parsed, 294 skipped, 0 masked.
> NOTE: Cache is clean, not saving.
> NOTE: Resolving any missing task queue dependencies
> NOTE: Preparing runqueue
> NOTE: Executing runqueue
> NOTE: Running task 118 of 186 (ID: 7, /opt/openembedded/recipes/qemu/
> qemu-native_0.10.3.bb, do_compile)
> NOTE: Running task 178 of 186 (ID: 8, /opt/openembedded/recipes/qemu/
> qemu-native_0.10.3.bb, do_install)
> NOTE: Running task 179 of 186 (ID: 12, /opt/openembedded/recipes/qemu/
> qemu-native_0.10.3.bb, do_package)
> NOTE: Running task 180 of 186 (ID: 9, /opt/openembedded/recipes/qemu/
> qemu-native_0.10.3.bb, do_populate_staging)
> NOTE: Running task 181 of 186 (ID: 16, /opt/openembedded/recipes/qemu/
> qemu-native_0.10.3.bb, do_package_write_ipk)
> NOTE: Running task 182 of 186 (ID: 11, /opt/openembedded/recipes/qemu/
> qemu-native_0.10.3.bb, do_package_write)
> NOTE: Running task 183 of 186 (ID: 15, /opt/openembedded/recipes/qemu/
> qemu-native_0.10.3.bb, do_package_stage)
> NOTE: Running task 184 of 186 (ID: 10, /opt/openembedded/recipes/qemu/
> qemu-native_0.10.3.bb, do_qa_staging)
> NOTE: Running task 185 of 186 (ID: 14, /opt/openembedded/recipes/qemu/
> qemu-native_0.10.3.bb, do_package_stage_all)
> NOTE: Running task 186 of 186 (ID: 0, /opt/openembedded/recipes/qemu/
> qemu-native_0.10.3.bb, do_build)
> NOTE: Tasks Summary: Attempted 186 tasks of which 176 didn't need to be
> rerun and 0 failed.
>
> -----------------------------------------------------------------
>
> Steffen
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>



-- 
Grigorios Machairidis
--------------------------------------------
Connect I.T - www.connectit.gr
Bas. Sofias 5
Xanthi - 67100
Greece
Mob: +306945878331
Tel: +30 25410 64089
Fax: +30 25410 64088
--------------------------------------------


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

* Re: confusing qemu-native problem
  2009-08-04 12:29   ` Gregory Machairidis
@ 2009-08-04 12:56     ` Steffen Sledz
  0 siblings, 0 replies; 7+ messages in thread
From: Steffen Sledz @ 2009-08-04 12:56 UTC (permalink / raw)
  To: openembedded-devel

Gregory Machairidis schrieb:
> I had a similar problem after disabled the SELinux everything was fine...

I've neither enabled SELinux nor AppArmor (i'm running openSUSE 11.1).

Steffen





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

* Re: confusing qemu-native problem
  2009-08-04  9:38 ` confusing qemu-native problem Sledz, Steffen
  2009-08-04 12:29   ` Gregory Machairidis
@ 2009-08-05 10:37   ` Steffen Sledz
  2009-08-13  7:44     ` Steffen Sledz
  1 sibling, 1 reply; 7+ messages in thread
From: Steffen Sledz @ 2009-08-05 10:37 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Kristoffer_e1

Sledz, Steffen schrieb:
> I've seen a very confusing, indetermined behaviour of the qemu-native build in the last time (current dev branch).
> 
> When calling the following three commands back-to-back the first and the second fail with something like "/bin/sh: .../staging/i686-linux/usr/bin/pod2man: ...bad interpreter: Permission denied" but the third call succeeds (details see below).
> 
>  bitbake hydraip-hipox-devimage
>  bitbake qemu-native
>  bitbake qemu-native
> 
> In general it looks like the success of the qemu-native is really randomly.
> 
> Why does the one call of "bitbake qemu-native" fails and the second succeeds?
> ...

No more ideas here?

Such indetermined behaviour is really a horror!

Steffen





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

* Re: confusing qemu-native problem
  2009-08-05 10:37   ` Steffen Sledz
@ 2009-08-13  7:44     ` Steffen Sledz
  2009-08-13 11:32       ` Michael Smith
  0 siblings, 1 reply; 7+ messages in thread
From: Steffen Sledz @ 2009-08-13  7:44 UTC (permalink / raw)
  To: openembedded-devel

Steffen Sledz schrieb:
> Sledz, Steffen schrieb:
>> I've seen a very confusing, indetermined behaviour of the qemu-native build in the last time (current dev branch).
>>
>> When calling the following three commands back-to-back the first and the second fail with something like "/bin/sh: .../staging/i686-linux/usr/bin/pod2man: ...bad interpreter: Permission denied" but the third call succeeds (details see below).
>>
>>  bitbake hydraip-hipox-devimage
>>  bitbake qemu-native
>>  bitbake qemu-native
>>
>> In general it looks like the success of the qemu-native is really randomly.
>>
>> Why does the one call of "bitbake qemu-native" fails and the second succeeds?
>> ...
> 
> No more ideas here?
> 
> Such indetermined behaviour is really a horror!

My google searches result in some possible causes for a behaviour like this, but none of them matches my case. :(

1. DOS line endings -> checked: none

2. noexec mount option -> checked: exec

3. acl or user_xattr effects -> checked: not used

Looking into the logs and playing with the devshell i found these interesting points:

> /home/DRESEARCH/production/METABUILD/2009-08-03-15-24-27--hydraip-build--28595/OpenEmbedded/tmp.3/staging/i686-linux/usr/bin/pod2man --help
bash: /home/DRESEARCH/production/METABUILD/2009-08-03-15-24-27--hydraip-build--28595/OpenEmbedded/tmp.3/staging/i686-linux/usr/bin/pod2man: /home/DRESEARCH/production/METABUILD/2009-08-03-15-24-27--hydraip-build--28595: bad interpreter: Permission denied

> head -n1 /home/DRESEARCH/production/METABUILD/2009-08-03-15-24-27--hydraip-build--28595/OpenEmbedded/tmp.3/staging/i686-linux/usr/bin/pod2man
#!/home/DRESEARCH/production/METABUILD/2009-08-03-15-24-27--hydraip-build--28595/OpenEmbedded/tmp.3/staging/i686-linux/usr/bin/perl

> /home/DRESEARCH/production/METABUILD/2009-08-03-15-24-27--hydraip-build--28595/OpenEmbedded/tmp.3/staging/i686-linux/usr/bin/perl --version

This is perl, v5.8.8 built for i686-linux-thread-multi
...

So the perl interpreter seems not to be the problem. Confusing for me is the original error message:

"/home/DRESEARCH/production/METABUILD/2009-08-03-15-24-27--hydraip-build--28595: bad interpreter: Permission denied"

I would expect something like:

"/home/DRESEARCH/production/METABUILD/2009-08-03-15-24-27--hydraip-build--28595/OpenEmbedded/tmp.3/staging/i686-linux/usr/bin/pod2man: bad interpreter: Permission denied"

It looks like someone cut the path to the pod2man script.

I would be really grateful for some help.

Steffen





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

* Re: confusing qemu-native problem
  2009-08-13  7:44     ` Steffen Sledz
@ 2009-08-13 11:32       ` Michael Smith
  2009-08-17 12:28         ` Steffen Sledz
  0 siblings, 1 reply; 7+ messages in thread
From: Michael Smith @ 2009-08-13 11:32 UTC (permalink / raw)
  To: openembedded-devel

On Thu, 13 Aug 2009, Steffen Sledz wrote:

> Steffen Sledz schrieb:
> > head -n1 /home/DRESEARCH/production/METABUILD/2009-08-03-15-24-27--hydraip-build--28595/OpenEmbedded/tmp.3/staging/i686-linux/usr/bin/pod2man

> #!/home/DRESEARCH/production/METABUILD/2009-08-03-15-24-27--hydraip-build--28595/OpenEmbedded/tmp.3/staging/i686-linux/usr/bin/perl

> It looks like someone cut the path to the pod2man script.

Heh, I guess there's a limit on #! line length.

include/linux/binfmts.h:#define BINPRM_BUF_SIZE 128

I guess you could try to make your build directory name a bit shorter, or 
hack up pod2man to use #!/usr/bin/env perl.

Mike



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

* Re: confusing qemu-native problem
  2009-08-13 11:32       ` Michael Smith
@ 2009-08-17 12:28         ` Steffen Sledz
  0 siblings, 0 replies; 7+ messages in thread
From: Steffen Sledz @ 2009-08-17 12:28 UTC (permalink / raw)
  To: openembedded-devel

Michael Smith schrieb:
> Heh, I guess there's a limit on #! line length.
> 
> include/linux/binfmts.h:#define BINPRM_BUF_SIZE 128

<grrrrrr> This looks like a limit from the last millenium. </grrrrrr>

But you're rigth. This seems to be the problem.

> I guess you could try to make your build directory name a bit shorter, or 
> hack up pod2man to use #!/usr/bin/env perl.

I choose to shrink my directory path names, because a short look throught the staging area should, that there are a some other scripts with the same problem.

But that's really really ugly. Especially this undetermined behaviour.

Steffen





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

end of thread, other threads:[~2009-08-17 12:46 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <AcoU52Sb18YP2SXPQq6rfJAb373LGA==>
2009-08-04  9:38 ` confusing qemu-native problem Sledz, Steffen
2009-08-04 12:29   ` Gregory Machairidis
2009-08-04 12:56     ` Steffen Sledz
2009-08-05 10:37   ` Steffen Sledz
2009-08-13  7:44     ` Steffen Sledz
2009-08-13 11:32       ` Michael Smith
2009-08-17 12:28         ` Steffen Sledz

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.