[oe] [RFC] error out on .la files pointing to ${WORKDIR}

Richard Purdie rpurdie at rpsys.net
Wed Mar 19 12:22:26 UTC 2008


Hi,

On Wed, 2008-03-19 at 11:50 +0100, Koen Kooi wrote:
> Things in stagin (e.g. .la files) point to ${WORKDIR} are broken and  
> should die. If we want packaged-staging and rm_work to function we  
> need to fix them. Since we are all lazy we need some incentive:
[...]
> --- classes/insane.bbclass      0712df99743c442ed311e6b4d4be0d28f29d525f
> +++ classes/insane.bbclass      fa6b704f402965c8123dfa90527b5a11a8cd3288
> @@ -178,7 +178,7 @@ def package_qa_make_fatal_error(error_cl
> 
>       TODO: Load a whitelist of known errors
>       """
> - -    return not error_class in [0, 5, 7, 8]
> +    return not error_class in [0, 5, 7]
> 
>   def package_qa_write_error(error_class, name, path, d):
>       """

I'm ok with applying that since we do really need to sort out these
issues.

I did a load of cleanup in this area in poky and found in a lot of cases
this happened since we weren't using oe_libinstall which mangles the .la
files if it notices anything wrong with them. There is at least one fix
in Poky which might help the gstreamer packages from this PoV and I'll
try and merge that.

Cheers,

Richard





More information about the Openembedded-devel mailing list