Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 675464 - net-libs/gnome-online-accounts-3.26.2 - goaowncloudprovider.c: In function ‘build_object’: goaowncloudprovider.c:246:26: error: called object is not a function or function pointer
Summary: net-libs/gnome-online-accounts-3.26.2 - goaowncloudprovider.c: In function ‘b...
Status: RESOLVED DUPLICATE of bug 673606
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-01-15 02:42 UTC by aion1223
Modified: 2019-01-15 12:37 UTC (History)
0 users

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


Attachments
emerge --info '=net-libs/gnome-online-accounts-3.26.2::gentoo' (emerge.info,7.64 KB, text/plain)
2019-01-15 02:42 UTC, aion1223
Details
emerge -v net-libs/gnome-online-accounts > goalog.txt 2>&1 (goalog.txt,385.88 KB, text/plain)
2019-01-15 08:21 UTC, aion1223
Details

Note You need to log in before you can comment on or make changes to this bug.
Description aion1223 2019-01-15 02:42:27 UTC
Created attachment 561182 [details]
emerge  --info '=net-libs/gnome-online-accounts-3.26.2::gentoo'

emerge -v --update --newuse --deep @world includes building gnome-online-accounts, where the process failed. 

It seems like a compile error:


In file included from /usr/include/glib-2.0/glib/glist.h:32,
                 from /usr/include/glib-2.0/glib/ghash.h:33,
                 from /usr/include/glib-2.0/glib.h:50,
                 from /usr/include/glib-2.0/glib/gi18n-lib.h:21,
                 from goamediaserverprovider.c:20:
goamediaserverprovider.c: In function ‘add_account’:
goamediaserverprovider.c:477:32: warning: function called through a non-compatible type
   g_clear_pointer (&data.loop, (GDestroyNotify) g_main_loop_unref);
/usr/include/glib-2.0/glib/gmem.h:121:8: note: in definition of macro ‘g_clear_pointer’
       (destroy) (_ptr);                                                        \
        ^~~~~~~
In file included from /usr/include/glib-2.0/glib/glist.h:32,
                 from /usr/include/glib-2.0/glib/ghash.h:33,
                 from /usr/include/glib-2.0/glib.h:50,
                 from /usr/include/glib-2.0/glib/gi18n-lib.h:21,
                 from goaowncloudprovider.c:23:
goaowncloudprovider.c: In function ‘build_object’:
goaowncloudprovider.c:246:26: error: called object is not a function or function pointer
   g_clear_pointer (&uri, (GDestroyNotify *) soup_uri_free);
/usr/include/glib-2.0/glib/gmem.h:121:8: note: in definition of macro ‘g_clear_pointer’
       (destroy) (_ptr);                                                        \
        ^~~~~~~
goaowncloudprovider.c: In function ‘normalize_uri’:
goaowncloudprovider.c:449:26: error: called object is not a function or function pointer
   g_clear_pointer (&uri, (GDestroyNotify *) soup_uri_free);
/usr/include/glib-2.0/glib/gmem.h:121:8: note: in definition of macro ‘g_clear_pointer’
       (destroy) (_ptr);                                                        \
        ^~~~~~~
goaowncloudprovider.c: In function ‘add_account’:
goaowncloudprovider.c:801:32: warning: function called through a non-compatible type
   g_clear_pointer (&data.loop, (GDestroyNotify) g_main_loop_unref);
/usr/include/glib-2.0/glib/gmem.h:121:8: note: in definition of macro ‘g_clear_pointer’
       (destroy) (_ptr);                                                        \
        ^~~~~~~
goaowncloudprovider.c: In function ‘refresh_account’:
goaowncloudprovider.c:1002:32: warning: function called through a non-compatible type
   g_clear_pointer (&data.loop, (GDestroyNotify) g_main_loop_unref);
/usr/include/glib-2.0/glib/gmem.h:121:8: note: in definition of macro ‘g_clear_pointer’
       (destroy) (_ptr);                                                        \
        ^~~~~~~


Because of the compile errors, I got this from make and the emerge commands:

make[4]: Leaving directory '/var/tmp/portage/net-libs/gnome-online-accounts-3.26.2/work/gnome-online-accounts-3.26.2/src/goabackend'
make[3]: *** [Makefile:689: all] Error 2
make[3]: Leaving directory '/var/tmp/portage/net-libs/gnome-online-accounts-3.26.2/work/gnome-online-accounts-3.26.2/src/goabackend'
make[2]: *** [Makefile:445: all-recursive] Error 1
make[2]: Leaving directory '/var/tmp/portage/net-libs/gnome-online-accounts-3.26.2/work/gnome-online-accounts-3.26.2/src'
make[1]: *** [Makefile:514: all-recursive] Error 1
make[1]: Leaving directory '/var/tmp/portage/net-libs/gnome-online-accounts-3.26.2/work/gnome-online-accounts-3.26.2'
make: *** [Makefile:446: all] Error 2
 * ERROR: net-libs/gnome-online-accounts-3.26.2::gentoo failed (compile phase):
 *   emake failed



The emerge --info for the package is in the attachment list. 

Google gives me this URL:
 https://gitlab.gnome.org/GNOME/glib/issues/1425

I guess that this bug might be mismatch between dev-libs/glib and gnome-online-accounts but not sure about it. Anyway, here is my glib:

# emerge -vp glibc
Calculating dependencies... done!
[ebuild   R    ] dev-libs/glib-2.58.2:2::gentoo  USE="dbus mime utils xattr -debug (-fam) -gtk-doc (-selinux) -static-libs -systemtap -test" ABI_X86="(64) -32 (-x32)" 0 KiB
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2019-01-15 08:16:10 UTC
Please attach the entire build log to this bug report.
Comment 2 aion1223 2019-01-15 08:21:10 UTC
Created attachment 561186 [details]
emerge -v net-libs/gnome-online-accounts > goalog.txt 2>&1

The stdout and stderr from emerge -v net-libs/gnome-online-accounts.
Comment 3 Mart Raudsepp gentoo-dev 2019-01-15 12:37:05 UTC
3.26.2 was removed half a month ago precisely due to this issue. I have no idea why you are still having such a version with this issue. Looks like you haven't successfully synced for half a month; please fix that.

*** This bug has been marked as a duplicate of bug 673606 ***