From: dave w. <dav...@gm...> - 2009-06-29 09:14:00
|
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 |
From: rich105 <ric...@gm...> - 2009-06-29 13:08:00
|
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 > gum...@li... > https://lists.sourceforge.net/lists/listinfo/gumstix-users > > -- View this message in context: http://www.nabble.com/need-help-on-bitbake-tp24250829p24253402.html Sent from the Gumstix mailing list archive at Nabble.com. |
From: Davew36 <dav...@gm...> - 2009-06-29 22:46:07
|
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 rich105 wrote: > > 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 >> gum...@li... >> https://lists.sourceforge.net/lists/listinfo/gumstix-users >> >> > > -- View this message in context: http://www.nabble.com/need-help-on-bitbake-tp24250829p24261691.html Sent from the Gumstix mailing list archive at Nabble.com. |
From: rich105 <ric...@gm...> - 2009-06-30 11:38:17
|
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 -- View this message in context: http://www.nabble.com/need-help-on-bitbake-tp24250829p24270345.html Sent from the Gumstix mailing list archive at Nabble.com. |
From: Jeremy S. <je...@si...> - 2009-06-30 21:52:29
|
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 > gum...@li... > https://lists.sourceforge.net/lists/listinfo/gumstix-users > |
From: Davew36 <dav...@gm...> - 2009-07-01 20:43:24
|
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 >> gum...@li... >> https://lists.sourceforge.net/lists/listinfo/gumstix-users >> > > ------------------------------------------------------------------------------ > _______________________________________________ > gumstix-users mailing list > gum...@li... > https://lists.sourceforge.net/lists/listinfo/gumstix-users > > -- View this message in context: http://www.nabble.com/need-help-on-bitbake-tp24250829p24296042.html Sent from the Gumstix mailing list archive at Nabble.com. |