[meta-virtualization] [meta-cloud-services][PATCH] ruby.bbclass: Error fix

Mark Asselstine mark.asselstine at windriver.com
Fri Aug 7 07:28:34 PDT 2015


I had intentions of divesting meta-cloud-services of much of the ruby
bits and as such have already got this class merged to
meta-oe/meta-ruby. So be sure to send this fix there too.

Thanks,
Mark

On Fri, Aug 7, 2015 at 5:39 AM, Li xin <lixin.fnst at cn.fujitsu.com> wrote:
> When build the recipes which inherit ruby,ERROR will occur as following:
> ERROR: QA Issue: non debug package contains .debug directory: json
> path /work/core2-64-oe-linux/json/1.8.3-r0/packages-split/json/usr/lib/ruby/
> gems/2.2.0/extensions/x86_64-linux/2.2.0/json-1.8.3/json/ext/.debug/generator.so [debug-files]
> So modify ruby.bbclass.
>
> Signed-off-by: Li Xin <lixin.fnst at cn.fujitsu.com>
> ---
>  meta-openstack/classes/ruby.bbclass | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/meta-openstack/classes/ruby.bbclass b/meta-openstack/classes/ruby.bbclass
> index 957abf7..0c842d5 100644
> --- a/meta-openstack/classes/ruby.bbclass
> +++ b/meta-openstack/classes/ruby.bbclass
> @@ -114,6 +114,7 @@ FILES_${PN}-dbg += " \
>          ${libdir}/ruby/gems/${RUBY_GEM_VERSION}/gems/*/*/*/.debug \
>          ${libdir}/ruby/gems/${RUBY_GEM_VERSION}/gems/*/*/*/*/.debug \
>          ${libdir}/ruby/gems/${RUBY_GEM_VERSION}/gems/*/*/*/*/*/.debug \
> +        ${libdir}/ruby/gems/${RUBY_GEM_VERSION}/extensions/*/*/*/*/*/.debug \
>          "
>
>  FILES_${PN} += " \
> --
> 1.8.4.2
>
> --
> _______________________________________________
> meta-virtualization mailing list
> meta-virtualization at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-virtualization


More information about the meta-virtualization mailing list