I tried to build 1.3.1 network manager from source and got the following error:
main.c: In function ‘lookup_password’:
main.c:43:2: error: ‘gnome_keyring_find_network_password_sync’ is deprecated (declared at /usr/include/gnome-keyring-1/gnome-keyring.h:551): Use 'SECRET_SCHEMA_COMPAT_NETWORK' instead [-Werror=deprecated-declarations]
if (gnome_keyring_find_network_password_sync(g_get_user_name(), NULL, name,
^
main.c:59:2: error: ‘gnome_keyring_network_password_list_free’ is deprecated (declared at /usr/include/gnome-keyring-1/gnome-keyring.h:537) [-Werror=deprecated-declarations]
gnome_keyring_network_password_list_free(list);
^
main.c: In function ‘main’:
main.c:222:6: error: ‘gnome_keyring_set_network_password_sync’ is deprecated (declared at /usr/include/gnome-keyring-1/gnome-keyring.h:573): Use 'SECRET_SCHEMA_COMPAT_NETWORK' instead [-Werror=deprecated-declarations]
if (gnome_keyring_set_network_password_sync(keyring,
^
cc1: all warnings being treated as errors
Makefile:393: recipe for target 'nm_strongswan_auth_dialog-main.o' failed
make[2]: *** [nm_strongswan_auth_dialog-main.o] Error 1
make[2]: Leaving directory '/media/mario/Windows/Users/Mario/Shared/Downloads/NetworkManager-strongswan-1.3.1/auth-dialog'
Makefile:445: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/media/mario/Windows/Users/Mario/Shared/Downloads/NetworkManager-strongswan-1.3.1'
Makefile:334: recipe for target 'all' failed
make: *** [all] Error 2
I must second this is super critical for users.
I tried to build 1.3.1 network manager from source and got the following error:
main.c: In function ‘lookup_password’: keyring_ find_network_ password_ sync’ is deprecated (declared at /usr/include/ gnome-keyring- 1/gnome- keyring. h:551): Use 'SECRET_ SCHEMA_ COMPAT_ NETWORK' instead [-Werror= deprecated- declarations] keyring_ find_network_ password_ sync(g_ get_user_ name(), NULL, name, keyring_ network_ password_ list_free’ is deprecated (declared at /usr/include/ gnome-keyring- 1/gnome- keyring. h:537) [-Werror= deprecated- declarations] keyring_ network_ password_ list_free( list); keyring_ set_network_ password_ sync’ is deprecated (declared at /usr/include/ gnome-keyring- 1/gnome- keyring. h:573): Use 'SECRET_ SCHEMA_ COMPAT_ NETWORK' instead [-Werror= deprecated- declarations] keyring_ set_network_ password_ sync(keyring, auth_dialog- main.o' failed auth_dialog- main.o] Error 1 mario/Windows/ Users/Mario/ Shared/ Downloads/ NetworkManager- strongswan- 1.3.1/auth- dialog' mario/Windows/ Users/Mario/ Shared/ Downloads/ NetworkManager- strongswan- 1.3.1'
main.c:43:2: error: ‘gnome_
if (gnome_
^
main.c:59:2: error: ‘gnome_
gnome_
^
main.c: In function ‘main’:
main.c:222:6: error: ‘gnome_
if (gnome_
^
cc1: all warnings being treated as errors
Makefile:393: recipe for target 'nm_strongswan_
make[2]: *** [nm_strongswan_
make[2]: Leaving directory '/media/
Makefile:445: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/media/
Makefile:334: recipe for target 'all' failed
make: *** [all] Error 2