Bug 220975 - Unable to recompile .src.rpm
Summary: Unable to recompile .src.rpm
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: NetworkManager
Version: 6
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Dan Williams
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-12-29 20:50 UTC by Adam Huffman
Modified: 2008-02-12 03:21 UTC (History)
0 users

Fixed In Version: F7
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-02-12 03:21:09 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Adam Huffman 2006-12-29 20:50:38 UTC
Description of problem:

I have been trying to recompile NM in order to try out a patch which might fix a
network connection problem.  There seems to be a problem with the checks at the
start of the spec file:

rpmbuild -ba NetworkManager.spec
error: parse error in expression
error: /home/adam/rpmbuild/SPECS/NetworkManager.spec:15: parseExpressionBoolean
returns -1
error: Name field must be present in package: (main package)
error: Version field must be present in package: (main package)
error: Release field must be present in package: (main package)
error: Summary field must be present in package: (main package)
error: Group field must be present in package: (main package)
error: License field must be present in package: (main package)

Version-Release number of selected component (if applicable):
0.6.4-5.fc6

How reproducible:
Every time

Steps to Reproduce:
1.
2.
3.
  
Actual results:
.src.rpm should install normally

Expected results:


Additional info:

Comment 1 Denis Leroy 2007-03-26 14:37:48 UTC
It will compile if you add --define 'fedora 6'

but it will fail later on this error:

NetworkManagerDbus.c: In function 'nm_dbus_init':
NetworkManagerDbus.c:837: error: 'DBUS_NAME_FLAG_PROHIBIT_REPLACEMENT'
undeclared (first use in this function)


I'm concerned that no updates to NetworkManager were ever pushed for FC-6 even
though the FC-6 branch in CVS seems to contain a number of useful patches. There
were FC-6 updates from dbus 0.93 to dbus 1.0.1, but NM didn't catch up.

How can I help ?


Comment 2 Dan Williams 2008-02-12 03:21:09 UTC
Should be fixed in F7 and later at least, that RPM should also work on FC6.


Note You need to log in before you can comment on or make changes to this bug.