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
Created attachment 846408 [details] Patch to fix NetworkManager compile
I fixed the compile errors and created a patch that can be applied by the specfile to allow compilation to complete.
This appears fixed in the latest builds (0.9.9.0-33.git20131003)... closing.