Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1123856

Summary: Build of backend rpm failed
Product: [Community] Spacewalk Reporter: Ludwig Bayerlein <lbayerlein>
Component: InstallationAssignee: Gennadii Altukhov <galtukho>
Status: CLOSED NOTABUG QA Contact: Red Hat Satellite QA List <satqe-list>
Severity: high Docs Contact:
Priority: unspecified    
Version: 2.2CC: galtukho
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-05-09 12:24:23 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: 1484117    

Description Ludwig Bayerlein 2014-07-28 13:30:37 UTC
Description of problem:
I downloaded the master branch of the github.com repository (version 2.2). The I have downloaded all of the dependencies via yum-builddep und changed the dir into backend. If I simply run "tito build --test --rpm" there is no success. There is no way to create the spacewalk-backend.rpm on the make process. Everytime there comes this output:

"
R0902: 20:ContentPackage: Too many instance attributes (11/7)
************* Module spacewalk.satellite_tools.repo_plugins.yum_src
R0902: 93:ContentSource: Too many instance attributes (11/7)
R0922: 33:BaseCollection: Abstract class is only referenced 1 times
R0921:293:PackageCollection: Abstract class not referenced
error: Bad exit status from /var/tmp/rpm-tmp.GQmUj7 (%check)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.GQmUj7 (%check)


ERROR: Error running command: rpmbuild --define "_source_filedigest_algorithm md5"  --define "_binary_filedigest_algorithm md5"  --eval '%undefine scl' --define "_topdir /tmp/tito/rpmbuild-spacewalk-backend3d0pTq" --define "_sourcedir /tmp/tito/rpmbuild-spacewalk-backend3d0pTq/SOURCES" --define "_builddir /tmp/tito/rpmbuild-spacewalk-backend3d0pTq/BUILD" --define "_srcrpmdir /tmp/tito" --define "_rpmdir /tmp/tito"   --clean -ba /tmp/tito/rpmbuild-spacewalk-backend3d0pTq/SOURCES/spacewalk-backend-git-0.8bbbe70/spacewalk-backend.spec
" 

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

How reproducible:


Steps to Reproduce:
1. git clone github.com-repo
2. yum-builddep spacewalk/backend/spacewalk-backend.spec
3. cd spacewalk/backend
4. tito build --rpm --test

Actual results:
No success - only some errors and a fail at the end

Expected results:
A rpm for installing this part via yum.

Additional info:
I use the latest 6.5 update of Centos.

Comment 1 Gennadii Altukhov 2016-05-09 12:21:42 UTC
cannot reproduce

Comment 2 Gennadii Altukhov 2016-05-09 12:24:23 UTC
version:
tito-0.6.3-1.el6.noarch

Comment 3 Eric Herget 2017-09-28 18:08:55 UTC
This BZ closed some time during 2.5, 2.6 or 2.7.  Adding to 2.7 tracking bug.