FS#39137 - [networkmanager-openconnect] build fails

Attached to Project: Arch Linux
Opened by Joel Teichroeb (klusark) - Tuesday, 04 March 2014, 02:09 GMT
Last edited by Jan de Groot (JGC) - Monday, 28 April 2014, 10:34 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Ionut Biru (wonder)
Jan Alexander Steffens (heftig)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

make[2]: Leaving directory '/build/networkmanager-openconnect/src/NetworkManager-openconnect-0.9.8.4/po'
Making all in auth-dialog
make[2]: Entering directory '/build/networkmanager-openconnect/src/NetworkManager-openconnect-0.9.8.4/auth-dialog'
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I/usr/include/NetworkManager -I/usr/include/libnm-glib -I/usr/include/NetworkManager -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libdrm -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/p11-kit-1 -I/usr/include/libxml2 -I/usr/include/libxml2 -I/usr/include/gnome-keyring-1 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DICONDIR=\""/usr/share/pixmaps"\" -DBINDIR=\""/usr/bin"\" -DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGNOME_DISABLE_DEPRECATED -DGNOMELOCALEDIR=\"/usr/share/locale\" -DVERSION=\"0.9.8.4\" -D_FORTIFY_SOURCE=2 -Wall -std=gnu89 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -Wshadow -Wmissing-declarations -Wmissing-prototypes -Wdeclaration-after-statement -Wstrict-prototypes -Wfloat-equal -Wno-unused-parameter -Wno-sign-compare -fno-strict-aliasing -Werror -MT nm_openconnect_auth_dialog-main.o -MD -MP -MF .deps/nm_openconnect_auth_dialog-main.Tpo -c -o nm_openconnect_auth_dialog-main.o `test -f 'main.c' || echo './'`main.c
main.c: In function 'ssl_box_add_error':
main.c:222:2: error: 'gtk_image_new_from_stock' is deprecated (declared at /usr/include/gtk-3.0/gtk/gtkimage.h:123): Use 'gtk_image_new_from_icon_name' instead [-Werror=deprecated-declarations]
image = gtk_image_new_from_stock(GTK_STOCK_DIALOG_ERROR,
^
main.c:222:2: error: 'GtkStock' is deprecated [-Werror=deprecated-declarations]
main.c: In function 'ssl_box_add_notice':
main.c:243:2: error: 'gtk_image_new_from_stock' is deprecated (declared at /usr/include/gtk-3.0/gtk/gtkimage.h:123): Use 'gtk_image_new_from_icon_name' instead [-Werror=deprecated-declarations]
image = gtk_image_new_from_stock(GTK_STOCK_DIALOG_WARNING,
^
main.c:243:2: error: 'GtkStock' is deprecated [-Werror=deprecated-declarations]
main.c: In function 'cookie_obtained':
main.c:1291:4: error: 'gtk_image_set_from_stock' is deprecated (declared at /usr/include/gtk-3.0/gtk/gtkimage.h:151): Use 'gtk_image_set_from_icon_name' instead [-Werror=deprecated-declarations]
gtk_image_set_from_stock(GTK_IMAGE (ui_data->last_notice_icon),
^
main.c:1292:8: error: 'GtkStock' is deprecated [-Werror=deprecated-declarations]
GTK_STOCK_DIALOG_ERROR,
^
main.c: In function 'build_main_dialog':
main.c:1475:2: error: 'GtkStock' is deprecated [-Werror=deprecated-declarations]
gtk_window_set_default_icon_name(GTK_STOCK_DIALOG_AUTHENTICATION);
^
main.c:1479:13: error: 'GtkStock' is deprecated [-Werror=deprecated-declarations]
GTK_STOCK_CLOSE, GTK_RESPONSE_CLOSE,
^
main.c:1517:2: error: 'gtk_image_new_from_stock' is deprecated (declared at /usr/include/gtk-3.0/gtk/gtkimage.h:123): Use 'gtk_image_new_from_icon_name' instead [-Werror=deprecated-declarations]
image = gtk_image_new_from_stock(GTK_STOCK_CONNECT, GTK_ICON_SIZE_BUTTON);
^
main.c:1517:2: error: 'GtkStock' is deprecated [-Werror=deprecated-declarations]
main.c:1571:2: error: 'gtk_image_new_from_stock' is deprecated (declared at /usr/include/gtk-3.0/gtk/gtkimage.h:123): Use 'gtk_image_new_from_icon_name' instead [-Werror=deprecated-declarations]
image = gtk_image_new_from_stock(GTK_STOCK_APPLY, GTK_ICON_SIZE_BUTTON);
^
main.c:1571:2: error: 'GtkStock' is deprecated [-Werror=deprecated-declarations]
main.c:1578:2: error: 'gtk_button_new_from_stock' is deprecated (declared at /usr/include/gtk-3.0/gtk/gtkbutton.h:87): Use 'gtk_button_new_with_label' instead [-Werror=deprecated-declarations]
ui_data->cancel_button = gtk_button_new_from_stock (GTK_STOCK_CANCEL);
^
main.c:1578:2: error: 'GtkStock' is deprecated [-Werror=deprecated-declarations]
cc1: all warnings being treated as errors
Makefile:482: recipe for target 'nm_openconnect_auth_dialog-main.o' failed
make[2]: *** [nm_openconnect_auth_dialog-main.o] Error 1
make[2]: Leaving directory '/build/networkmanager-openconnect/src/NetworkManager-openconnect-0.9.8.4/auth-dialog'
Makefile:523: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/build/networkmanager-openconnect/src/NetworkManager-openconnect-0.9.8.4'
Makefile:412: recipe for target 'all' failed
make: *** [all] Error 2
==> ERROR: A failure occurred in build().
Aborting...
==> ERROR: Build failed, check /var


Steps to reproduce:
sudo extra-x86_64-build
This task depends upon

Closed by  Jan de Groot (JGC)
Monday, 28 April 2014, 10:34 GMT
Reason for closing:  Fixed
Additional comments about closing:  0.9.6 should be fine without modifications.
Comment by Doug Newgard (Scimmia) - Tuesday, 04 March 2014, 04:32 GMT
Builds fine by adding -Wno-deprecated-declarations to CFLAGS/CXXFLAGS

Loading...