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

Koen Kooi koen at dominion.kabel.utwente.nl
Wed Mar 19 22:26:04 UTC 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Koen Kooi schreef:
| Hi,
|
| 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:
|
| #
| # old_revision [85e676eb4b64d66cb74acf6220f10c3942e2bd29]
| #
| # patch "classes/insane.bbclass"
| #  from [0712df99743c442ed311e6b4d4be0d28f29d525f]
| #    to [fa6b704f402965c8123dfa90527b5a11a8cd3288]
| #
| ============================================================
| --- 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 confident that the work done today catches the most used offenders,
so the patch has been pushed:

Commit by koen on org.oe.dev :: r0b604857... / :
insane bbclass: add '8' (.la references workdir) to list of fatal errors
this will also trigger on broken libtool archives already present in
staging. If you get hit by this: rebuild the offending recipes or do a
clean rebuild






-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFH4ZL7MkyGM64RGpERAre3AKCc7wXSp20R2o3QIeZt6CsVtgUcwwCcCt9G
4f6/cyes/PAY3Me99kqzdx8=
=40eF
-----END PGP SIGNATURE-----





More information about the Openembedded-devel mailing list