All of lore.kernel.org
 help / color / mirror / Atom feed
* OSError: [Errno 2] No such file or directory
       [not found] <AANLkTilQUwinqS2HGJJzP3t_UTmXtH9daLEiN_fek-6i@mail.gmail.com>
@ 2010-06-14 14:12 ` nikunj badjatya
  2010-06-15 14:35   ` Khem Raj
  0 siblings, 1 reply; 11+ messages in thread
From: nikunj badjatya @ 2010-06-14 14:12 UTC (permalink / raw)
  To: openembedded-devel, angstrom-distro-users

Kindly ignore if this mail already has reached your mailbox.!
==================================================
Hi,
I am trying to build "console-image" using OE framework. With *ANGSTROM
distro* and *OMAP5912OSK* as my machine.
I get an error, saying OSError, no such file or directory.

I have pasted the command with its output.

All necessary python modules are installed .
I tried with frequent "git pull" but results are same.

My organization does not permits to use ftp links.


*NOTE: I have installed python2.6 in /opt directory.
 and /usr/bin/python points to /opt/python2.6/python2.6*

Kindly help me to rectify this problem.

Thanks,

Nikunj
Bangalore, India
*

$ bitbake console-image 2>&1 | tee console-image-19.16pm.log
Parsing .bb files, please wait...NOTE: Angstrom DOES NOT support fso-apm
because regular apmd is good enough
NOTE: Angstrom DOES NOT support bluez-libs because bluez-libs 3.x has been
replaced by bluez4
NOTE: Angstrom DOES NOT support bluez-utils because bluez-utils 3.x has been
replaced by bluez4
NOTE: Angstrom DOES NOT support bluez-utils because bluez-utils 3.x has been
replaced by bluez4
NOTE: Angstrom DOES NOT support bluez-libs because bluez-libs 3.x has been
replaced by bluez4
NOTE: Angstrom DOES NOT support bluez-libs because bluez-libs 3.x has been
replaced by bluez4
NOTE: Angstrom DOES NOT support libiconv because the glibc builtin iconv
replacement is used
NOTE: Angstrom DOES NOT support libiconv because the glibc builtin iconv
replacement is used
NOTE: Angstrom DOES NOT support libiconv because the glibc builtin iconv
replacement is used
done.
NOTE: Parsing finished. 0 cached, 8094 parsed, 310 skipped, 0 masked.
NOTE: Resolving any missing task queue dependencies
NOTE: Preparing runqueue
NOTE: Executing runqueue
NOTE: Running task 1 of 3329 (ID: 601,
/home/nikunj/ope/openembedded/recipes/stage-manager/
stagemanager-native_0.0.1.bb, do_setscene)
NOTE: Running task 2 of 3329 (ID: 600,
/home/nikunj/ope/openembedded/recipes/stage-manager/
stagemanager-native_0.0.1.bb, do_fetch)
NOTE: Running task 3 of 3329 (ID: 596,
/home/nikunj/ope/openembedded/recipes/stage-manager/
stagemanager-native_0.0.1.bb, do_unpack)
NOTE: Unpacking ../openembedded/recipes/stage-manager/files/stage-manager to
tmp/work/i686-linux/stagemanager-native-0.0.1-r12/
NOTE: Unpacking
../openembedded/recipes/stage-manager/files/stage-manager-ipkg to
tmp/work/i686-linux/stagemanager-native-0.0.1-r12/
NOTE: Unpacking
../openembedded/recipes/stage-manager/files/stage-manager-ipkg-build to
tmp/work/i686-linux/stagemanager-native-0.0.1-r12/
NOTE: Running task 4 of 3329 (ID: 597,
/home/nikunj/ope/openembedded/recipes/stage-manager/
stagemanager-native_0.0.1.bb, do_patch)
NOTE: Running task 5 of 3329 (ID: 602,
/home/nikunj/ope/openembedded/recipes/stage-manager/
stagemanager-native_0.0.1.bb, do_configure)
NOTE: Running task 6 of 3329 (ID: 603,
/home/nikunj/ope/openembedded/recipes/stage-manager/
stagemanager-native_0.0.1.bb, do_qa_configure)
NOTE: Running task 7 of 3329 (ID: 604,
/home/nikunj/ope/openembedded/recipes/stage-manager/
stagemanager-native_0.0.1.bb, do_compile)
NOTE: Running task 8 of 3329 (ID: 598,
/home/nikunj/ope/openembedded/recipes/stage-manager/
stagemanager-native_0.0.1.bb, do_install)
NOTE: Running task 9 of 3329 (ID: 599,
/home/nikunj/ope/openembedded/recipes/stage-manager/
stagemanager-native_0.0.1.bb, do_populate_sysroot)
cp: cannot stat
`/home/nikunj/ope/build/tmp/work/i686-linux/stagemanager-native-0.0.1-r12/sysroot-destdir//home/nikunj/ope/build/tmp/*':
No such file or directory
NOTE: Running task 10 of 3329 (ID: 102,
/home/nikunj/ope/openembedded/recipes/coreutils/coreutils-native_8.5.bb,
do_setscene)
NOTE: Running task 11 of 3329 (ID: 101,
/home/nikunj/ope/openembedded/recipes/coreutils/coreutils-native_8.5.bb,
do_fetch)
NOTE: Running task 12 of 3329 (ID: 97,
/home/nikunj/ope/openembedded/recipes/coreutils/coreutils-native_8.5.bb,
do_unpack)
NOTE: Unpacking ../../sources/coreutils-8.5.tar.gz to
tmp/work/i686-linux/coreutils-native-8.5-r0/
NOTE: Running task 13 of 3329 (ID: 98,
/home/nikunj/ope/openembedded/recipes/coreutils/coreutils-native_8.5.bb,
do_patch)
NOTE: Running task 14 of 3329 (ID: 103,
/home/nikunj/ope/openembedded/recipes/coreutils/coreutils-native_8.5.bb,
do_configure)
NOTE: Running task 15 of 3329 (ID: 24,
/home/nikunj/ope/openembedded/recipes/quilt/quilt-native_0.48.bb,
do_setscene)
NOTE: Running task 16 of 3329 (ID: 23,
/home/nikunj/ope/openembedded/recipes/quilt/quilt-native_0.48.bb, do_fetch)
NOTE: Running task 17 of 3329 (ID: 19,
/home/nikunj/ope/openembedded/recipes/quilt/quilt-native_0.48.bb, do_unpack)
NOTE: Unpacking ../../sources/quilt-0.48.tar.gz to
tmp/work/i686-linux/quilt-native-0.48-r0/
NOTE: Unpacking ../openembedded/recipes/quilt/quilt-0.48/install.patch to
tmp/work/i686-linux/quilt-native-0.48-r0/
NOTE: Running task 18 of 3329 (ID: 104,
/home/nikunj/ope/openembedded/recipes/coreutils/coreutils-native_8.5.bb,
do_qa_configure)
NOTE: Gettext required but not in DEPENDS for file
/home/nikunj/ope/build/tmp/work/i686-linux/coreutils-native-8.5-r0/coreutils-8.5/
configure.ac.
Missing inherit gettext?
NOTE: Running task 19 of 3329 (ID: 105,
/home/nikunj/ope/openembedded/recipes/coreutils/coreutils-native_8.5.bb,
do_compile)
NOTE: Running task 20 of 3329 (ID: 99,
/home/nikunj/ope/openembedded/recipes/coreutils/coreutils-native_8.5.bb,
do_install)
NOTE: Running task 21 of 3329 (ID: 100,
/home/nikunj/ope/openembedded/recipes/coreutils/coreutils-native_8.5.bb,
do_populate_sysroot)
ERROR: Error in executing: /home/nikunj/ope/openembedded/recipes/coreutils/
coreutils-native_8.5.bb
ERROR: Exception:<type 'exceptions.OSError'> Message:[Errno 2] No such file
or directory
ERROR: Printing the environment of the function
ERROR: Error in executing: /home/nikunj/ope/openembedded/recipes/coreutils/
coreutils-native_8.5.bb
ERROR: Exception:<type 'exceptions.OSError'> Message:[Errno 2] No such file
or directory
ERROR: Printing the environment of the function
ERROR: Build of /home/nikunj/ope/openembedded/recipes/coreutils/
coreutils-native_8.5.bb do_populate_sysroot failed
Traceback (most recent call last):
  File "/home/nikunj/ope/bitbake/bin/bitbake", line 143, in <module>
    main()
  File "/home/nikunj/ope/bitbake/bin/bitbake", line 140, in main
    cooker.cook()
  File "/home/nikunj/ope/bitbake/lib/bb/cooker.py", line 640, in cook
    return self.buildTargets(pkgs_to_build)
  File "/home/nikunj/ope/bitbake/lib/bb/cooker.py", line 547, in
buildTargets
    failures = rq.execute_runqueue()
  File "/home/nikunj/ope/bitbake/lib/bb/runqueue.py", line 841, in
execute_runqueue
    self.execute_runqueue_internal()
  File "/home/nikunj/ope/bitbake/lib/bb/runqueue.py", line 950, in
execute_runqueue_internal
    self.cooker.tryBuild(fn)
  File "/home/nikunj/ope/bitbake/lib/bb/cooker.py", line 136, in tryBuild
    return self.tryBuildPackage(fn, item, self.configuration.cmd, the_data)
  File "/home/nikunj/ope/bitbake/lib/bb/cooker.py", line 110, in
tryBuildPackage
    bb.build.exec_task('do_%s' % task, the_data)
  File "/home/nikunj/ope/bitbake/lib/bb/build.py", line 283, in exec_task
    exec_func(task, localdata)
  File "/home/nikunj/ope/bitbake/lib/bb/build.py", line 120, in exec_func
    exec_func_python(func, d)
  File "/home/nikunj/ope/bitbake/lib/bb/build.py", line 141, in
exec_func_python
    utils.better_exec(comp, g, tmp, bbfile)
  File "/home/nikunj/ope/bitbake/lib/bb/utils.py", line 185, in better_exec
    exec code in context
  File "do_populate_sysroot", line 49, in <module>
  File "do_populate_sysroot", line 42, in do_populate_sysroot
  File "/home/nikunj/ope/bitbake/lib/bb/build.py", line 120, in exec_func
    exec_func_python(func, d)
  File "/home/nikunj/ope/bitbake/lib/bb/build.py", line 141, in
exec_func_python
    utils.better_exec(comp, g, tmp, bbfile)
  File "/home/nikunj/ope/bitbake/lib/bb/utils.py", line 185, in better_exec
    exec code in context
  File "relocatable_binaries_preprocess", line 4, in <module>
  File "relocatable_binaries_preprocess", line 2, in
relocatable_binaries_preprocess
  File "<bb>", line 7, in rpath_replace
  File "<bb>", line 35, in process_dir
  File "/opt/python2.6/lib/python2.6/subprocess.py", line 633, in __init__
    errread, errwrite)
  File "/opt/python2.6/lib/python2.6/subprocess.py", line 1139, in
_execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory
ERROR: Task 100 (/home/nikunj/ope/openembedded/recipes/coreutils/
coreutils-native_8.5.bb, do_populate_sysroot) failed
NOTE: Tasks Summary: Attempted 20 tasks of which 0 didn't need to be rerun
and 1 failed.
ERROR: '/home/nikunj/ope/openembedded/recipes/coreutils/
coreutils-native_8.5.bb' failed
*


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

* Re: OSError: [Errno 2] No such file or directory
  2010-06-14 14:12 ` OSError: [Errno 2] No such file or directory nikunj badjatya
@ 2010-06-15 14:35   ` Khem Raj
  2010-06-17 12:39     ` nikunj badjatya
  0 siblings, 1 reply; 11+ messages in thread
From: Khem Raj @ 2010-06-15 14:35 UTC (permalink / raw)
  To: openembedded-devel; +Cc: angstrom-distro-users

On Mon, Jun 14, 2010 at 7:12 AM, nikunj badjatya
<nikunjbadjatya@gmail.com> wrote:
>  File "/home/nikunj/ope/bitbake/lib/bb/build.py", line 141, in
> exec_func_python
>    utils.better_exec(comp, g, tmp, bbfile)
>  File "/home/nikunj/ope/bitbake/lib/bb/utils.py", line 185, in better_exec
>    exec code in context
>  File "relocatable_binaries_preprocess", line 4, in <module>
>  File "relocatable_binaries_preprocess", line 2, in
> relocatable_binaries_preprocess
>  File "<bb>", line 7, in rpath_replace
>  File "<bb>", line 35, in process_dir
>  File "/opt/python2.6/lib/python2.6/subprocess.py", line 633, in __init__
>    errread, errwrite)
>  File "/opt/python2.6/lib/python2.6/subprocess.py", line 1139, in
> _execute_child
>    raise child_exception
> OSError: [Errno 2] No such file or directory
> ERROR: Task 100 (/home/nikunj/ope/openembedded/recipes/coreutils/
> coreutils-native_8.5.bb, do_populate_sysroot) failed
> NOTE: Tasks Summary: Attempted 20 tasks of which 0 didn't need to be rerun
> and 1 failed.
> ERROR: '/home/nikunj/ope/openembedded/recipes/coreutils/
> coreutils-native_8.5.bb' failed
>

It dies in process_dir while trying to do os.access I think. my guess
is that you are
passing it host paths like /usr/lib /lib etc which are under root
permissions and can
not be modified by normal user.

You have to debug it. uncomment the

#bb.note("Testing %s for relocatability" % fpath)

in classes/relocatable.bbclass line 28

and check what paths are passed to it when you do

bitbake -b coreutils-native_8.5.bb

-Khem



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

* Re: OSError: [Errno 2] No such file or directory
  2010-06-15 14:35   ` Khem Raj
@ 2010-06-17 12:39     ` nikunj badjatya
  2010-06-17 19:11       ` Khem Raj
  0 siblings, 1 reply; 11+ messages in thread
From: nikunj badjatya @ 2010-06-17 12:39 UTC (permalink / raw)
  To: openembedded-devel

Khem,
I have uncommented the required line.
It gives me the following output.

*$ bitbake -b coreutils-native_8.5.bb 2>&1 | tee
../../daily-work/logs_17.06.10/coreutils-native.bb.log
NOTE: Preparing runqueue
NOTE: Executing runqueue
NOTE: Running task 1 of 17 (ID: 6,
/home/nikunj/ope/openembedded/recipes/coreutils/coreutils-native_8.5.bb,
do_setscene)
sh: stage-manager-ipkg: command not found
NOTE: Running task 2 of 17 (ID: 5,
/home/nikunj/ope/openembedded/recipes/coreutils/coreutils-native_8.5.bb,
do_fetch)
NOTE: Running task 3 of 17 (ID: 0,
/home/nikunj/ope/openembedded/recipes/coreutils/coreutils-native_8.5.bb,
do_unpack)
NOTE: Unpacking ../../sources/coreutils-8.5.tar.gz to
tmp/work/i686-linux/coreutils-native-8.5-r0/
NOTE: Running task 4 of 17 (ID: 1,
/home/nikunj/ope/openembedded/recipes/coreutils/coreutils-native_8.5.bb,
do_patch)
NOTE: Running task 5 of 17 (ID: 7,
/home/nikunj/ope/openembedded/recipes/coreutils/coreutils-native_8.5.bb,
do_configure)
NOTE: Running task 6 of 17 (ID: 8,
/home/nikunj/ope/openembedded/recipes/coreutils/coreutils-native_8.5.bb,
do_qa_configure)
NOTE: Gettext required but not in DEPENDS for file
/home/nikunj/ope/build/tmp/work/i686-linux/coreutils-native-8.5-r0/coreutils-8.5/
configure.ac.
Missing inherit gettext?
NOTE: Running task 7 of 17 (ID: 9,
/home/nikunj/ope/openembedded/recipes/coreutils/coreutils-native_8.5.bb,
do_compile)
NOTE: Running task 8 of 17 (ID: 2,
/home/nikunj/ope/openembedded/recipes/coreutils/coreutils-native_8.5.bb,
do_install)
NOTE: Running task 9 of 17 (ID: 12,
/home/nikunj/ope/openembedded/recipes/coreutils/coreutils-native_8.5.bb,
do_package)
NOTE: Running task 10 of 17 (ID: 16,
/home/nikunj/ope/openembedded/recipes/coreutils/coreutils-native_8.5.bb,
do_package_write_ipk)
NOTE: Running task 11 of 17 (ID: 11,
/home/nikunj/ope/openembedded/recipes/coreutils/coreutils-native_8.5.bb,
do_package_write)
NOTE: Running task 12 of 17 (ID: 3,
/home/nikunj/ope/openembedded/recipes/coreutils/coreutils-native_8.5.bb,
do_populate_sysroot)
NOTE: Testing
/home/nikunj/ope/build/tmp/work/i686-linux/coreutils-native-8.5-r0/sysroot-destdir///home/nikunj/ope/build/tmp/sysroots/i686-linux/usr/bin/sleep
for relocatability
ERROR: Error in executing: /home/nikunj/ope/openembedded/recipes/coreutils/
coreutils-native_8.5.bb
ERROR: Exception:exceptions.OSError Message:[Errno 2] No such file or
directory
ERROR: Printing the environment of the function
ERROR: Error in executing: /home/nikunj/ope/openembedded/recipes/coreutils/
coreutils-native_8.5.bb
ERROR: Exception:exceptions.OSError Message:[Errno 2] No such file or
directory
ERROR: Printing the environment of the function
ERROR: Build of /home/nikunj/ope/openembedded/recipes/coreutils/
coreutils-native_8.5.bb do_populate_sysroot failed
Traceback (most recent call last):
  File "/home/nikunj/ope/bitbake/bin/bitbake", line 143, in ?
    main()
  File "/home/nikunj/ope/bitbake/bin/bitbake", line 140, in main
    cooker.cook()
  File "/home/nikunj/ope/bitbake/lib/bb/cooker.py", line 608, in cook
    if not self.buildFile(self.configuration.buildfile):
  File "/home/nikunj/ope/bitbake/lib/bb/cooker.py", line 510, in buildFile
    failures = rq.execute_runqueue()
  File "/home/nikunj/ope/bitbake/lib/bb/runqueue.py", line 841, in
execute_runqueue
    self.execute_runqueue_internal()
  File "/home/nikunj/ope/bitbake/lib/bb/runqueue.py", line 950, in
execute_runqueue_internal
    self.cooker.tryBuild(fn)
  File "/home/nikunj/ope/bitbake/lib/bb/cooker.py", line 136, in tryBuild
    return self.tryBuildPackage(fn, item, self.configuration.cmd, the_data)
  File "/home/nikunj/ope/bitbake/lib/bb/cooker.py", line 110, in
tryBuildPackage
    bb.build.exec_task('do_%s' % task, the_data)
  File "/home/nikunj/ope/bitbake/lib/bb/build.py", line 283, in exec_task
    exec_func(task, localdata)
  File "/home/nikunj/ope/bitbake/lib/bb/build.py", line 120, in exec_func
    exec_func_python(func, d)
  File "/home/nikunj/ope/bitbake/lib/bb/build.py", line 141, in
exec_func_python
    utils.better_exec(comp, g, tmp, bbfile)
  File "/home/nikunj/ope/bitbake/lib/bb/utils.py", line 185, in better_exec
    exec code in context
  File "do_populate_sysroot", line 49, in ?
  File "do_populate_sysroot", line 42, in do_populate_sysroot
  File "/home/nikunj/ope/bitbake/lib/bb/build.py", line 120, in exec_func
    exec_func_python(func, d)
  File "/home/nikunj/ope/bitbake/lib/bb/build.py", line 141, in
exec_func_python
    utils.better_exec(comp, g, tmp, bbfile)
  File "/home/nikunj/ope/bitbake/lib/bb/utils.py", line 185, in better_exec
    exec code in context
  File "relocatable_binaries_preprocess", line 4, in ?
  File "relocatable_binaries_preprocess", line 2, in
relocatable_binaries_preprocess
  File "<bb>", line 7, in rpath_replace
  File "<bb>", line 35, in process_dir
  File "/usr/lib/python2.4/subprocess.py", line 550, in __init__
    errread, errwrite)
  File "/usr/lib/python2.4/subprocess.py", line 993, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory
ERROR: Task 3 (/home/nikunj/ope/openembedded/recipes/coreutils/
coreutils-native_8.5.bb, do_populate_sysroot) failed
NOTE: Tasks Summary: Attempted 11 tasks of which 0 didn't need to be rerun
and 1 failed.
ERROR: '/home/nikunj/ope/openembedded/recipes/coreutils/
coreutils-native_8.5.bb' failed
*

-------------------------------------------------------------
*$ rpm -qa \*gettext\**
gettext-0.14.6-4.el5


Kindly Kindly help.!

Thanks,
Nikunj



On Tue, Jun 15, 2010 at 8:05 PM, Khem Raj <raj.khem@gmail.com> wrote:

> On Mon, Jun 14, 2010 at 7:12 AM, nikunj badjatya
> <nikunjbadjatya@gmail.com> wrote:
> >  File "/home/nikunj/ope/bitbake/lib/bb/build.py", line 141, in
> > exec_func_python
> >    utils.better_exec(comp, g, tmp, bbfile)
> >  File "/home/nikunj/ope/bitbake/lib/bb/utils.py", line 185, in
> better_exec
> >    exec code in context
> >  File "relocatable_binaries_preprocess", line 4, in <module>
> >  File "relocatable_binaries_preprocess", line 2, in
> > relocatable_binaries_preprocess
> >  File "<bb>", line 7, in rpath_replace
> >  File "<bb>", line 35, in process_dir
> >  File "/opt/python2.6/lib/python2.6/subprocess.py", line 633, in __init__
> >    errread, errwrite)
> >  File "/opt/python2.6/lib/python2.6/subprocess.py", line 1139, in
> > _execute_child
> >    raise child_exception
> > OSError: [Errno 2] No such file or directory
> > ERROR: Task 100 (/home/nikunj/ope/openembedded/recipes/coreutils/
> > coreutils-native_8.5.bb, do_populate_sysroot) failed
> > NOTE: Tasks Summary: Attempted 20 tasks of which 0 didn't need to be
> rerun
> > and 1 failed.
> > ERROR: '/home/nikunj/ope/openembedded/recipes/coreutils/
> > coreutils-native_8.5.bb' failed
> >
>
> It dies in process_dir while trying to do os.access I think. my guess
> is that you are
> passing it host paths like /usr/lib /lib etc which are under root
> permissions and can
> not be modified by normal user.
>
> You have to debug it. uncomment the
>
> #bb.note("Testing %s for relocatability" % fpath)
>
> in classes/relocatable.bbclass line 28
>
> and check what paths are passed to it when you do
>
> bitbake -b coreutils-native_8.5.bb
>
> -Khem
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>


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

* Re: OSError: [Errno 2] No such file or directory
  2010-06-17 12:39     ` nikunj badjatya
@ 2010-06-17 19:11       ` Khem Raj
  2010-06-17 19:38         ` Bernhard Reutner-Fischer
  2010-06-18  4:31         ` nikunj badjatya
  0 siblings, 2 replies; 11+ messages in thread
From: Khem Raj @ 2010-06-17 19:11 UTC (permalink / raw)
  To: openembedded-devel

On Thu, Jun 17, 2010 at 5:39 AM, nikunj badjatya
<nikunjbadjatya@gmail.com> wrote:
> /home/nikunj/ope/openembedded/recipes/coreutils/coreutils-native_8.5.bb,
> do_populate_sysroot)
> NOTE: Testing
> /home/nikunj/ope/build/tmp/work/i686-linux/coreutils-native-8.5-r0/sysroot-destdir///home/nikunj/ope/build/tmp/sysroots/i686-linux/usr/bin/sleep
> for relocatability
> ERROR: Error in executing: /home/nikunj/ope/openembedded/recipes/coreutils/
> coreutils-native_8.5.bb
> ERROR: Exception:exceptions.OSError Message:[Errno 2] No such file or
> directory
> ERROR: Printing the environment of the function
> ERROR: Error in executing: /home/nikunj/ope/openembedded/recipes/coreutils/
> coreutils-native_8.5.bb
> ERROR: Exception:exceptions.OSError Message:[Errno 2] No such file or
> directory
> ERROR: Printing the environment of the function
> ERROR: Build of /home/nikunj/ope/openembedded/recipes/coreutils/
> coreutils-native_8.5.bb do_populate_sysroot failed

Does  /home/nikunj/ope/build/tmp/work/i686-linux/coreutils-native-8.5-r0/sysroot-destdir///home/nikunj/ope/build/tmp/sysroots/i686-linux/usr/bin/sleep
exist ?



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

* Re: OSError: [Errno 2] No such file or directory
  2010-06-17 19:11       ` Khem Raj
@ 2010-06-17 19:38         ` Bernhard Reutner-Fischer
  2010-06-18  4:32           ` nikunj badjatya
  2010-06-18  4:31         ` nikunj badjatya
  1 sibling, 1 reply; 11+ messages in thread
From: Bernhard Reutner-Fischer @ 2010-06-17 19:38 UTC (permalink / raw)
  To: openembedded-devel

On Thu, Jun 17, 2010 at 12:11:52PM -0700, Khem Raj wrote:
>On Thu, Jun 17, 2010 at 5:39 AM, nikunj badjatya
><nikunjbadjatya@gmail.com> wrote:
>> /home/nikunj/ope/openembedded/recipes/coreutils/coreutils-native_8.5.bb,
>> do_populate_sysroot)
>> NOTE: Testing
>> /home/nikunj/ope/build/tmp/work/i686-linux/coreutils-native-8.5-r0/sysroot-destdir///home/nikunj/ope/build/tmp/sysroots/i686-linux/usr/bin/sleep
>> for relocatability

>Does  /home/nikunj/ope/build/tmp/work/i686-linux/coreutils-native-8.5-r0/sysroot-destdir///home/nikunj/ope/build/tmp/sysroots/i686-linux/usr/bin/sleep
>exist ?

huh? How would that supposed to be ok?
Looks like home is leaking into some prefix, no?
We should have a sanity for that one i suppose..

Feb 14 22:25:04 <me> does anybody else see /home in their staging dir or did i goof up somehow?
Feb 14 22:26:24 <me> would be nice if sanity would yell at /root and /home in the staging dir..

where /home == something in BBPATH, without looking into details.



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

* Re: OSError: [Errno 2] No such file or directory
  2010-06-17 19:11       ` Khem Raj
  2010-06-17 19:38         ` Bernhard Reutner-Fischer
@ 2010-06-18  4:31         ` nikunj badjatya
  1 sibling, 0 replies; 11+ messages in thread
From: nikunj badjatya @ 2010-06-18  4:31 UTC (permalink / raw)
  To: openembedded-devel

Khem,
Yes , It exists and has the following contents:
*
[          comm       du         head       md5sum     od         rm
shuf       tail       uname      yes
base64     cp         echo       hostid     mkdir      paste      rmdir
sleep      tee        unexpand
basename   csplit     env        id         mkfifo     pathchk    runcon
sort       test       uniq
cat        cut        expand     install    mknod      pinky      seq
split      timeout    unlink
chcon      date       expr       join       mktemp     pr         sha1sum
stat       touch      uptime
chgrp      dd         factor     kill       mv         printenv   sha224sum
stdbuf     tr         users
chmod      df         false      link       nice       printf     sha256sum
stty       true       vdir
chown      dir        fmt        ln         nl         ptx        sha384sum
sum        truncate   wc
chroot     dircolors  fold       logname    nohup      pwd        sha512sum
sync       tsort      who
cksum      dirname    groups     ls         nproc      readlink   shred
tac        tty        whoami*



Nikunj Badjatya
BTech




On Fri, Jun 18, 2010 at 12:41 AM, Khem Raj <raj.khem@gmail.com> wrote:

> On Thu, Jun 17, 2010 at 5:39 AM, nikunj badjatya
> <nikunjbadjatya@gmail.com> wrote:
> > /home/nikunj/ope/openembedded/recipes/coreutils/coreutils-native_8.5.bb,
> > do_populate_sysroot)
> > NOTE: Testing
> >
> /home/nikunj/ope/build/tmp/work/i686-linux/coreutils-native-8.5-r0/sysroot-destdir///home/nikunj/ope/build/tmp/sysroots/i686-linux/usr/bin/sleep
> > for relocatability
> > ERROR: Error in executing:
> /home/nikunj/ope/openembedded/recipes/coreutils/
> > coreutils-native_8.5.bb
> > ERROR: Exception:exceptions.OSError Message:[Errno 2] No such file or
> > directory
> > ERROR: Printing the environment of the function
> > ERROR: Error in executing:
> /home/nikunj/ope/openembedded/recipes/coreutils/
> > coreutils-native_8.5.bb
> > ERROR: Exception:exceptions.OSError Message:[Errno 2] No such file or
> > directory
> > ERROR: Printing the environment of the function
> > ERROR: Build of /home/nikunj/ope/openembedded/recipes/coreutils/
> > coreutils-native_8.5.bb do_populate_sysroot failed
>
> Does
>  /home/nikunj/ope/build/tmp/work/i686-linux/coreutils-native-8.5-r0/sysroot-destdir///home/nikunj/ope/build/tmp/sysroots/i686-linux/usr/bin/sleep
> exist ?
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>


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

* Re: OSError: [Errno 2] No such file or directory
  2010-06-17 19:38         ` Bernhard Reutner-Fischer
@ 2010-06-18  4:32           ` nikunj badjatya
  2010-06-18  9:39             ` nikunj badjatya
  0 siblings, 1 reply; 11+ messages in thread
From: nikunj badjatya @ 2010-06-18  4:32 UTC (permalink / raw)
  To: openembedded-devel

Hi Bernhard,

*echo $BBPATH
/home/nikunj/ope/build:/home/nikunj/ope/openembedded*

Is that wrong.?





On Fri, Jun 18, 2010 at 1:08 AM, Bernhard Reutner-Fischer <
rep.dot.nop@gmail.com> wrote:

> On Thu, Jun 17, 2010 at 12:11:52PM -0700, Khem Raj wrote:
> >On Thu, Jun 17, 2010 at 5:39 AM, nikunj badjatya
> ><nikunjbadjatya@gmail.com> wrote:
> >> /home/nikunj/ope/openembedded/recipes/coreutils/coreutils-native_8.5.bb
> ,
> >> do_populate_sysroot)
> >> NOTE: Testing
> >>
> /home/nikunj/ope/build/tmp/work/i686-linux/coreutils-native-8.5-r0/sysroot-destdir///home/nikunj/ope/build/tmp/sysroots/i686-linux/usr/bin/sleep
> >> for relocatability
>
> >Does
>  /home/nikunj/ope/build/tmp/work/i686-linux/coreutils-native-8.5-r0/sysroot-destdir///home/nikunj/ope/build/tmp/sysroots/i686-linux/usr/bin/sleep
> >exist ?
>
> huh? How would that supposed to be ok?
> Looks like home is leaking into some prefix, no?
> We should have a sanity for that one i suppose..
>
> Feb 14 22:25:04 <me> does anybody else see /home in their staging dir or
> did i goof up somehow?
> Feb 14 22:26:24 <me> would be nice if sanity would yell at /root and /home
> in the staging dir..
>
> where /home == something in BBPATH, without looking into details.
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>


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

* Re: OSError: [Errno 2] No such file or directory
  2010-06-18  4:32           ` nikunj badjatya
@ 2010-06-18  9:39             ` nikunj badjatya
  2010-06-18 12:07               ` nikunj badjatya
  0 siblings, 1 reply; 11+ messages in thread
From: nikunj badjatya @ 2010-06-18  9:39 UTC (permalink / raw)
  To: openembedded-devel

Hi All,
I have found the cause of the problem.
I did a reinstall of Python and YUM few days back.
I was thinking that other software requirements ( texi2info, help2man,
chrpath etc. ) need not to be installed again.
But when I tried reinstalling them also, the error is gone..!!

The strange thing is that bitbake was not reporting himself that this are
the missing modules which it needs prior to running any build..!!

Anyways, Thanks Very Much for your time.


Nikunj
Bangalore, India




On Fri, Jun 18, 2010 at 10:02 AM, nikunj badjatya
<nikunjbadjatya@gmail.com>wrote:

> Hi Bernhard,
>
> *echo $BBPATH
> /home/nikunj/ope/build:/home/nikunj/ope/openembedded*
>
> Is that wrong.?
>
>
>
>
>
>
> On Fri, Jun 18, 2010 at 1:08 AM, Bernhard Reutner-Fischer <
> rep.dot.nop@gmail.com> wrote:
>
>> On Thu, Jun 17, 2010 at 12:11:52PM -0700, Khem Raj wrote:
>> >On Thu, Jun 17, 2010 at 5:39 AM, nikunj badjatya
>> ><nikunjbadjatya@gmail.com> wrote:
>> >> /home/nikunj/ope/openembedded/recipes/coreutils/
>> coreutils-native_8.5.bb,
>> >> do_populate_sysroot)
>> >> NOTE: Testing
>> >>
>> /home/nikunj/ope/build/tmp/work/i686-linux/coreutils-native-8.5-r0/sysroot-destdir///home/nikunj/ope/build/tmp/sysroots/i686-linux/usr/bin/sleep
>> >> for relocatability
>>
>> >Does
>>  /home/nikunj/ope/build/tmp/work/i686-linux/coreutils-native-8.5-r0/sysroot-destdir///home/nikunj/ope/build/tmp/sysroots/i686-linux/usr/bin/sleep
>> >exist ?
>>
>> huh? How would that supposed to be ok?
>> Looks like home is leaking into some prefix, no?
>> We should have a sanity for that one i suppose..
>>
>> Feb 14 22:25:04 <me> does anybody else see /home in their staging dir or
>> did i goof up somehow?
>> Feb 14 22:26:24 <me> would be nice if sanity would yell at /root and /home
>> in the staging dir..
>>
>> where /home == something in BBPATH, without looking into details.
>>
>> _______________________________________________
>> Openembedded-devel mailing list
>> Openembedded-devel@lists.openembedded.org
>> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>>
>
>


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

* Re: OSError: [Errno 2] No such file or directory
  2010-06-18  9:39             ` nikunj badjatya
@ 2010-06-18 12:07               ` nikunj badjatya
  2010-06-18 18:59                 ` Khem Raj
  0 siblings, 1 reply; 11+ messages in thread
From: nikunj badjatya @ 2010-06-18 12:07 UTC (permalink / raw)
  To: openembedded-devel

Hi again,

The build was running successfully untill It came at this place.. : The last
few lines where error occured.

$ bitbake console-image 2>&1 | tee console-image.log
............................................
............................................
*NOTE: Running task 959 of 3342 (ID: 134,
/home/nikunj/ope/openembedded/recipes/glibc/glibc_2.9.bb, do_package)
NOTE: preparing tree for binary locale generation
NOTE: generating locale es_NI (UTF-8)
NOTE: Task failed: localedef returned an error (command was
PATH="/home/nikunj/ope/build/tmp/sysroots/i686-linux/usr/bin/armv5te-angstrom-linux-gnueabi:/home/nikunj/ope/build/tmp/sysroots/i686-linux/usr/bin/armv5te-angstrom-linux-gnueabi:/home/nikunj/ope/build/tmp/sysroots/i686-linux/usr/sbin:/home/nikunj/ope/build/tmp/sysroots/i686-linux/usr/bin:/home/nikunj/ope/build/tmp/cross/armv5te//bin:/home/nikunj/ope/build/tmp/sysroots/i686-linux/sbin:/home/nikunj/ope/build/tmp/sysroots/i686-linux/bin:/home/nikunj/ope/bitbake/bin:/usr/lib/qt-3.3/bin:/usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/home/nikunj/bin"
I18NPATH="/home/nikunj/ope/build/tmp/work/armv5te-angstrom-linux-gnueabi/glibc-2.9-r36.3/locale-tree/usr/share/i18n"
qemu-arm -s 1048576 -r 2.6.24 -L
/home/nikunj/ope/build/tmp/work/armv5te-angstrom-linux-gnueabi/glibc-2.9-r36.3/locale-tree
-E
LD_LIBRARY_PATH=/home/nikunj/ope/build/tmp/work/armv5te-angstrom-linux-gnueabi/glibc-2.9-r36.3/locale-tree/lib
/home/nikunj/ope/build/tmp/work/armv5te-angstrom-linux-gnueabi/glibc-2.9-r36.3/locale-tree/bin/localedef
--force --old-style --no-archive
--prefix=/home/nikunj/ope/build/tmp/work/armv5te-angstrom-linux-gnueabi/glibc-2.9-r36.3/locale-tree
--inputfile=/usr/share/i18n/locales/es_NI --charmap=UTF-8 es_NI).
ERROR: TaskFailed event exception, aborting
ERROR: Build of
/home/nikunj/ope/openembedded/recipes/glibc/glibc_2.9.bbdo_package
failed
ERROR: Task 134 (/home/nikunj/ope/openembedded/recipes/glibc/glibc_2.9.bb,
do_package) failed
NOTE: Tasks Summary: Attempted 958 tasks of which 909 didn't need to be
rerun and 1 failed.
ERROR: '/home/nikunj/ope/openembedded/recipes/glibc/glibc_2.9.bb' failed*


What does this tell..?

Nikunj Badjatya
BTech




On Fri, Jun 18, 2010 at 3:09 PM, nikunj badjatya
<nikunjbadjatya@gmail.com>wrote:

> Hi All,
> I have found the cause of the problem.
> I did a reinstall of Python and YUM few days back.
> I was thinking that other software requirements ( texi2info, help2man,
> chrpath etc. ) need not to be installed again.
> But when I tried reinstalling them also, the error is gone..!!
>
> The strange thing is that bitbake was not reporting himself that this are
> the missing modules which it needs prior to running any build..!!
>
> Anyways, Thanks Very Much for your time.
>
>
> Nikunj
> Bangalore, India
>
>
>
>
>
> On Fri, Jun 18, 2010 at 10:02 AM, nikunj badjatya <
> nikunjbadjatya@gmail.com> wrote:
>
>> Hi Bernhard,
>>
>> *echo $BBPATH
>> /home/nikunj/ope/build:/home/nikunj/ope/openembedded*
>>
>> Is that wrong.?
>>
>>
>>
>>
>>
>>
>> On Fri, Jun 18, 2010 at 1:08 AM, Bernhard Reutner-Fischer <
>> rep.dot.nop@gmail.com> wrote:
>>
>>> On Thu, Jun 17, 2010 at 12:11:52PM -0700, Khem Raj wrote:
>>> >On Thu, Jun 17, 2010 at 5:39 AM, nikunj badjatya
>>> ><nikunjbadjatya@gmail.com> wrote:
>>> >> /home/nikunj/ope/openembedded/recipes/coreutils/
>>> coreutils-native_8.5.bb,
>>> >> do_populate_sysroot)
>>> >> NOTE: Testing
>>> >>
>>> /home/nikunj/ope/build/tmp/work/i686-linux/coreutils-native-8.5-r0/sysroot-destdir///home/nikunj/ope/build/tmp/sysroots/i686-linux/usr/bin/sleep
>>> >> for relocatability
>>>
>>> >Does
>>>  /home/nikunj/ope/build/tmp/work/i686-linux/coreutils-native-8.5-r0/sysroot-destdir///home/nikunj/ope/build/tmp/sysroots/i686-linux/usr/bin/sleep
>>> >exist ?
>>>
>>> huh? How would that supposed to be ok?
>>> Looks like home is leaking into some prefix, no?
>>> We should have a sanity for that one i suppose..
>>>
>>> Feb 14 22:25:04 <me> does anybody else see /home in their staging dir or
>>> did i goof up somehow?
>>> Feb 14 22:26:24 <me> would be nice if sanity would yell at /root and
>>> /home in the staging dir..
>>>
>>> where /home == something in BBPATH, without looking into details.
>>>
>>> _______________________________________________
>>> Openembedded-devel mailing list
>>> Openembedded-devel@lists.openembedded.org
>>> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>>>
>>
>>
>


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

* Re: OSError: [Errno 2] No such file or directory
  2010-06-18 12:07               ` nikunj badjatya
@ 2010-06-18 18:59                 ` Khem Raj
  2010-06-21 12:05                   ` nikunj badjatya
  0 siblings, 1 reply; 11+ messages in thread
From: Khem Raj @ 2010-06-18 18:59 UTC (permalink / raw)
  To: openembedded-devel

On Fri, Jun 18, 2010 at 5:07 AM, nikunj badjatya
<nikunjbadjatya@gmail.com> wrote:
> Hi again,
>
> The build was running successfully untill It came at this place.. : The last
> few lines where error occured.
>
> $ bitbake console-image 2>&1 | tee console-image.log
> ............................................
> ............................................
> *NOTE: Running task 959 of 3342 (ID: 134,
> /home/nikunj/ope/openembedded/recipes/glibc/glibc_2.9.bb, do_package)
> NOTE: preparing tree for binary locale generation
> NOTE: generating locale es_NI (UTF-8)
> NOTE: Task failed: localedef returned an error (command was
> PATH="/home/nikunj/ope/build/tmp/sysroots/i686-linux/usr/bin/armv5te-angstrom-linux-gnueabi:/home/nikunj/ope/build/tmp/sysroots/i686-linux/usr/bin/armv5te-angstrom-linux-gnueabi:/home/nikunj/ope/build/tmp/sysroots/i686-linux/usr/sbin:/home/nikunj/ope/build/tmp/sysroots/i686-linux/usr/bin:/home/nikunj/ope/build/tmp/cross/armv5te//bin:/home/nikunj/ope/build/tmp/sysroots/i686-linux/sbin:/home/nikunj/ope/build/tmp/sysroots/i686-linux/bin:/home/nikunj/ope/bitbake/bin:/usr/lib/qt-3.3/bin:/usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/home/nikunj/bin"
> I18NPATH="/home/nikunj/ope/build/tmp/work/armv5te-angstrom-linux-gnueabi/glibc-2.9-r36.3/locale-tree/usr/share/i18n"
> qemu-arm -s 1048576 -r 2.6.24 -L
> /home/nikunj/ope/build/tmp/work/armv5te-angstrom-linux-gnueabi/glibc-2.9-r36.3/locale-tree
> -E
> LD_LIBRARY_PATH=/home/nikunj/ope/build/tmp/work/armv5te-angstrom-linux-gnueabi/glibc-2.9-r36.3/locale-tree/lib
> /home/nikunj/ope/build/tmp/work/armv5te-angstrom-linux-gnueabi/glibc-2.9-r36.3/locale-tree/bin/localedef
> --force --old-style --no-archive
> --prefix=/home/nikunj/ope/build/tmp/work/armv5te-angstrom-linux-gnueabi/glibc-2.9-r36.3/locale-tree
> --inputfile=/usr/share/i18n/locales/es_NI --charmap=UTF-8 es_NI).
> ERROR: TaskFailed event exception, aborting
> ERROR: Build of
> /home/nikunj/ope/openembedded/recipes/glibc/glibc_2.9.bbdo_package
> failed
> ERROR: Task 134 (/home/nikunj/ope/openembedded/recipes/glibc/glibc_2.9.bb,
> do_package) failed
> NOTE: Tasks Summary: Attempted 958 tasks of which 909 didn't need to be
> rerun and 1 failed.
> ERROR: '/home/nikunj/ope/openembedded/recipes/glibc/glibc_2.9.bb' failed*
>
>
> What does this tell..?

it tells nothing other than it seems that qemu is failing when
generating locales. If you try to parse logs you will help yourself
quite a bit.
OE generates logs in builddir/temp then are called log.<task>.xxxx try
to find errors in them
if you can not at least post them when asking here.

>
> Nikunj Badjatya
> BTech
>
>
>
>
> On Fri, Jun 18, 2010 at 3:09 PM, nikunj badjatya
> <nikunjbadjatya@gmail.com>wrote:
>
>> Hi All,
>> I have found the cause of the problem.
>> I did a reinstall of Python and YUM few days back.
>> I was thinking that other software requirements ( texi2info, help2man,
>> chrpath etc. ) need not to be installed again.
>> But when I tried reinstalling them also, the error is gone..!!
>>
>> The strange thing is that bitbake was not reporting himself that this are
>> the missing modules which it needs prior to running any build..!!
>>
>> Anyways, Thanks Very Much for your time.
>>
>>
>> Nikunj
>> Bangalore, India
>>
>>
>>
>>
>>
>> On Fri, Jun 18, 2010 at 10:02 AM, nikunj badjatya <
>> nikunjbadjatya@gmail.com> wrote:
>>
>>> Hi Bernhard,
>>>
>>> *echo $BBPATH
>>> /home/nikunj/ope/build:/home/nikunj/ope/openembedded*
>>>
>>> Is that wrong.?
>>>
>>>
>>>
>>>
>>>
>>>
>>> On Fri, Jun 18, 2010 at 1:08 AM, Bernhard Reutner-Fischer <
>>> rep.dot.nop@gmail.com> wrote:
>>>
>>>> On Thu, Jun 17, 2010 at 12:11:52PM -0700, Khem Raj wrote:
>>>> >On Thu, Jun 17, 2010 at 5:39 AM, nikunj badjatya
>>>> ><nikunjbadjatya@gmail.com> wrote:
>>>> >> /home/nikunj/ope/openembedded/recipes/coreutils/
>>>> coreutils-native_8.5.bb,
>>>> >> do_populate_sysroot)
>>>> >> NOTE: Testing
>>>> >>
>>>> /home/nikunj/ope/build/tmp/work/i686-linux/coreutils-native-8.5-r0/sysroot-destdir///home/nikunj/ope/build/tmp/sysroots/i686-linux/usr/bin/sleep
>>>> >> for relocatability
>>>>
>>>> >Does
>>>>  /home/nikunj/ope/build/tmp/work/i686-linux/coreutils-native-8.5-r0/sysroot-destdir///home/nikunj/ope/build/tmp/sysroots/i686-linux/usr/bin/sleep
>>>> >exist ?
>>>>
>>>> huh? How would that supposed to be ok?
>>>> Looks like home is leaking into some prefix, no?
>>>> We should have a sanity for that one i suppose..
>>>>
>>>> Feb 14 22:25:04 <me> does anybody else see /home in their staging dir or
>>>> did i goof up somehow?
>>>> Feb 14 22:26:24 <me> would be nice if sanity would yell at /root and
>>>> /home in the staging dir..
>>>>
>>>> where /home == something in BBPATH, without looking into details.
>>>>
>>>> _______________________________________________
>>>> Openembedded-devel mailing list
>>>> Openembedded-devel@lists.openembedded.org
>>>> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>>>>
>>>
>>>
>>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>



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

* Re: OSError: [Errno 2] No such file or directory
  2010-06-18 18:59                 ` Khem Raj
@ 2010-06-21 12:05                   ` nikunj badjatya
  0 siblings, 0 replies; 11+ messages in thread
From: nikunj badjatya @ 2010-06-21 12:05 UTC (permalink / raw)
  To: openembedded-devel

Hi,
I couldnt find errors.

FILE *log.packagedstaging_fastpath* (
build/tmp/work/armv5te-angstrom-linux-gnueabi/glibc-2.9-r36.3/temp/*  )
has:

*cp: cannot stat
`/home/nikunj/ope/build/tmp/work/armv5te-angstrom-linux-gnueabi/glibc-2.9-r36.3/sysroot-destdir///home/nikunj/ope/build/tmp/cross/armv5te/*':
No such file or directory*

FILE *log.do_package_update_index_ipk* (
build/tmp/work/omap5912osk-angstrom-linux-gnueabi/console-image-1.0-r0/temp/*
)  has

+ ipkgarchs='all any noarch arm  armv4 armv4t armv5te omap5912osk'
+ '[' '!' -z '' ']'
+ mkdir -p /home/nikunj/ope/build/tmp/deploy/glibc/ipk
+ touch /home/nikunj/ope/build/tmp/deploy/glibc/ipk/Packages
+ ipkg-make-index -r /home/nikunj/ope/build/tmp/deploy/glibc/ipk/Packages -p
/home/nikunj/ope/build/tmp/deploy/glibc/ipk/Packages -l
/home/nikunj/ope/build/tmp/deploy/glibc/ipk/Packages.filelist -m
/home/nikunj/ope/build/tmp/deploy/glibc/ipk
/home/nikunj/ope/build/tmp/work/omap5912osk-angstrom-linux-gnueabi/console-image-1.0-r0/temp/run.do_package_update_index_ipk.13546:
line 222: ipkg-make-index: command not found

The *build/tmp/**deploy/glibc *contains
* a directory named *ipk/* ( 0 bytes )
* a lock file *ipk.lock* of 0 bytes.

Any help ?

Thanks,
Nikunj


On Sat, Jun 19, 2010 at 12:29 AM, Khem Raj <raj.khem@gmail.com> wrote:

> On Fri, Jun 18, 2010 at 5:07 AM, nikunj badjatya
> <nikunjbadjatya@gmail.com> wrote:
> > Hi again,
> >
> > The build was running successfully untill It came at this place.. : The
> last
> > few lines where error occured.
> >
> > $ bitbake console-image 2>&1 | tee console-image.log
> > ............................................
> > ............................................
> > *NOTE: Running task 959 of 3342 (ID: 134,
> > /home/nikunj/ope/openembedded/recipes/glibc/glibc_2.9.bb, do_package)
> > NOTE: preparing tree for binary locale generation
> > NOTE: generating locale es_NI (UTF-8)
> > NOTE: Task failed: localedef returned an error (command was
> >
> PATH="/home/nikunj/ope/build/tmp/sysroots/i686-linux/usr/bin/armv5te-angstrom-linux-gnueabi:/home/nikunj/ope/build/tmp/sysroots/i686-linux/usr/bin/armv5te-angstrom-linux-gnueabi:/home/nikunj/ope/build/tmp/sysroots/i686-linux/usr/sbin:/home/nikunj/ope/build/tmp/sysroots/i686-linux/usr/bin:/home/nikunj/ope/build/tmp/cross/armv5te//bin:/home/nikunj/ope/build/tmp/sysroots/i686-linux/sbin:/home/nikunj/ope/build/tmp/sysroots/i686-linux/bin:/home/nikunj/ope/bitbake/bin:/usr/lib/qt-3.3/bin:/usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/home/nikunj/bin"
> >
> I18NPATH="/home/nikunj/ope/build/tmp/work/armv5te-angstrom-linux-gnueabi/glibc-2.9-r36.3/locale-tree/usr/share/i18n"
> > qemu-arm -s 1048576 -r 2.6.24 -L
> >
> /home/nikunj/ope/build/tmp/work/armv5te-angstrom-linux-gnueabi/glibc-2.9-r36.3/locale-tree
> > -E
> >
> LD_LIBRARY_PATH=/home/nikunj/ope/build/tmp/work/armv5te-angstrom-linux-gnueabi/glibc-2.9-r36.3/locale-tree/lib
> >
> /home/nikunj/ope/build/tmp/work/armv5te-angstrom-linux-gnueabi/glibc-2.9-r36.3/locale-tree/bin/localedef
> > --force --old-style --no-archive
> >
> --prefix=/home/nikunj/ope/build/tmp/work/armv5te-angstrom-linux-gnueabi/glibc-2.9-r36.3/locale-tree
> > --inputfile=/usr/share/i18n/locales/es_NI --charmap=UTF-8 es_NI).
> > ERROR: TaskFailed event exception, aborting
> > ERROR: Build of
> > /home/nikunj/ope/openembedded/recipes/glibc/glibc_2.9.bbdo_package
> > failed
> > ERROR: Task 134 (/home/nikunj/ope/openembedded/recipes/glibc/
> glibc_2.9.bb,
> > do_package) failed
> > NOTE: Tasks Summary: Attempted 958 tasks of which 909 didn't need to be
> > rerun and 1 failed.
> > ERROR: '/home/nikunj/ope/openembedded/recipes/glibc/glibc_2.9.bb'
> failed*
> >
> >
> > What does this tell..?
>
> it tells nothing other than it seems that qemu is failing when
> generating locales. If you try to parse logs you will help yourself
> quite a bit.
> OE generates logs in builddir/temp then are called log.<task>.xxxx try
> to find errors in them
> if you can not at least post them when asking here.
>
> >
> > Nikunj Badjatya
> > BTech
> >
> >
> >
> >
> > On Fri, Jun 18, 2010 at 3:09 PM, nikunj badjatya
> > <nikunjbadjatya@gmail.com>wrote:
> >
> >> Hi All,
> >> I have found the cause of the problem.
> >> I did a reinstall of Python and YUM few days back.
> >> I was thinking that other software requirements ( texi2info, help2man,
> >> chrpath etc. ) need not to be installed again.
> >> But when I tried reinstalling them also, the error is gone..!!
> >>
> >> The strange thing is that bitbake was not reporting himself that this
> are
> >> the missing modules which it needs prior to running any build..!!
> >>
> >> Anyways, Thanks Very Much for your time.
> >>
> >>
> >> Nikunj
> >> Bangalore, India
> >>
> >>
> >>
> >>
> >>
> >> On Fri, Jun 18, 2010 at 10:02 AM, nikunj badjatya <
> >> nikunjbadjatya@gmail.com> wrote:
> >>
> >>> Hi Bernhard,
> >>>
> >>> *echo $BBPATH
> >>> /home/nikunj/ope/build:/home/nikunj/ope/openembedded*
> >>>
> >>> Is that wrong.?
> >>>
> >>>
> >>>
> >>>
> >>>
> >>>
> >>> On Fri, Jun 18, 2010 at 1:08 AM, Bernhard Reutner-Fischer <
> >>> rep.dot.nop@gmail.com> wrote:
> >>>
> >>>> On Thu, Jun 17, 2010 at 12:11:52PM -0700, Khem Raj wrote:
> >>>> >On Thu, Jun 17, 2010 at 5:39 AM, nikunj badjatya
> >>>> ><nikunjbadjatya@gmail.com> wrote:
> >>>> >> /home/nikunj/ope/openembedded/recipes/coreutils/
> >>>> coreutils-native_8.5.bb,
> >>>> >> do_populate_sysroot)
> >>>> >> NOTE: Testing
> >>>> >>
> >>>>
> /home/nikunj/ope/build/tmp/work/i686-linux/coreutils-native-8.5-r0/sysroot-destdir///home/nikunj/ope/build/tmp/sysroots/i686-linux/usr/bin/sleep
> >>>> >> for relocatability
> >>>>
> >>>> >Does
> >>>>
>  /home/nikunj/ope/build/tmp/work/i686-linux/coreutils-native-8.5-r0/sysroot-destdir///home/nikunj/ope/build/tmp/sysroots/i686-linux/usr/bin/sleep
> >>>> >exist ?
> >>>>
> >>>> huh? How would that supposed to be ok?
> >>>> Looks like home is leaking into some prefix, no?
> >>>> We should have a sanity for that one i suppose..
> >>>>
> >>>> Feb 14 22:25:04 <me> does anybody else see /home in their staging dir
> or
> >>>> did i goof up somehow?
> >>>> Feb 14 22:26:24 <me> would be nice if sanity would yell at /root and
> >>>> /home in the staging dir..
> >>>>
> >>>> where /home == something in BBPATH, without looking into details.
> >>>>
> >>>> _______________________________________________
> >>>> Openembedded-devel mailing list
> >>>> Openembedded-devel@lists.openembedded.org
> >>>>
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
> >>>>
> >>>
> >>>
> >>
> > _______________________________________________
> > Openembedded-devel mailing list
> > Openembedded-devel@lists.openembedded.org
> > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
> >
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>


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

end of thread, other threads:[~2010-06-21 12:10 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <AANLkTilQUwinqS2HGJJzP3t_UTmXtH9daLEiN_fek-6i@mail.gmail.com>
2010-06-14 14:12 ` OSError: [Errno 2] No such file or directory nikunj badjatya
2010-06-15 14:35   ` Khem Raj
2010-06-17 12:39     ` nikunj badjatya
2010-06-17 19:11       ` Khem Raj
2010-06-17 19:38         ` Bernhard Reutner-Fischer
2010-06-18  4:32           ` nikunj badjatya
2010-06-18  9:39             ` nikunj badjatya
2010-06-18 12:07               ` nikunj badjatya
2010-06-18 18:59                 ` Khem Raj
2010-06-21 12:05                   ` nikunj badjatya
2010-06-18  4:31         ` nikunj badjatya

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.