| Summary: | Should add a BuildRequires: make | ||
|---|---|---|---|
| Product: | [Retired] Pulp | Reporter: | Mike McCune <mmccune> |
| Component: | rel-eng | Assignee: | Jeff Ortel <jortel> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Preethi Thomas <pthomas> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | unspecified | CC: | skarmark |
| Target Milestone: | --- | Keywords: | Triaged |
| Target Release: | Sprint 27 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-02-24 20:15:55 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
Added:
%if %{pulp_selinux}
BuildRequires: make
BuildRequires: checkpolicy
BuildRequires: selinux-policy-devel
BuildRequires: hardlink
%endif
conditional on building SELinux policy.
build: 0.225 verified
[root@preethi pulp]# tito build --rpm
Checking for tag [pulp-0.0.228-1] in git repo [git://git.fedorahosted.org/git/pulp.git/]
Building package [pulp-0.0.228-1]
Wrote: /tmp/tito/pulp-0.0.228.tar.gz
########## ERROR ############
Error running command: LC_ALL=C rpmbuild --define "_source_filedigest_algorithm md5" --define "_binary_filedigest_algorithm md5" --define "_sourcedir /tmp/tito/rpmbuild-pulp-af713864756430309b2330c10f3461e2c677c0e9/SOURCES" --define "_builddir /tmp/tito/rpmbuild-pulp-af713864756430309b2330c10f3461e2c677c0e9/BUILD" --define "_srcrpmdir /tmp/tito" --define "_rpmdir /tmp/tito" --clean -ba /tmp/tito/rpmbuild-pulp-af713864756430309b2330c10f3461e2c677c0e9/SOURCES/pulp-0.0.228/pulp.spec
Status code: 256
Command output: error: Failed build dependencies:
make is needed by pulp-0.0.228-1.fc15.noarch
hardlink is needed by pulp-0.0.228-1.fc15.noarch
Traceback (most recent call last):
File "/usr/bin/tito", line 22, in <module>
CLI().main(sys.argv[1:])
File "/usr/lib/python2.7/site-packages/tito/cli.py", line 98, in main
return module.main(argv)
File "/usr/lib/python2.7/site-packages/tito/cli.py", line 408, in main
return builder.run(self.options)
File "/usr/lib/python2.7/site-packages/tito/builder.py", line 155, in run
self._rpm()
File "/usr/lib/python2.7/site-packages/tito/builder.py", line 242, in _rpm
output = run_command(cmd)
File "/usr/lib/python2.7/site-packages/tito/common.py", line 121, in run_command
raise Exception("Error running command")
Exception: Error running command
[root@preethi pulp]#
Pulp v1.0 is released Closed Current Release. Pulp v1.0 is released. |
Building pulp on a freshly installed F15 guest: # tito build --rpm --test Building package [pulp-0.0.223-1] Wrote: /tmp/tito/pulp-git-6.5867a35.tar.gz ########## ERROR ############ Error running command: LC_ALL=C rpmbuild --define "_source_filedigest_algorithm md5" --define "_binary_filedigest_algorithm md5" --define "_sourcedir /tmp/tito/rpmbuild-pulp-5867a35f435b63e579c1795e363ae5ab081c2587/SOURCES" --define "_builddir /tmp/tito/rpmbuild-pulp-5867a35f435b63e579c1795e363ae5ab081c2587/BUILD" --define "_srcrpmdir /tmp/tito" --define "_rpmdir /tmp/tito" --clean -ba /tmp/tito/rpmbuild-pulp-5867a35f435b63e579c1795e363ae5ab081c2587/SOURCES/pulp-git-6.5867a35/pulp.spec Status code: 256 Command output: error: Failed build dependencies: python2-devel is needed by pulp-0.0.223-1.git.6.5867a35.fc15.noarch python-nose is needed by pulp-0.0.223-1.git.6.5867a35.fc15.noarch hardlink is needed by pulp-0.0.223-1.git.6.5867a35.fc15.noarch After installing the listed BuildRequires I tried again: # tito build --rpm --test WARNING: rpmbuild directory already exists, removing... Building package [pulp-0.0.223-1] Wrote: /tmp/tito/pulp-git-6.5867a35.tar.gz [..snip..] + make NAME=mls -f /usr/share/selinux/devel/Makefile /var/tmp/rpm-tmp.GB0JRo: line 40: make: command not found error: Bad exit status from /var/tmp/rpm-tmp.GB0JRo (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.GB0JRo (%build) Traceback (most recent call last): File "/usr/bin/tito", line 22, in <module> CLI().main(sys.argv[1:]) File "/usr/lib/python2.7/site-packages/tito/cli.py", line 98, in main return module.main(argv) File "/usr/lib/python2.7/site-packages/tito/cli.py", line 408, in main return builder.run(self.options) File "/usr/lib/python2.7/site-packages/tito/builder.py", line 155, in run self._rpm() File "/usr/lib/python2.7/site-packages/tito/builder.py", line 242, in _rpm output = run_command(cmd) File "/usr/lib/python2.7/site-packages/tito/common.py", line 121, in run_command raise Exception("Error running command") Note the error requiring make.