Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 753752

Summary: net-im/dino-0.1.0 : /.../info_result.vala: error: too few arguments to function xmpp_stanza_node_get_subnode
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Andriy Utkin (RETIRED) <andrey_utkin>
Status: RESOLVED OBSOLETE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tbz2
logs.tbz2
net-im:dino-0.1.0:20201109-170441.log
temp.tbz2

Description Toralf Förster gentoo-dev 2020-11-09 17:43:22 UTC
   42 |         string? node = iq_request.stanza.get_subnode("query", NS_URI_INFO).get_attribute("node");
      |                                                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/portage/net-im/dino-0.1.0/work/dino-0.1.0/xmpp-vala/src/module/xep/0030_service_discovery/info_result.vala:42:11: error: too few arguments to function ‘xmpp_stanza_node_get_subnode’
   42 |         string? node = iq_request.stanza.get_subnode("query", NS_URI_INFO).get_attribute("node");
      |           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from xmpp-vala/src/module/xep/0030_service_discovery/info_result.c:4:

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_plasma-20201108-130033

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10.2.0 *
/usr/lib/llvm/11
11.0.0
Available Python interpreters, in order of preference:
  [1]   python3.7
  [2]   python3.9 (fallback)
  [3]   python3.8 (fallback)
Available Rust versions:
  [1]   rust-1.47.0 *

  timestamp(s) of HEAD at this tinderbox image:
/var/db/repos/gentoo	Mon Nov  9 03:47:54 PM UTC 2020

emerge -qpvO net-im/dino
[ebuild  N    ] net-im/dino-0.1.0  USE="gpg http omemo"
Comment 1 Toralf Förster gentoo-dev 2020-11-09 17:43:23 UTC
Created attachment 670616 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-11-09 17:43:25 UTC
Created attachment 670619 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-11-09 17:43:26 UTC
Created attachment 670622 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-11-09 17:43:28 UTC
Created attachment 670625 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-11-09 17:43:29 UTC
Created attachment 670628 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-11-09 17:43:31 UTC
Created attachment 670631 [details]
net-im:dino-0.1.0:20201109-170441.log
Comment 7 Toralf Förster gentoo-dev 2020-11-09 17:43:32 UTC
Created attachment 670634 [details]
temp.tbz2
Comment 8 Andriy Utkin (RETIRED) gentoo-dev 2020-11-23 07:57:46 UTC
Thanks for reporting.

Reproduced by trying to install dino-0.1.0 while having installed vala and vala-common 0.50.1.

Does not reproduce with dino-0.2.0 which is already in the repo.

The beginning of the error list looks similar to this upstream bugreport which has been addressed recently:
https://github.com/dino/dino/issues/901 .
It's unclear whether the issue reviewed in that upstream ticket the sole reason for all of the errors listed, or there are some more, but since 0.2.0 builds correctly with the newest vala versions available, there's nothing more to address. Closing as obsolete.