Bug 1721394

Summary: podman fails to build with --nocheck
Product: Red Hat Enterprise Linux 8 Reporter: Kamil Dudka <kdudka>
Component: podmanAssignee: Jindrich Novy <jnovy>
Status: CLOSED CURRENTRELEASE QA Contact: atomic-bugs <atomic-bugs>
Severity: unspecified Docs Contact:
Priority: high    
Version: 8.1CC: blc, dwalsh, gscrivan, jligon, jnovy, kanderso, kdudka, lsm5, mheon, pthomas, smccarty, tsweeney
Target Milestone: rcKeywords: EasyFix
Target Release: 8.2   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: podman-1.4.2-6.el8 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1754746 (view as bug list) Environment:
Last Closed: 2019-10-16 10:05:39 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1754746    

Description Kamil Dudka 2019-06-18 08:13:08 UTC
Description of problem:
If `mock` or `rpmbuild` is invoked with `--nocheck`, podman fails to build.


Version-Release number of selected component (if applicable):
podman-1.4.1-4.module+el8.1.0+3411+f09ffff6


Steps to Reproduce:
1. mock --nocheck -v podman-1.4.1-4.module+el8.1.0+3411+f09ffff6.src.rpm


Actual results:
[...]
Processing files: podman-tests-1.4.1-4.module+el8+2540+b19c9b35.x86_64
error: File not found: /builddir/build/BUILDROOT/podman-1.4.1-4.module+el8+2540+b19c9b35.x86_64/usr/share/podman/test


Expected results:
Successful build.


Additional info:
This bug prevents podman from being automatically scanned by Covscan.

Comment 4 Daniel Walsh 2019-08-14 12:40:11 UTC
Jindrich, 

Any movement on this?

Comment 6 Daniel Walsh 2019-08-20 14:30:10 UTC
Jindrich and Lokesh can we get this ixed?

Comment 7 Jindrich Novy 2019-09-03 07:10:37 UTC
Indeed, nothing should be installed in the buildroot in the %check section of the spec file. Moving the installation bits to %install fixes this.

Comment 12 Daniel Walsh 2019-09-04 12:33:10 UTC
Jindrich, should bugzilla be moved to modified?  What version?

Comment 15 Jindrich Novy 2019-10-16 09:27:00 UTC
Fixed in podman-1.4.2-6.el8 and onwards in stream-container-tools-rhel8-rhel-8.2.0.