Bug 1049107 - NetworkManager does not compile due to stale patches
Summary: NetworkManager does not compile due to stale patches
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: NetworkManager
Version: 20
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Dan Williams
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-01-07 03:11 UTC by Scott Shambarger
Modified: 2014-04-04 22:09 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2014-04-04 22:09:29 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Patch to fix NetworkManager compile (1.23 KB, patch)
2014-01-07 03:16 UTC, Scott Shambarger
no flags Details | Diff

Description Scott Shambarger 2014-01-07 03:11:13 UTC
Description of problem:
rpmbuild -bb NetworkManager.spec fails with fatal compile errors using gcc 4.8.2

Version-Release number of selected component (if applicable):
NetworkManager-0.9.9.0-22.git20131003.fc20
gcc-4.8.2-7.fc20

How reproducible:
Always

Steps to Reproduce:
1. Install SRPM for NetworkManager
2. Attempt to build binary packages: rpmbuild -bb NetworkManager.spec

Actual results:
Build fails with "all warnings being treated as errors"

Expected results:
Binary packages should be produced.

Additional info:
Example compile error:
nm-remote-settings.c: In function 'nm_remote_settings_load_connections':
nm-remote-settings.c:667:551: error: return makes integer from pointer without a cast [-Werror]
  g_return_val_if_fail (NM_IS_REMOTE_SETTINGS (settings), NULL);
                                                                       ^
nm-remote-settings.c:668:262: error: return makes integer from pointer without a cast [-Werror]
  g_return_val_if_fail (filenames != NULL, NULL);
                      ^
cc1: all warnings being treated as errors
make[4]: *** [libnm_glib_la-nm-remote-settings.lo] Error 1

Comment 1 Scott Shambarger 2014-01-07 03:16:16 UTC
Created attachment 846408 [details]
Patch to fix NetworkManager compile

Comment 2 Scott Shambarger 2014-01-07 03:17:04 UTC
I fixed the compile errors and created a patch that can be applied by the specfile to allow compilation to complete.

Comment 3 Scott Shambarger 2014-04-04 22:09:29 UTC
This appears fixed in the latest builds (0.9.9.0-33.git20131003)... closing.


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