Wind River Support Network

HomeDefectsLIN10-7346
Fixed

LIN10-7346 : syslog-ng bug when including both 64- and 32-bits to SDK

Created: May 28, 2020    Updated: Jun 14, 2020
Resolved Date: Jun 11, 2020
Found In Version: 10.17.41.21
Fix Version: 10.17.41.21
Severity: Standard
Applicable for: Wind River Linux LTS 17, Wind River Linux LTS 18
Component/s: Userspace

Description

When having both syslog-ng and lib32-syslog-ng in your image and generating an SDK it fails with:

Error: Transaction check error:
file /usr/include/syslog-ng/syslog-ng-config.h conflicts between attempted installs of lib32-syslog-ng-dev-3.16.1-r0.core2_32 and
syslog-ng-dev-3.16.1-r0.core2_64

Workaround

Add the following in layers/meta-openembedded/meta-oe/recipes-support/syslog-ng/syslog-ng.inc
"inherit multilib_header

do_install_append() {
    oe_multilib_header syslog-ng/syslog-ng-config.h }

"

Steps to Reproduce

# Configure a WRL LTS 18 project for qemux86-64
 # Add to local.conf: 
IMAGE_INSTALL_append += "syslog-ng lib32-syslog-ng"
 # bitbake -c populate_sdk core-image-minimal 
Live chat
Online