Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 792642 - net-im/profanity-0.9.5 - src/.../client_events.c: error: too few arguments to function chatwin_outgoing_msg
Summary: net-im/profanity-0.9.5 - src/.../client_events.c: error: too few arguments to...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Andriy Utkin (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-05-28 14:16 UTC by Toralf Förster
Modified: 2021-11-16 14:31 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,17.54 KB, text/plain)
2021-05-28 14:16 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,401.73 KB, text/plain)
2021-05-28 14:16 UTC, Toralf Förster
Details
environment (environment,22.29 KB, text/plain)
2021-05-28 14:16 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,19.59 KB, application/x-bzip)
2021-05-28 14:16 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,9.94 KB, application/x-bzip)
2021-05-28 14:16 UTC, Toralf Förster
Details
net-im:profanity-0.9.5:20210528-075451.log (net-im:profanity-0.9.5:20210528-075451.log,33.23 KB, text/plain)
2021-05-28 14:16 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,11.10 KB, application/x-bzip)
2021-05-28 14:16 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2021-05-28 14:16:26 UTC
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./src  -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/ncursesw -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/libmount -I/usr/include/blkid -I/usr/lib64/libffi/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include   -I/usr/include/python3.8   -DTHEMES_PATH="\"/usr/share/profanity/themes\"" -DICONS_PATH="\"/usr/share/profanity/icons\""  -Wall -Wno-deprecated-declarations -std=gnu99 -I./src -pipe -march=native -fno-diagnostics-color  -Og -g -pthread -I/usr/include/libxml2  -c -o src/ui/window.o src/ui/window.c
src/event/client_events.c: In function ‘cl_ev_send_msg_correct’:
src/event/client_events.c:171:9: error: too few arguments to function ‘chatwin_outgoing_msg’
  171 |         chatwin_outgoing_msg(chatwin, plugin_msg, id, PROF_MSG_ENC_NONE, request_receipt);
      |         ^~~~~~~~~~~~~~~~~~~~
In file included from ./src/command/cmd_defs.h:42,
                 from ./src/plugins/plugins.h:39,

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no_multilib-j2-20210521-120015

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-11.1.0 *
clang version 12.0.0
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/12/bin
/usr/lib/llvm/12
12.0.0
Python 3.8.10
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.52.1
  [2]   rust-1.52.1 *
The following VMs are available for generation-2:
*)	AdoptOpenJDK 8.292_p10 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.10.4
  [1]   php7.3
  [2]   php7.4
  [3]   php8.0 *

  timestamp(s) of HEAD at this tinderbox image:
/var/db/repos/gentoo	Fri May 28 06:50:13 UTC 2021

emerge -qpvO net-im/profanity
[ebuild  N    ] net-im/profanity-0.9.5  USE="otr -gpg -libnotify -omemo -test -xscreensaver"
Comment 1 Toralf Förster gentoo-dev 2021-05-28 14:16:27 UTC
Created attachment 711939 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-05-28 14:16:29 UTC
Created attachment 711942 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2021-05-28 14:16:30 UTC
Created attachment 711945 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2021-05-28 14:16:31 UTC
Created attachment 711948 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2021-05-28 14:16:32 UTC
Created attachment 711951 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-05-28 14:16:33 UTC
Created attachment 711954 [details]
net-im:profanity-0.9.5:20210528-075451.log
Comment 7 Toralf Förster gentoo-dev 2021-05-28 14:16:35 UTC
Created attachment 711957 [details]
temp.tar.bz2
Comment 8 Andriy Utkin (RETIRED) gentoo-dev 2021-11-16 14:31:17 UTC
Thanks for the report.
Sorry for my long inactivity.
Indeed the indicated code looks strange, probably the last argument was forgotten.
But:
* with gcc-11.2.0 this doesn't happen on profanity-0.9.5-r1: it compiles
* gcc-11.1.0 is not available in the tree anymore
* profanity-0.11.0 doesn't have such problem in the code and does compile with gcc-11.2.0.

So I'm closing this ticket.