Wind River Support Network

HomeDefectsLIN8-9052
Fixed

LIN8-9052 : samba recipe should add PACKAGECONFIG[libunwind] for libunwind

Created: Apr 16, 2018    Updated: Oct 14, 2020
Resolved Date: May 23, 2018
Found In Version: 8.0.0.25
Fix Version: 8.0.0.26
Severity: Standard
Applicable for: Wind River Linux 8
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.

Workaround

Manual Workaround:

1. make libunwind 
2. make samba

On the recipe:
1. Modify Samba bb recipe as follows:
PACKAGECONFIG[libunwind] = "--with-libunwind,--without-libunwind,libunwind"

2. make samba
 

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 

        

Other Downloads


Live chat
Online