Making all in auth-dialog make[2]: Entering directory `/var/tmp/portage/net-misc/networkmanager-openconnect-0.9.10.0/work/NetworkManager-openconnect-0.9.10.0/auth-dialog' x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libnm-glib -I/usr/include/NetworkManager -I/usr/include/libnm-glib -I/usr/include/NetworkManager -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_32 -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/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DGDK_VERSION_MIN_REQUIRED=GDK_VERSION_3_4 -pthread -I/usr/include/PCSC -I/usr/include/libxml2 -I/usr/include/libxml2 -DSECRET_WITH_UNSTABLE -pthread -I/usr/include/libsecret-1 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I.. -DICONDIR=\""/usr/share/pixmaps"\" -DBINDIR=\""/usr/bin"\" -DGNOMELOCALEDIR=\"/usr/share/locale\" -DVERSION=\"0.9.10.0\" -O2 -march=native -pipe -fomit-frame-pointer -c -o nm_openconnect_auth_dialog-main.o `test -f 'main.c' || echo './'`main.c main.c: In function ‘ui_form’: main.c:716:38: error: ‘struct oc_form_opt’ has no member named ‘value’ data->entry_text = g_strdup (opt->value); ^ main.c: In function ‘set_initial_authgroup’: main.c:780:13: error: ‘struct oc_form_opt’ has no member named ‘value’ free(opt->value); ^ main.c:781:8: error: ‘struct oc_form_opt’ has no member named ‘value’ opt->value = g_strdup(saved_group); ^ main.c: In function ‘nm_process_auth_form’: main.c:827:14: error: ‘struct oc_form_opt’ has no member named ‘value’ data->opt->value = g_strdup (data->entry_text); ^ main.c: At top level: main.c:878:2: error: unknown type name ‘OPENCONNECT_X509’ OPENCONNECT_X509 *peer_cert; ^ main.c: In function ‘user_validate_cert’: main.c:911:10: warning: assignment makes pointer from integer without a cast [enabled by default] details = openconnect_get_cert_details(ui_data->vpninfo, data->peer_cert); ^ main.c: At top level: main.c:959:10: error: unknown type name ‘OPENCONNECT_X509’ OPENCONNECT_X509 *peer_cert, const char *reason) ^ main.c: In function ‘cookie_obtained’: main.c:1364:3: error: unknown type name ‘OPENCONNECT_X509’ OPENCONNECT_X509 *cert; ^ main.c:1386:8: warning: assignment makes pointer from integer without a cast [enabled by default] cert = openconnect_get_peer_cert (ui_data->vpninfo); ^ main.c: In function ‘init_ui_data’: main.c:1684:11: error: ‘validate_peer_cert’ undeclared (first use in this function) validate_peer_cert, write_new_config, ^ main.c:1684:11: note: each undeclared identifier is reported only once for each function it appears in main.c:1686:11: warning: passing argument 3 of ‘openconnect_vpninfo_new’ from incompatible pointer type [enabled by default] ui_data); ^ In file included from main.c:50:0: /usr/include/openconnect.h:520:26: note: expected ‘openconnect_write_new_config_vfn’ but argument is of type ‘int (*)(void *, char *, int)’ struct openconnect_info *openconnect_vpninfo_new(const char *useragent, ^ make[2]: *** [nm_openconnect_auth_dialog-main.o] Error 1 make[2]: Leaving directory `/var/tmp/portage/net-misc/networkmanager-openconnect-0.9.10.0/work/NetworkManager-openconnect-0.9.10.0/auth-dialog' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/net-misc/networkmanager-openconnect-0.9.10.0/work/NetworkManager-openconnect-0.9.10.0' make: *** [all] Error 2 Compiles fine with USE=-gtk Note that I am using gtk+ from the gnome-overlay [I] x11-libs/gtk+ Available versions: (1) 1.2.10-r12 (2) 2.24.24{tbz2} (~)2.24.25{tbz2} (3) 3.4.4 3.10.8 3.12.2{tbz2} (~)3.12.2-r1{tbz2} (~)3.14.5{tbz2}[1] **9999[1] {X aqua cloudprint colord cups debug doc examples +introspection nls packagekit test vim-syntax wayland xinerama ABI_MIPS="n32 n64 o32" ABI_PPC="32 64" ABI_S390="32 64" ABI_X86="32 64 x32" LINGUAS="az ca cs da de el es et eu fi fr ga gl hr hu it ja ko lt nl nn no pl pt pt_BR ro ru sk sl sr sv tr uk vi"} Installed versions: 2.24.25(2){tbz2}(07:41:55 PM 11/04/2014)(cups introspection -aqua -debug -examples -test -vim-syntax -xinerama ABI_MIPS="-n32 -n64 -o32" ABI_PPC="-32 -64" ABI_S390="-32 -64" ABI_X86="32 64 -x32") 3.14.5(3){tbz2}[1](01:23:02 PM 12/10/2014)(X colord cups introspection wayland -aqua -cloudprint -debug -examples -test -vim-syntax -xinerama ABI_MIPS="-n32 -n64 -o32" ABI_PPC="-32 -64" ABI_S390="-32 -64" ABI_X86="32 64 -x32") Homepage: http://www.gtk.org/ Description: Gimp ToolKit + [1] "gnome" /var/lib/layman/gnome Reproducible: Always
1) Please attach the entire build log to this bug report. 2) Please post your `emerge --info net-misc/networkmanager-openconnect' output in a comment.
In the meanwhile, the current portage tree has 0.9.10.0 and 0.9.10.0-r1. I can still reproduce with 0.9.10.0, but it is fixed with 0.9.10.0-r1.
kde-misc/plasma-nm and kde-misc/networkmanagement, with openconnect useflag enabled, also break with the new net-misc/openconnect-7 version. For plasma-nm, using the current 0.9.3 git branch worked for me. For networkmanagement, there doesn't seem to be a patch and as development has stopped in favor of plasma-nm, i wouldn't expect it to be patched upstream.
I can no longer reproduce in current tree. * networkmanager-openconnect-1.2.6 * openconnect-8.05 Closing the issue.