[oe] [PATCH] sanity.bbclass: Barf if TMPDIR has trailing forward slash

Khem Raj raj.khem at gmail.com
Wed May 26 09:12:43 UTC 2010


On Wed, May 26, 2010 at 1:44 AM, Phil Blundell <philb at gnu.org> wrote:
> On Wed, 2010-05-26 at 00:39 -0700, Khem Raj wrote:
>> * Unknowingly many developers run into this issue and
>>   painful part it that the problems start happening almost
>>   when build it complete and the errors are unrelated to cause
>>   see http://www.mail-archive.com/angstrom-distro-devel@linuxtogo.org/msg02922.html
>
> Can we not fix the actual bug rather than disallowing trailing slashes?
> It seems a bit sad to introduce further weird limitations just to work
> around some or other piece of brokenness.

Yes I thought about it but did not know where to start.
I guess that would be bitbake which has to quickly remove the trailing
space just after parsing
in TMPDIR before it gets expanded into other parts of metadata. would
it be OK for bitbake to treat TMPDIR special ? or may be bitbake
should just get rid of more than one slashes in dir paths as a whole.
when concatenating two paths it should merge the slashes may be.

>
> p.
>
>
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>




More information about the Openembedded-devel mailing list