Author Topic: Howto Build Packages For Tosa?  (Read 2334 times)

dom

  • Newbie
  • *
  • Posts: 2
    • View Profile
Howto Build Packages For Tosa?
« on: April 11, 2006, 04:07:40 am »
Hello,

I try to build package for tosa (the nano package like the sample) but it doesn't work  

I have installed the packages for debian (testing) as describe at this URL: http://oe.handhelds.org/cgi-bin/moin.cgi/OEandYourDistro . Then I follow this documentation: http://oe.handhelds.org/cgi-bin/moin.cgi/GettingStarted

When I try to build nano I get the folowing error:

$ bitbake nano_1.3.9
NOTE: Using cache in '/home/dom/oestuff/org.openemdedded.dev/packages/nano/tmp/cache'
NOTE: Parsing finised. 2 cached, 0 parsed, 0 skipped, 0 masked.
NOTE: build 200604111157: started
Traceback (most recent call last):
  File "/home/dom/oestuff/bitbake/bin/bitbake", line 1120, in ?
    cooker.cook( BBConfiguration( options), args[1:] )
  File "/home/dom/oestuff/bitbake/bin/bitbake", line 879, in ?
    bb.event.fire(bb.event.BuildStarted(buildname, pkgs_to_build, self.configuration.data))
  File "./lib/bb/event.py", line 62, in fire
  File "tmpHandler(e)", line 30, in tmpHandler
ValueError: substring not found
$

I think that is à configuration problem. Can someone help me?

Dominique

Hrw

  • Hero Member
  • *****
  • Posts: 1366
    • View Profile
Howto Build Packages For Tosa?
« Reply #1 on: April 11, 2006, 04:23:05 am »
use org.openembedded.oz354x branch and bitbake r329 (available in sdk/ directory of OZ 3.5.4)
OpenZaurus 3.5.4x Release Manager
OpenEmbedded, Ångström, Poky developer
My website

Misc embedded hardware.

dom

  • Newbie
  • *
  • Posts: 2
    • View Profile
Howto Build Packages For Tosa?
« Reply #2 on: April 14, 2006, 04:45:20 am »
Quote
use org.openembedded.oz354x branch and bitbake r329 (available in sdk/ directory of OZ 3.5.4)
[div align=\"right\"][a href=\"index.php?act=findpost&pid=122610\"][{POST_SNAPBACK}][/a][/div]

I have the same error    !!!

On the bitbake web page I found an example like "bitbake -b file.bb". With this command something happend (but it is'nt OK)

Now I have 2 questions:

- How to say to bitbake that it must read my local.conf?

- The error with the file.bb build is:
===
$ bitbake -b nano_1.3.5.bb
NOTE: package nano-1.3.5: started
NOTE: package nano-1.3.5-r0: task do_fetch: started
NOTE: package nano-1.3.5-r0: task do_fetch: completed
NOTE: package nano-1.3.5-r0: task do_configure: started
ERROR: function do_configure failed
ERROR: see log in /home/dom/oestuff/org.openembedded.oz354x/packages/nano/tmp/work/nano-1.3.5-r0/temp/log.do_configure.7053
NOTE: Task failed: /home/dom/oestuff/org.openembedded.oz354x/packages/nano/tmp/work/nano-1.3.5-r0/temp/log.do_configure.7053
NOTE: package nano-1.3.5-r0: task do_configure: failed
ERROR: TaskFailed event exception, aborting
NOTE: package nano-1.3.5: failed
ERROR: Build of 'nano' failed
Build statistics:
  Attempted builds: 1
  Failed builds: 1
$
===

In the log file I have the folowing error:

===
automake (GNU automake) 1.4-p6

Copyright © 1999, 2001 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Written by Tom Tromey <tromey@redhat.com>
AUTOV is 1.4-p6
NOTE: Executing autoreconf --verbose --install --force --exclude=autopoint -I /home/dom/oestuff/org.openembedded.oz354x/packages/nano/tmp/work/nano-1.3.5-r0/nano-1.3.5/m4/ -I /home/dom/oestuff/org.openembedded.oz354x/packages/nano/tmp/staging/INVALID-INVALID/share/aclocal-1.4-p6 -I /home/dom/oestuff/org.openembedded.oz354x/packages/nano/tmp/staging/INVALID-INVALID/share/aclocal
/usr/bin/autoreconf2.50: unrecognized option `--exclude=autopoint'
Try `/usr/bin/autoreconf2.50 --help' for more information.
FATAL: autoreconf execution failed
===

Can somebody help me about this problem?

My dev computer is under debian testing (I made the update yesterday)

Thanks Dominique

Hrw

  • Hero Member
  • *****
  • Posts: 1366
    • View Profile
Howto Build Packages For Tosa?
« Reply #3 on: April 14, 2006, 05:03:14 am »
Never EVER use "-b" if you do not know what it means.

set DISTRO="openzaurus-3.5.4"
MACHINE="tosa"

and build "bitbake nano"
OpenZaurus 3.5.4x Release Manager
OpenEmbedded, Ångström, Poky developer
My website

Misc embedded hardware.

Mickeyl

  • Hero Member
  • *****
  • Posts: 1495
    • View Profile
    • http://www.Vanille.de
Howto Build Packages For Tosa?
« Reply #4 on: April 14, 2006, 08:09:45 am »
you should start bitbake from the build directory, btw., not from within the packages tree.
Cheers,

Michael 'Mickey' Lauer | Embedded Linux Freelancer | www.Vanille-Media.de
Consider donating, if you like the software I contribute to.