Bug 703188

Summary: TPS: Source rebuild Failures on x86_64 client and workstation
Product: Red Hat Enterprise Linux 6 Reporter: Jenny Severance <jgalipea>
Component: ipaAssignee: Rob Crittenden <rcritten>
Status: CLOSED ERRATA QA Contact: Chandrasekar Kannan <ckannan>
Severity: medium Docs Contact:
Priority: high    
Version: 6.1CC: benl, borgan, dpal, lockhart, syeghiay
Target Milestone: rcKeywords: Reopened
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ipa-2.1.0-1.el6 Doc Type: Bug Fix
Doc Text:
Do not document
Story Points: ---
Clone Of:
: 703489 (view as bug list) Environment:
Last Closed: 2011-12-06 18:22:01 UTC Type: ---
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: 703489    

Description Jenny Severance 2011-05-09 15:22:58 UTC
Description of problem:
IPA fails to build on x86_86 arch on client and workstation distributions

<snip>

--- REBUILD: ipa-2.0.0-23.el6.src.rpm for x86_64 ---------------------
FAILED to rebuild /mnt/redhat/brewroot/packages/ipa/2.0.0/23.el6/src/ipa-2.0.0-23.el6.src.rpm -- return code 256


REBUILD: FAIL for ipa-2.0.0-23.el6.src.rpmBUILDLOG: ipa-2.0.0-23.el6.src.rpm-x86_64-rebuild.log contains full details.  Reports from make and rpmbuild, with line numbers:
504-    from ipapython.version import API_VERSION
505-  File "/usr/src/redhat/BUILD/freeipa-2.0.0.rc3/ipapython/version.py", line 25, in <module>
506-    NUM_VERSION=__NUM_VERSION__
507-NameError: name '__NUM_VERSION__' is not defined
508-perl -pi -e "s:__API_VERSION__:2.1:" ipapython/version.py
509:make: *** [server] Error 1
510:make: *** Waiting for unfinished jobs....
511-sed -e s/__VERSION__/2.0.0.rc3/ daemons/ipa-version.h.in \
512-		> daemons/ipa-version.h
513-perl -pi -e "s:__NUM_VERSION__:200:" daemons/ipa-version.h
514-perl -pi -e "s:__DATA_VERSION__:20100614120000:" daemons/ipa-version.h
515-sed -e s/__VERSION__/2.0.0.rc3/ -e s/__RELEASE__/0/ \
--
527-  File "/usr/src/redhat/BUILD/freeipa-2.0.0.rc3/ipalib/frontend.py", line 36, in <module>
528-    from ipapython.version import API_VERSION
529-  File "/usr/src/redhat/BUILD/freeipa-2.0.0.rc3/ipapython/version.py", line 25, in <module>
530-    NUM_VERSION=200
531-NameError: name '__NUM_VERSION__' is not defined
532:make: *** [version-update] Error 1
533:error: Bad exit status from /var/tmp/rpm-tmp.t0TzsS (%build)
534-
535-
536-RPM build errors:
537-    user mockbuild does not exist - using root
538-    group mockbuild does not exist - using root

Last 20 lines of Build Log:
    group mockbuild does not exist - using root
    user mockbuild does not exist - using root
    group mockbuild does not exist - using root
    user mockbuild does not exist - using root
    group mockbuild does not exist - using root
    user mockbuild does not exist - using root
    group mockbuild does not exist - using root
    user mockbuild does not exist - using root
    group mockbuild does not exist - using root
    user mockbuild does not exist - using root
    group mockbuild does not exist - using root
    user mockbuild does not exist - using root
    group mockbuild does not exist - using root
    user mockbuild does not exist - using root
    group mockbuild does not exist - using root
    user mockbuild does not exist - using root
    group mockbuild does not exist - using root
    user mockbuild does not exist - using root
    group mockbuild does not exist - using root
    Bad exit status from /var/tmp/rpm-tmp.t0TzsS (%build)

===============
TPSRESULT: REBUILD: ipa-2.0.0-23.el6.src.rpm for x86_64 Returning: FAIL

</snip>


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


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 11 Jenny Severance 2011-05-10 14:12:57 UTC
closed bug against TPS - closing this one.

Comment 16 Rob Crittenden 2011-05-13 21:29:11 UTC
https://fedorahosted.org/freeipa/ticket/1215

Comment 17 Rob Crittenden 2011-08-01 20:34:48 UTC
master: f2df2a6954e55348f8224be19bf727965e3e75f0

ipa-2-0: ae3488014335c1cf628d8bc75c42bbed9d65a757

Comment 19 Jenny Severance 2011-10-05 18:10:03 UTC
verified:

ipa-server-2.1.1-4.el6.x86_64

Comment 21 Rob Crittenden 2011-10-31 18:26:32 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
Do not document

Comment 22 errata-xmlrpc 2011-12-06 18:22:01 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHSA-2011-1533.html