Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 678384 - dev-libs/folks-0.11.4-r1 - signal-manager.vala:432.23-433.52: error: 1 extra arguments for `ulong GLib.Signal.add_emission_hook (uint, GLib.Quark, owned GLib.SignalEmissionHook)'
Summary: dev-libs/folks-0.11.4-r1 - signal-manager.vala:432.23-433.52: error: 1 extra ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2019-02-19 18:45 UTC by Attila Tóth
Modified: 2019-02-24 09:31 UTC (History)
0 users

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


Attachments
folks-0.11.4-add_emission_hook-vala.patch (folks-0.11.4-add_emission_hook-vala.patch,655 bytes, patch)
2019-02-19 18:46 UTC, Attila Tóth
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Attila Tóth 2019-02-19 18:45:15 UTC
make[3]: Entering directory '/var/tmp/portage/dev-libs/folks-0.11.4-r1/work/folks-0.11.4/tools/inspect'
rm -f folks_inspect_vala.stamp && echo stamp > folks_inspect_vala.stamp-t
CDPATH="${ZSH_VERSION+.}:" && cd . && /usr/bin/valac-0.42 --target-glib=2.24 -D FOLKS_COMPILATION  --vapidir=../../folks --pkg=posix --pkg=readline --pkg=gobject-2.0 --pkg=gio-2.0 --pkg=gee-0.8 --pkg=posix --pkg=folks --pkg=build-conf   -C command-backends.vala command-debug.vala command-help.vala command-individuals.vala command-linking.vala command-persona-stores.vala command-personas.vala command-quit.vala command-search.vala command-set.vala command-signals.vala signal-manager.vala utils.vala inspect.vala
signal-manager.vala:432.23-433.52: error: 1 extra arguments for `ulong GLib.Signal.add_emission_hook (uint, GLib.Quark, owned GLib.SignalEmissionHook)'
inspect.vala:79.24-79.36: warning: Posix.SIGTERM has been deprecated since vala-0.40. Use Posix.Signal.TERM
inspect.vala:85.40-85.52: warning: Posix.SIGTERM has been deprecated since vala-0.40. Use Posix.Signal.TERM
inspect.vala:262.24-262.35: warning: Posix.SIGINT has been deprecated since vala-0.40. Use Posix.Signal.INT
Compilation failed: 1 error(s), 3 warning(s)
make[3]: *** [Makefile:882: folks_inspect_vala.stamp] Error 1
make[3]: Leaving directory '/var/tmp/portage/dev-libs/folks-0.11.4-r1/work/folks-0.11.4/tools/inspect'
make[2]: *** [Makefile:673: all-recursive] Error 1
make[2]: Leaving directory '/var/tmp/portage/dev-libs/folks-0.11.4-r1/work/folks-0.11.4/tools'
make[1]: *** [Makefile:553: all-recursive] Error 1
make[1]: Leaving directory '/var/tmp/portage/dev-libs/folks-0.11.4-r1/work/folks-0.11.4'
make: *** [Makefile:484: all] Error 2
 * ERROR: dev-libs/folks-0.11.4-r1::gentoo failed (compile phase):
 *   emake failed
Comment 1 Attila Tóth 2019-02-19 18:46:16 UTC
Created attachment 565906 [details, diff]
folks-0.11.4-add_emission_hook-vala.patch

Suggested patch to solve the problem works for me.
Comment 2 Larry the Git Cow gentoo-dev 2019-02-23 13:58:24 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=44989ec34fb0a38c960df12961d97b189b88ed8c

commit 44989ec34fb0a38c960df12961d97b189b88ed8c
Author:     Mart Raudsepp <leio@gentoo.org>
AuthorDate: 2019-02-23 13:19:37 +0000
Commit:     Mart Raudsepp <leio@gentoo.org>
CommitDate: 2019-02-23 13:19:37 +0000

    dev-libs/folks: restrict >=vala-0.42 for now
    
    Seems that folks isn't buildable with 0.42 without patches.
    Restrict to 0.40 and older for the time being, until patch
    is tested to work with both old and new vala and included.
    
    Bug: https://bugs.gentoo.org/678384
    Package-Manager: Portage-2.3.52, Repoman-2.3.12
    Signed-off-by: Mart Raudsepp <leio@gentoo.org>

 dev-libs/folks/folks-0.11.4-r1.ebuild | 3 ++-
 dev-libs/folks/folks-0.11.4.ebuild    | 1 +
 2 files changed, 3 insertions(+), 1 deletion(-)
Comment 3 Larry the Git Cow gentoo-dev 2019-02-24 09:31:29 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=74532d57375250a9f3e1b71bbe825cc273f741c6

commit 74532d57375250a9f3e1b71bbe825cc273f741c6
Author:     Mart Raudsepp <leio@gentoo.org>
AuthorDate: 2019-02-24 09:28:06 +0000
Commit:     Mart Raudsepp <leio@gentoo.org>
CommitDate: 2019-02-24 09:28:06 +0000

    dev-libs/folks: fix compatibility with vala-0.42+
    
    Closes: https://bugs.gentoo.org/678384
    Package-Manager: Portage-2.3.52, Repoman-2.3.12
    Signed-off-by: Mart Raudsepp <leio@gentoo.org>

 dev-libs/folks/files/0.11.4-vala-0.42-compat.patch | 32 ++++++++++++++++++++++
 dev-libs/folks/folks-0.11.4-r1.ebuild              |  5 +++-
 2 files changed, 36 insertions(+), 1 deletion(-)