Wind River Support Network

HomeDefectsLIN1019-4057
Fixed

LIN1019-4057 : IMA Denial testcases: document GPG homedir path length limit(80 characters)

Created: Feb 19, 2020    Updated: Apr 15, 2020
Resolved Date: Mar 18, 2020
Found In Version: 10.19.45.4
Fix Version: 10.19.45.6
Severity: Standard
Applicable for: Wind River Linux LTS 19
Component/s: Userspace

Description

[https://docs.windriver.com/bundle/Wind_River_Linux_Security_Features_Guide_LTS_19/page/kuh1498049452269.html]

The is a 80 character limit for GPG homedir path length which is projectDir/build/tmp-glibc/.gnupg

If projectDir path length is too long, the build will fail with the following error:
 ...
 ERROR: Nothing PROVIDES 'wrlinux-image-std'
 wrlinux-image-std was skipped: The default GPG_PATH '/xxx/build/tmp-glibc/.gnupg'
 of 82 characters is too long.
 Due to GPG homedir path length limit, please set GPG_PATH shorter than 80 characters

Summary: There were 2 WARNING messages shown.
 Summary: There was 1 ERROR message shown, returning a non-zero exit code.

This limitation should be documented, there are two solutions:
 - make sure that GPG homedir(projectDir/build/tmp-glibc/.gnupg) path length is shorter than 80 characters
 - set GPG_PATH shorter than 80 characters in local.conf
Live chat
Online