Wind River Support Network

HomeDefectsLIN1018-3896
Fixed

LIN1018-3896 : samba recipe should add PACKAGECONFIG[libunwind] for libunwind

Created: Apr 11, 2019    Updated: Apr 28, 2019
Resolved Date: Apr 22, 2019
Previous ID: LIN10-5725
Found In Version: 10.18.44.5
Fix Version: 10.18.44.6
Severity: Standard
Applicable for: Wind River Linux LTS 18
Component/s: Build & Config

Description

If libunwind is added to the build system samba package can be build using libunwind as a dependency. This is not declared in the samba recipe.

Steps to Reproduce

To re-create the issue you can follow these steps:
1. Build an image which contains libunwind and Samba packages
2. make libunwind.distclean
3. Comment out the #ifdef around the inclusion of libunwind.h in source3/lib/util.c as follows
/* #ifdef HAVE_LIBUNWIND_H */ 
#include <libunwind.h> 
/* #endif */ 

4. make samba.rebuild 

output:
| [1370/2581] Compiling source3/lib/util.c 
| ../source3/lib/util.c:818:23: fatal error: libunwind.h: No such file or directory 

        

Live chat
Online