Wind River Support Network

HomeDefectsLIN6-10257
Fixed

LIN6-10257 : cyrus-sasl: packages building against this may fail (such as libvirt with sasl enabled)

Created: Aug 27, 2015    Updated: Dec 3, 2018
Resolved Date: Sep 14, 2015
Found In Version: 6.0.0.22
Fix Version: 6.0.0.25
Severity: Standard
Applicable for: Wind River Linux 6
Component/s: Userspace

Description

sasl.h lacks the needed include for the size_t define.

Therefore when building packages against cyrus-sasl you may hit a compile error such as:

In file included from rpc/virnetsaslcontext.h:24:0, 
                   from rpc/virnetsaslcontext.c:25: 
  /c/6.x/ovp-projects/intel-x86-64-preempt-rt-ovp-ovirt-engine/bitbake_build/tmp/sysroots/intel-x86-64/usr/include/sasl/sasl.h:230:38: error: unknown type name 'size_t' 
   typedef void *sasl_realloc_t(void *, size_t); 
                                        ^ 
  /c/6.x/ovp-projects/intel-x86-64-preempt-rt-ovp-ovirt-engine/bitbake_build/tmp/sysroots/intel-x86-64/usr/include/sasl/sasl.h:235:5: error: unknown type name 'sasl_realloc_t' 
       sasl_realloc_t *, 

Steps to Reproduce

Configure a build:
wrlinux-6/wrlinux/configure --enable-board=qemux86-64 --enable-rootfs=glibc-std-sato --enable-kernel=standard --with-layer=meta-selinux --enable-bootimage=noimage --enable-build=profiling --with-template=feature/analysis --enable-parallel-pkgbuilds=24 --enable-jobs=20

Edit the libvirt bbappend to enable sasl
vi layers/wr-kernel/recipes-extended/libvirt/libvirt_1.1.2.bbappend
Add 'sasl' to the PACKAGECONFIG

make bbs
bitbake libvirt

Other Downloads


Live chat
Online