Bug 1369548

Summary: Failure to build an EPEL 6 package
Product: [Fedora] Fedora EPEL Reporter: Irina Boverman <iboverma>
Component: cmakeAssignee: Orion Poplawski <orion>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: el6CC: helio, orion, pertusus
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-08-23 17:54:09 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:

Description Irina Boverman 2016-08-23 17:38:10 UTC
Description of problem:

Failure to build a package

Version-Release number of selected component (if applicable):


How reproducible:

100%

Steps to Reproduce:
I tried to build couple of different packages, but they all fail with like this:

https://kojipkgs.fedoraproject.org//work/tasks/2456/15352456/build.log

+ %cmake -DPROTON_DISABLE_RPATH=true '-DCMAKE_CXX_FLAGS= ' -DCMAKE_EXE_LINKER_FLAGS=-Wl,-z,relro,-z,now -DCMAKE_SHARED_LINKER_FLAGS=-Wl,-z,relro -DCMAKE_MODULE_LINKER_FLAGS=-Wl,-z,relro -DSYSINSTALL_BINDINGS=ON -DBUILD_PERL=OFF .
/var/tmp/rpm-tmp.gOClEa: line 37: fg: no job control
error: Bad exit status from /var/tmp/rpm-tmp.gOClEa (%build)
    Bad exit status from /var/tmp/rpm-tmp.gOClEa (%build)
Actual results:


Expected results:

Should complete the build.

Additional info:

I was able to build the same packages last week, and the build is now failing (without any changes).

Comment 1 Orion Poplawski 2016-08-23 17:54:09 UTC
You're using cmake3, so you need the %cmake3 macro.  FWI - with newer cmake in Fedora it provides the %cmake3 macro as well.