[Pkg-kde-extras] Bug#742090: plasma-nm: FTBFS with openconnect 5.99-1 from experimental: error: request for member 'label' in ...

Mike Miller mtmiller at debian.org
Wed Mar 19 02:11:39 UTC 2014


Source: plasma-nm
Version: 0.9.3.2-3
Severity: important

The latest version of openconnect includes an API change that breaks the
current version of plasma-nm. Openconnect 5.99-1 is currently in
experimental for testing but will soon be beginning a transition in
unstable to the new library with the upcoming 6.00 upstream release.

Initial support for the new openconnect library has been committed
upstream at:
  http://quickgit.kde.org/?p=plasma-nm.git&a=commitdiff&h=947f56f1cd21a72fa0f88e1c42ac8c19e23864d0

The relevant errors look like:
> /«PKGBUILDDIR»/vpn/openconnect/openconnectauth.cpp:444:65: error: request for member 'label' in '*(sopt->oc_form_opt_select::choices + ((sizetype)(((long unsigned int)i) * 8ul)))', which is of pointer type 'oc_choice*' (maybe you meant to use '->' ?)
>                  cmb->addItem(QString::fromUtf8(sopt->choices[i].label), QString::fromUtf8(sopt->choices[i].name));
>                                                                  ^
> /«PKGBUILDDIR»/vpn/openconnect/openconnectauth.cpp:444:108: error: request for member 'name' in '*(sopt->oc_form_opt_select::choices + ((sizetype)(((long unsigned int)i) * 8ul)))', which is of pointer type 'oc_choice*' (maybe you meant to use '->' ?)
>                  cmb->addItem(QString::fromUtf8(sopt->choices[i].label), QString::fromUtf8(sopt->choices[i].name));
>                                                                                                             ^
> /«PKGBUILDDIR»/vpn/openconnect/openconnectauth.cpp:445:65: error: request for member 'name' in '*(sopt->oc_form_opt_select::choices + ((sizetype)(((long unsigned int)i) * 8ul)))', which is of pointer type 'oc_choice*' (maybe you meant to use '->' ?)
>                  if (value == QString::fromUtf8(sopt->choices[i].name))
>                                                                  ^

The full build log with the relevant errors can be found at:
  http://people.debian.org/~mtmiller/plasma-nm_0.9.3.2-3_amd64-experimental.build

Let me know if I can provide any more information to help with the
transition.

-- 
mike



More information about the pkg-kde-extras mailing list