Bug 588284

Summary: SRPM lacks BuildReq for C++ compiler
Product: [Fedora] Fedora Reporter: Tim Landscheidt <tim>
Component: psmiscAssignee: Daniel Novotny <dnovotny>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: 11CC: dnovotny, ovasik
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-05-03 13:03:42 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:

Description Tim Landscheidt 2010-05-03 12:00:59 UTC
Description of problem:

The SRPM has no BuildReq for a C++ compiler.


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

psmisc-22.6-9.fc11.src.rpm


How reproducible:

Always.


Steps to Reproduce:
 
| [tim@passepartout ~]$ rpmbuild -bc RPMS/SPECS/psmisc.spec 
| Ausführung(%prep): /bin/sh -e /var/tmp/rpm-tmp.Cl2XGT
| [...]
| checking whether make sets $(MAKE)... yes
| checking for i686-pc-linux-gnu-g++... no
| checking for i686-pc-linux-gnu-c++... no
| checking for i686-pc-linux-gnu-gpp... no
| checking for i686-pc-linux-gnu-aCC... no
| checking for i686-pc-linux-gnu-CC... no
| checking for i686-pc-linux-gnu-cxx... no
| checking for i686-pc-linux-gnu-cc++... no
| checking for i686-pc-linux-gnu-cl.exe... no
| checking for i686-pc-linux-gnu-FCC... no
| checking for i686-pc-linux-gnu-KCC... no
| checking for i686-pc-linux-gnu-RCC... no
| checking for i686-pc-linux-gnu-xlC_r... no
| checking for i686-pc-linux-gnu-xlC... no
| checking for g++... no
| checking for c++... no
| checking for gpp... no
| checking for aCC... no
| checking for CC... no
| checking for cxx... no
| checking for cc++... no
| checking for cl.exe... no
| checking for FCC... no
| checking for KCC... no
| checking for RCC... no
| checking for xlC_r... no
| checking for xlC... no
| checking for C++ compiler default output file name... 
| configure: error: in `/home/tim/RPMS/BUILD/psmisc-22.6':
| configure: error: C++ compiler cannot create executables
| See `config.log' for more details.
| Fehler: Fehler-Status beim Beenden von /var/tmp/rpm-tmp.WMzWpo (%build)


| Fehler beim Bauen des RPM:
|     Fehler-Status beim Beenden von /var/tmp/rpm-tmp.WMzWpo (%build)
| [tim@passepartout ~]$

Comment 1 Ondrej Vasik 2010-05-03 13:03:42 UTC
That's NOTABUG - see http://fedoraproject.org/wiki/Packaging/Guidelines#Exceptions_2 . Build Requires for C++ compiler are not required.

Comment 2 Tim Landscheidt 2010-05-05 20:47:46 UTC
Sorry, I wasn't aware of that guideline. Is there a package similar to redhat-lsb that unites these dependencies?

Comment 3 Ondrej Vasik 2010-05-06 05:35:12 UTC
Good point, I don't know about such package - but it sounds like a good idea. Maybe you could ask about that on devel.org to have wider audience (maybe there is already some group in comps which could be installed to achieve this - I'm not sure).