Wind River Support Network

HomeDefectsLIN10-5533
Fixed

LIN10-5533 : do_compile error of cyrus-sasl in managed build which upgraded from RCPL0010 to RCPL0011

Created: Mar 11, 2019    Updated: Apr 1, 2019
Resolved Date: Mar 29, 2019
Found In Version: 10.17.41.11
Fix Version: 10.17.41.15
Severity: Standard
Applicable for: Wind River Linux LTS 17
Component/s: Build & Config

Description

|  unsigned char *HMAC(const EVP_MD *evp_md, const void *key, int key_len,
|                 ^~~~
| At top level:
| plain.c:60:19: warning: 'plugin_id' defined but not used [-Wunused-const-variable=]
|  static const char plugin_id[] = "$Id: plain.c,v 1.67 2009/06/10 16:05:19 mel Exp $";
|                    ^~~~~~~~~
| scram.c:260:1: warning: 'print_hash' defined but not used [-Wunused-function]
|  print_hash (const char * func, const char * hash)
|  ^~~~~~~~~~
| scram.c:72:19: warning: 'plugin_id' defined but not used [-Wunused-const-variable=]
|  static const char plugin_id[] = "$Id: scram.c,v 1.26 2011/09/07 16:09:40 murch Exp $";
|                    ^~~~~~~~~
| In file included from ldapdb_init.c:17:0:
| plugin_common.h:104:14: error: redefinition of 'sasl_canonuser_init'
|  PLUG_API int sasl_canonuser_init(const sasl_utils_t *utils, \

Steps to Reproduce

$ git clone --branch WRLINUX_10_17_LTS_RCPL0014 https://windshare.windriver.com/ondemand/remote.php/gitsmart/WRLinux-lts-17-Core/wrlinux-x wrlinux-x 

$ (cd wrlinux-x; git checkout WRLINUX_10_17_LTS_RCPL0010) 
$ ./wrlinux-x/setup.sh --machines=intel-x86-64 --distros=wrlinux-cgl --templates=feature/lttng --layers=meta-security,meta-selinux,meta-webserver,meta-gnome --dl-layers --accept-eula=yes --user=xxx --password=xxxx 
$ source environment-setup-x86_64-wrlinuxsdk-linux && source oe-init-build-env build 
$ echo 'PRSERV_HOST = "localhost:0"' >>conf/local.conf 
$ echo 'INHERIT += "packagefeed-stability"' >>conf/local.conf 
$ echo 'INHERIT += "buildhistory"' >>conf/local.conf 
$ echo 'BUILDHISTORY_COMMIT = "1"' >>conf/local.conf 
$ echo 'WRTEMPLATE ?= "feature/package-management"' >>conf/local.conf 
$ bitbake -k wrlinux-image-glibc-cgl 

$ rm -rf conf/wr* 
$ cd .. 
$ (cd wrlinux-x; git checkout WRLINUX_10_17_LTS_RCPL0011) 
$ ./wrlinux-x/setup.sh --machines=intel-x86-64 --distros=wrlinux-cgl --templates=feature/lttng --layers=meta-security,meta-selinux,meta-webserver,meta-gnome --dl-layers --accept-eula=yes --user=xxx --password=xxxx 
$ cd build 
$ bitbake -k wrlinux-image-glibc-cgl
Live chat
Online