[yocto] [meta-security][V2]PATCH] paxctl: fix compile issue.

Khem Raj raj.khem at gmail.com
Sun Mar 27 17:04:48 PDT 2016


On Mar 27, 2016 4:27 PM, "Armin Kuster" <akuster808 at gmail.com> wrote:
>
> use CC from build not host.
>
> thanks khem
>
> this fixes the below error.
> WARNING: paxctl-0.9-r0 do_package_qa: QA Issue: /sbin/paxctl contained in
package paxctl requires libc.so.6(GLIBC_2.3.4)(64bit), but no providers
found in RDEPENDS_paxctl? [file-rdeps]
>
> Signed-off-by: Armin Kuster <akuster808 at gmail.com>
> ---
>  recipes-security/paxctl/paxctl_0.9.bb | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/recipes-security/paxctl/paxctl_0.9.bb
b/recipes-security/paxctl/paxctl_0.9.bb
> index 8eadad1..b3405cd 100644
> --- a/recipes-security/paxctl/paxctl_0.9.bb
> +++ b/recipes-security/paxctl/paxctl_0.9.bb
> @@ -12,6 +12,8 @@ SRC_URI = "http://pax.grsecurity.net/paxctl-${PV}.tar.gz
"
>  SRC_URI[md5sum] = "9bea59b1987dc4e16c2d22d745374e64"
>  SRC_URI[sha256sum] =
"a330ddd812688169802a3ba29e5e3b19956376b8f6f73b8d7e9586eb04423c2e"
>
> +EXTRA_OEMAKE = "CC='${CC}'"
> +
>  do_install() {
>         oe_runmake 'DESTDIR=${D}' install
>  }

If you add destdir to extra oemake then you can delete do_install as well
> --
> 2.3.5
>
> --
> _______________________________________________
> yocto mailing list
> yocto at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20160327/25e5e8cc/attachment.html>


More information about the yocto mailing list