need help on bitbake

View: New views
6 Messages — Rating Filter:   Alert me  

need help on bitbake

by Davew36 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello,

I am trying to build a small application for overo-air using bitbake, but I got the following error, I don't know what it complains

$ bitbake LP_filter
__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: - (6950/6950) [100 %]
NOTE: Parsing finished. 6678 cached, 0 parsed, 272 skipped, 2 masked.
NOTE: Cache is clean, not saving.
ERROR: Nothing PROVIDES 'LP_filter'

I refer to the following pages when I setup the env, dir structure, and the bb file. The helloworld example works, but not this one.
http://www.gumstix.net/Software/view/Software-Overo/Setting-up-a-build-environment/111.html
http://www.gumstix.net/Software/view/Build-system-overview/Hello-world-tutorial/111.html

DIR:
/host/overo-oe/user.collection/packages/LP_filter
     files
     LP_filter-1.0.0.bb

and the bb file contains:

DESCRIPTION = "test filter"

PR = "r0"

DEPENDS = ""

SRC_URI = " \
  file://filt.c \
  file://testfilt.c \
  file://filt.h \
  file://Makefile \
"

S = "${WORKDIR}"

do_install () {
    install -d ${D}${bindir}/
    install -m 0755 ${S}/LP_filter ${D}${bindir}/
}

FILES_${PN} = "${bindir}/LP_filter"


can anyone let me know what the error complains about?

Thanks,
Dave

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

_______________________________________________
gumstix-users mailing list
gumstix-users@...
https://lists.sourceforge.net/lists/listinfo/gumstix-users

Re: need help on bitbake

by rich105 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Dave,
I think that an underscore is part of the package & version nomenclature.  Try renaming your package and recipe without and see if it then finds your recipe to build.  I saw a reference to using only lowercase and numbers, so try "lp-filter.  I think I had the same trouble when I first started to move my project to bitbake.

-Rich

Davew36 wrote:
Hello,

I am trying to build a small application for overo-air using bitbake, but I
got the following error, I don't know what it complains

$ bitbake LP_filter
__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: - (6950/6950) [100 %]
NOTE: Parsing finished. 6678 cached, 0 parsed, 272 skipped, 2 masked.
NOTE: Cache is clean, not saving.
ERROR: Nothing PROVIDES 'LP_filter'

I refer to the following pages when I setup the env, dir structure, and the
bb file. The helloworld example works, but not this one.
http://www.gumstix.net/Software/view/Software-Overo/Setting-up-a-build-environment/111.html
http://www.gumstix.net/Software/view/Build-system-overview/Hello-world-tutorial/111.html

DIR:
/host/overo-oe/user.collection/packages/LP_filter
     files
     LP_filter-1.0.0.bb

and the bb file contains:

DESCRIPTION = "test filter"

PR = "r0"

DEPENDS = ""

SRC_URI = " \
  file://filt.c \
  file://testfilt.c \
  file://filt.h \
  file://Makefile \
"

S = "${WORKDIR}"

do_install () {
    install -d ${D}${bindir}/
    install -m 0755 ${S}/LP_filter ${D}${bindir}/
}

FILES_${PN} = "${bindir}/LP_filter"


can anyone let me know what the error complains about?

Thanks,
Dave

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

_______________________________________________
gumstix-users mailing list
gumstix-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gumstix-users

Re: need help on bitbake

by Davew36 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thanks a lot Rich, unfortunately, I still get the same error after changing LP_filter to lp-filter (even lpfilter) for package name and bb file name and content. Anything else I could miss?

I also tried 'bitbake omap3-console-image', it could start to build normally (I didn't wait it to finish), so I think my build env should be ok.

By the way, my linux is ubuntu 9.04

Dave


Dave,
I think that an underscore is part of the package & version nomenclature.  Try renaming your package and recipe without and see if it then finds your recipe to build.  I saw a reference to using only lowercase and numbers, so try "lp-filter.  I think I had the same trouble when I first started to move my project to bitbake.

-Rich

Davew36 wrote:
Hello,

I am trying to build a small application for overo-air using bitbake, but I
got the following error, I don't know what it complains

$ bitbake LP_filter
__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: - (6950/6950) [100 %]
NOTE: Parsing finished. 6678 cached, 0 parsed, 272 skipped, 2 masked.
NOTE: Cache is clean, not saving.
ERROR: Nothing PROVIDES 'LP_filter'

I refer to the following pages when I setup the env, dir structure, and the
bb file. The helloworld example works, but not this one.
http://www.gumstix.net/Software/view/Software-Overo/Setting-up-a-build-environment/111.html
http://www.gumstix.net/Software/view/Build-system-overview/Hello-world-tutorial/111.html

DIR:
/host/overo-oe/user.collection/packages/LP_filter
     files
     LP_filter-1.0.0.bb

and the bb file contains:

DESCRIPTION = "test filter"

PR = "r0"

DEPENDS = ""

SRC_URI = " \
  file://filt.c \
  file://testfilt.c \
  file://filt.h \
  file://Makefile \
"

S = "${WORKDIR}"

do_install () {
    install -d ${D}${bindir}/
    install -m 0755 ${S}/LP_filter ${D}${bindir}/
}

FILES_${PN} = "${bindir}/LP_filter"


can anyone let me know what the error complains about?

Thanks,
Dave

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

_______________________________________________
gumstix-users mailing list
gumstix-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gumstix-users


Re: need help on bitbake

by rich105 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Dave,
Sorry, I don't see anything more.  If helloworld works, it seems likely that your build environment is ok.  I've been caught by caching in my efforts, and have found that using the command

bitbake -c clean mypackagename

keeps me using the latest versions of my files while I'm changing them.  This probably isn't what's going on here, since it looks like it just cannot see the bitbake file.  Perhaps there is a similar cache for the bb files?  (Google: bitbake force clear cache, and see what you can find)

Hope this helps.  Whatever it is, I'm sure it's minor.
Rich

Re: need help on bitbake

by jsarao :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Not sure if this helps, but at some point I had to modify my profile file:

$ cd ~/overo-oe/build
$ cat profile

...

export USERBRANCH="${OVEROTOP}/user.collection"
...
export BBPATH="${OVEROTOP}/build:${USERBRANCH}:${OEBRANCH}"

And my site.conf file

$ cd ~/overo-oe/build/conf
$ cat site.conf

...
BBFILES="${OVEROBRANCH}/reci[es/*/*.bb ${USERBRANCH}/recipes/*/*.bb"
...

...
BBFILE_PATTERN_user="^${USERBRANCH}/recipes"

I think most of this is setup automatically for you, but it might be
worth double checking to make sure all paths are correct.

I see that your (from email below) is ("packages" instead of "recipes")

host/overo-oe/user.collection/packages/

Hope this helps.
-Jeremy



dave wang wrote:

> Hello,
>
> I am trying to build a small application for overo-air using bitbake,
> but I got the following error, I don't know what it complains
>
> $ bitbake LP_filter
> __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: - (6950/6950) [100 %]
> NOTE: Parsing finished. 6678 cached, 0 parsed, 272 skipped, 2 masked.
> NOTE: Cache is clean, not saving.
> ERROR: Nothing PROVIDES 'LP_filter'
>
> I refer to the following pages when I setup the env, dir structure,
> and the bb file. The helloworld example works, but not this one.
> http://www.gumstix.net/Software/view/Software-Overo/Setting-up-a-build-environment/111.html
> http://www.gumstix.net/Software/view/Build-system-overview/Hello-world-tutorial/111.html
>
> DIR:
> /host/overo-oe/user.collection/packages/LP_filter
>      files
>      LP_filter-1.0.0.bb <http://LP_filter-1.0.0.bb>
>
> and the bb file contains:
>
> DESCRIPTION = "test filter"
>
> PR = "r0"
>
> DEPENDS = ""
>
> SRC_URI = " \
>   file://filt.c \
>   file://testfilt.c \
>   file://filt.h \
>   file://Makefile \
> "
>
> S = "${WORKDIR}"
>
> do_install () {
>     install -d ${D}${bindir}/
>     install -m 0755 ${S}/LP_filter ${D}${bindir}/
> }
>
> FILES_${PN} = "${bindir}/LP_filter"
>
>
> can anyone let me know what the error complains about?
>
> Thanks,
> Dave
> ------------------------------------------------------------------------
>
> ------------------------------------------------------------------------------
>  
> ------------------------------------------------------------------------
>
> _______________________________________________
> gumstix-users mailing list
> gumstix-users@...
> https://lists.sourceforge.net/lists/listinfo/gumstix-users
>  

------------------------------------------------------------------------------
_______________________________________________
gumstix-users mailing list
gumstix-users@...
https://lists.sourceforge.net/lists/listinfo/gumstix-users

Re: need help on bitbake

by Davew36 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thanks a lot Jeremy. I just tried to change 'packages' to recipes, re-installed the overo built env. It looks working now :-) I will try to try the package on overo tonight...

Dave

jsarao wrote:
Not sure if this helps, but at some point I had to modify my profile file:

$ cd ~/overo-oe/build
$ cat profile

...

export USERBRANCH="${OVEROTOP}/user.collection"
...
export BBPATH="${OVEROTOP}/build:${USERBRANCH}:${OEBRANCH}"

And my site.conf file

$ cd ~/overo-oe/build/conf
$ cat site.conf

...
BBFILES="${OVEROBRANCH}/reci[es/*/*.bb ${USERBRANCH}/recipes/*/*.bb"
...

...
BBFILE_PATTERN_user="^${USERBRANCH}/recipes"

I think most of this is setup automatically for you, but it might be
worth double checking to make sure all paths are correct.

I see that your (from email below) is ("packages" instead of "recipes")

host/overo-oe/user.collection/packages/

Hope this helps.
-Jeremy



dave wang wrote:
> Hello,
>
> I am trying to build a small application for overo-air using bitbake,
> but I got the following error, I don't know what it complains
>
> $ bitbake LP_filter
> __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: - (6950/6950) [100 %]
> NOTE: Parsing finished. 6678 cached, 0 parsed, 272 skipped, 2 masked.
> NOTE: Cache is clean, not saving.
> ERROR: Nothing PROVIDES 'LP_filter'
>
> I refer to the following pages when I setup the env, dir structure,
> and the bb file. The helloworld example works, but not this one.
> http://www.gumstix.net/Software/view/Software-Overo/Setting-up-a-build-environment/111.html
> http://www.gumstix.net/Software/view/Build-system-overview/Hello-world-tutorial/111.html
>
> DIR:
> /host/overo-oe/user.collection/packages/LP_filter
>      files
>      LP_filter-1.0.0.bb <http://LP_filter-1.0.0.bb>
>
> and the bb file contains:
>
> DESCRIPTION = "test filter"
>
> PR = "r0"
>
> DEPENDS = ""
>
> SRC_URI = " \
>   file://filt.c \
>   file://testfilt.c \
>   file://filt.h \
>   file://Makefile \
> "
>
> S = "${WORKDIR}"
>
> do_install () {
>     install -d ${D}${bindir}/
>     install -m 0755 ${S}/LP_filter ${D}${bindir}/
> }
>
> FILES_${PN} = "${bindir}/LP_filter"
>
>
> can anyone let me know what the error complains about?
>
> Thanks,
> Dave
> ------------------------------------------------------------------------
>
> ------------------------------------------------------------------------------
>  
> ------------------------------------------------------------------------
>
> _______________________________________________
> gumstix-users mailing list
> gumstix-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gumstix-users
>  

------------------------------------------------------------------------------
_______________________________________________
gumstix-users mailing list
gumstix-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gumstix-users