[oe-users] local.conf seems to be ignored.

Robert Schuster theBohemian at gmx.net
Wed Dec 5 17:28:51 UTC 2007


Hi,
just out of curiosity have you looked whether your bitbake.conf does not
contain strange characters (space, tabs, line break) at crucial
locations or do your file paths contains such characters.

Regards
Robert

Eldon Hiebert schrieb:
> That is entirely the problem..... please read the post title. BitBake is
> not reading the local.conf file!
> 
> Do I need to add an include from bitbake.conf to include local.conf?
> Either the documentation on OE is not very clear on all of these config
> files, or I just can't find the right tidbit.
> 
> How do I get local.conf (and distro.conf, and machine.conf) to be read
> by bitbake? It appears to not be reading any of these.
> 
> TIA,
> Eldon.
> 
> 
> 
> On Tue, 2007-12-04 at 12:28 +0100, ∞ BANKAI ∞ wrote:
>> Set it in you local.conf file.
>>
>> "Si una mujer quiere que te tires por la ventana, reza por estar en un  
>> primero"
>>
>>
>> On 3 Dec 2007, at 16:16, Eldon Hiebert <eldon.hiebert at avocent.com>  
>> wrote:
>>
>>> I'm still stumped on why this thing won't read local.conf from the
>>> <proj>/build/conf directory... So just to recap:
>>>
>>> I have the correct BBPATH and know this as bitbake.conf is read.
>>> My PATH picks the the correct uninstalled version of 1.8.9
>>>
>>> BitBake always complains about "ERROR: Set the CACHE variable"  
>>> unless I
>>> also define that in my environment. It should be read from local.conf.
>>>
>>> The output of bitbake -D -D -D displays:
>>> [ehiebert at localhost build]$ bitbake -D -D -D -D
>>> DEBUG: CONF reading /home/ehiebert/Develop/oe/build/conf/bitbake.conf
>>> DEBUG: BB classes/base.bbclass: handle(data, include)
>>> DEBUG: setVarFlag(do_listtasks, nostamp, 1, data)
>>> DEBUG: setVarFlag(do_clean, dirs, ${TOPDIR}, data)
>>> DEBUG: setVarFlag(do_clean, nostamp, 1, data)
>>> DEBUG: setVarFlag(do_clean, bbdepcmd, , data)
>>> DEBUG: setVarFlag(do_rebuild, dirs, ${TOPDIR}, data)
>>> DEBUG: setVarFlag(do_rebuild, nostamp, 1, data)
>>> DEBUG: setVarFlag(do_rebuild, bbdepcmd, , data)
>>> DEBUG: setVarFlag(do_mrproper, dirs, ${TOPDIR}, data)
>>> DEBUG: setVarFlag(do_mrproper, nostamp, 1, data)
>>> DEBUG: setVarFlag(do_mrproper, bbdepcmd, , data)
>>> DEBUG: setVarFlag(do_fetch, dirs, ${DL_DIR}, data)
>>> DEBUG: setVarFlag(do_fetch, depends, shasum- 
>>> native:do_populate_staging, data)
>>> DEBUG: setVarFlag(do_fetchall, recrdeptask, do_fetch, data)
>>> DEBUG: setVarFlag(do_unpack, dirs, ${WORKDIR}, data)
>>> DEBUG: setVarFlag(do_configure, dirs, ${S} ${B}, data)
>>> DEBUG: setVarFlag(do_configure, bbdepcmd, do_populate_staging, data)
>>> DEBUG: setVarFlag(do_configure, deptask, do_populate_staging, data)
>>> DEBUG: setVarFlag(do_compile, dirs, ${S} ${B}, data)
>>> DEBUG: setVarFlag(do_compile, bbdepcmd, do_populate_staging, data)
>>> DEBUG: setVarFlag(do_populate_staging, dirs, ${STAGING_DIR_TARGET}/$ 
>>> {layout_bindir} ${STAGING_DIR_TARGET}/${layout_libdir}         $ 
>>> {STAGING_DIR_TARGET}/${layout_includedir}                       $ 
>>> {STAGING_BINDIR_NATIVE} ${STAGING_LIBDIR_NATIVE}             $ 
>>> {STAGING_INCDIR_NATIVE}                         $ 
>>> {STAGING_DATADIR}                              ${S} ${B}, data)
>>> DEBUG: setVarFlag(do_install, dirs, ${D} ${S} ${B}, data)
>>> DEBUG: setVarFlag(do_install, cleandirs, ${D}, data)
>>> DEBUG: setVarFlag(do_build, func, 1, data)
>>> DEBUG: BB :0: inheriting classes/patch.bbclass
>>> DEBUG: BB classes/patch.bbclass: handle(data, include)
>>> DEBUG: setVarFlag(do_patch, dirs, ${WORKDIR}, data)
>>> DEBUG: BB :0: inheriting classes/siteinfo.bbclass
>>> DEBUG: BB classes/siteinfo.bbclass: handle(data, include)
>>> DEBUG: setVarFlag(MIRRORS, func, 0, data)
>>> ERROR: Please set the 'CACHE' variable.
>>>
>>>
>>> Any further ideas/suggestions would be much appreciated.
>>>
>>> Thanks,
>>> Eldon.
>>>
>>> On Fri, 2007-11-30 at 02:32 +0100, Michael 'Mickey' Lauer wrote:
>>>> Could you try bitbake -D -D -D to see where it actually looks for
>>>> .conf files? Or even use strace.
>>>>
>>>>
>>>> Regards,
>>>>
>>>> :M:
>>> _______________________________________________
>>> Openembedded-users mailing list
>>> Openembedded-users at lists.openembedded.org
>>> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-users
>> _______________________________________________
>> Openembedded-users mailing list
>> Openembedded-users at lists.openembedded.org
>> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-users
> 
> _______________________________________________
> Openembedded-users mailing list
> Openembedded-users at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-users


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-users/attachments/20071205/983814b3/attachment-0002.sig>


More information about the Openembedded-users mailing list