Bug 13166 - Meta-selinux: Audit recipes configure.ac check golang from the host (check contamination), resulting a QA issue
Summary: Meta-selinux: Audit recipes configure.ac check golang from the host (check co...
Status: RESOLVED FIXED
Alias: None
Product: Other YP Layers
Classification: Build System, Metadata & Runtime
Component: layers (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Medium normal
Target Milestone: 0.0.0
Assignee: Yi Zhao
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2019-02-04 10:56 UTC by tangicolin
Modified: 2019-09-18 01:34 UTC (History)
4 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments
config.log of the audit configure.ac result (144.16 KB, application/octet-stream)
2019-02-04 10:56 UTC, tangicolin
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description tangicolin 2019-02-04 10:56:02 UTC
Created attachment 4428 [details]
config.log of the audit configure.ac result

The configure.ac of the audit recipes check for golang availability or not . If golang is installed on the host (not from yocto, it is a "host contamination" check) it compile some extras files that are not shipped and it result from a QA issue : 

ERROR: QA Issue: audit: Files/directories were installed but not shipped in any package:
  /usr/lib/golang
  /usr/lib/golang/src
  /usr/lib/golang/src/pkg
  /usr/lib/golang/src/pkg/redhat.com
  /usr/lib/golang/src/pkg/redhat.com/audit
  /usr/lib/golang/src/pkg/redhat.com/audit/audit.go
Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install.
audit: 6 installed and not shipped files. [installed-vs-shipped]

The configure script of audit should be changed to no check "golang" availability from the host path.