Re: MonoMakefile: how to build navit-svn instead of navit-0.0.4 ?
-> Re: MonoMakefile: how to build navit-svn instead of navit-0.0.4 ? community -- Thread -- -- Date -- Re: MonoMakefile: how to build navit-svn instead of navit-0.0.4 ? Harald Koenig Mon, 15 Sep 2008 06:28:42 -0700 <!-- google_ad_client = "pub-7266757337600734"; google_alternate_ad_url = "http://www.mail-archive.com/blank.png"; google_ad_width = 160; google_ad_height = 600; google_ad_format = "160x600_as"; google_ad_channel = "8427791634"; google_color_border = "FF"; google_color_bg = "FF"; google_color_link = "006792"; google_color_url = "006792"; google_color_text = "00"; //--> MonoMakefile: how to build navit-svn instead of navit-0.0.4 ? Harald Koenig Re: MonoMakefile: how to build navit-svn instead of navit-0.0.4 ? Nicola Mfb Re: MonoMakefile: how to build navit-svn instead of navit-0.0.4 ? Harald Koenig Re: MonoMakefile: how to build navit-svn instead of navit-0.0.4 ? Rod Whitby Re: MonoMakefile: how to build navit-svn instead of navit-0.0.4 ? Nicola Mfb Re: MonoMakefile: how to build navit-svn instead of navit-0.0.4 ? Rod Whitby Re: MonoMakefile: how to build navit-svn instead of navit-0.0.4 ? Nicola Mfb Re: MonoMakefile: how to build navit-svn instead of navit-0.0.4 ? Rod Whitby Re: MonoMakefile: how to build navit-svn instead of navit-0.0.4 ? Harald Koenig Reply via email to
Re: MonoMakefile: how to build navit-svn instead of navit-0.0.4 ?
On Sat, Sep 13, 2008 at 4:47 AM, Rod Whitby [EMAIL PROTECTED] wrote: [...] You should report the confusion to the bitbake developers, not to the openmoko community. https://lists.berlios.de/mailman/listinfo/bitbake-dev Come on Rod! this was only a gentle way to say i have some doubts about the opinion of a such guru as you :) Let's try to help Harald instead! I finally got bitbake to compile navit_cvs editing openembedded/packages/navit/navit_cvs.bb and commenting the line DEFAULT_PREFERENCE = -1 as it seems a way to block a bb recipie ala gentoo package.mask. Howewer note that in the file openembedded/conf/distro/include preferred-om-2008-versions.inc you have PREFERRED_VERSION_navit ?= 0.0.3, this will be ignored if in your git tree there is no navit 0.0.3 recipie (as in my case) and cvs version will be automatically selected. If in your tree there is a 0.0.3 recipie, you cannot put in local.conf PREFERRED_VERSION_navit ?= cvs, as this will be not recognized so 0.0.3 will be selected. I do not know if there is a special string to indicate to use cvs/svn string, for this you should really ask to bb developers. Actually the weirdness is that you have to comment all PREFERRED_VERSION you have in your .conf files :) Regards Nicola ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: MonoMakefile: how to build navit-svn instead of navit-0.0.4 ?
Nicola Mfb wrote: On Sat, Sep 13, 2008 at 4:47 AM, Rod Whitby [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: You should report the confusion to the bitbake developers, not to the openmoko community. https://lists.berlios.de/mailman/listinfo/bitbake-dev Come on Rod! this was only a gentle way to say i have some doubts about the opinion of a such guru as you :) Let's try to help Harald instead! The two things are separate. Suspected bugs in the documentation for bitbake should be reported to the bitbake developers. Help for Harald continues on this list ... I finally got bitbake to compile navit_cvs editing openembedded/packages/navit/navit_cvs.bb http://navit_cvs.bb and commenting the line DEFAULT_PREFERENCE = -1 as it seems a way to block a bb recipie ala gentoo package.mask. Yes, any bitbake recipe that has not had sufficient testing is usually added with DEFAULT_PREFERENCE = -1 so that it doesn't break existing builds. Once it has had sufficient testing, it's fixed CVS revision should be added to sane-srcrevs.inc or sane-srcdates.inc Howewer note that in the file openembedded/conf/distro/include preferred-om-2008-versions.inc you have PREFERRED_VERSION_navit ?= 0.0.3, this will be ignored if in your git tree there is no navit 0.0.3 recipie (as in my case) and cvs version will be automatically selected. Yep, that means that whoever updated the navit recipe version in OE (which could easily be someone who doesn't use and knows nothing about Openmoko) didn't modify that file. That's quite common, since OpenEmbedded supports hundreds of different devices, of which the Openmoko phones are just one. If in your tree there is a 0.0.3 recipie, you cannot put in local.conf PREFERRED_VERSION_navit ?= cvs, as this will be not recognized so 0.0.3 will be selected. I do not know if there is a special string to indicate to use cvs/svn string, for this you should really ask to bb developers. I don't know the answer to that either. -- Rod ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: MonoMakefile: how to build navit-svn instead of navit-0.0.4 ?
In my oe tree i have navit_cvs and not navit_svn, are you using asu as branch? On 9/12/08, Harald Koenig [EMAIL PROTECTED] wrote: Hi, using MonoMakefile I'd like to build navit_svn but this fails: make build-package-navit-svn ... ERROR: Nothing PROVIDES 'navit-svn' (but '[]' DEPENDS on or otherwise requires it) make build-package-navit_svn ... ERROR: Nothing PROVIDES 'navit_svn' (but '[]' DEPENDS on or otherwise requires it) while make build-package-navit and make build-package-navit-0.0.4 both work fine (so does e.g. make build-package-gdb-6.8 to get a specific version...). there are bb files for both versions, but how to I use/build the svn version ? ./openembedded/packages/navit/navit_0.0.4.bb ./openembedded/packages/navit/navit_svn.bb thanks, Harald -- I hope to die ___ _ before I *have* to use Microsoft Word., 0--,|/OOO\ Donald E. Knuth, 02-Oct-2001 in Tuebingen._/ / /OOO\ \ \/OOO\ \ O|// \/\/\/\/\/\/\/\/\/ Harald Koenig // / \\ \ [EMAIL PROTECTED] ^ ^ ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: MonoMakefile: how to build navit-svn instead of navit-0.0.4 ?
On Sep 12, Nicola Mfb wrote: In my oe tree i have navit_cvs and not navit_svn, and can you start a build for navit_cvs (I'd guess for you it's make build-package-navit-cvs then?) are you using asu as branch? I'd guess no (looks like FSO?!) but how do I know ? as suggested here http://wiki.openmoko.org/wiki/MokoMakefile I'm using this makefile (without modifications) http://www.rwhitby.net/files/openmoko/Makefile http://svn.projects.openmoko.org/svnroot/mokomakefile/trunk/Makefile which starts like this --- OM_GIT_SITE := git.openmoko.org OM_GIT_REPO := git/openmoko.git OM_GIT_BRANCH := org.openmoko.dev BB_GIT_SITE := git.openmoko.org BB_GIT_BRANCH := bitbake-om MM_SVN_SITE := svn.projects.openmoko.org MM_SVN_PATH := svnroot/mokomakefile/trunk .PHONY: all all:openmoko-devel-image \ fso-image fso-image-light \ openmoko-qtopia-x11-image \ build-qemu \ openmoko-feed openmoko-toolchain \ openmoko-devel-tools .PHONY: image image: openmoko-devel-image .PHONY: fso fso: fso-image --- the MokoMakefile wiki page says for this branch url: OM_GIT_BRANCH := org.openmoko.dev # OM2007.2 (enabled by default) Harald -- I hope to die ___ _ before I *have* to use Microsoft Word., 0--,|/OOO\ Donald E. Knuth, 02-Oct-2001 in Tuebingen._/ / /OOO\ \ \/OOO\ \ O|// \/\/\/\/\/\/\/\/\/ Harald Koenig // / \\ \ [EMAIL PROTECTED] ^ ^ ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: MonoMakefile: how to build navit-svn instead of navit-0.0.4 ?
Harald Koenig wrote: On Sep 12, Nicola Mfb wrote: In my oe tree i have navit_cvs and not navit_svn, and can you start a build for navit_cvs (I'd guess for you it's make build-package-navit-cvs then?) Everything after the '_' in the bitbake recipe name is part of the version number, and should not be used as part of a make command. You need to tell bitbake using PREFERRED_VERSION which version you want to build. See the bitbake manual for more details. http://bitbake.berlios.de/manual/, Example 4.7 -- Rod ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: MonoMakefile: how to build navit-svn instead of navit-0.0.4 ?
On Sat, Sep 13, 2008 at 2:37 AM, Rod Whitby [EMAIL PROTECTED] wrote: [...] Everything after the '_' in the bitbake recipe name is part of the version number, and should not be used as part of a make command. You need to tell bitbake using PREFERRED_VERSION which version you want to build. See the bitbake manual for more details. http://bitbake.berlios.de/manual/, Example 4.7 In 4.2 there are examples where version number is used, i tested it and it runs, so this is quite confusing. ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: MonoMakefile: how to build navit-svn instead of navit-0.0.4 ?
Nicola Mfb wrote: On Sat, Sep 13, 2008 at 2:37 AM, Rod Whitby [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: [...] Everything after the '_' in the bitbake recipe name is part of the version number, and should not be used as part of a make command. You need to tell bitbake using PREFERRED_VERSION which version you want to build. See the bitbake manual for more details. http://bitbake.berlios.de/manual/, Example 4.7 In 4.2 there are examples where version number is used, i tested it and it runs, so this is quite confusing. You should report the confusion to the bitbake developers, not to the openmoko community. https://lists.berlios.de/mailman/listinfo/bitbake-dev -- Rod ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community