Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 691466 - net-libs/telepathy-accounts-signon-1.0 w/ net-libs/libsignon-glib-2.1: error: too few arguments to function ‘signon_identity_query_info’
Summary: net-libs/telepathy-accounts-signon-1.0 w/ net-libs/libsignon-glib-2.1: error:...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal with 1 vote (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-08-04 20:51 UTC by Alexander Wessel
Modified: 2019-08-04 22:59 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
/var/tmp/portage/net-libs/telepathy-accounts-signon-1.0/temp/build.log (build.log,18.09 KB, text/x-log)
2019-08-04 20:51 UTC, Alexander Wessel
Details
emerge --info '=net-libs/telepathy-accounts-signon-1.0::gentoo' (emerge.info,6.55 KB, text/plain)
2019-08-04 20:54 UTC, Alexander Wessel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Wessel 2019-08-04 20:51:14 UTC
Created attachment 585730 [details]
/var/tmp/portage/net-libs/telepathy-accounts-signon-1.0/temp/build.log

After todays (20190804) emerge --sync and subsequent emerge --update --deep --newuse --change-use @world, my ~amd64 system was updated to net-libs/libaccounts-glib-1.24 and net-libs/libsignon-glib-2.1, thus I had the following @preserved-rebuild:

!!! existing preserved libs:
>>> package: net-libs/libaccounts-glib-1.24
 *  - /usr/lib64/libaccounts-glib.so.0
 *  - /usr/lib64/libaccounts-glib.so.0.2.0
 *      used by /usr/lib64/mission-control-plugins.0/mcp-account-manager-accounts-sso.so (net-libs/telepathy-accounts-signon-1.0)
>>> package: net-libs/libsignon-glib-2.1
 *  - /usr/lib64/libsignon-glib.so.1
 *  - /usr/lib64/libsignon-glib.so.1.0.0
 *      used by /usr/lib64/mission-control-plugins.0/mcp-account-manager-accounts-sso.so (net-libs/telepathy-accounts-signon-1.0)

Upon emerging @preserved-rebuild, net-libs/telepathy-accounts-signon-1.0 fails to compile (see the attached build log). Apparently, there's an API change in the signon_identity_query_info function: 

In file included from mcp-account-manager-accounts-sso.c:33:
/usr/include/libsignon-glib/signon-identity.h:100:54: note: expected ‘GAsyncReadyCallback’ {aka ‘void (*)(struct _GObject *, struct _GAsyncResult *, void *)’} but argument is of type ‘AccountCreateData *’ {aka ‘struct <anonymous> *’}
  100 |                                  GAsyncReadyCallback callback,
      |                                  ~~~~~~~~~~~~~~~~~~~~^~~~~~~~
mcp-account-manager-accounts-sso.c:425:11: error: too few arguments to function ‘signon_identity_query_info’
  425 |           signon_identity_query_info(signon, _account_created_signon_cb, data);

Hope this helps,
Flexx
Comment 1 Alexander Wessel 2019-08-04 20:54:55 UTC
Created attachment 585734 [details]
emerge --info '=net-libs/telepathy-accounts-signon-1.0::gentoo'
Comment 2 Alexander Wessel 2019-08-04 21:43:09 UTC
It appears net-libs/libaccounts-glib-1.24 is no factor in this problem. After masking via /etc/portage/package.mask/bug691466 like so:

# Incompatibe with / breaks compilation of 
# net-libs/telepathy-accounts-signon-1.0
# see https://bugs.gentoo.org/691466
=net-libs/libsignon-glib-2.1::gentoo

# 8.60 is unsuitable to build net-libs/libsignon-glib-1.14-r1::gentoo
# net-libs/libsignon-glib-2.1 breaks
# net-libs/telepathy-accounts-signon-1.0
# see https://bugs.gentoo.org/691466
=net-libs/signond-8.60::gentoo

And subsequent 
  $ emerge -1 libsignon-glib libaccounts-glib signond
  $ emerge -1 @preserved-rebuild

My system is consistent again.

I guess 
net-libs/libsignon-glib-1.14-r1 needs 
DEPEND (<=net-libs/signond-8.59) and  
net-libs/telepathy-accounts-signon-1.0 needs DEPEND (<=net-libs/libsignon-glib-1.14) 

or a patch / conditional build to get along with libsignon-glib-2.1.

So long,
Flexx
Comment 3 Larry the Git Cow gentoo-dev 2019-08-04 22:07:23 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0c7ba736e03047e73133f1728baaa8ccaa17ea1d

commit 0c7ba736e03047e73133f1728baaa8ccaa17ea1d
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2019-08-04 22:03:41 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2019-08-04 22:06:59 +0000

    net-libs/telepathy-accounts-signon: 2.0 version bump
    
    Closes: https://bugs.gentoo.org/691466
    Package-Manager: Portage-2.3.62, Repoman-2.3.12
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 net-libs/telepathy-accounts-signon/Manifest        |  1 +
 .../telepathy-accounts-signon-2.0.ebuild           | 25 ++++++++++++++++++++++
 2 files changed, 26 insertions(+)

Additionally, it has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7db5ef52ec5661821f8078188c61451d4283e61c

commit 7db5ef52ec5661821f8078188c61451d4283e61c
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2019-08-04 22:05:32 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2019-08-04 22:06:59 +0000

    net-libs/telepathy-accounts-signon: Pin net-libs/libsignon-glib to 1*
    
    Bug: https://bugs.gentoo.org/691466
    Package-Manager: Portage-2.3.70, Repoman-2.3.16
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 net-libs/telepathy-accounts-signon/telepathy-accounts-signon-1.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)