Wind River Support Network

HomeDefectsLIN6-10917
Fixed

LIN6-10917 : Building wrlinux-image-glibc-small image produces inconsistent file flags

Created: Feb 21, 2016    Updated: Apr 11, 2018
Resolved Date: Mar 30, 2016
Found In Version: 6.0.0.27
Fix Version: 6.0.0.29
Severity: Critical
Applicable for: Wind River Linux 6
Component/s: Build & Config

Description

After building 3 standard wrl6 glibc_small projects, I have observed that the following files in /bin, /sbin, /usr/bin and /usr/sbin directories have different permissions. 

For example, comparing only /sbin directory for each project: 
1. 
$/configure --enable-board=intel_x86_32 --enable-rootfs=glibc_small --enable-kernel=standard --enable-parallel-pkgbuilds=9 --enable-jobs=9 --with-rcpl-version=0027 

2.
$/configure --enable-board=intel_x86_32 --enable-rootfs=glibc_small --enable-kernel=standard --enable-parallel-pkgbuilds=9 --enable-jobs=9 --with-rcpl-version=0027 

3.
$/configure --enable-board=intel_x86_32 --enable-rootfs=glibc_small --enable-kernel=standard --enable-parallel-pkgbuilds=9 --enable-jobs=9 --with-rcpl-version=0027 

As you can notice I have used the same configure line for all three projects. 
Please see the attached files for each /sbin/ directories with their permissions. (proj1.sbin.log, proj2.sbin.log, proj3.sbin.log).

Workaround

Revert the last commit of layers/oe-core/meta/recipes-devtools/pseudo/pseudo.inc.

Or: 
Edit file layers/oe-core/meta/recipes-devtools/pseudo/pseudo.inc directly to replace line 31 from
NO32LIBS = "1"
to.
NO32LIBS ??= "1

Steps to Reproduce

I have configured three projects with the following command:
$/configure --enable-board=intel_x86_32 --enable-rootfs=glibc_small --enable-kernel=standard --enable-parallel-pkgbuilds=9 --enable-jobs=9 --with-rcpl-version=0027 
After comparing the projects, some of the directories which contain different permissions for files are: 
/bin
/sbin
/usr/bin
/usr/sbin

These are just a few directories that I have observed, but there could be more files with different permissions between projects. 
Live chat
Online